Versions in this module Expand all Collapse all v1 v1.0.0 Jun 26, 2026 Changes in this version + var Err = errors.New("mockdockerclient error") + type ContainerAPIClient struct + CreateResp *client.ContainerCreateResult + InspectResp *client.ContainerInspectResult + Logs io.ReadCloser + RemoveErr error + StartErr error + StopErr error + func (c *ContainerAPIClient) ContainerAttach(context.Context, string, client.ContainerAttachOptions) (client.ContainerAttachResult, error) + func (c *ContainerAPIClient) ContainerCommit(context.Context, string, client.ContainerCommitOptions) (client.ContainerCommitResult, error) + func (c *ContainerAPIClient) ContainerCreate(context.Context, client.ContainerCreateOptions) (client.ContainerCreateResult, error) + func (c *ContainerAPIClient) ContainerDiff(context.Context, string, client.ContainerDiffOptions) (client.ContainerDiffResult, error) + func (c *ContainerAPIClient) ContainerExport(context.Context, string, client.ContainerExportOptions) (client.ContainerExportResult, error) + func (c *ContainerAPIClient) ContainerInspect(context.Context, string, client.ContainerInspectOptions) (client.ContainerInspectResult, error) + func (c *ContainerAPIClient) ContainerKill(context.Context, string, client.ContainerKillOptions) (client.ContainerKillResult, error) + func (c *ContainerAPIClient) ContainerList(context.Context, client.ContainerListOptions) (client.ContainerListResult, error) + func (c *ContainerAPIClient) ContainerLogs(context.Context, string, client.ContainerLogsOptions) (client.ContainerLogsResult, error) + func (c *ContainerAPIClient) ContainerPause(context.Context, string, client.ContainerPauseOptions) (client.ContainerPauseResult, error) + func (c *ContainerAPIClient) ContainerPrune(context.Context, client.ContainerPruneOptions) (client.ContainerPruneResult, error) + func (c *ContainerAPIClient) ContainerRemove(context.Context, string, client.ContainerRemoveOptions) (client.ContainerRemoveResult, error) + func (c *ContainerAPIClient) ContainerRename(context.Context, string, client.ContainerRenameOptions) (client.ContainerRenameResult, error) + func (c *ContainerAPIClient) ContainerResize(context.Context, string, client.ContainerResizeOptions) (client.ContainerResizeResult, error) + func (c *ContainerAPIClient) ContainerRestart(context.Context, string, client.ContainerRestartOptions) (client.ContainerRestartResult, error) + func (c *ContainerAPIClient) ContainerStart(context.Context, string, client.ContainerStartOptions) (client.ContainerStartResult, error) + func (c *ContainerAPIClient) ContainerStatPath(context.Context, string, client.ContainerStatPathOptions) (client.ContainerStatPathResult, error) + func (c *ContainerAPIClient) ContainerStats(context.Context, string, client.ContainerStatsOptions) (client.ContainerStatsResult, error) + func (c *ContainerAPIClient) ContainerStop(context.Context, string, client.ContainerStopOptions) (client.ContainerStopResult, error) + func (c *ContainerAPIClient) ContainerTop(context.Context, string, client.ContainerTopOptions) (client.ContainerTopResult, error) + func (c *ContainerAPIClient) ContainerUnpause(context.Context, string, client.ContainerUnpauseOptions) (client.ContainerUnpauseResult, error) + func (c *ContainerAPIClient) ContainerUpdate(context.Context, string, client.ContainerUpdateOptions) (client.ContainerUpdateResult, error) + func (c *ContainerAPIClient) ContainerWait(context.Context, string, client.ContainerWaitOptions) client.ContainerWaitResult + func (c *ContainerAPIClient) CopyFromContainer(context.Context, string, client.CopyFromContainerOptions) (client.CopyFromContainerResult, error) + func (c *ContainerAPIClient) CopyToContainer(context.Context, string, client.CopyToContainerOptions) (client.CopyToContainerResult, error) + type ImageAPIClient struct + PullResp *MockImagePullResponse + func (c *ImageAPIClient) ImageAttestations(context.Context, string, ...client.ImageAttestationsOption) (client.ImageAttestationsResult, error) + func (c *ImageAPIClient) ImageHistory(context.Context, string, ...client.ImageHistoryOption) (client.ImageHistoryResult, error) + func (c *ImageAPIClient) ImageImport(context.Context, client.ImageImportSource, string, client.ImageImportOptions) (client.ImageImportResult, error) + func (c *ImageAPIClient) ImageInspect(context.Context, string, ...client.ImageInspectOption) (client.ImageInspectResult, error) + func (c *ImageAPIClient) ImageList(context.Context, client.ImageListOptions) (client.ImageListResult, error) + func (c *ImageAPIClient) ImageLoad(context.Context, io.Reader, ...client.ImageLoadOption) (client.ImageLoadResult, error) + func (c *ImageAPIClient) ImagePrune(context.Context, client.ImagePruneOptions) (client.ImagePruneResult, error) + func (c *ImageAPIClient) ImagePull(context.Context, string, client.ImagePullOptions) (client.ImagePullResponse, error) + func (c *ImageAPIClient) ImagePush(context.Context, string, client.ImagePushOptions) (client.ImagePushResponse, error) + func (c *ImageAPIClient) ImageRemove(context.Context, string, client.ImageRemoveOptions) (client.ImageRemoveResult, error) + func (c *ImageAPIClient) ImageSave(context.Context, []string, ...client.ImageSaveOption) (client.ImageSaveResult, error) + func (c *ImageAPIClient) ImageSearch(context.Context, string, client.ImageSearchOptions) (client.ImageSearchResult, error) + func (c *ImageAPIClient) ImageTag(context.Context, client.ImageTagOptions) (client.ImageTagResult, error) + type MockCloser struct + Err error + func (c MockCloser) Close() error + type MockImagePullResponse struct + func (ip *MockImagePullResponse) JSONMessages(context.Context) iter.Seq2[jsonstream.Message, error] + func (ip *MockImagePullResponse) Wait(context.Context) error + type MockReadCloser struct + type MockReader struct + Err error + N int + func (r MockReader) Read(_ []byte) (n int, err error)