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) EXPECT() *Docker_Expecter
- 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) 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_Call
- func (_c *Docker_ContainerCreate_Call) Return(_a0 container.CreateResponse, _a1 error) *Docker_ContainerCreate_Call
- func (_c *Docker_ContainerCreate_Call) Run(run func(ctx context.Context, config *container.Config, ...)) *Docker_ContainerCreate_Call
- func (_c *Docker_ContainerCreate_Call) RunAndReturn(...) *Docker_ContainerCreate_Call
- type Docker_ContainerExecAttach_Call
- func (_c *Docker_ContainerExecAttach_Call) Return(_a0 types.HijackedResponse, _a1 error) *Docker_ContainerExecAttach_Call
- func (_c *Docker_ContainerExecAttach_Call) Run(run func(ctx context.Context, execID string, config types.ExecStartCheck)) *Docker_ContainerExecAttach_Call
- func (_c *Docker_ContainerExecAttach_Call) RunAndReturn(...) *Docker_ContainerExecAttach_Call
- type Docker_ContainerExecCreate_Call
- func (_c *Docker_ContainerExecCreate_Call) Return(_a0 types.IDResponse, _a1 error) *Docker_ContainerExecCreate_Call
- func (_c *Docker_ContainerExecCreate_Call) Run(run func(ctx context.Context, _a1 string, config types.ExecConfig)) *Docker_ContainerExecCreate_Call
- func (_c *Docker_ContainerExecCreate_Call) RunAndReturn(run func(context.Context, string, types.ExecConfig) (types.IDResponse, error)) *Docker_ContainerExecCreate_Call
- type Docker_ContainerExecInspect_Call
- func (_c *Docker_ContainerExecInspect_Call) Return(_a0 types.ContainerExecInspect, _a1 error) *Docker_ContainerExecInspect_Call
- func (_c *Docker_ContainerExecInspect_Call) Run(run func(ctx context.Context, execID string)) *Docker_ContainerExecInspect_Call
- func (_c *Docker_ContainerExecInspect_Call) RunAndReturn(run func(context.Context, string) (types.ContainerExecInspect, error)) *Docker_ContainerExecInspect_Call
- type Docker_ContainerList_Call
- func (_c *Docker_ContainerList_Call) Return(_a0 []types.Container, _a1 error) *Docker_ContainerList_Call
- func (_c *Docker_ContainerList_Call) Run(run func(ctx context.Context, options container.ListOptions)) *Docker_ContainerList_Call
- func (_c *Docker_ContainerList_Call) RunAndReturn(run func(context.Context, container.ListOptions) ([]types.Container, error)) *Docker_ContainerList_Call
- type Docker_ContainerLogs_Call
- func (_c *Docker_ContainerLogs_Call) Return(_a0 io.ReadCloser, _a1 error) *Docker_ContainerLogs_Call
- func (_c *Docker_ContainerLogs_Call) Run(run func(ctx context.Context, _a1 string, options container.LogsOptions)) *Docker_ContainerLogs_Call
- func (_c *Docker_ContainerLogs_Call) RunAndReturn(...) *Docker_ContainerLogs_Call
- type Docker_ContainerRemove_Call
- func (_c *Docker_ContainerRemove_Call) Return(_a0 error) *Docker_ContainerRemove_Call
- func (_c *Docker_ContainerRemove_Call) Run(...) *Docker_ContainerRemove_Call
- func (_c *Docker_ContainerRemove_Call) RunAndReturn(run func(context.Context, string, container.RemoveOptions) error) *Docker_ContainerRemove_Call
- type Docker_ContainerStart_Call
- func (_c *Docker_ContainerStart_Call) Return(_a0 error) *Docker_ContainerStart_Call
- func (_c *Docker_ContainerStart_Call) Run(...) *Docker_ContainerStart_Call
- func (_c *Docker_ContainerStart_Call) RunAndReturn(run func(context.Context, string, container.StartOptions) error) *Docker_ContainerStart_Call
- type Docker_ContainerStatPath_Call
- func (_c *Docker_ContainerStatPath_Call) Return(_a0 types.ContainerPathStat, _a1 error) *Docker_ContainerStatPath_Call
- func (_c *Docker_ContainerStatPath_Call) Run(run func(ctx context.Context, containerID string, path string)) *Docker_ContainerStatPath_Call
- func (_c *Docker_ContainerStatPath_Call) RunAndReturn(run func(context.Context, string, string) (types.ContainerPathStat, error)) *Docker_ContainerStatPath_Call
- type Docker_ContainerWait_Call
- func (_c *Docker_ContainerWait_Call) Return(_a0 <-chan container.WaitResponse, _a1 <-chan error) *Docker_ContainerWait_Call
- func (_c *Docker_ContainerWait_Call) Run(run func(ctx context.Context, _a1 string, condition container.WaitCondition)) *Docker_ContainerWait_Call
- func (_c *Docker_ContainerWait_Call) RunAndReturn(...) *Docker_ContainerWait_Call
- type Docker_CopyFromContainer_Call
- func (_c *Docker_CopyFromContainer_Call) Return(_a0 io.ReadCloser, _a1 types.ContainerPathStat, _a2 error) *Docker_CopyFromContainer_Call
- func (_c *Docker_CopyFromContainer_Call) Run(run func(ctx context.Context, containerID string, srcPath string)) *Docker_CopyFromContainer_Call
- func (_c *Docker_CopyFromContainer_Call) RunAndReturn(...) *Docker_CopyFromContainer_Call
- type Docker_Expecter
- func (_e *Docker_Expecter) ContainerCreate(ctx interface{}, config interface{}, hostConfig interface{}, ...) *Docker_ContainerCreate_Call
- func (_e *Docker_Expecter) ContainerExecAttach(ctx interface{}, execID interface{}, config interface{}) *Docker_ContainerExecAttach_Call
- func (_e *Docker_Expecter) ContainerExecCreate(ctx interface{}, _a1 interface{}, config interface{}) *Docker_ContainerExecCreate_Call
- func (_e *Docker_Expecter) ContainerExecInspect(ctx interface{}, execID interface{}) *Docker_ContainerExecInspect_Call
- func (_e *Docker_Expecter) ContainerList(ctx interface{}, options interface{}) *Docker_ContainerList_Call
- func (_e *Docker_Expecter) ContainerLogs(ctx interface{}, _a1 interface{}, options interface{}) *Docker_ContainerLogs_Call
- func (_e *Docker_Expecter) ContainerRemove(ctx interface{}, containerID interface{}, options interface{}) *Docker_ContainerRemove_Call
- func (_e *Docker_Expecter) ContainerStart(ctx interface{}, containerID interface{}, options interface{}) *Docker_ContainerStart_Call
- func (_e *Docker_Expecter) ContainerStatPath(ctx interface{}, containerID interface{}, path interface{}) *Docker_ContainerStatPath_Call
- func (_e *Docker_Expecter) ContainerWait(ctx interface{}, _a1 interface{}, condition interface{}) *Docker_ContainerWait_Call
- func (_e *Docker_Expecter) CopyFromContainer(ctx interface{}, containerID interface{}, srcPath interface{}) *Docker_CopyFromContainer_Call
- func (_e *Docker_Expecter) ImageList(ctx interface{}, listOption interface{}) *Docker_ImageList_Call
- func (_e *Docker_Expecter) ImagePull(ctx interface{}, refStr interface{}, options interface{}) *Docker_ImagePull_Call
- func (_e *Docker_Expecter) VolumeCreate(ctx interface{}, options interface{}) *Docker_VolumeCreate_Call
- func (_e *Docker_Expecter) VolumeList(ctx interface{}, options interface{}) *Docker_VolumeList_Call
- func (_e *Docker_Expecter) VolumeRemove(ctx interface{}, volumeID interface{}, force interface{}) *Docker_VolumeRemove_Call
- type Docker_ImageList_Call
- func (_c *Docker_ImageList_Call) Return(_a0 []image.Summary, _a1 error) *Docker_ImageList_Call
- func (_c *Docker_ImageList_Call) Run(run func(ctx context.Context, listOption image.ListOptions)) *Docker_ImageList_Call
- func (_c *Docker_ImageList_Call) RunAndReturn(run func(context.Context, image.ListOptions) ([]image.Summary, error)) *Docker_ImageList_Call
- type Docker_ImagePull_Call
- func (_c *Docker_ImagePull_Call) Return(_a0 io.ReadCloser, _a1 error) *Docker_ImagePull_Call
- func (_c *Docker_ImagePull_Call) Run(run func(ctx context.Context, refStr string, options image.PullOptions)) *Docker_ImagePull_Call
- func (_c *Docker_ImagePull_Call) RunAndReturn(run func(context.Context, string, image.PullOptions) (io.ReadCloser, error)) *Docker_ImagePull_Call
- type Docker_VolumeCreate_Call
- func (_c *Docker_VolumeCreate_Call) Return(_a0 volume.Volume, _a1 error) *Docker_VolumeCreate_Call
- func (_c *Docker_VolumeCreate_Call) Run(run func(ctx context.Context, options volume.CreateOptions)) *Docker_VolumeCreate_Call
- func (_c *Docker_VolumeCreate_Call) RunAndReturn(run func(context.Context, volume.CreateOptions) (volume.Volume, error)) *Docker_VolumeCreate_Call
- type Docker_VolumeList_Call
- func (_c *Docker_VolumeList_Call) Return(_a0 volume.ListResponse, _a1 error) *Docker_VolumeList_Call
- func (_c *Docker_VolumeList_Call) Run(run func(ctx context.Context, options volume.ListOptions)) *Docker_VolumeList_Call
- func (_c *Docker_VolumeList_Call) RunAndReturn(run func(context.Context, volume.ListOptions) (volume.ListResponse, error)) *Docker_VolumeList_Call
- type Docker_VolumeRemove_Call
- func (_c *Docker_VolumeRemove_Call) Return(_a0 error) *Docker_VolumeRemove_Call
- func (_c *Docker_VolumeRemove_Call) Run(run func(ctx context.Context, volumeID string, force bool)) *Docker_VolumeRemove_Call
- func (_c *Docker_VolumeRemove_Call) RunAndReturn(run func(context.Context, string, bool) error) *Docker_VolumeRemove_Call
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 NewDocker ¶ added in v0.9.5
NewDocker creates a new instance of Docker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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) EXPECT ¶ added in v0.9.5
func (_m *Docker) EXPECT() *Docker_Expecter
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) 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_Call ¶ added in v0.9.5
Docker_ContainerCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerCreate'
func (*Docker_ContainerCreate_Call) Return ¶ added in v0.9.5
func (_c *Docker_ContainerCreate_Call) Return(_a0 container.CreateResponse, _a1 error) *Docker_ContainerCreate_Call
func (*Docker_ContainerCreate_Call) Run ¶ added in v0.9.5
func (_c *Docker_ContainerCreate_Call) Run(run func(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string)) *Docker_ContainerCreate_Call
func (*Docker_ContainerCreate_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ContainerCreate_Call) RunAndReturn(run func(context.Context, *container.Config, *container.HostConfig, *network.NetworkingConfig, *v1.Platform, string) (container.CreateResponse, error)) *Docker_ContainerCreate_Call
type Docker_ContainerExecAttach_Call ¶ added in v0.9.5
Docker_ContainerExecAttach_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecAttach'
func (*Docker_ContainerExecAttach_Call) Return ¶ added in v0.9.5
func (_c *Docker_ContainerExecAttach_Call) Return(_a0 types.HijackedResponse, _a1 error) *Docker_ContainerExecAttach_Call
func (*Docker_ContainerExecAttach_Call) Run ¶ added in v0.9.5
func (_c *Docker_ContainerExecAttach_Call) Run(run func(ctx context.Context, execID string, config types.ExecStartCheck)) *Docker_ContainerExecAttach_Call
func (*Docker_ContainerExecAttach_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ContainerExecAttach_Call) RunAndReturn(run func(context.Context, string, types.ExecStartCheck) (types.HijackedResponse, error)) *Docker_ContainerExecAttach_Call
type Docker_ContainerExecCreate_Call ¶ added in v0.9.5
Docker_ContainerExecCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecCreate'
func (*Docker_ContainerExecCreate_Call) Return ¶ added in v0.9.5
func (_c *Docker_ContainerExecCreate_Call) Return(_a0 types.IDResponse, _a1 error) *Docker_ContainerExecCreate_Call
func (*Docker_ContainerExecCreate_Call) Run ¶ added in v0.9.5
func (_c *Docker_ContainerExecCreate_Call) Run(run func(ctx context.Context, _a1 string, config types.ExecConfig)) *Docker_ContainerExecCreate_Call
func (*Docker_ContainerExecCreate_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ContainerExecCreate_Call) RunAndReturn(run func(context.Context, string, types.ExecConfig) (types.IDResponse, error)) *Docker_ContainerExecCreate_Call
type Docker_ContainerExecInspect_Call ¶ added in v0.9.5
Docker_ContainerExecInspect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecInspect'
func (*Docker_ContainerExecInspect_Call) Return ¶ added in v0.9.5
func (_c *Docker_ContainerExecInspect_Call) Return(_a0 types.ContainerExecInspect, _a1 error) *Docker_ContainerExecInspect_Call
func (*Docker_ContainerExecInspect_Call) Run ¶ added in v0.9.5
func (_c *Docker_ContainerExecInspect_Call) Run(run func(ctx context.Context, execID string)) *Docker_ContainerExecInspect_Call
func (*Docker_ContainerExecInspect_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ContainerExecInspect_Call) RunAndReturn(run func(context.Context, string) (types.ContainerExecInspect, error)) *Docker_ContainerExecInspect_Call
type Docker_ContainerList_Call ¶ added in v0.9.5
Docker_ContainerList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerList'
func (*Docker_ContainerList_Call) Return ¶ added in v0.9.5
func (_c *Docker_ContainerList_Call) Return(_a0 []types.Container, _a1 error) *Docker_ContainerList_Call
func (*Docker_ContainerList_Call) Run ¶ added in v0.9.5
func (_c *Docker_ContainerList_Call) Run(run func(ctx context.Context, options container.ListOptions)) *Docker_ContainerList_Call
func (*Docker_ContainerList_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ContainerList_Call) RunAndReturn(run func(context.Context, container.ListOptions) ([]types.Container, error)) *Docker_ContainerList_Call
type Docker_ContainerLogs_Call ¶ added in v0.9.5
Docker_ContainerLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerLogs'
func (*Docker_ContainerLogs_Call) Return ¶ added in v0.9.5
func (_c *Docker_ContainerLogs_Call) Return(_a0 io.ReadCloser, _a1 error) *Docker_ContainerLogs_Call
func (*Docker_ContainerLogs_Call) Run ¶ added in v0.9.5
func (_c *Docker_ContainerLogs_Call) Run(run func(ctx context.Context, _a1 string, options container.LogsOptions)) *Docker_ContainerLogs_Call
func (*Docker_ContainerLogs_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ContainerLogs_Call) RunAndReturn(run func(context.Context, string, container.LogsOptions) (io.ReadCloser, error)) *Docker_ContainerLogs_Call
type Docker_ContainerRemove_Call ¶ added in v0.9.5
Docker_ContainerRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerRemove'
func (*Docker_ContainerRemove_Call) Return ¶ added in v0.9.5
func (_c *Docker_ContainerRemove_Call) Return(_a0 error) *Docker_ContainerRemove_Call
func (*Docker_ContainerRemove_Call) Run ¶ added in v0.9.5
func (_c *Docker_ContainerRemove_Call) Run(run func(ctx context.Context, containerID string, options container.RemoveOptions)) *Docker_ContainerRemove_Call
func (*Docker_ContainerRemove_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ContainerRemove_Call) RunAndReturn(run func(context.Context, string, container.RemoveOptions) error) *Docker_ContainerRemove_Call
type Docker_ContainerStart_Call ¶ added in v0.9.5
Docker_ContainerStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStart'
func (*Docker_ContainerStart_Call) Return ¶ added in v0.9.5
func (_c *Docker_ContainerStart_Call) Return(_a0 error) *Docker_ContainerStart_Call
func (*Docker_ContainerStart_Call) Run ¶ added in v0.9.5
func (_c *Docker_ContainerStart_Call) Run(run func(ctx context.Context, containerID string, options container.StartOptions)) *Docker_ContainerStart_Call
func (*Docker_ContainerStart_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ContainerStart_Call) RunAndReturn(run func(context.Context, string, container.StartOptions) error) *Docker_ContainerStart_Call
type Docker_ContainerStatPath_Call ¶ added in v0.9.5
Docker_ContainerStatPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStatPath'
func (*Docker_ContainerStatPath_Call) Return ¶ added in v0.9.5
func (_c *Docker_ContainerStatPath_Call) Return(_a0 types.ContainerPathStat, _a1 error) *Docker_ContainerStatPath_Call
func (*Docker_ContainerStatPath_Call) Run ¶ added in v0.9.5
func (_c *Docker_ContainerStatPath_Call) Run(run func(ctx context.Context, containerID string, path string)) *Docker_ContainerStatPath_Call
func (*Docker_ContainerStatPath_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ContainerStatPath_Call) RunAndReturn(run func(context.Context, string, string) (types.ContainerPathStat, error)) *Docker_ContainerStatPath_Call
type Docker_ContainerWait_Call ¶ added in v0.9.5
Docker_ContainerWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerWait'
func (*Docker_ContainerWait_Call) Return ¶ added in v0.9.5
func (_c *Docker_ContainerWait_Call) Return(_a0 <-chan container.WaitResponse, _a1 <-chan error) *Docker_ContainerWait_Call
func (*Docker_ContainerWait_Call) Run ¶ added in v0.9.5
func (_c *Docker_ContainerWait_Call) Run(run func(ctx context.Context, _a1 string, condition container.WaitCondition)) *Docker_ContainerWait_Call
func (*Docker_ContainerWait_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ContainerWait_Call) RunAndReturn(run func(context.Context, string, container.WaitCondition) (<-chan container.WaitResponse, <-chan error)) *Docker_ContainerWait_Call
type Docker_CopyFromContainer_Call ¶ added in v0.9.5
Docker_CopyFromContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyFromContainer'
func (*Docker_CopyFromContainer_Call) Return ¶ added in v0.9.5
func (_c *Docker_CopyFromContainer_Call) Return(_a0 io.ReadCloser, _a1 types.ContainerPathStat, _a2 error) *Docker_CopyFromContainer_Call
func (*Docker_CopyFromContainer_Call) Run ¶ added in v0.9.5
func (_c *Docker_CopyFromContainer_Call) Run(run func(ctx context.Context, containerID string, srcPath string)) *Docker_CopyFromContainer_Call
func (*Docker_CopyFromContainer_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_CopyFromContainer_Call) RunAndReturn(run func(context.Context, string, string) (io.ReadCloser, types.ContainerPathStat, error)) *Docker_CopyFromContainer_Call
type Docker_Expecter ¶ added in v0.9.5
type Docker_Expecter struct {
// contains filtered or unexported fields
}
func (*Docker_Expecter) ContainerCreate ¶ added in v0.9.5
func (_e *Docker_Expecter) ContainerCreate(ctx interface{}, config interface{}, hostConfig interface{}, networkingConfig interface{}, platform interface{}, containerName interface{}) *Docker_ContainerCreate_Call
ContainerCreate is a helper method to define mock.On call
- ctx context.Context
- config *container.Config
- hostConfig *container.HostConfig
- networkingConfig *network.NetworkingConfig
- platform *v1.Platform
- containerName string
func (*Docker_Expecter) ContainerExecAttach ¶ added in v0.9.5
func (_e *Docker_Expecter) ContainerExecAttach(ctx interface{}, execID interface{}, config interface{}) *Docker_ContainerExecAttach_Call
ContainerExecAttach is a helper method to define mock.On call
- ctx context.Context
- execID string
- config types.ExecStartCheck
func (*Docker_Expecter) ContainerExecCreate ¶ added in v0.9.5
func (_e *Docker_Expecter) ContainerExecCreate(ctx interface{}, _a1 interface{}, config interface{}) *Docker_ContainerExecCreate_Call
ContainerExecCreate is a helper method to define mock.On call
- ctx context.Context
- _a1 string
- config types.ExecConfig
func (*Docker_Expecter) ContainerExecInspect ¶ added in v0.9.5
func (_e *Docker_Expecter) ContainerExecInspect(ctx interface{}, execID interface{}) *Docker_ContainerExecInspect_Call
ContainerExecInspect is a helper method to define mock.On call
- ctx context.Context
- execID string
func (*Docker_Expecter) ContainerList ¶ added in v0.9.5
func (_e *Docker_Expecter) ContainerList(ctx interface{}, options interface{}) *Docker_ContainerList_Call
ContainerList is a helper method to define mock.On call
- ctx context.Context
- options container.ListOptions
func (*Docker_Expecter) ContainerLogs ¶ added in v0.9.5
func (_e *Docker_Expecter) ContainerLogs(ctx interface{}, _a1 interface{}, options interface{}) *Docker_ContainerLogs_Call
ContainerLogs is a helper method to define mock.On call
- ctx context.Context
- _a1 string
- options container.LogsOptions
func (*Docker_Expecter) ContainerRemove ¶ added in v0.9.5
func (_e *Docker_Expecter) ContainerRemove(ctx interface{}, containerID interface{}, options interface{}) *Docker_ContainerRemove_Call
ContainerRemove is a helper method to define mock.On call
- ctx context.Context
- containerID string
- options container.RemoveOptions
func (*Docker_Expecter) ContainerStart ¶ added in v0.9.5
func (_e *Docker_Expecter) ContainerStart(ctx interface{}, containerID interface{}, options interface{}) *Docker_ContainerStart_Call
ContainerStart is a helper method to define mock.On call
- ctx context.Context
- containerID string
- options container.StartOptions
func (*Docker_Expecter) ContainerStatPath ¶ added in v0.9.5
func (_e *Docker_Expecter) ContainerStatPath(ctx interface{}, containerID interface{}, path interface{}) *Docker_ContainerStatPath_Call
ContainerStatPath is a helper method to define mock.On call
- ctx context.Context
- containerID string
- path string
func (*Docker_Expecter) ContainerWait ¶ added in v0.9.5
func (_e *Docker_Expecter) ContainerWait(ctx interface{}, _a1 interface{}, condition interface{}) *Docker_ContainerWait_Call
ContainerWait is a helper method to define mock.On call
- ctx context.Context
- _a1 string
- condition container.WaitCondition
func (*Docker_Expecter) CopyFromContainer ¶ added in v0.9.5
func (_e *Docker_Expecter) CopyFromContainer(ctx interface{}, containerID interface{}, srcPath interface{}) *Docker_CopyFromContainer_Call
CopyFromContainer is a helper method to define mock.On call
- ctx context.Context
- containerID string
- srcPath string
func (*Docker_Expecter) ImageList ¶ added in v0.9.5
func (_e *Docker_Expecter) ImageList(ctx interface{}, listOption interface{}) *Docker_ImageList_Call
ImageList is a helper method to define mock.On call
- ctx context.Context
- listOption image.ListOptions
func (*Docker_Expecter) ImagePull ¶ added in v0.9.5
func (_e *Docker_Expecter) ImagePull(ctx interface{}, refStr interface{}, options interface{}) *Docker_ImagePull_Call
ImagePull is a helper method to define mock.On call
- ctx context.Context
- refStr string
- options image.PullOptions
func (*Docker_Expecter) VolumeCreate ¶ added in v0.9.5
func (_e *Docker_Expecter) VolumeCreate(ctx interface{}, options interface{}) *Docker_VolumeCreate_Call
VolumeCreate is a helper method to define mock.On call
- ctx context.Context
- options volume.CreateOptions
func (*Docker_Expecter) VolumeList ¶ added in v0.9.5
func (_e *Docker_Expecter) VolumeList(ctx interface{}, options interface{}) *Docker_VolumeList_Call
VolumeList is a helper method to define mock.On call
- ctx context.Context
- options volume.ListOptions
func (*Docker_Expecter) VolumeRemove ¶ added in v0.9.5
func (_e *Docker_Expecter) VolumeRemove(ctx interface{}, volumeID interface{}, force interface{}) *Docker_VolumeRemove_Call
VolumeRemove is a helper method to define mock.On call
- ctx context.Context
- volumeID string
- force bool
type Docker_ImageList_Call ¶ added in v0.9.5
Docker_ImageList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageList'
func (*Docker_ImageList_Call) Return ¶ added in v0.9.5
func (_c *Docker_ImageList_Call) Return(_a0 []image.Summary, _a1 error) *Docker_ImageList_Call
func (*Docker_ImageList_Call) Run ¶ added in v0.9.5
func (_c *Docker_ImageList_Call) Run(run func(ctx context.Context, listOption image.ListOptions)) *Docker_ImageList_Call
func (*Docker_ImageList_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ImageList_Call) RunAndReturn(run func(context.Context, image.ListOptions) ([]image.Summary, error)) *Docker_ImageList_Call
type Docker_ImagePull_Call ¶ added in v0.9.5
Docker_ImagePull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImagePull'
func (*Docker_ImagePull_Call) Return ¶ added in v0.9.5
func (_c *Docker_ImagePull_Call) Return(_a0 io.ReadCloser, _a1 error) *Docker_ImagePull_Call
func (*Docker_ImagePull_Call) Run ¶ added in v0.9.5
func (_c *Docker_ImagePull_Call) Run(run func(ctx context.Context, refStr string, options image.PullOptions)) *Docker_ImagePull_Call
func (*Docker_ImagePull_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_ImagePull_Call) RunAndReturn(run func(context.Context, string, image.PullOptions) (io.ReadCloser, error)) *Docker_ImagePull_Call
type Docker_VolumeCreate_Call ¶ added in v0.9.5
Docker_VolumeCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeCreate'
func (*Docker_VolumeCreate_Call) Return ¶ added in v0.9.5
func (_c *Docker_VolumeCreate_Call) Return(_a0 volume.Volume, _a1 error) *Docker_VolumeCreate_Call
func (*Docker_VolumeCreate_Call) Run ¶ added in v0.9.5
func (_c *Docker_VolumeCreate_Call) Run(run func(ctx context.Context, options volume.CreateOptions)) *Docker_VolumeCreate_Call
func (*Docker_VolumeCreate_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_VolumeCreate_Call) RunAndReturn(run func(context.Context, volume.CreateOptions) (volume.Volume, error)) *Docker_VolumeCreate_Call
type Docker_VolumeList_Call ¶ added in v0.9.5
Docker_VolumeList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeList'
func (*Docker_VolumeList_Call) Return ¶ added in v0.9.5
func (_c *Docker_VolumeList_Call) Return(_a0 volume.ListResponse, _a1 error) *Docker_VolumeList_Call
func (*Docker_VolumeList_Call) Run ¶ added in v0.9.5
func (_c *Docker_VolumeList_Call) Run(run func(ctx context.Context, options volume.ListOptions)) *Docker_VolumeList_Call
func (*Docker_VolumeList_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_VolumeList_Call) RunAndReturn(run func(context.Context, volume.ListOptions) (volume.ListResponse, error)) *Docker_VolumeList_Call
type Docker_VolumeRemove_Call ¶ added in v0.9.5
Docker_VolumeRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeRemove'
func (*Docker_VolumeRemove_Call) Return ¶ added in v0.9.5
func (_c *Docker_VolumeRemove_Call) Return(_a0 error) *Docker_VolumeRemove_Call
func (*Docker_VolumeRemove_Call) Run ¶ added in v0.9.5
func (_c *Docker_VolumeRemove_Call) Run(run func(ctx context.Context, volumeID string, force bool)) *Docker_VolumeRemove_Call
func (*Docker_VolumeRemove_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Docker_VolumeRemove_Call) RunAndReturn(run func(context.Context, string, bool) error) *Docker_VolumeRemove_Call