Documentation
¶
Overview ¶
Package mock_utils is a generated GoMock package.
Index ¶
- type MockUtilsInterface
- func (m *MockUtilsInterface) CreateNamespace(namespace string) error
- func (m *MockUtilsInterface) CreatePodOnNode(nodeName, namespace, image string, command []string) (*v10.Pod, error)
- func (m *MockUtilsInterface) DeleteNamespace(namespace string) error
- func (m *MockUtilsInterface) DeletePod(pod *v10.Pod) error
- func (m *MockUtilsInterface) EXPECT() *MockUtilsInterfaceMockRecorder
- func (m *MockUtilsInterface) GetControlPlaneTopology() (v1.TopologyMode, error)
- func (m *MockUtilsInterface) GetPlatformType() (v1.PlatformType, error)
- func (m *MockUtilsInterface) GetPodLogs(namespace string, pod *v10.Pod) (string, error)
- func (m *MockUtilsInterface) IsIPv6Enabled() (bool, error)
- func (m *MockUtilsInterface) RunCommandOnPod(pod *v10.Pod, command []string) ([]byte, error)
- func (m *MockUtilsInterface) WaitForPodStatus(namespace string, pod *v10.Pod, PodPhase v10.PodPhase) error
- func (m *MockUtilsInterface) WriteFile(path string, data []byte) error
- type MockUtilsInterfaceMockRecorder
- func (mr *MockUtilsInterfaceMockRecorder) CreateNamespace(namespace interface{}) *gomock.Call
- func (mr *MockUtilsInterfaceMockRecorder) CreatePodOnNode(nodeName, namespace, image, command interface{}) *gomock.Call
- func (mr *MockUtilsInterfaceMockRecorder) DeleteNamespace(namespace interface{}) *gomock.Call
- func (mr *MockUtilsInterfaceMockRecorder) DeletePod(pod interface{}) *gomock.Call
- func (mr *MockUtilsInterfaceMockRecorder) GetControlPlaneTopology() *gomock.Call
- func (mr *MockUtilsInterfaceMockRecorder) GetPlatformType() *gomock.Call
- func (mr *MockUtilsInterfaceMockRecorder) GetPodLogs(namespace, pod interface{}) *gomock.Call
- func (mr *MockUtilsInterfaceMockRecorder) IsIPv6Enabled() *gomock.Call
- func (mr *MockUtilsInterfaceMockRecorder) RunCommandOnPod(pod, command interface{}) *gomock.Call
- func (mr *MockUtilsInterfaceMockRecorder) WaitForPodStatus(namespace, pod, PodPhase interface{}) *gomock.Call
- func (mr *MockUtilsInterfaceMockRecorder) WriteFile(path, data interface{}) *gomock.Call
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 ¶
func (m *MockUtilsInterface) EXPECT() *MockUtilsInterfaceMockRecorder
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 ¶
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 ¶
RunCommandOnPod mocks base method.
func (*MockUtilsInterface) WaitForPodStatus ¶
func (m *MockUtilsInterface) WaitForPodStatus(namespace string, pod *v10.Pod, PodPhase v10.PodPhase) error
WaitForPodStatus 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.