mock_utils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_utils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUtilsInterface

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

MockUtilsInterface is a mock of UtilsInterface interface.

func NewMockUtilsInterface

func NewMockUtilsInterface(ctrl *gomock.Controller) *MockUtilsInterface

NewMockUtilsInterface creates a new mock instance.

func (*MockUtilsInterface) CreateNamespace

func (m *MockUtilsInterface) CreateNamespace(namespace string) error

CreateNamespace mocks base method.

func (*MockUtilsInterface) CreatePodOnNode

func (m *MockUtilsInterface) CreatePodOnNode(nodeName, namespace, image string, command []string) (*v10.Pod, error)

CreatePodOnNode mocks base method.

func (*MockUtilsInterface) DeleteNamespace

func (m *MockUtilsInterface) DeleteNamespace(namespace string) error

DeleteNamespace mocks base method.

func (*MockUtilsInterface) DeletePod

func (m *MockUtilsInterface) DeletePod(pod *v10.Pod) error

DeletePod mocks base method.

func (*MockUtilsInterface) EXPECT

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

func (*MockUtilsInterface) GetControlPlaneTopology added in v0.0.5

func (m *MockUtilsInterface) GetControlPlaneTopology() (v1.TopologyMode, error)

GetControlPlaneTopology mocks base method.

func (*MockUtilsInterface) GetPlatformType added in v0.0.3

func (m *MockUtilsInterface) GetPlatformType() (v1.PlatformType, error)

GetPlatformType mocks base method.

func (*MockUtilsInterface) GetPodLogs

func (m *MockUtilsInterface) GetPodLogs(namespace string, pod *v10.Pod) (string, error)

GetPodLogs mocks base method.

func (*MockUtilsInterface) IsIPv6Enabled added in v0.0.4

func (m *MockUtilsInterface) IsIPv6Enabled() (bool, error)

IsIPv6Enabled mocks base method.

func (*MockUtilsInterface) RunCommandOnPod

func (m *MockUtilsInterface) RunCommandOnPod(pod *v10.Pod, command []string) ([]byte, error)

RunCommandOnPod mocks base method.

func (*MockUtilsInterface) WaitForPodStatus

func (m *MockUtilsInterface) WaitForPodStatus(namespace string, pod *v10.Pod, PodPhase v10.PodPhase) error

WaitForPodStatus mocks base method.

func (*MockUtilsInterface) WriteFile

func (m *MockUtilsInterface) WriteFile(path string, data []byte) error

WriteFile mocks base method.

type MockUtilsInterfaceMockRecorder

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

MockUtilsInterfaceMockRecorder is the mock recorder for MockUtilsInterface.

func (*MockUtilsInterfaceMockRecorder) CreateNamespace

func (mr *MockUtilsInterfaceMockRecorder) CreateNamespace(namespace interface{}) *gomock.Call

CreateNamespace indicates an expected call of CreateNamespace.

func (*MockUtilsInterfaceMockRecorder) CreatePodOnNode

func (mr *MockUtilsInterfaceMockRecorder) CreatePodOnNode(nodeName, namespace, image, command interface{}) *gomock.Call

CreatePodOnNode indicates an expected call of CreatePodOnNode.

func (*MockUtilsInterfaceMockRecorder) DeleteNamespace

func (mr *MockUtilsInterfaceMockRecorder) DeleteNamespace(namespace interface{}) *gomock.Call

DeleteNamespace indicates an expected call of DeleteNamespace.

func (*MockUtilsInterfaceMockRecorder) DeletePod

func (mr *MockUtilsInterfaceMockRecorder) DeletePod(pod interface{}) *gomock.Call

DeletePod indicates an expected call of DeletePod.

func (*MockUtilsInterfaceMockRecorder) GetControlPlaneTopology added in v0.0.5

func (mr *MockUtilsInterfaceMockRecorder) GetControlPlaneTopology() *gomock.Call

GetControlPlaneTopology indicates an expected call of GetControlPlaneTopology.

func (*MockUtilsInterfaceMockRecorder) GetPlatformType added in v0.0.3

func (mr *MockUtilsInterfaceMockRecorder) GetPlatformType() *gomock.Call

GetPlatformType indicates an expected call of GetPlatformType.

func (*MockUtilsInterfaceMockRecorder) GetPodLogs

func (mr *MockUtilsInterfaceMockRecorder) GetPodLogs(namespace, pod interface{}) *gomock.Call

GetPodLogs indicates an expected call of GetPodLogs.

func (*MockUtilsInterfaceMockRecorder) IsIPv6Enabled added in v0.0.4

func (mr *MockUtilsInterfaceMockRecorder) IsIPv6Enabled() *gomock.Call

IsIPv6Enabled indicates an expected call of IsIPv6Enabled.

func (*MockUtilsInterfaceMockRecorder) RunCommandOnPod

func (mr *MockUtilsInterfaceMockRecorder) RunCommandOnPod(pod, command interface{}) *gomock.Call

RunCommandOnPod indicates an expected call of RunCommandOnPod.

func (*MockUtilsInterfaceMockRecorder) WaitForPodStatus

func (mr *MockUtilsInterfaceMockRecorder) WaitForPodStatus(namespace, pod, PodPhase interface{}) *gomock.Call

WaitForPodStatus indicates an expected call of WaitForPodStatus.

func (*MockUtilsInterfaceMockRecorder) WriteFile

func (mr *MockUtilsInterfaceMockRecorder) WriteFile(path, data interface{}) *gomock.Call

WriteFile indicates an expected call of WriteFile.

Jump to

Keyboard shortcuts

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