Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockContainerRunner
- func (m *MockContainerRunner) Close() error
- func (m *MockContainerRunner) ContainerAttach(ctx context.Context, cid string, opts container.AttachOptions) (*driver.ContainerInOut, error)
- func (m *MockContainerRunner) ContainerCreate(ctx context.Context, opts types.ContainerCreateOptions) (string, error)
- func (m *MockContainerRunner) ContainerExecResize(ctx context.Context, cid string, opts container.ResizeOptions) error
- func (m *MockContainerRunner) ContainerKill(ctx context.Context, cid, signal string) error
- func (m *MockContainerRunner) ContainerList(ctx context.Context, opts types.ContainerListOptions) []types.ContainerListResult
- func (m *MockContainerRunner) ContainerRemove(ctx context.Context, cid string, opts container.RemoveOptions) error
- func (m *MockContainerRunner) ContainerResize(ctx context.Context, cid string, opts container.ResizeOptions) error
- func (m *MockContainerRunner) ContainerStart(ctx context.Context, cid string, opts types.ContainerStartOptions) error
- func (m *MockContainerRunner) ContainerStatPath(ctx context.Context, cid, path string) (container.PathStat, error)
- func (m *MockContainerRunner) ContainerStop(ctx context.Context, cid string) error
- func (m *MockContainerRunner) ContainerWait(ctx context.Context, cid string, opts types.ContainerWaitOptions) (<-chan types.ContainerWaitResponse, <-chan error)
- func (m *MockContainerRunner) CopyFromContainer(ctx context.Context, cid, srcPath string) (io.ReadCloser, container.PathStat, error)
- func (m *MockContainerRunner) CopyToContainer(ctx context.Context, cid, path string, content io.Reader, ...) error
- func (m *MockContainerRunner) EXPECT() *MockContainerRunnerMockRecorder
- func (m *MockContainerRunner) ImageEnsure(ctx context.Context, opts types.ImageOptions) (*types.ImageStatusResponse, error)
- func (m *MockContainerRunner) ImageRemove(ctx context.Context, image string, opts image.RemoveOptions) (*types.ImageRemoveResponse, error)
- func (m *MockContainerRunner) Info(ctx context.Context) (types.SystemInfo, error)
- type MockContainerRunnerMockRecorder
- func (mr *MockContainerRunnerMockRecorder) Close() *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerAttach(ctx, cid, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerCreate(ctx, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerExecResize(ctx, cid, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerKill(ctx, cid, signal any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerList(ctx, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerRemove(ctx, cid, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerResize(ctx, cid, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerStart(ctx, cid, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerStatPath(ctx, cid, path any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerStop(ctx, cid any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ContainerWait(ctx, cid, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) CopyFromContainer(ctx, cid, srcPath any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) CopyToContainer(ctx, cid, path, content, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ImageEnsure(ctx, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) ImageRemove(ctx, image, opts any) *gomock.Call
- func (mr *MockContainerRunnerMockRecorder) Info(ctx any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainerRunner ¶
type MockContainerRunner struct {
// contains filtered or unexported fields
}
MockContainerRunner is a mock of ContainerRunner interface.
func NewMockContainerRunner ¶
func NewMockContainerRunner(ctrl *gomock.Controller) *MockContainerRunner
NewMockContainerRunner creates a new mock instance.
func (*MockContainerRunner) Close ¶
func (m *MockContainerRunner) Close() error
Close mocks base method.
func (*MockContainerRunner) ContainerAttach ¶
func (m *MockContainerRunner) ContainerAttach(ctx context.Context, cid string, opts container.AttachOptions) (*driver.ContainerInOut, error)
ContainerAttach mocks base method.
func (*MockContainerRunner) ContainerCreate ¶
func (m *MockContainerRunner) ContainerCreate(ctx context.Context, opts types.ContainerCreateOptions) (string, error)
ContainerCreate mocks base method.
func (*MockContainerRunner) ContainerExecResize ¶
func (m *MockContainerRunner) ContainerExecResize(ctx context.Context, cid string, opts container.ResizeOptions) error
ContainerExecResize mocks base method.
func (*MockContainerRunner) ContainerKill ¶
func (m *MockContainerRunner) ContainerKill(ctx context.Context, cid, signal string) error
ContainerKill mocks base method.
func (*MockContainerRunner) ContainerList ¶
func (m *MockContainerRunner) ContainerList(ctx context.Context, opts types.ContainerListOptions) []types.ContainerListResult
ContainerList mocks base method.
func (*MockContainerRunner) ContainerRemove ¶
func (m *MockContainerRunner) ContainerRemove(ctx context.Context, cid string, opts container.RemoveOptions) error
ContainerRemove mocks base method.
func (*MockContainerRunner) ContainerResize ¶
func (m *MockContainerRunner) ContainerResize(ctx context.Context, cid string, opts container.ResizeOptions) error
ContainerResize mocks base method.
func (*MockContainerRunner) ContainerStart ¶
func (m *MockContainerRunner) ContainerStart(ctx context.Context, cid string, opts types.ContainerStartOptions) error
ContainerStart mocks base method.
func (*MockContainerRunner) ContainerStatPath ¶ added in v0.3.0
func (m *MockContainerRunner) ContainerStatPath(ctx context.Context, cid, path string) (container.PathStat, error)
ContainerStatPath mocks base method.
func (*MockContainerRunner) ContainerStop ¶
func (m *MockContainerRunner) ContainerStop(ctx context.Context, cid string) error
ContainerStop mocks base method.
func (*MockContainerRunner) ContainerWait ¶
func (m *MockContainerRunner) ContainerWait(ctx context.Context, cid string, opts types.ContainerWaitOptions) (<-chan types.ContainerWaitResponse, <-chan error)
ContainerWait mocks base method.
func (*MockContainerRunner) CopyFromContainer ¶ added in v0.4.0
func (m *MockContainerRunner) CopyFromContainer(ctx context.Context, cid, srcPath string) (io.ReadCloser, container.PathStat, error)
CopyFromContainer mocks base method.
func (*MockContainerRunner) CopyToContainer ¶ added in v0.3.0
func (m *MockContainerRunner) CopyToContainer(ctx context.Context, cid, path string, content io.Reader, opts container.CopyToContainerOptions) error
CopyToContainer mocks base method.
func (*MockContainerRunner) EXPECT ¶
func (m *MockContainerRunner) EXPECT() *MockContainerRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainerRunner) ImageEnsure ¶
func (m *MockContainerRunner) ImageEnsure(ctx context.Context, opts types.ImageOptions) (*types.ImageStatusResponse, error)
ImageEnsure mocks base method.
func (*MockContainerRunner) ImageRemove ¶ added in v0.5.0
func (m *MockContainerRunner) ImageRemove(ctx context.Context, image string, opts image.RemoveOptions) (*types.ImageRemoveResponse, error)
ImageRemove mocks base method.
func (*MockContainerRunner) Info ¶ added in v0.16.0
func (m *MockContainerRunner) Info(ctx context.Context) (types.SystemInfo, error)
Info mocks base method.
type MockContainerRunnerMockRecorder ¶
type MockContainerRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerRunnerMockRecorder is the mock recorder for MockContainerRunner.
func (*MockContainerRunnerMockRecorder) Close ¶
func (mr *MockContainerRunnerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockContainerRunnerMockRecorder) ContainerAttach ¶
func (mr *MockContainerRunnerMockRecorder) ContainerAttach(ctx, cid, opts any) *gomock.Call
ContainerAttach indicates an expected call of ContainerAttach.
func (*MockContainerRunnerMockRecorder) ContainerCreate ¶
func (mr *MockContainerRunnerMockRecorder) ContainerCreate(ctx, opts any) *gomock.Call
ContainerCreate indicates an expected call of ContainerCreate.
func (*MockContainerRunnerMockRecorder) ContainerExecResize ¶
func (mr *MockContainerRunnerMockRecorder) ContainerExecResize(ctx, cid, opts any) *gomock.Call
ContainerExecResize indicates an expected call of ContainerExecResize.
func (*MockContainerRunnerMockRecorder) ContainerKill ¶
func (mr *MockContainerRunnerMockRecorder) ContainerKill(ctx, cid, signal any) *gomock.Call
ContainerKill indicates an expected call of ContainerKill.
func (*MockContainerRunnerMockRecorder) ContainerList ¶
func (mr *MockContainerRunnerMockRecorder) ContainerList(ctx, opts any) *gomock.Call
ContainerList indicates an expected call of ContainerList.
func (*MockContainerRunnerMockRecorder) ContainerRemove ¶
func (mr *MockContainerRunnerMockRecorder) ContainerRemove(ctx, cid, opts any) *gomock.Call
ContainerRemove indicates an expected call of ContainerRemove.
func (*MockContainerRunnerMockRecorder) ContainerResize ¶
func (mr *MockContainerRunnerMockRecorder) ContainerResize(ctx, cid, opts any) *gomock.Call
ContainerResize indicates an expected call of ContainerResize.
func (*MockContainerRunnerMockRecorder) ContainerStart ¶
func (mr *MockContainerRunnerMockRecorder) ContainerStart(ctx, cid, opts any) *gomock.Call
ContainerStart indicates an expected call of ContainerStart.
func (*MockContainerRunnerMockRecorder) ContainerStatPath ¶ added in v0.3.0
func (mr *MockContainerRunnerMockRecorder) ContainerStatPath(ctx, cid, path any) *gomock.Call
ContainerStatPath indicates an expected call of ContainerStatPath.
func (*MockContainerRunnerMockRecorder) ContainerStop ¶
func (mr *MockContainerRunnerMockRecorder) ContainerStop(ctx, cid any) *gomock.Call
ContainerStop indicates an expected call of ContainerStop.
func (*MockContainerRunnerMockRecorder) ContainerWait ¶
func (mr *MockContainerRunnerMockRecorder) ContainerWait(ctx, cid, opts any) *gomock.Call
ContainerWait indicates an expected call of ContainerWait.
func (*MockContainerRunnerMockRecorder) CopyFromContainer ¶ added in v0.4.0
func (mr *MockContainerRunnerMockRecorder) CopyFromContainer(ctx, cid, srcPath any) *gomock.Call
CopyFromContainer indicates an expected call of CopyFromContainer.
func (*MockContainerRunnerMockRecorder) CopyToContainer ¶ added in v0.3.0
func (mr *MockContainerRunnerMockRecorder) CopyToContainer(ctx, cid, path, content, opts any) *gomock.Call
CopyToContainer indicates an expected call of CopyToContainer.
func (*MockContainerRunnerMockRecorder) ImageEnsure ¶
func (mr *MockContainerRunnerMockRecorder) ImageEnsure(ctx, opts any) *gomock.Call
ImageEnsure indicates an expected call of ImageEnsure.
func (*MockContainerRunnerMockRecorder) ImageRemove ¶ added in v0.5.0
func (mr *MockContainerRunnerMockRecorder) ImageRemove(ctx, image, opts any) *gomock.Call
ImageRemove indicates an expected call of ImageRemove.