mock_k8s

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 5 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) AnnotatePod

func (m *MockK8sWrapper) AnnotatePod(arg0, arg1, arg2, arg3 string) error

AnnotatePod 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) 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) (*v1.Node, error)

GetNode mocks base method

func (*MockK8sWrapper) GetPod

func (m *MockK8sWrapper) GetPod(arg0, arg1 string) (*v1.Pod, error)

GetPod mocks base method

func (*MockK8sWrapper) GetPodFromAPIServer

func (m *MockK8sWrapper) GetPodFromAPIServer(arg0, arg1 string) (*v1.Pod, error)

GetPodFromAPIServer mocks base method

func (*MockK8sWrapper) ListPods

func (m *MockK8sWrapper) ListPods(arg0 string) (*v1.PodList, error)

ListPods 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) AnnotatePod

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

AnnotatePod indicates an expected call of AnnotatePod

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

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

GetPod indicates an expected call of GetPod

func (*MockK8sWrapperMockRecorder) GetPodFromAPIServer

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

GetPodFromAPIServer indicates an expected call of GetPodFromAPIServer

func (*MockK8sWrapperMockRecorder) ListPods

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

ListPods indicates an expected call of ListPods

Jump to

Keyboard shortcuts

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