Versions in this module Expand all Collapse all v0 v0.2.1 Nov 14, 2026 v0.2.0 Nov 13, 2026 Changes in this version + const DockerSDK + const PodmanCLI + func CheckSelection(ctx context.Context, r Runtime, s Selection) error + func Identity(ctx context.Context, runtime string) (string, error) + func IdentityAt(ctx context.Context, runtime string, ref *network.Reference) (string, error) + func Inspect(ctx context.Context, owner Owner) (id string, exists bool, err error) + func Output(ctx context.Context, runtime string, args ...string) ([]byte, error) + func OutputAt(ctx context.Context, runtime string, ref *network.Reference, args ...string) ([]byte, error) + func Remove(ctx context.Context, owner Owner) error + func ValidateImage(image Image) error + type Attachment interface + Close func() error + Copy func(Streams) error + type CreateRequest struct + Command []string + Entrypoint []string + Env []string + Image string + KeepID bool + Labels map[string]string + Mounts []Mount + Name string + Network string + PrivatePaths []string + User string + WorkingDir string + type ExecRequest struct + Command []string + Env []string + User string + WorkingDir string + type ExecStatus struct + ContainerID string + ExitCode int + ID string + Running bool + type Image struct + Architecture string + Cmd []string + Entrypoint []string + ID string + Labels map[string]string + OS string + type Mount struct + ReadOnly bool + Source string + Target string + type Object struct + ID string + Labels map[string]string + Name string + Running bool + func VerifyOwned(ctx context.Context, r Runtime, owner Owner) (Object, bool, error) + type Owner struct + ID string + Identity string + Labels map[string]string + Name string + Network *network.Reference + Runtime string + Selection *Selection + type Runtime interface + Attach func(context.Context, string) (Attachment, error) + Close func() error + Create func(context.Context, CreateRequest) (string, error) + ExecAttach func(context.Context, string) (Attachment, error) + ExecCreate func(context.Context, string, ExecRequest) (string, error) + ExecInspect func(context.Context, string) (ExecStatus, error) + Identity func(context.Context) (string, error) + Inspect func(context.Context, string) (Object, bool, error) + Remove func(context.Context, string) error + ResolveImage func(context.Context, string) (Image, error) + Start func(context.Context, string) error + Wait func(context.Context, string) (int, error) + func Open(s Selection) (Runtime, error) + type Selection struct + Endpoint string + Environment []string + Executable string + Identity string + Transport string + func Resolve(ctx context.Context, name string, endpoint string) (Selection, error) + type Streams struct + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer