Documentation ¶
Index ¶
- type Docker
- func (_m *Docker) ContainerCreate(ctx context.Context, config *container.Config, ...) (container.ContainerCreateCreatedBody, error)
- func (_m *Docker) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
- func (_m *Docker) ContainerLogs(ctx context.Context, _a1 string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (_m *Docker) ContainerRemove(ctx context.Context, containerID string, options types.ContainerRemoveOptions) error
- func (_m *Docker) ContainerStart(ctx context.Context, containerID string, options types.ContainerStartOptions) error
- func (_m *Docker) ContainerWait(ctx context.Context, containerID string, condition container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
- func (_m *Docker) ImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) (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) OnContainerList(ctx context.Context, options types.ContainerListOptions) *Docker_ContainerList
- func (_m *Docker) OnContainerListMatch(matchers ...interface{}) *Docker_ContainerList
- func (_m *Docker) OnContainerLogs(ctx context.Context, _a1 string, options types.ContainerLogsOptions) *Docker_ContainerLogs
- func (_m *Docker) OnContainerLogsMatch(matchers ...interface{}) *Docker_ContainerLogs
- func (_m *Docker) OnContainerRemove(ctx context.Context, containerID string, options types.ContainerRemoveOptions) *Docker_ContainerRemove
- func (_m *Docker) OnContainerRemoveMatch(matchers ...interface{}) *Docker_ContainerRemove
- func (_m *Docker) OnContainerStart(ctx context.Context, containerID string, options types.ContainerStartOptions) *Docker_ContainerStart
- func (_m *Docker) OnContainerStartMatch(matchers ...interface{}) *Docker_ContainerStart
- func (_m *Docker) OnContainerWait(ctx context.Context, containerID string, condition container.WaitCondition) *Docker_ContainerWait
- func (_m *Docker) OnContainerWaitMatch(matchers ...interface{}) *Docker_ContainerWait
- func (_m *Docker) OnImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) *Docker_ImagePull
- func (_m *Docker) OnImagePullMatch(matchers ...interface{}) *Docker_ImagePull
- type Docker_ContainerCreate
- type Docker_ContainerList
- type Docker_ContainerLogs
- type Docker_ContainerRemove
- type Docker_ContainerStart
- type Docker_ContainerWait
- type Docker_ImagePull
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.ContainerCreateCreatedBody, error)
ContainerCreate provides a mock function with given fields: ctx, config, hostConfig, networkingConfig, platform, containerName
func (*Docker) ContainerList ¶
func (_m *Docker) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]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 types.ContainerLogsOptions) (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 types.ContainerRemoveOptions) 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 types.ContainerStartOptions) error
ContainerStart provides a mock function with given fields: ctx, containerID, options
func (*Docker) ContainerWait ¶
func (_m *Docker) ContainerWait(ctx context.Context, containerID string, condition container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
ContainerWait provides a mock function with given fields: ctx, containerID, condition
func (*Docker) ImagePull ¶
func (_m *Docker) ImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) (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) OnContainerList ¶
func (_m *Docker) OnContainerList(ctx context.Context, options types.ContainerListOptions) *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 types.ContainerLogsOptions) *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 types.ContainerRemoveOptions) *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 types.ContainerStartOptions) *Docker_ContainerStart
func (*Docker) OnContainerStartMatch ¶
func (_m *Docker) OnContainerStartMatch(matchers ...interface{}) *Docker_ContainerStart
func (*Docker) OnContainerWait ¶
func (_m *Docker) OnContainerWait(ctx context.Context, containerID string, condition container.WaitCondition) *Docker_ContainerWait
func (*Docker) OnContainerWaitMatch ¶
func (_m *Docker) OnContainerWaitMatch(matchers ...interface{}) *Docker_ContainerWait
func (*Docker) OnImagePull ¶
func (_m *Docker) OnImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) *Docker_ImagePull
func (*Docker) OnImagePullMatch ¶
func (_m *Docker) OnImagePullMatch(matchers ...interface{}) *Docker_ImagePull
type Docker_ContainerCreate ¶
func (Docker_ContainerCreate) Return ¶
func (_m Docker_ContainerCreate) Return(_a0 container.ContainerCreateCreatedBody, _a1 error) *Docker_ContainerCreate
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_ContainerWait ¶
func (Docker_ContainerWait) Return ¶
func (_m Docker_ContainerWait) Return(_a0 <-chan container.ContainerWaitOKBody, _a1 <-chan error) *Docker_ContainerWait
type Docker_ImagePull ¶
func (Docker_ImagePull) Return ¶
func (_m Docker_ImagePull) Return(_a0 io.ReadCloser, _a1 error) *Docker_ImagePull