Versions in this module Expand all Collapse all v1 v1.2.9 Jun 1, 2018 Changes in this version + type MockClient struct + func NewMockClient() *MockClient + func (client *MockClient) BuildCachePrune(ctx context.Context) (*types.BuildCachePruneReport, error) + func (client *MockClient) CheckpointCreate(ctx context.Context, container string, options types.CheckpointCreateOptions) error + func (client *MockClient) CheckpointDelete(ctx context.Context, container string, checkpointID string) error + func (client *MockClient) CheckpointList(ctx context.Context, container string) ([]types.Checkpoint, error) + func (client *MockClient) ClientVersion() string + func (client *MockClient) ContainerAttach(ctx context.Context, container string, options types.ContainerAttachOptions) (types.HijackedResponse, error) + func (client *MockClient) ContainerCommit(ctx context.Context, container string, options types.ContainerCommitOptions) (types.IDResponse, error) + func (client *MockClient) ContainerCreate(ctx context.Context, config *container.Config, ...) (container.ContainerCreateCreatedBody, error) + func (client *MockClient) ContainerDiff(ctx context.Context, ctr string) ([]container.ContainerChangeResponseItem, error) + func (client *MockClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecConfig) (types.HijackedResponse, error) + func (client *MockClient) ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error) + func (client *MockClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error) + func (client *MockClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error + func (client *MockClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error + func (client *MockClient) ContainerExport(ctx context.Context, container string) (io.ReadCloser, error) + func (client *MockClient) ContainerInspect(ctx context.Context, container string) (types.ContainerJSON, error) + func (client *MockClient) ContainerInspectWithRaw(ctx context.Context, container string, getSize bool) (types.ContainerJSON, []byte, error) + func (client *MockClient) ContainerKill(ctx context.Context, container, signal string) error + func (client *MockClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error) + func (client *MockClient) ContainerLogs(ctx context.Context, container string, options types.ContainerLogsOptions) (io.ReadCloser, error) + func (client *MockClient) ContainerPause(ctx context.Context, container string) error + func (client *MockClient) ContainerRemove(ctx context.Context, container string, options types.ContainerRemoveOptions) error + func (client *MockClient) ContainerRename(ctx context.Context, container, newContainerName string) error + func (client *MockClient) ContainerResize(ctx context.Context, container string, options types.ResizeOptions) error + func (client *MockClient) ContainerRestart(ctx context.Context, container string, timeout *time.Duration) error + func (client *MockClient) ContainerStart(ctx context.Context, container string, options types.ContainerStartOptions) error + func (client *MockClient) ContainerStatPath(ctx context.Context, container, path string) (types.ContainerPathStat, error) + func (client *MockClient) ContainerStats(ctx context.Context, container string, stream bool) (types.ContainerStats, error) + func (client *MockClient) ContainerStop(ctx context.Context, container string, timeout *time.Duration) error + func (client *MockClient) ContainerTop(ctx context.Context, ctr string, arguments []string) (container.ContainerTopOKBody, error) + func (client *MockClient) ContainerUnpause(ctx context.Context, container string) error + func (client *MockClient) ContainerUpdate(ctx context.Context, containerID string, updateConfig container.UpdateConfig) (container.ContainerUpdateOKBody, error) + func (client *MockClient) ContainerWait(ctx context.Context, ctr string, condition container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error) + func (client *MockClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error) + func (client *MockClient) CopyFromContainer(ctx context.Context, container, srcPath string) (io.ReadCloser, types.ContainerPathStat, error) + func (client *MockClient) CopyToContainer(ctx context.Context, container, path string, content io.Reader, ...) error + func (client *MockClient) DiskUsage(ctx context.Context) (types.DiskUsage, error) + func (client *MockClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error) + func (client *MockClient) ImageBuild(ctx context.Context, context io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error) + func (client *MockClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error) + func (client *MockClient) ImageHistory(ctx context.Context, img string) ([]image.HistoryResponseItem, error) + func (client *MockClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, ...) (io.ReadCloser, error) + func (client *MockClient) ImageInspectWithRaw(ctx context.Context, image string) (types.ImageInspect, []byte, error) + func (client *MockClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error) + func (client *MockClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error) + func (client *MockClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error) + func (client *MockClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error) + func (client *MockClient) ImageRemove(ctx context.Context, image string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error) + func (client *MockClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error) + func (client *MockClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error) + func (client *MockClient) ImageTag(ctx context.Context, image, ref string) error + func (client *MockClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error) + func (client *MockClient) Info(ctx context.Context) (types.Info, error) + func (client *MockClient) NegotiateAPIVersion(ctx context.Context) + func (client *MockClient) NetworkConnect(ctx context.Context, networkID, container string, ...) error + func (client *MockClient) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error) + func (client *MockClient) NetworkDisconnect(ctx context.Context, networkID, container string, force bool) error + func (client *MockClient) NetworkInspect(ctx context.Context, networkID string, options types.NetworkInspectOptions) (types.NetworkResource, error) + func (client *MockClient) NetworkInspectWithRaw(ctx context.Context, networkID string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error) + func (client *MockClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error) + func (client *MockClient) NetworkRemove(ctx context.Context, networkID string) error + func (client *MockClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (types.NetworksPruneReport, error) + func (client *MockClient) Ping(ctx context.Context) (types.Ping, error) + func (client *MockClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error) + func (client *MockClient) ServerVersion(ctx context.Context) (types.Version, error) + func (client *MockClient) VolumeCreate(ctx context.Context, options volume.VolumesCreateBody) (types.Volume, error) + func (client *MockClient) VolumeInspect(ctx context.Context, volumeID string) (types.Volume, error) + func (client *MockClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (types.Volume, []byte, error) + func (client *MockClient) VolumeList(ctx context.Context, filter filters.Args) (volume.VolumesListOKBody, error) + func (client *MockClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error + func (client *MockClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (types.VolumesPruneReport, error)