mock_k8s

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_k8s is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockK8sWrapper

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

MockK8sWrapper is a mock of K8sWrapper interface.

func NewMockK8sWrapper

func NewMockK8sWrapper(ctrl *gomock.Controller) *MockK8sWrapper

NewMockK8sWrapper creates a new mock instance.

func (*MockK8sWrapper) AdvertiseCapacityIfNotSet

func (m *MockK8sWrapper) AdvertiseCapacityIfNotSet(arg0, arg1 string, arg2 int) error

AdvertiseCapacityIfNotSet mocks base method.

func (*MockK8sWrapper) BroadcastEvent added in v1.0.7

func (m *MockK8sWrapper) BroadcastEvent(arg0 runtime.Object, arg1, arg2, arg3 string)

BroadcastEvent mocks base method.

func (*MockK8sWrapper) EXPECT

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

func (*MockK8sWrapper) GetConfigMap added in v1.1.0

func (m *MockK8sWrapper) GetConfigMap(arg0, arg1 string) (*v10.ConfigMap, error)

GetConfigMap mocks base method.

func (*MockK8sWrapper) GetDaemonSet added in v1.1.3

func (m *MockK8sWrapper) GetDaemonSet(arg0, arg1 string) (*v1.DaemonSet, error)

GetDaemonSet mocks base method.

func (*MockK8sWrapper) GetDeployment added in v1.1.0

func (m *MockK8sWrapper) GetDeployment(arg0, arg1 string) (*v1.Deployment, error)

GetDeployment mocks base method.

func (*MockK8sWrapper) GetENIConfig

func (m *MockK8sWrapper) GetENIConfig(arg0 string) (*v1alpha1.ENIConfig, error)

GetENIConfig mocks base method.

func (*MockK8sWrapper) GetNode added in v1.0.7

func (m *MockK8sWrapper) GetNode(arg0 string) (*v10.Node, error)

GetNode mocks base method.

func (*MockK8sWrapper) ListNodes added in v1.1.0

func (m *MockK8sWrapper) ListNodes() (*v10.NodeList, error)

ListNodes mocks base method.

type MockK8sWrapperMockRecorder

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

MockK8sWrapperMockRecorder is the mock recorder for MockK8sWrapper.

func (*MockK8sWrapperMockRecorder) AdvertiseCapacityIfNotSet

func (mr *MockK8sWrapperMockRecorder) AdvertiseCapacityIfNotSet(arg0, arg1, arg2 interface{}) *gomock.Call

AdvertiseCapacityIfNotSet indicates an expected call of AdvertiseCapacityIfNotSet.

func (*MockK8sWrapperMockRecorder) BroadcastEvent added in v1.0.7

func (mr *MockK8sWrapperMockRecorder) BroadcastEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

BroadcastEvent indicates an expected call of BroadcastEvent.

func (*MockK8sWrapperMockRecorder) GetConfigMap added in v1.1.0

func (mr *MockK8sWrapperMockRecorder) GetConfigMap(arg0, arg1 interface{}) *gomock.Call

GetConfigMap indicates an expected call of GetConfigMap.

func (*MockK8sWrapperMockRecorder) GetDaemonSet added in v1.1.3

func (mr *MockK8sWrapperMockRecorder) GetDaemonSet(arg0, arg1 interface{}) *gomock.Call

GetDaemonSet indicates an expected call of GetDaemonSet.

func (*MockK8sWrapperMockRecorder) GetDeployment added in v1.1.0

func (mr *MockK8sWrapperMockRecorder) GetDeployment(arg0, arg1 interface{}) *gomock.Call

GetDeployment indicates an expected call of GetDeployment.

func (*MockK8sWrapperMockRecorder) GetENIConfig

func (mr *MockK8sWrapperMockRecorder) GetENIConfig(arg0 interface{}) *gomock.Call

GetENIConfig indicates an expected call of GetENIConfig.

func (*MockK8sWrapperMockRecorder) GetNode added in v1.0.7

func (mr *MockK8sWrapperMockRecorder) GetNode(arg0 interface{}) *gomock.Call

GetNode indicates an expected call of GetNode.

func (*MockK8sWrapperMockRecorder) ListNodes added in v1.1.0

func (mr *MockK8sWrapperMockRecorder) ListNodes() *gomock.Call

ListNodes indicates an expected call of ListNodes.

Directories

Path Synopsis
Package mock_pod is a generated GoMock package.
Package mock_pod is a generated GoMock package.

Jump to

Keyboard shortcuts

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