Documentation
¶
Overview ¶
Package sdkclient contains an interface for moby matching the subset used by the agent
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { ClientVersion() string ContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string) (container.CreateResponse, error) ContainerInspect(ctx context.Context, containerID string) (types.ContainerJSON, error) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error) ContainerTop(ctx context.Context, containerID string, arguments []string) (container.ContainerTopOKBody, error) ContainerRemove(ctx context.Context, containerID string, options types.ContainerRemoveOptions) error ContainerStart(ctx context.Context, containerID string, options types.ContainerStartOptions) error ContainerStats(ctx context.Context, containerID string, stream bool) (types.ContainerStats, error) ContainerStop(ctx context.Context, containerID string, options container.StopOptions) error ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error) DistributionInspect(ctx context.Context, imageRef, encodedRegistryAuth string) (registry.DistributionInspect, error) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, options types.ImageImportOptions) (io.ReadCloser, error) ImageInspectWithRaw(ctx context.Context, imageID string) (types.ImageInspect, []byte, error) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error) ImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) (io.ReadCloser, error) ImageRemove(ctx context.Context, imageID string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error) ImageTag(ctx context.Context, source, target string) error Ping(ctx context.Context) (types.Ping, error) PluginList(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error) VolumeInspect(ctx context.Context, volumeID string) (volume.Volume, error) VolumeRemove(ctx context.Context, volumeID string, force bool) error ServerVersion(ctx context.Context) (types.Version, error) Info(ctx context.Context) (types.Info, error) }
Client is an interface specifying the subset of github.com/docker/docker/client that the agent uses.
Click to show internal directories.
Click to hide internal directories.