mocks

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 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

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.

Jump to

Keyboard shortcuts

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