mocks

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDockerAPI

type MockDockerAPI struct {
	// contains filtered or unexported fields
}

MockDockerAPI is a mock of DockerAPI interface

func NewMockDockerAPI

func NewMockDockerAPI(ctrl *gomock.Controller) *MockDockerAPI

NewMockDockerAPI creates a new mock instance

func (*MockDockerAPI) ContainerExecAttach

func (m *MockDockerAPI) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)

ContainerExecAttach mocks base method

func (*MockDockerAPI) ContainerExecCreate

func (m *MockDockerAPI) ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error)

ContainerExecCreate mocks base method

func (*MockDockerAPI) ContainerExecInspect

func (m *MockDockerAPI) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)

ContainerExecInspect mocks base method

func (*MockDockerAPI) ContainerExecResize

func (m *MockDockerAPI) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error

ContainerExecResize mocks base method

func (*MockDockerAPI) ContainerExecStart

func (m *MockDockerAPI) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error

ContainerExecStart mocks base method

func (*MockDockerAPI) ContainerInspect

func (m *MockDockerAPI) ContainerInspect(ctx context.Context, container string) (types.ContainerJSON, error)

ContainerInspect mocks base method

func (*MockDockerAPI) ContainerResize

func (m *MockDockerAPI) ContainerResize(ctx context.Context, containerID string, options types.ResizeOptions) error

ContainerResize mocks base method

func (*MockDockerAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockDockerAPIMockRecorder

type MockDockerAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockDockerAPIMockRecorder is the mock recorder for MockDockerAPI

func (*MockDockerAPIMockRecorder) ContainerExecAttach

func (mr *MockDockerAPIMockRecorder) ContainerExecAttach(ctx, execID, config interface{}) *gomock.Call

ContainerExecAttach indicates an expected call of ContainerExecAttach

func (*MockDockerAPIMockRecorder) ContainerExecCreate

func (mr *MockDockerAPIMockRecorder) ContainerExecCreate(ctx, container, config interface{}) *gomock.Call

ContainerExecCreate indicates an expected call of ContainerExecCreate

func (*MockDockerAPIMockRecorder) ContainerExecInspect

func (mr *MockDockerAPIMockRecorder) ContainerExecInspect(ctx, execID interface{}) *gomock.Call

ContainerExecInspect indicates an expected call of ContainerExecInspect

func (*MockDockerAPIMockRecorder) ContainerExecResize

func (mr *MockDockerAPIMockRecorder) ContainerExecResize(ctx, execID, options interface{}) *gomock.Call

ContainerExecResize indicates an expected call of ContainerExecResize

func (*MockDockerAPIMockRecorder) ContainerExecStart

func (mr *MockDockerAPIMockRecorder) ContainerExecStart(ctx, execID, config interface{}) *gomock.Call

ContainerExecStart indicates an expected call of ContainerExecStart

func (*MockDockerAPIMockRecorder) ContainerInspect

func (mr *MockDockerAPIMockRecorder) ContainerInspect(ctx, container interface{}) *gomock.Call

ContainerInspect indicates an expected call of ContainerInspect

func (*MockDockerAPIMockRecorder) ContainerResize

func (mr *MockDockerAPIMockRecorder) ContainerResize(ctx, containerID, options interface{}) *gomock.Call

ContainerResize indicates an expected call of ContainerResize

type MockDockerClient

type MockDockerClient struct {
	// contains filtered or unexported fields
}

MockDockerClient is a mock of DockerClient interface

func NewMockDockerClient

func NewMockDockerClient(ctrl *gomock.Controller) *MockDockerClient

NewMockDockerClient creates a new mock instance

func (*MockDockerClient) ContainerCreate

func (m *MockDockerClient) ContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string) (container.ContainerCreateCreatedBody, error)

ContainerCreate mocks base method

func (*MockDockerClient) ContainerList

func (m *MockDockerClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)

ContainerList mocks base method

func (*MockDockerClient) ContainerRemove

func (m *MockDockerClient) ContainerRemove(ctx context.Context, containerID string, options types.ContainerRemoveOptions) error

ContainerRemove mocks base method

func (*MockDockerClient) ContainerStart

func (m *MockDockerClient) ContainerStart(ctx context.Context, containerID string, options types.ContainerStartOptions) error

ContainerStart mocks base method

func (*MockDockerClient) ContainerStop

func (m *MockDockerClient) ContainerStop(ctx context.Context, containerID string, timeout *time.Duration) error

ContainerStop mocks base method

func (*MockDockerClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockDockerClient) ImageBuild

func (m *MockDockerClient) ImageBuild(ctx context.Context, buildContext io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)

ImageBuild mocks base method

func (*MockDockerClient) ImagePull

func (m *MockDockerClient) ImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) (io.ReadCloser, error)

ImagePull mocks base method

type MockDockerClientMockRecorder

type MockDockerClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockDockerClientMockRecorder is the mock recorder for MockDockerClient

func (*MockDockerClientMockRecorder) ContainerCreate

func (mr *MockDockerClientMockRecorder) ContainerCreate(ctx, config, hostConfig, networkingConfig, platform, containerName interface{}) *gomock.Call

ContainerCreate indicates an expected call of ContainerCreate

func (*MockDockerClientMockRecorder) ContainerList

func (mr *MockDockerClientMockRecorder) ContainerList(ctx, options interface{}) *gomock.Call

ContainerList indicates an expected call of ContainerList

func (*MockDockerClientMockRecorder) ContainerRemove

func (mr *MockDockerClientMockRecorder) ContainerRemove(ctx, containerID, options interface{}) *gomock.Call

ContainerRemove indicates an expected call of ContainerRemove

func (*MockDockerClientMockRecorder) ContainerStart

func (mr *MockDockerClientMockRecorder) ContainerStart(ctx, containerID, options interface{}) *gomock.Call

ContainerStart indicates an expected call of ContainerStart

func (*MockDockerClientMockRecorder) ContainerStop

func (mr *MockDockerClientMockRecorder) ContainerStop(ctx, containerID, timeout interface{}) *gomock.Call

ContainerStop indicates an expected call of ContainerStop

func (*MockDockerClientMockRecorder) ImageBuild

func (mr *MockDockerClientMockRecorder) ImageBuild(ctx, buildContext, options interface{}) *gomock.Call

ImageBuild indicates an expected call of ImageBuild

func (*MockDockerClientMockRecorder) ImagePull

func (mr *MockDockerClientMockRecorder) ImagePull(ctx, refStr, options interface{}) *gomock.Call

ImagePull indicates an expected call of ImagePull

type MockValidate

type MockValidate struct {
	// contains filtered or unexported fields
}

MockValidate is a mock of Validate interface

func NewMockValidate

func NewMockValidate(ctrl *gomock.Controller) *MockValidate

NewMockValidate creates a new mock instance

func (*MockValidate) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockValidate) GetAbs

func (m *MockValidate) GetAbs(arg0 string) string

GetAbs mocks base method

func (*MockValidate) ValidPath

func (m *MockValidate) ValidPath(arg0 string) bool

ValidPath mocks base method

type MockValidateMockRecorder

type MockValidateMockRecorder struct {
	// contains filtered or unexported fields
}

MockValidateMockRecorder is the mock recorder for MockValidate

func (*MockValidateMockRecorder) GetAbs

func (mr *MockValidateMockRecorder) GetAbs(arg0 interface{}) *gomock.Call

GetAbs indicates an expected call of GetAbs

func (*MockValidateMockRecorder) ValidPath

func (mr *MockValidateMockRecorder) ValidPath(arg0 interface{}) *gomock.Call

ValidPath indicates an expected call of ValidPath

Jump to

Keyboard shortcuts

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