Versions in this module Expand all Collapse all v0 v0.3.1 Jun 7, 2019 Changes in this version + var Err = errors.New("mockdockerclient error") + type ContainerAPIClient struct + CreateResp *container.ContainerCreateCreatedBody + InspectResp *types.ContainerJSON + Logs io.ReadCloser + RemoveErr error + StartErr error + StopErr error + func (c *ContainerAPIClient) ContainerAttach(context.Context, string, types.ContainerAttachOptions) (types.HijackedResponse, error) + func (c *ContainerAPIClient) ContainerCommit(context.Context, string, types.ContainerCommitOptions) (types.IDResponse, error) + func (c *ContainerAPIClient) ContainerCreate(context.Context, *container.Config, *container.HostConfig, ...) (container.ContainerCreateCreatedBody, error) + func (c *ContainerAPIClient) ContainerDiff(context.Context, string) ([]container.ContainerChangeResponseItem, error) + func (c *ContainerAPIClient) ContainerExecAttach(context.Context, string, types.ExecStartCheck) (types.HijackedResponse, error) + func (c *ContainerAPIClient) ContainerExecCreate(context.Context, string, types.ExecConfig) (types.IDResponse, error) + func (c *ContainerAPIClient) ContainerExecInspect(context.Context, string) (types.ContainerExecInspect, error) + func (c *ContainerAPIClient) ContainerExecResize(context.Context, string, types.ResizeOptions) error + func (c *ContainerAPIClient) ContainerExecStart(context.Context, string, types.ExecStartCheck) error + func (c *ContainerAPIClient) ContainerExport(context.Context, string) (io.ReadCloser, error) + func (c *ContainerAPIClient) ContainerInspect(context.Context, string) (types.ContainerJSON, error) + func (c *ContainerAPIClient) ContainerInspectWithRaw(context.Context, string, bool) (types.ContainerJSON, []byte, error) + func (c *ContainerAPIClient) ContainerKill(context.Context, string, string) error + func (c *ContainerAPIClient) ContainerList(context.Context, types.ContainerListOptions) ([]types.Container, error) + func (c *ContainerAPIClient) ContainerLogs(context.Context, string, types.ContainerLogsOptions) (io.ReadCloser, error) + func (c *ContainerAPIClient) ContainerPause(context.Context, string) error + func (c *ContainerAPIClient) ContainerRemove(context.Context, string, types.ContainerRemoveOptions) error + func (c *ContainerAPIClient) ContainerRename(context.Context, string, string) error + func (c *ContainerAPIClient) ContainerResize(context.Context, string, types.ResizeOptions) error + func (c *ContainerAPIClient) ContainerRestart(context.Context, string, *time.Duration) error + func (c *ContainerAPIClient) ContainerStart(context.Context, string, types.ContainerStartOptions) error + func (c *ContainerAPIClient) ContainerStatPath(context.Context, string, string) (types.ContainerPathStat, error) + func (c *ContainerAPIClient) ContainerStats(context.Context, string, bool) (types.ContainerStats, error) + func (c *ContainerAPIClient) ContainerStop(context.Context, string, *time.Duration) error + func (c *ContainerAPIClient) ContainerTop(context.Context, string, []string) (container.ContainerTopOKBody, error) + func (c *ContainerAPIClient) ContainerUnpause(context.Context, string) error + func (c *ContainerAPIClient) ContainerUpdate(context.Context, string, container.UpdateConfig) (container.ContainerUpdateOKBody, error) + func (c *ContainerAPIClient) ContainerWait(context.Context, string, container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error) + func (c *ContainerAPIClient) ContainersPrune(context.Context, filters.Args) (types.ContainersPruneReport, error) + func (c *ContainerAPIClient) CopyFromContainer(context.Context, string, string) (io.ReadCloser, types.ContainerPathStat, error) + func (c *ContainerAPIClient) CopyToContainer(context.Context, string, string, io.Reader, types.CopyToContainerOptions) error + type ImageAPIClient struct + PullResp io.ReadCloser + func (c *ImageAPIClient) BuildCachePrune(context.Context, types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error) + func (c *ImageAPIClient) BuildCancel(context.Context, string) error + func (c *ImageAPIClient) ImageBuild(context.Context, io.Reader, types.ImageBuildOptions) (types.ImageBuildResponse, error) + func (c *ImageAPIClient) ImageCreate(context.Context, string, types.ImageCreateOptions) (io.ReadCloser, error) + func (c *ImageAPIClient) ImageHistory(context.Context, string) ([]image.HistoryResponseItem, error) + func (c *ImageAPIClient) ImageImport(context.Context, types.ImageImportSource, string, types.ImageImportOptions) (io.ReadCloser, error) + func (c *ImageAPIClient) ImageInspectWithRaw(context.Context, string) (types.ImageInspect, []byte, error) + func (c *ImageAPIClient) ImageList(context.Context, types.ImageListOptions) ([]types.ImageSummary, error) + func (c *ImageAPIClient) ImageLoad(context.Context, io.Reader, bool) (types.ImageLoadResponse, error) + func (c *ImageAPIClient) ImagePull(context.Context, string, types.ImagePullOptions) (io.ReadCloser, error) + func (c *ImageAPIClient) ImagePush(context.Context, string, types.ImagePushOptions) (io.ReadCloser, error) + func (c *ImageAPIClient) ImageRemove(context.Context, string, types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error) + func (c *ImageAPIClient) ImageSave(context.Context, []string) (io.ReadCloser, error) + func (c *ImageAPIClient) ImageSearch(context.Context, string, types.ImageSearchOptions) ([]registry.SearchResult, error) + func (c *ImageAPIClient) ImageTag(context.Context, string, string) error + func (c *ImageAPIClient) ImagesPrune(context.Context, filters.Args) (types.ImagesPruneReport, error) + type MockCloser struct + Err error + func (c MockCloser) Close() error + type MockReadCloser struct + type MockReader struct + Err error + N int + func (r MockReader) Read(p []byte) (n int, err error)