mock_k8sapi

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_k8sapi is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockK8SAPIs

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

MockK8SAPIs is a mock of K8SAPIs interface

func NewMockK8SAPIs

func NewMockK8SAPIs(ctrl *gomock.Controller) *MockK8SAPIs

NewMockK8SAPIs creates a new mock instance

func (*MockK8SAPIs) EXPECT

func (m *MockK8SAPIs) EXPECT() *MockK8SAPIsMockRecorder

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

func (*MockK8SAPIs) GetPod added in v1.6.4

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

GetPod mocks base method

func (*MockK8SAPIs) K8SGetLocalPodIPs

func (m *MockK8SAPIs) K8SGetLocalPodIPs() ([]*k8sapi.K8SPodInfo, error)

K8SGetLocalPodIPs mocks base method

func (*MockK8SAPIs) SetNodeLabel added in v1.6.4

func (m *MockK8SAPIs) SetNodeLabel(arg0, arg1 string) error

SetNodeLabel mocks base method

type MockK8SAPIsMockRecorder

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

MockK8SAPIsMockRecorder is the mock recorder for MockK8SAPIs

func (*MockK8SAPIsMockRecorder) GetPod added in v1.6.4

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

GetPod indicates an expected call of GetPod

func (*MockK8SAPIsMockRecorder) K8SGetLocalPodIPs

func (mr *MockK8SAPIsMockRecorder) K8SGetLocalPodIPs() *gomock.Call

K8SGetLocalPodIPs indicates an expected call of K8SGetLocalPodIPs

func (*MockK8SAPIsMockRecorder) SetNodeLabel added in v1.6.4

func (mr *MockK8SAPIsMockRecorder) SetNodeLabel(arg0, arg1 interface{}) *gomock.Call

SetNodeLabel indicates an expected call of SetNodeLabel

Jump to

Keyboard shortcuts

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