Documentation
¶
Index ¶
- type Docker
- func (_m *Docker) ContainerCreate(ctx context.Context, config *container.Config, ...) (container.CreateResponse, error)
- func (_m *Docker) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
- func (_m *Docker) ContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) (types.IDResponse, error)
- func (_m *Docker) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
- func (_m *Docker) ContainerList(ctx context.Context, options container.ListOptions) ([]types.Container, error)
- func (_m *Docker) ContainerLogs(ctx context.Context, _a1 string, options container.LogsOptions) (io.ReadCloser, error)
- func (_m *Docker) ContainerRemove(ctx context.Context, containerID string, options container.RemoveOptions) error
- func (_m *Docker) ContainerStart(ctx context.Context, containerID string, options container.StartOptions) error
- func (_m *Docker) ContainerStatPath(ctx context.Context, containerID string, path string) (types.ContainerPathStat, error)
- func (_m *Docker) ContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)
- func (_m *Docker) CopyFromContainer(ctx context.Context, containerID string, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
- func (_m *Docker) ImageList(ctx context.Context, listOption image.ListOptions) ([]image.Summary, error)
- func (_m *Docker) ImagePull(ctx context.Context, refStr string, options image.PullOptions) (io.ReadCloser, error)
- func (_m *Docker) OnContainerCreate(ctx context.Context, config *container.Config, ...) *Docker_ContainerCreate
- func (_m *Docker) OnContainerCreateMatch(matchers ...interface{}) *Docker_ContainerCreate
- func (_m *Docker) OnContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) *Docker_ContainerExecAttach
- func (_m *Docker) OnContainerExecAttachMatch(matchers ...interface{}) *Docker_ContainerExecAttach
- func (_m *Docker) OnContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) *Docker_ContainerExecCreate
- func (_m *Docker) OnContainerExecCreateMatch(matchers ...interface{}) *Docker_ContainerExecCreate
- func (_m *Docker) OnContainerExecInspect(ctx context.Context, execID string) *Docker_ContainerExecInspect
- func (_m *Docker) OnContainerExecInspectMatch(matchers ...interface{}) *Docker_ContainerExecInspect
- func (_m *Docker) OnContainerList(ctx context.Context, options container.ListOptions) *Docker_ContainerList
- func (_m *Docker) OnContainerListMatch(matchers ...interface{}) *Docker_ContainerList
- func (_m *Docker) OnContainerLogs(ctx context.Context, _a1 string, options container.LogsOptions) *Docker_ContainerLogs
- func (_m *Docker) OnContainerLogsMatch(matchers ...interface{}) *Docker_ContainerLogs
- func (_m *Docker) OnContainerRemove(ctx context.Context, containerID string, options container.RemoveOptions) *Docker_ContainerRemove
- func (_m *Docker) OnContainerRemoveMatch(matchers ...interface{}) *Docker_ContainerRemove
- func (_m *Docker) OnContainerStart(ctx context.Context, containerID string, options container.StartOptions) *Docker_ContainerStart
- func (_m *Docker) OnContainerStartMatch(matchers ...interface{}) *Docker_ContainerStart
- func (_m *Docker) OnContainerStatPath(ctx context.Context, containerID string, path string) *Docker_ContainerStatPath
- func (_m *Docker) OnContainerStatPathMatch(matchers ...interface{}) *Docker_ContainerStatPath
- func (_m *Docker) OnContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) *Docker_ContainerWait
- func (_m *Docker) OnContainerWaitMatch(matchers ...interface{}) *Docker_ContainerWait
- func (_m *Docker) OnCopyFromContainer(ctx context.Context, containerID string, srcPath string) *Docker_CopyFromContainer
- func (_m *Docker) OnCopyFromContainerMatch(matchers ...interface{}) *Docker_CopyFromContainer
- func (_m *Docker) OnImageList(ctx context.Context, listOption image.ListOptions) *Docker_ImageList
- func (_m *Docker) OnImageListMatch(matchers ...interface{}) *Docker_ImageList
- func (_m *Docker) OnImagePull(ctx context.Context, refStr string, options image.PullOptions) *Docker_ImagePull
- func (_m *Docker) OnImagePullMatch(matchers ...interface{}) *Docker_ImagePull
- func (_m *Docker) OnVolumeCreate(ctx context.Context, options volume.CreateOptions) *Docker_VolumeCreate
- func (_m *Docker) OnVolumeCreateMatch(matchers ...interface{}) *Docker_VolumeCreate
- func (_m *Docker) OnVolumeList(ctx context.Context, options volume.ListOptions) *Docker_VolumeList
- func (_m *Docker) OnVolumeListMatch(matchers ...interface{}) *Docker_VolumeList
- func (_m *Docker) OnVolumeRemove(ctx context.Context, volumeID string, force bool) *Docker_VolumeRemove
- func (_m *Docker) OnVolumeRemoveMatch(matchers ...interface{}) *Docker_VolumeRemove
- func (_m *Docker) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error)
- func (_m *Docker) VolumeList(ctx context.Context, options volume.ListOptions) (volume.ListResponse, error)
- func (_m *Docker) VolumeRemove(ctx context.Context, volumeID string, force bool) error
- type Docker_ContainerCreate
- type Docker_ContainerExecAttach
- type Docker_ContainerExecCreate
- type Docker_ContainerExecInspect
- type Docker_ContainerList
- type Docker_ContainerLogs
- type Docker_ContainerRemove
- type Docker_ContainerStart
- type Docker_ContainerStatPath
- type Docker_ContainerWait
- type Docker_CopyFromContainer
- type Docker_ImageList
- type Docker_ImagePull
- type Docker_VolumeCreate
- type Docker_VolumeList
- type Docker_VolumeRemove
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
Docker is an autogenerated mock type for the Docker type
func (*Docker) ContainerCreate ¶
func (_m *Docker) ContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string) (container.CreateResponse, error)
ContainerCreate provides a mock function with given fields: ctx, config, hostConfig, networkingConfig, platform, containerName
func (*Docker) ContainerExecAttach ¶
func (_m *Docker) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
ContainerExecAttach provides a mock function with given fields: ctx, execID, config
func (*Docker) ContainerExecCreate ¶
func (_m *Docker) ContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) (types.IDResponse, error)
ContainerExecCreate provides a mock function with given fields: ctx, _a1, config
func (*Docker) ContainerExecInspect ¶
func (_m *Docker) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
ContainerExecInspect provides a mock function with given fields: ctx, execID
func (*Docker) ContainerList ¶
func (_m *Docker) ContainerList(ctx context.Context, options container.ListOptions) ([]types.Container, error)
ContainerList provides a mock function with given fields: ctx, options
func (*Docker) ContainerLogs ¶
func (_m *Docker) ContainerLogs(ctx context.Context, _a1 string, options container.LogsOptions) (io.ReadCloser, error)
ContainerLogs provides a mock function with given fields: ctx, _a1, options
func (*Docker) ContainerRemove ¶
func (_m *Docker) ContainerRemove(ctx context.Context, containerID string, options container.RemoveOptions) error
ContainerRemove provides a mock function with given fields: ctx, containerID, options
func (*Docker) ContainerStart ¶
func (_m *Docker) ContainerStart(ctx context.Context, containerID string, options container.StartOptions) error
ContainerStart provides a mock function with given fields: ctx, containerID, options
func (*Docker) ContainerStatPath ¶
func (_m *Docker) ContainerStatPath(ctx context.Context, containerID string, path string) (types.ContainerPathStat, error)
ContainerStatPath provides a mock function with given fields: ctx, containerID, path
func (*Docker) ContainerWait ¶
func (_m *Docker) ContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)
ContainerWait provides a mock function with given fields: ctx, _a1, condition
func (*Docker) CopyFromContainer ¶
func (_m *Docker) CopyFromContainer(ctx context.Context, containerID string, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
CopyFromContainer provides a mock function with given fields: ctx, containerID, srcPath
func (*Docker) ImageList ¶
func (_m *Docker) ImageList(ctx context.Context, listOption image.ListOptions) ([]image.Summary, error)
ImageList provides a mock function with given fields: ctx, listOption
func (*Docker) ImagePull ¶
func (_m *Docker) ImagePull(ctx context.Context, refStr string, options image.PullOptions) (io.ReadCloser, error)
ImagePull provides a mock function with given fields: ctx, refStr, options
func (*Docker) OnContainerCreate ¶
func (_m *Docker) OnContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string) *Docker_ContainerCreate
func (*Docker) OnContainerCreateMatch ¶
func (_m *Docker) OnContainerCreateMatch(matchers ...interface{}) *Docker_ContainerCreate
func (*Docker) OnContainerExecAttach ¶
func (_m *Docker) OnContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) *Docker_ContainerExecAttach
func (*Docker) OnContainerExecAttachMatch ¶
func (_m *Docker) OnContainerExecAttachMatch(matchers ...interface{}) *Docker_ContainerExecAttach
func (*Docker) OnContainerExecCreate ¶
func (_m *Docker) OnContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) *Docker_ContainerExecCreate
func (*Docker) OnContainerExecCreateMatch ¶
func (_m *Docker) OnContainerExecCreateMatch(matchers ...interface{}) *Docker_ContainerExecCreate
func (*Docker) OnContainerExecInspect ¶
func (_m *Docker) OnContainerExecInspect(ctx context.Context, execID string) *Docker_ContainerExecInspect
func (*Docker) OnContainerExecInspectMatch ¶
func (_m *Docker) OnContainerExecInspectMatch(matchers ...interface{}) *Docker_ContainerExecInspect
func (*Docker) OnContainerList ¶
func (_m *Docker) OnContainerList(ctx context.Context, options container.ListOptions) *Docker_ContainerList
func (*Docker) OnContainerListMatch ¶
func (_m *Docker) OnContainerListMatch(matchers ...interface{}) *Docker_ContainerList
func (*Docker) OnContainerLogs ¶
func (_m *Docker) OnContainerLogs(ctx context.Context, _a1 string, options container.LogsOptions) *Docker_ContainerLogs
func (*Docker) OnContainerLogsMatch ¶
func (_m *Docker) OnContainerLogsMatch(matchers ...interface{}) *Docker_ContainerLogs
func (*Docker) OnContainerRemove ¶
func (_m *Docker) OnContainerRemove(ctx context.Context, containerID string, options container.RemoveOptions) *Docker_ContainerRemove
func (*Docker) OnContainerRemoveMatch ¶
func (_m *Docker) OnContainerRemoveMatch(matchers ...interface{}) *Docker_ContainerRemove
func (*Docker) OnContainerStart ¶
func (_m *Docker) OnContainerStart(ctx context.Context, containerID string, options container.StartOptions) *Docker_ContainerStart
func (*Docker) OnContainerStartMatch ¶
func (_m *Docker) OnContainerStartMatch(matchers ...interface{}) *Docker_ContainerStart
func (*Docker) OnContainerStatPath ¶
func (*Docker) OnContainerStatPathMatch ¶
func (_m *Docker) OnContainerStatPathMatch(matchers ...interface{}) *Docker_ContainerStatPath
func (*Docker) OnContainerWait ¶
func (_m *Docker) OnContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) *Docker_ContainerWait
func (*Docker) OnContainerWaitMatch ¶
func (_m *Docker) OnContainerWaitMatch(matchers ...interface{}) *Docker_ContainerWait
func (*Docker) OnCopyFromContainer ¶
func (*Docker) OnCopyFromContainerMatch ¶
func (_m *Docker) OnCopyFromContainerMatch(matchers ...interface{}) *Docker_CopyFromContainer
func (*Docker) OnImageList ¶
func (_m *Docker) OnImageList(ctx context.Context, listOption image.ListOptions) *Docker_ImageList
func (*Docker) OnImageListMatch ¶
func (_m *Docker) OnImageListMatch(matchers ...interface{}) *Docker_ImageList
func (*Docker) OnImagePull ¶
func (_m *Docker) OnImagePull(ctx context.Context, refStr string, options image.PullOptions) *Docker_ImagePull
func (*Docker) OnImagePullMatch ¶
func (_m *Docker) OnImagePullMatch(matchers ...interface{}) *Docker_ImagePull
func (*Docker) OnVolumeCreate ¶
func (_m *Docker) OnVolumeCreate(ctx context.Context, options volume.CreateOptions) *Docker_VolumeCreate
func (*Docker) OnVolumeCreateMatch ¶
func (_m *Docker) OnVolumeCreateMatch(matchers ...interface{}) *Docker_VolumeCreate
func (*Docker) OnVolumeList ¶
func (_m *Docker) OnVolumeList(ctx context.Context, options volume.ListOptions) *Docker_VolumeList
func (*Docker) OnVolumeListMatch ¶
func (_m *Docker) OnVolumeListMatch(matchers ...interface{}) *Docker_VolumeList
func (*Docker) OnVolumeRemove ¶
func (*Docker) OnVolumeRemoveMatch ¶
func (_m *Docker) OnVolumeRemoveMatch(matchers ...interface{}) *Docker_VolumeRemove
func (*Docker) VolumeCreate ¶
func (_m *Docker) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error)
VolumeCreate provides a mock function with given fields: ctx, options
func (*Docker) VolumeList ¶
func (_m *Docker) VolumeList(ctx context.Context, options volume.ListOptions) (volume.ListResponse, error)
VolumeList provides a mock function with given fields: ctx, options
type Docker_ContainerCreate ¶
func (Docker_ContainerCreate) Return ¶
func (_m Docker_ContainerCreate) Return(_a0 container.CreateResponse, _a1 error) *Docker_ContainerCreate
type Docker_ContainerExecAttach ¶
func (Docker_ContainerExecAttach) Return ¶
func (_m Docker_ContainerExecAttach) Return(_a0 types.HijackedResponse, _a1 error) *Docker_ContainerExecAttach
type Docker_ContainerExecCreate ¶
func (Docker_ContainerExecCreate) Return ¶
func (_m Docker_ContainerExecCreate) Return(_a0 types.IDResponse, _a1 error) *Docker_ContainerExecCreate
type Docker_ContainerExecInspect ¶
func (Docker_ContainerExecInspect) Return ¶
func (_m Docker_ContainerExecInspect) Return(_a0 types.ContainerExecInspect, _a1 error) *Docker_ContainerExecInspect
type Docker_ContainerList ¶
func (Docker_ContainerList) Return ¶
func (_m Docker_ContainerList) Return(_a0 []types.Container, _a1 error) *Docker_ContainerList
type Docker_ContainerLogs ¶
func (Docker_ContainerLogs) Return ¶
func (_m Docker_ContainerLogs) Return(_a0 io.ReadCloser, _a1 error) *Docker_ContainerLogs
type Docker_ContainerRemove ¶
func (Docker_ContainerRemove) Return ¶
func (_m Docker_ContainerRemove) Return(_a0 error) *Docker_ContainerRemove
type Docker_ContainerStart ¶
func (Docker_ContainerStart) Return ¶
func (_m Docker_ContainerStart) Return(_a0 error) *Docker_ContainerStart
type Docker_ContainerStatPath ¶
func (Docker_ContainerStatPath) Return ¶
func (_m Docker_ContainerStatPath) Return(_a0 types.ContainerPathStat, _a1 error) *Docker_ContainerStatPath
type Docker_ContainerWait ¶
func (Docker_ContainerWait) Return ¶
func (_m Docker_ContainerWait) Return(_a0 <-chan container.WaitResponse, _a1 <-chan error) *Docker_ContainerWait
type Docker_CopyFromContainer ¶
func (Docker_CopyFromContainer) Return ¶
func (_m Docker_CopyFromContainer) Return(_a0 io.ReadCloser, _a1 types.ContainerPathStat, _a2 error) *Docker_CopyFromContainer
type Docker_ImageList ¶
func (Docker_ImageList) Return ¶
func (_m Docker_ImageList) Return(_a0 []image.Summary, _a1 error) *Docker_ImageList
type Docker_ImagePull ¶
func (Docker_ImagePull) Return ¶
func (_m Docker_ImagePull) Return(_a0 io.ReadCloser, _a1 error) *Docker_ImagePull
type Docker_VolumeCreate ¶
func (Docker_VolumeCreate) Return ¶
func (_m Docker_VolumeCreate) Return(_a0 volume.Volume, _a1 error) *Docker_VolumeCreate
type Docker_VolumeList ¶
func (Docker_VolumeList) Return ¶
func (_m Docker_VolumeList) Return(_a0 volume.ListResponse, _a1 error) *Docker_VolumeList
type Docker_VolumeRemove ¶
func (Docker_VolumeRemove) Return ¶
func (_m Docker_VolumeRemove) Return(_a0 error) *Docker_VolumeRemove