Versions in this module Expand all Collapse all v0 v0.1.0 Aug 25, 2026 Changes in this version + const SockPrefixKey + const TCPPrefixKey + const Type + func CreateTarStream(path string) (io.ReadCloser, error) + func GetIP(ctx context.Context, daemonHost string) string + func MakeClient(ctx context.Context, config coretypes.Config, ...) (engine.API, error) + type Engine struct + func (e *Engine) BuildContent(ctx context.Context, scm coresource.Source, ...) (string, io.Reader, error) + func (e *Engine) BuildRefs(_ context.Context, opts *enginetypes.BuildRefOptions) []string + func (e *Engine) CloseConn() error + func (e *Engine) ExecExitCode(ctx context.Context, _, execID string) (int, error) + func (e *Engine) ExecResize(ctx context.Context, execID string, height, width uint) error + func (e *Engine) Execute(ctx context.Context, ID string, config *enginetypes.ExecConfig) (execID string, stdout, stderr io.ReadCloser, stdin io.WriteCloser, err error) + func (e *Engine) GetParams() *enginetypes.Params + func (e *Engine) ImageBuild(ctx context.Context, input io.Reader, refs []string, platform string) (io.ReadCloser, error) + func (e *Engine) ImageBuildCachePrune(ctx context.Context, all bool) (uint64, error) + func (e *Engine) ImageBuildFromExist(ctx context.Context, ID string, refs []string, _ string) (imageID string, err error) + func (e *Engine) ImageList(ctx context.Context, image string) ([]*enginetypes.Image, error) + func (e *Engine) ImageLocalDigests(ctx context.Context, image string) ([]string, error) + func (e *Engine) ImagePull(ctx context.Context, ref string, all bool) (io.ReadCloser, error) + func (e *Engine) ImagePush(ctx context.Context, ref string) (io.ReadCloser, error) + func (e *Engine) ImageRemoteDigest(ctx context.Context, image string) (string, error) + func (e *Engine) ImageRemove(ctx context.Context, image string, force, prune bool) ([]string, error) + func (e *Engine) ImagesPrune(ctx context.Context) error + func (e *Engine) Info(ctx context.Context) (*enginetypes.Info, error) + func (e *Engine) NetworkConnect(ctx context.Context, network, target, ipv4, _ string) ([]string, error) + func (e *Engine) NetworkDisconnect(ctx context.Context, network, target string, force bool) error + func (e *Engine) NetworkList(ctx context.Context, drivers []string) ([]*enginetypes.Network, error) + func (e *Engine) Ping(ctx context.Context) error + func (e *Engine) RawEngine(context.Context, *enginetypes.RawEngineOptions) (*enginetypes.RawEngineResult, error) + func (e *Engine) VirtualizationAttach(ctx context.Context, ID string, stream, stdin bool) (stdout, stderr io.ReadCloser, _ io.WriteCloser, err error) + func (e *Engine) VirtualizationCopyChunkTo(ctx context.Context, ID, target string, size int64, content io.Reader, ...) error + func (e *Engine) VirtualizationCopyFrom(ctx context.Context, ID, path string) (content []byte, uid, gid int, mode int64, err error) + func (e *Engine) VirtualizationCopyTo(ctx context.Context, ID, target string, content []byte, uid, gid int, ...) error + func (e *Engine) VirtualizationCreate(ctx context.Context, opts *enginetypes.VirtualizationCreateOptions) (*enginetypes.VirtualizationCreated, error) + func (e *Engine) VirtualizationInspect(ctx context.Context, ID string) (*enginetypes.VirtualizationInfo, error) + func (e *Engine) VirtualizationLogs(ctx context.Context, opts *enginetypes.VirtualizationLogStreamOptions) (stdout, stderr io.ReadCloser, err error) + func (e *Engine) VirtualizationRemove(ctx context.Context, ID string, removeVolumes, force bool) error + func (e *Engine) VirtualizationResize(ctx context.Context, workloadID string, height, width uint) (err error) + func (e *Engine) VirtualizationResume(context.Context, string) error + func (e *Engine) VirtualizationStart(ctx context.Context, ID string) error + func (e *Engine) VirtualizationStop(ctx context.Context, ID string, gracefulTimeout time.Duration) error + func (e *Engine) VirtualizationSuspend(context.Context, string) error + func (e *Engine) VirtualizationUpdateResource(ctx context.Context, ID string, engineParams resourcetypes.Resources) error + func (e *Engine) VirtualizationWait(ctx context.Context, ID, _ string) (*enginetypes.VirtualizationWaitResult, error) + type RawArgs struct + CapAdd []string + CapDrop []string + PidMode dockercontainer.PidMode + Runtime string + StorageOpt map[string]string + Ulimits []*units.Ulimit