using MaksIT.PodmanClientDotNet.Dtos.Generate;
using MaksIT.Results;
///
/// Generate systemd units, kube YAML, and play-kube endpoints.
///
public interface IPodmanGenerateClient {
Task> GenerateSystemdAsync(
string name,
bool useName = false,
bool createNew = false,
int? restartSec = null,
string? restartPolicy = null,
string? containerPrefix = null,
string? podPrefix = null,
string? separator = null,
CancellationToken cancellationToken = default
);
Task> GenerateKubeAsync(
IEnumerable names,
bool service = false,
CancellationToken cancellationToken = default
);
Task> PlayKubeAsync(
Stream yaml,
string? network = null,
bool tlsVerify = true,
bool start = true,
string? logDriver = null,
CancellationToken cancellationToken = default
);
}