Documentation
¶
Overview ¶
Package dockerclient is separate so the Docker SDK never enters the control plane's dependency graph.
Index ¶
- type Engine
- func (e *Engine) Close() error
- func (e *Engine) CreateVolume(ctx context.Context, name string, labels map[string]string, sizeBytes int64) (docker.Volume, error)
- func (e *Engine) EnsureNetworkSpec(ctx context.Context, spec docker.NetworkSpec) (string, error)
- func (e *Engine) ImageExists(ctx context.Context, ref string) (bool, error)
- func (e *Engine) InspectContainer(ctx context.Context, id string) (docker.Container, error)
- func (e *Engine) InspectContainerConfig(ctx context.Context, id string) (docker.ContainerConfig, error)
- func (e *Engine) InspectNetwork(ctx context.Context, name string) (docker.NetworkState, error)
- func (e *Engine) InspectVolume(ctx context.Context, name string) (docker.Volume, error)
- func (e *Engine) ListContainers(ctx context.Context, all bool) ([]docker.Container, error)
- func (e *Engine) NetworkConnect(ctx context.Context, name, containerID string, aliases []string) error
- func (e *Engine) NetworkDisconnect(ctx context.Context, name, containerID string, force bool) error
- func (e *Engine) Ping(ctx context.Context) error
- func (e *Engine) PullImage(ctx context.Context, ref string, auth *docker.RegistryAuth) error
- func (e *Engine) RemoveContainer(ctx context.Context, id string, force bool) error
- func (e *Engine) RemoveNetwork(ctx context.Context, name string) error
- func (e *Engine) RemoveVolume(ctx context.Context, name string, force bool) error
- func (e *Engine) RestartContainer(ctx context.Context, id string, timeoutSeconds int) error
- func (e *Engine) Rootless(ctx context.Context) (bool, error)
- func (e *Engine) RunContainer(ctx context.Context, spec docker.RunSpec) (string, error)
- func (e *Engine) RunOneShot(ctx context.Context, spec docker.RunSpec) (int, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) CreateVolume ¶
func (*Engine) EnsureNetworkSpec ¶
func (*Engine) ImageExists ¶
func (*Engine) InspectContainer ¶
func (*Engine) InspectContainerConfig ¶
func (*Engine) InspectNetwork ¶ added in v0.20.5
func (*Engine) InspectVolume ¶
func (*Engine) ListContainers ¶
func (*Engine) NetworkConnect ¶ added in v0.12.0
func (*Engine) NetworkDisconnect ¶ added in v0.12.0
func (*Engine) RemoveContainer ¶
func (*Engine) RemoveNetwork ¶ added in v0.20.5
func (*Engine) RemoveVolume ¶
func (*Engine) RestartContainer ¶
func (*Engine) RunContainer ¶
Click to show internal directories.
Click to hide internal directories.