Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockContainerEngine
- func (m *MockContainerEngine) ContainerIsExist(containerName string) (bool, error)
- func (m *MockContainerEngine) EXPECT() *MockContainerEngineMockRecorder
- func (m *MockContainerEngine) PullImage(imageName string) error
- func (m *MockContainerEngine) PutFileToMount(filename string, content []byte) error
- func (m *MockContainerEngine) RunConsoleContainer(containerName, port string, consoleArgs []string, envVars []container.EnvVar) error
- func (m *MockContainerEngine) RunMonitorPlugin(containerName, consoleContainerName, nginxConf string, pluginArgs []string, ...) error
- func (m *MockContainerEngine) StopContainer(containerName string) error
- type MockContainerEngineMockRecorder
- func (mr *MockContainerEngineMockRecorder) ContainerIsExist(containerName any) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) PullImage(imageName any) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) PutFileToMount(filename, content any) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) RunConsoleContainer(containerName, port, consoleArgs, envVars any) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) RunMonitorPlugin(containerName, consoleContainerName, nginxConf, pluginArgs, envVars any) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) StopContainer(containerName any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainerEngine ¶
type MockContainerEngine struct {
// contains filtered or unexported fields
}
MockContainerEngine is a mock of ContainerEngine interface.
func NewMockContainerEngine ¶
func NewMockContainerEngine(ctrl *gomock.Controller) *MockContainerEngine
NewMockContainerEngine creates a new mock instance.
func (*MockContainerEngine) ContainerIsExist ¶
func (m *MockContainerEngine) ContainerIsExist(containerName string) (bool, error)
ContainerIsExist mocks base method.
func (*MockContainerEngine) EXPECT ¶
func (m *MockContainerEngine) EXPECT() *MockContainerEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainerEngine) PullImage ¶
func (m *MockContainerEngine) PullImage(imageName string) error
PullImage mocks base method.
func (*MockContainerEngine) PutFileToMount ¶
func (m *MockContainerEngine) PutFileToMount(filename string, content []byte) error
PutFileToMount mocks base method.
func (*MockContainerEngine) RunConsoleContainer ¶
func (m *MockContainerEngine) RunConsoleContainer(containerName, port string, consoleArgs []string, envVars []container.EnvVar) error
RunConsoleContainer mocks base method.
func (*MockContainerEngine) RunMonitorPlugin ¶
func (m *MockContainerEngine) RunMonitorPlugin(containerName, consoleContainerName, nginxConf string, pluginArgs []string, envVars []container.EnvVar) error
RunMonitorPlugin mocks base method.
func (*MockContainerEngine) StopContainer ¶
func (m *MockContainerEngine) StopContainer(containerName string) error
StopContainer mocks base method.
type MockContainerEngineMockRecorder ¶
type MockContainerEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerEngineMockRecorder is the mock recorder for MockContainerEngine.
func (*MockContainerEngineMockRecorder) ContainerIsExist ¶
func (mr *MockContainerEngineMockRecorder) ContainerIsExist(containerName any) *gomock.Call
ContainerIsExist indicates an expected call of ContainerIsExist.
func (*MockContainerEngineMockRecorder) PullImage ¶
func (mr *MockContainerEngineMockRecorder) PullImage(imageName any) *gomock.Call
PullImage indicates an expected call of PullImage.
func (*MockContainerEngineMockRecorder) PutFileToMount ¶
func (mr *MockContainerEngineMockRecorder) PutFileToMount(filename, content any) *gomock.Call
PutFileToMount indicates an expected call of PutFileToMount.
func (*MockContainerEngineMockRecorder) RunConsoleContainer ¶
func (mr *MockContainerEngineMockRecorder) RunConsoleContainer(containerName, port, consoleArgs, envVars any) *gomock.Call
RunConsoleContainer indicates an expected call of RunConsoleContainer.
func (*MockContainerEngineMockRecorder) RunMonitorPlugin ¶
func (mr *MockContainerEngineMockRecorder) RunMonitorPlugin(containerName, consoleContainerName, nginxConf, pluginArgs, envVars any) *gomock.Call
RunMonitorPlugin indicates an expected call of RunMonitorPlugin.
func (*MockContainerEngineMockRecorder) StopContainer ¶
func (mr *MockContainerEngineMockRecorder) StopContainer(containerName any) *gomock.Call
StopContainer indicates an expected call of StopContainer.