mocks

package
v0.7.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Docker

type Docker struct {
	mock.Mock
}

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) ContainerExecAttach added in v0.1.29

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 added in v0.1.29

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 added in v0.1.29

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 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) ContainerStatPath added in v0.6.24

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, containerID string, condition container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)

ContainerWait provides a mock function with given fields: ctx, containerID, condition

func (*Docker) CopyFromContainer added in v0.6.24

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 added in v0.3.23

func (_m *Docker) ImageList(ctx context.Context, listOption types.ImageListOptions) ([]types.ImageSummary, error)

ImageList provides a mock function with given fields: ctx, listOption

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) OnContainerExecAttach added in v0.1.29

func (_m *Docker) OnContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) *Docker_ContainerExecAttach

func (*Docker) OnContainerExecAttachMatch added in v0.1.29

func (_m *Docker) OnContainerExecAttachMatch(matchers ...interface{}) *Docker_ContainerExecAttach

func (*Docker) OnContainerExecCreate added in v0.1.29

func (_m *Docker) OnContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) *Docker_ContainerExecCreate

func (*Docker) OnContainerExecCreateMatch added in v0.1.29

func (_m *Docker) OnContainerExecCreateMatch(matchers ...interface{}) *Docker_ContainerExecCreate

func (*Docker) OnContainerExecInspect added in v0.1.29

func (_m *Docker) OnContainerExecInspect(ctx context.Context, execID string) *Docker_ContainerExecInspect

func (*Docker) OnContainerExecInspectMatch added in v0.1.29

func (_m *Docker) OnContainerExecInspectMatch(matchers ...interface{}) *Docker_ContainerExecInspect

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) OnContainerStatPath added in v0.6.24

func (_m *Docker) OnContainerStatPath(ctx context.Context, containerID string, path string) *Docker_ContainerStatPath

func (*Docker) OnContainerStatPathMatch added in v0.6.24

func (_m *Docker) OnContainerStatPathMatch(matchers ...interface{}) *Docker_ContainerStatPath

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) OnCopyFromContainer added in v0.6.24

func (_m *Docker) OnCopyFromContainer(ctx context.Context, containerID string, srcPath string) *Docker_CopyFromContainer

func (*Docker) OnCopyFromContainerMatch added in v0.6.24

func (_m *Docker) OnCopyFromContainerMatch(matchers ...interface{}) *Docker_CopyFromContainer

func (*Docker) OnImageList added in v0.3.23

func (_m *Docker) OnImageList(ctx context.Context, listOption types.ImageListOptions) *Docker_ImageList

func (*Docker) OnImageListMatch added in v0.3.23

func (_m *Docker) OnImageListMatch(matchers ...interface{}) *Docker_ImageList

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

func (*Docker) OnVolumeCreate added in v0.6.28

func (_m *Docker) OnVolumeCreate(ctx context.Context, options volume.VolumeCreateBody) *Docker_VolumeCreate

func (*Docker) OnVolumeCreateMatch added in v0.6.28

func (_m *Docker) OnVolumeCreateMatch(matchers ...interface{}) *Docker_VolumeCreate

func (*Docker) OnVolumeList added in v0.6.28

func (_m *Docker) OnVolumeList(ctx context.Context, filter filters.Args) *Docker_VolumeList

func (*Docker) OnVolumeListMatch added in v0.6.28

func (_m *Docker) OnVolumeListMatch(matchers ...interface{}) *Docker_VolumeList

func (*Docker) OnVolumeRemove added in v0.6.28

func (_m *Docker) OnVolumeRemove(ctx context.Context, volumeID string, force bool) *Docker_VolumeRemove

func (*Docker) OnVolumeRemoveMatch added in v0.6.28

func (_m *Docker) OnVolumeRemoveMatch(matchers ...interface{}) *Docker_VolumeRemove

func (*Docker) VolumeCreate added in v0.6.28

func (_m *Docker) VolumeCreate(ctx context.Context, options volume.VolumeCreateBody) (types.Volume, error)

VolumeCreate provides a mock function with given fields: ctx, options

func (*Docker) VolumeList added in v0.6.28

func (_m *Docker) VolumeList(ctx context.Context, filter filters.Args) (volume.VolumeListOKBody, error)

VolumeList provides a mock function with given fields: ctx, filter

func (*Docker) VolumeRemove added in v0.6.28

func (_m *Docker) VolumeRemove(ctx context.Context, volumeID string, force bool) error

VolumeRemove provides a mock function with given fields: ctx, volumeID, force

type Docker_ContainerCreate

type Docker_ContainerCreate struct {
	*mock.Call
}

func (Docker_ContainerCreate) Return

type Docker_ContainerExecAttach added in v0.1.29

type Docker_ContainerExecAttach struct {
	*mock.Call
}

func (Docker_ContainerExecAttach) Return added in v0.1.29

type Docker_ContainerExecCreate added in v0.1.29

type Docker_ContainerExecCreate struct {
	*mock.Call
}

func (Docker_ContainerExecCreate) Return added in v0.1.29

type Docker_ContainerExecInspect added in v0.1.29

type Docker_ContainerExecInspect struct {
	*mock.Call
}

func (Docker_ContainerExecInspect) Return added in v0.1.29

type Docker_ContainerList

type Docker_ContainerList struct {
	*mock.Call
}

func (Docker_ContainerList) Return

type Docker_ContainerLogs

type Docker_ContainerLogs struct {
	*mock.Call
}

func (Docker_ContainerLogs) Return

type Docker_ContainerRemove

type Docker_ContainerRemove struct {
	*mock.Call
}

func (Docker_ContainerRemove) Return

type Docker_ContainerStart

type Docker_ContainerStart struct {
	*mock.Call
}

func (Docker_ContainerStart) Return

type Docker_ContainerStatPath added in v0.6.24

type Docker_ContainerStatPath struct {
	*mock.Call
}

func (Docker_ContainerStatPath) Return added in v0.6.24

type Docker_ContainerWait

type Docker_ContainerWait struct {
	*mock.Call
}

func (Docker_ContainerWait) Return

type Docker_CopyFromContainer added in v0.6.24

type Docker_CopyFromContainer struct {
	*mock.Call
}

func (Docker_CopyFromContainer) Return added in v0.6.24

type Docker_ImageList added in v0.3.23

type Docker_ImageList struct {
	*mock.Call
}

func (Docker_ImageList) Return added in v0.3.23

func (_m Docker_ImageList) Return(_a0 []types.ImageSummary, _a1 error) *Docker_ImageList

type Docker_ImagePull

type Docker_ImagePull struct {
	*mock.Call
}

func (Docker_ImagePull) Return

func (_m Docker_ImagePull) Return(_a0 io.ReadCloser, _a1 error) *Docker_ImagePull

type Docker_VolumeCreate added in v0.6.28

type Docker_VolumeCreate struct {
	*mock.Call
}

func (Docker_VolumeCreate) Return added in v0.6.28

type Docker_VolumeList added in v0.6.28

type Docker_VolumeList struct {
	*mock.Call
}

func (Docker_VolumeList) Return added in v0.6.28

type Docker_VolumeRemove added in v0.6.28

type Docker_VolumeRemove struct {
	*mock.Call
}

func (Docker_VolumeRemove) Return added in v0.6.28

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL