Documentation ¶
Index ¶
- type Authenticator
- type ContainerAPIClient
- func (_m *ContainerAPIClient) ContainerAttach(ctx context.Context, _a1 string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
- func (_m *ContainerAPIClient) ContainerCommit(ctx context.Context, _a1 string, options types.ContainerCommitOptions) (types.IDResponse, error)
- func (_m *ContainerAPIClient) ContainerCreate(ctx context.Context, config *container.Config, ...) (container.ContainerCreateCreatedBody, error)
- func (_m *ContainerAPIClient) ContainerDiff(ctx context.Context, _a1 string) ([]container.ContainerChangeResponseItem, error)
- func (_m *ContainerAPIClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
- func (_m *ContainerAPIClient) ContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) (types.IDResponse, error)
- func (_m *ContainerAPIClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
- func (_m *ContainerAPIClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
- func (_m *ContainerAPIClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
- func (_m *ContainerAPIClient) ContainerExport(ctx context.Context, _a1 string) (io.ReadCloser, error)
- func (_m *ContainerAPIClient) ContainerInspect(ctx context.Context, _a1 string) (types.ContainerJSON, error)
- func (_m *ContainerAPIClient) ContainerInspectWithRaw(ctx context.Context, _a1 string, getSize bool) (types.ContainerJSON, []byte, error)
- func (_m *ContainerAPIClient) ContainerKill(ctx context.Context, _a1 string, signal string) error
- func (_m *ContainerAPIClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
- func (_m *ContainerAPIClient) ContainerLogs(ctx context.Context, _a1 string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (_m *ContainerAPIClient) ContainerPause(ctx context.Context, _a1 string) error
- func (_m *ContainerAPIClient) ContainerRemove(ctx context.Context, _a1 string, options types.ContainerRemoveOptions) error
- func (_m *ContainerAPIClient) ContainerRename(ctx context.Context, _a1 string, newContainerName string) error
- func (_m *ContainerAPIClient) ContainerResize(ctx context.Context, _a1 string, options types.ResizeOptions) error
- func (_m *ContainerAPIClient) ContainerRestart(ctx context.Context, _a1 string, timeout *time.Duration) error
- func (_m *ContainerAPIClient) ContainerStart(ctx context.Context, _a1 string, options types.ContainerStartOptions) error
- func (_m *ContainerAPIClient) ContainerStatPath(ctx context.Context, _a1 string, path string) (types.ContainerPathStat, error)
- func (_m *ContainerAPIClient) ContainerStats(ctx context.Context, _a1 string, stream bool) (types.ContainerStats, error)
- func (_m *ContainerAPIClient) ContainerStatsOneShot(ctx context.Context, _a1 string) (types.ContainerStats, error)
- func (_m *ContainerAPIClient) ContainerStop(ctx context.Context, _a1 string, timeout *time.Duration) error
- func (_m *ContainerAPIClient) ContainerTop(ctx context.Context, _a1 string, arguments []string) (container.ContainerTopOKBody, error)
- func (_m *ContainerAPIClient) ContainerUnpause(ctx context.Context, _a1 string) error
- func (_m *ContainerAPIClient) ContainerUpdate(ctx context.Context, _a1 string, updateConfig container.UpdateConfig) (container.ContainerUpdateOKBody, error)
- func (_m *ContainerAPIClient) ContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
- func (_m *ContainerAPIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
- func (_m *ContainerAPIClient) CopyFromContainer(ctx context.Context, _a1 string, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
- func (_m *ContainerAPIClient) CopyToContainer(ctx context.Context, _a1 string, path string, content io.Reader, ...) error
- type ImageAPIClient
- func (_m *ImageAPIClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
- func (_m *ImageAPIClient) BuildCancel(ctx context.Context, id string) error
- func (_m *ImageAPIClient) ImageBuild(ctx context.Context, _a1 io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
- func (_m *ImageAPIClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)
- func (_m *ImageAPIClient) ImageHistory(ctx context.Context, _a1 string) ([]image.HistoryResponseItem, error)
- func (_m *ImageAPIClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, ...) (io.ReadCloser, error)
- func (_m *ImageAPIClient) ImageInspectWithRaw(ctx context.Context, _a1 string) (types.ImageInspect, []byte, error)
- func (_m *ImageAPIClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
- func (_m *ImageAPIClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)
- func (_m *ImageAPIClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
- func (_m *ImageAPIClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)
- func (_m *ImageAPIClient) ImageRemove(ctx context.Context, _a1 string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
- func (_m *ImageAPIClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error)
- func (_m *ImageAPIClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
- func (_m *ImageAPIClient) ImageTag(ctx context.Context, _a1 string, ref string) error
- func (_m *ImageAPIClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
Authenticator is an autogenerated mock type for the Authenticator type
func (*Authenticator) Authorization ¶
func (_m *Authenticator) Authorization() (*authn.AuthConfig, error)
Authorization provides a mock function with given fields:
type ContainerAPIClient ¶
ContainerAPIClient is an autogenerated mock type for the ContainerAPIClient type
func (*ContainerAPIClient) ContainerAttach ¶
func (_m *ContainerAPIClient) ContainerAttach(ctx context.Context, _a1 string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
ContainerAttach provides a mock function with given fields: ctx, _a1, options
func (*ContainerAPIClient) ContainerCommit ¶
func (_m *ContainerAPIClient) ContainerCommit(ctx context.Context, _a1 string, options types.ContainerCommitOptions) (types.IDResponse, error)
ContainerCommit provides a mock function with given fields: ctx, _a1, options
func (*ContainerAPIClient) ContainerCreate ¶
func (_m *ContainerAPIClient) ContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string) (container.ContainerCreateCreatedBody, error)
ContainerCreate provides a mock function with given fields: ctx, config, hostConfig, networkingConfig, platform, containerName
func (*ContainerAPIClient) ContainerDiff ¶
func (_m *ContainerAPIClient) ContainerDiff(ctx context.Context, _a1 string) ([]container.ContainerChangeResponseItem, error)
ContainerDiff provides a mock function with given fields: ctx, _a1
func (*ContainerAPIClient) ContainerExecAttach ¶
func (_m *ContainerAPIClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
ContainerExecAttach provides a mock function with given fields: ctx, execID, config
func (*ContainerAPIClient) ContainerExecCreate ¶
func (_m *ContainerAPIClient) ContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) (types.IDResponse, error)
ContainerExecCreate provides a mock function with given fields: ctx, _a1, config
func (*ContainerAPIClient) ContainerExecInspect ¶
func (_m *ContainerAPIClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
ContainerExecInspect provides a mock function with given fields: ctx, execID
func (*ContainerAPIClient) ContainerExecResize ¶
func (_m *ContainerAPIClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
ContainerExecResize provides a mock function with given fields: ctx, execID, options
func (*ContainerAPIClient) ContainerExecStart ¶
func (_m *ContainerAPIClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
ContainerExecStart provides a mock function with given fields: ctx, execID, config
func (*ContainerAPIClient) ContainerExport ¶
func (_m *ContainerAPIClient) ContainerExport(ctx context.Context, _a1 string) (io.ReadCloser, error)
ContainerExport provides a mock function with given fields: ctx, _a1
func (*ContainerAPIClient) ContainerInspect ¶
func (_m *ContainerAPIClient) ContainerInspect(ctx context.Context, _a1 string) (types.ContainerJSON, error)
ContainerInspect provides a mock function with given fields: ctx, _a1
func (*ContainerAPIClient) ContainerInspectWithRaw ¶
func (_m *ContainerAPIClient) ContainerInspectWithRaw(ctx context.Context, _a1 string, getSize bool) (types.ContainerJSON, []byte, error)
ContainerInspectWithRaw provides a mock function with given fields: ctx, _a1, getSize
func (*ContainerAPIClient) ContainerKill ¶
ContainerKill provides a mock function with given fields: ctx, _a1, signal
func (*ContainerAPIClient) ContainerList ¶
func (_m *ContainerAPIClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
ContainerList provides a mock function with given fields: ctx, options
func (*ContainerAPIClient) ContainerLogs ¶
func (_m *ContainerAPIClient) ContainerLogs(ctx context.Context, _a1 string, options types.ContainerLogsOptions) (io.ReadCloser, error)
ContainerLogs provides a mock function with given fields: ctx, _a1, options
func (*ContainerAPIClient) ContainerPause ¶
func (_m *ContainerAPIClient) ContainerPause(ctx context.Context, _a1 string) error
ContainerPause provides a mock function with given fields: ctx, _a1
func (*ContainerAPIClient) ContainerRemove ¶
func (_m *ContainerAPIClient) ContainerRemove(ctx context.Context, _a1 string, options types.ContainerRemoveOptions) error
ContainerRemove provides a mock function with given fields: ctx, _a1, options
func (*ContainerAPIClient) ContainerRename ¶
func (_m *ContainerAPIClient) ContainerRename(ctx context.Context, _a1 string, newContainerName string) error
ContainerRename provides a mock function with given fields: ctx, _a1, newContainerName
func (*ContainerAPIClient) ContainerResize ¶
func (_m *ContainerAPIClient) ContainerResize(ctx context.Context, _a1 string, options types.ResizeOptions) error
ContainerResize provides a mock function with given fields: ctx, _a1, options
func (*ContainerAPIClient) ContainerRestart ¶
func (_m *ContainerAPIClient) ContainerRestart(ctx context.Context, _a1 string, timeout *time.Duration) error
ContainerRestart provides a mock function with given fields: ctx, _a1, timeout
func (*ContainerAPIClient) ContainerStart ¶
func (_m *ContainerAPIClient) ContainerStart(ctx context.Context, _a1 string, options types.ContainerStartOptions) error
ContainerStart provides a mock function with given fields: ctx, _a1, options
func (*ContainerAPIClient) ContainerStatPath ¶
func (_m *ContainerAPIClient) ContainerStatPath(ctx context.Context, _a1 string, path string) (types.ContainerPathStat, error)
ContainerStatPath provides a mock function with given fields: ctx, _a1, path
func (*ContainerAPIClient) ContainerStats ¶
func (_m *ContainerAPIClient) ContainerStats(ctx context.Context, _a1 string, stream bool) (types.ContainerStats, error)
ContainerStats provides a mock function with given fields: ctx, _a1, stream
func (*ContainerAPIClient) ContainerStatsOneShot ¶
func (_m *ContainerAPIClient) ContainerStatsOneShot(ctx context.Context, _a1 string) (types.ContainerStats, error)
ContainerStatsOneShot provides a mock function with given fields: ctx, _a1
func (*ContainerAPIClient) ContainerStop ¶
func (_m *ContainerAPIClient) ContainerStop(ctx context.Context, _a1 string, timeout *time.Duration) error
ContainerStop provides a mock function with given fields: ctx, _a1, timeout
func (*ContainerAPIClient) ContainerTop ¶
func (_m *ContainerAPIClient) ContainerTop(ctx context.Context, _a1 string, arguments []string) (container.ContainerTopOKBody, error)
ContainerTop provides a mock function with given fields: ctx, _a1, arguments
func (*ContainerAPIClient) ContainerUnpause ¶
func (_m *ContainerAPIClient) ContainerUnpause(ctx context.Context, _a1 string) error
ContainerUnpause provides a mock function with given fields: ctx, _a1
func (*ContainerAPIClient) ContainerUpdate ¶
func (_m *ContainerAPIClient) ContainerUpdate(ctx context.Context, _a1 string, updateConfig container.UpdateConfig) (container.ContainerUpdateOKBody, error)
ContainerUpdate provides a mock function with given fields: ctx, _a1, updateConfig
func (*ContainerAPIClient) ContainerWait ¶
func (_m *ContainerAPIClient) ContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
ContainerWait provides a mock function with given fields: ctx, _a1, condition
func (*ContainerAPIClient) ContainersPrune ¶
func (_m *ContainerAPIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
ContainersPrune provides a mock function with given fields: ctx, pruneFilters
func (*ContainerAPIClient) CopyFromContainer ¶
func (_m *ContainerAPIClient) CopyFromContainer(ctx context.Context, _a1 string, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
CopyFromContainer provides a mock function with given fields: ctx, _a1, srcPath
func (*ContainerAPIClient) CopyToContainer ¶
func (_m *ContainerAPIClient) CopyToContainer(ctx context.Context, _a1 string, path string, content io.Reader, options types.CopyToContainerOptions) error
CopyToContainer provides a mock function with given fields: ctx, _a1, path, content, options
type ImageAPIClient ¶
ImageAPIClient is an autogenerated mock type for the ImageAPIClient type
func (*ImageAPIClient) BuildCachePrune ¶
func (_m *ImageAPIClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
BuildCachePrune provides a mock function with given fields: ctx, opts
func (*ImageAPIClient) BuildCancel ¶
func (_m *ImageAPIClient) BuildCancel(ctx context.Context, id string) error
BuildCancel provides a mock function with given fields: ctx, id
func (*ImageAPIClient) ImageBuild ¶
func (_m *ImageAPIClient) ImageBuild(ctx context.Context, _a1 io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
ImageBuild provides a mock function with given fields: ctx, _a1, options
func (*ImageAPIClient) ImageCreate ¶
func (_m *ImageAPIClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)
ImageCreate provides a mock function with given fields: ctx, parentReference, options
func (*ImageAPIClient) ImageHistory ¶
func (_m *ImageAPIClient) ImageHistory(ctx context.Context, _a1 string) ([]image.HistoryResponseItem, error)
ImageHistory provides a mock function with given fields: ctx, _a1
func (*ImageAPIClient) ImageImport ¶
func (_m *ImageAPIClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, options types.ImageImportOptions) (io.ReadCloser, error)
ImageImport provides a mock function with given fields: ctx, source, ref, options
func (*ImageAPIClient) ImageInspectWithRaw ¶
func (_m *ImageAPIClient) ImageInspectWithRaw(ctx context.Context, _a1 string) (types.ImageInspect, []byte, error)
ImageInspectWithRaw provides a mock function with given fields: ctx, _a1
func (*ImageAPIClient) ImageList ¶
func (_m *ImageAPIClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
ImageList provides a mock function with given fields: ctx, options
func (*ImageAPIClient) ImageLoad ¶
func (_m *ImageAPIClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)
ImageLoad provides a mock function with given fields: ctx, input, quiet
func (*ImageAPIClient) ImagePull ¶
func (_m *ImageAPIClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
ImagePull provides a mock function with given fields: ctx, ref, options
func (*ImageAPIClient) ImagePush ¶
func (_m *ImageAPIClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)
ImagePush provides a mock function with given fields: ctx, ref, options
func (*ImageAPIClient) ImageRemove ¶
func (_m *ImageAPIClient) ImageRemove(ctx context.Context, _a1 string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
ImageRemove provides a mock function with given fields: ctx, _a1, options
func (*ImageAPIClient) ImageSave ¶
func (_m *ImageAPIClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error)
ImageSave provides a mock function with given fields: ctx, images
func (*ImageAPIClient) ImageSearch ¶
func (_m *ImageAPIClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
ImageSearch provides a mock function with given fields: ctx, term, options
func (*ImageAPIClient) ImageTag ¶
ImageTag provides a mock function with given fields: ctx, _a1, ref
func (*ImageAPIClient) ImagesPrune ¶
func (_m *ImageAPIClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)
ImagesPrune provides a mock function with given fields: ctx, pruneFilter