Versions in this module Expand all Collapse all v0 v0.1.0 Feb 17, 2026 Changes in this version + type BlkioThrottleDevice struct + Path string + Rate uint64 + type ContainerExitInfo struct + ExitCode int64 + OOMKilled bool + type ContainerInfo struct + ID string + Labels map[string]string + Name string + type ContainerSpec struct + Command []string + Entrypoint []string + Env map[string]string + Image string + Labels map[string]string + Mounts []Mount + Name string + NetworkName string + ResourceLimits *ResourceLimits + type Manager interface + CreateContainer func(ctx context.Context, spec *ContainerSpec) (string, error) + CreateVolume func(ctx context.Context, name string, labels map[string]string) error + EnsureNetwork func(ctx context.Context, name string) error + GetClient func() *client.Client + GetContainerIP func(ctx context.Context, containerID, networkName string) (string, error) + GetImageDigest func(ctx context.Context, imageName string) (string, error) + ListContainers func(ctx context.Context) ([]ContainerInfo, error) + ListVolumes func(ctx context.Context) ([]VolumeInfo, error) + PullImage func(ctx context.Context, imageName string, policy string) error + RemoveContainer func(ctx context.Context, containerID string) error + RemoveNetwork func(ctx context.Context, name string) error + RemoveVolume func(ctx context.Context, name string) error + RunInitContainer func(ctx context.Context, spec *ContainerSpec, stdout, stderr io.Writer) error + Start func(ctx context.Context) error + StartContainer func(ctx context.Context, containerID string) error + Stop func() error + StopContainer func(ctx context.Context, containerID string) error + StreamLogs func(ctx context.Context, containerID string, stdout, stderr io.Writer) error + WaitForContainerExit func(ctx context.Context, containerID string) (<-chan ContainerExitInfo, <-chan error) + func NewManager(log logrus.FieldLogger) (Manager, error) + type Mount struct + Content []byte + ReadOnly bool + Source string + Target string + Type string + type ResourceLimits struct + BlkioDeviceReadBps []BlkioThrottleDevice + BlkioDeviceReadIOps []BlkioThrottleDevice + BlkioDeviceWriteBps []BlkioThrottleDevice + BlkioDeviceWriteIOps []BlkioThrottleDevice + CpusetCpus string + MemoryBytes int64 + MemorySwapBytes int64 + MemorySwappiness *int64 + type VolumeInfo struct + Labels map[string]string + Name string