Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDockerClient
- type MockDockerClientMockRecorder
- type MockDockerContainer
- type MockDockerContainerMockRecorder
- type MockExecutable
- func (m *MockExecutable) Command(arg0 context.Context, arg1 ...string) *executables.Command
- func (m *MockExecutable) EXPECT() *MockExecutableMockRecorder
- func (m *MockExecutable) Execute(arg0 context.Context, arg1 ...string) (bytes.Buffer, error)
- func (m *MockExecutable) ExecuteWithEnv(arg0 context.Context, arg1 map[string]string, arg2 ...string) (bytes.Buffer, error)
- func (m *MockExecutable) ExecuteWithStdin(arg0 context.Context, arg1 []byte, arg2 ...string) (bytes.Buffer, error)
- func (m *MockExecutable) Run(arg0 *executables.Command) (bytes.Buffer, error)
- type MockExecutableMockRecorder
- func (mr *MockExecutableMockRecorder) Command(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockExecutableMockRecorder) Execute(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockExecutableMockRecorder) ExecuteWithEnv(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockExecutableMockRecorder) ExecuteWithStdin(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockExecutableMockRecorder) Run(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDockerClient ¶ added in v0.9.1
type MockDockerClient struct {
// contains filtered or unexported fields
}
MockDockerClient is a mock of DockerClient interface.
func NewMockDockerClient ¶ added in v0.9.1
func NewMockDockerClient(ctrl *gomock.Controller) *MockDockerClient
NewMockDockerClient creates a new mock instance.
func (*MockDockerClient) EXPECT ¶ added in v0.9.1
func (m *MockDockerClient) EXPECT() *MockDockerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDockerClientMockRecorder ¶ added in v0.9.1
type MockDockerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDockerClientMockRecorder is the mock recorder for MockDockerClient.
func (*MockDockerClientMockRecorder) Execute ¶ added in v0.9.1
func (mr *MockDockerClientMockRecorder) Execute(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockDockerClientMockRecorder) PullImage ¶ added in v0.9.1
func (mr *MockDockerClientMockRecorder) PullImage(arg0, arg1 interface{}) *gomock.Call
PullImage indicates an expected call of PullImage.
type MockDockerContainer ¶ added in v0.11.0
type MockDockerContainer struct {
// contains filtered or unexported fields
}
MockDockerContainer is a mock of DockerContainer interface.
func NewMockDockerContainer ¶ added in v0.11.0
func NewMockDockerContainer(ctrl *gomock.Controller) *MockDockerContainer
NewMockDockerContainer creates a new mock instance.
func (*MockDockerContainer) Close ¶ added in v0.11.0
func (m *MockDockerContainer) Close(arg0 context.Context) error
Close mocks base method.
func (*MockDockerContainer) ContainerName ¶ added in v0.11.0
func (m *MockDockerContainer) ContainerName() string
ContainerName mocks base method.
func (*MockDockerContainer) EXPECT ¶ added in v0.11.0
func (m *MockDockerContainer) EXPECT() *MockDockerContainerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDockerContainerMockRecorder ¶ added in v0.11.0
type MockDockerContainerMockRecorder struct {
// contains filtered or unexported fields
}
MockDockerContainerMockRecorder is the mock recorder for MockDockerContainer.
func (*MockDockerContainerMockRecorder) Close ¶ added in v0.11.0
func (mr *MockDockerContainerMockRecorder) Close(arg0 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockDockerContainerMockRecorder) ContainerName ¶ added in v0.11.0
func (mr *MockDockerContainerMockRecorder) ContainerName() *gomock.Call
ContainerName indicates an expected call of ContainerName.
func (*MockDockerContainerMockRecorder) Init ¶ added in v0.11.0
func (mr *MockDockerContainerMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
type MockExecutable ¶
type MockExecutable struct {
// contains filtered or unexported fields
}
MockExecutable is a mock of Executable interface.
func NewMockExecutable ¶
func NewMockExecutable(ctrl *gomock.Controller) *MockExecutable
NewMockExecutable creates a new mock instance.
func (*MockExecutable) Command ¶ added in v0.7.0
func (m *MockExecutable) Command(arg0 context.Context, arg1 ...string) *executables.Command
Command mocks base method.
func (*MockExecutable) EXPECT ¶
func (m *MockExecutable) EXPECT() *MockExecutableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExecutable) ExecuteWithEnv ¶
func (m *MockExecutable) ExecuteWithEnv(arg0 context.Context, arg1 map[string]string, arg2 ...string) (bytes.Buffer, error)
ExecuteWithEnv mocks base method.
func (*MockExecutable) ExecuteWithStdin ¶
func (m *MockExecutable) ExecuteWithStdin(arg0 context.Context, arg1 []byte, arg2 ...string) (bytes.Buffer, error)
ExecuteWithStdin mocks base method.
func (*MockExecutable) Run ¶ added in v0.7.0
func (m *MockExecutable) Run(arg0 *executables.Command) (bytes.Buffer, error)
Run mocks base method.
type MockExecutableMockRecorder ¶
type MockExecutableMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutableMockRecorder is the mock recorder for MockExecutable.
func (*MockExecutableMockRecorder) Command ¶ added in v0.7.0
func (mr *MockExecutableMockRecorder) Command(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Command indicates an expected call of Command.
func (*MockExecutableMockRecorder) Execute ¶
func (mr *MockExecutableMockRecorder) Execute(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockExecutableMockRecorder) ExecuteWithEnv ¶
func (mr *MockExecutableMockRecorder) ExecuteWithEnv(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ExecuteWithEnv indicates an expected call of ExecuteWithEnv.
func (*MockExecutableMockRecorder) ExecuteWithStdin ¶
func (mr *MockExecutableMockRecorder) ExecuteWithStdin(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ExecuteWithStdin indicates an expected call of ExecuteWithStdin.
func (*MockExecutableMockRecorder) Run ¶ added in v0.7.0
func (mr *MockExecutableMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run.