using MaksIT.PodmanClientDotNet.Dtos.Build;
using MaksIT.PodmanClientDotNet.Streaming;
using MaksIT.Results;
///
/// Image build endpoints (including streaming progress).
///
public interface IPodmanBuildClient {
Task> BuildImageAsync(
string dockerfile,
Stream? context = null,
bool pull = false,
bool rm = true,
bool forcerm = false,
bool nocache = false,
string? remote = null,
string? t = null,
string? platform = null,
string? buildargs = null,
string? labels = null,
CancellationToken cancellationToken = default
);
Task?>> BuildImageWithProgressAsync(
string dockerfile,
Stream? context = null,
bool pull = false,
bool rm = true,
bool forcerm = false,
bool nocache = false,
string? remote = null,
string? t = null,
string? platform = null,
string? buildargs = null,
string? labels = null,
CancellationToken cancellationToken = default
);
}