testing

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAgentQuerier

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

MockAgentQuerier is a mock of AgentQuerier interface

func NewMockAgentQuerier

func NewMockAgentQuerier(ctrl *gomock.Controller) *MockAgentQuerier

NewMockAgentQuerier creates a new mock instance

func (*MockAgentQuerier) EXPECT

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

func (*MockAgentQuerier) GetLocalPodNum

func (m *MockAgentQuerier) GetLocalPodNum() int32

GetLocalPodNum mocks base method

func (*MockAgentQuerier) GetNetworkPolicyControllerInfo

func (m *MockAgentQuerier) GetNetworkPolicyControllerInfo() v1beta1.NetworkPolicyControllerInfo

GetNetworkPolicyControllerInfo mocks base method

func (*MockAgentQuerier) GetOVSFlowTable

func (m *MockAgentQuerier) GetOVSFlowTable() map[string]int32

GetOVSFlowTable mocks base method

func (*MockAgentQuerier) GetSelfNode

func (m *MockAgentQuerier) GetSelfNode() v1.ObjectReference

GetSelfNode mocks base method

func (*MockAgentQuerier) GetSelfPod

func (m *MockAgentQuerier) GetSelfPod() v1.ObjectReference

GetSelfPod mocks base method

func (*MockAgentQuerier) GetVersion

func (m *MockAgentQuerier) GetVersion() string

GetVersion mocks base method

type MockAgentQuerierMockRecorder

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

MockAgentQuerierMockRecorder is the mock recorder for MockAgentQuerier

func (*MockAgentQuerierMockRecorder) GetLocalPodNum

func (mr *MockAgentQuerierMockRecorder) GetLocalPodNum() *gomock.Call

GetLocalPodNum indicates an expected call of GetLocalPodNum

func (*MockAgentQuerierMockRecorder) GetNetworkPolicyControllerInfo

func (mr *MockAgentQuerierMockRecorder) GetNetworkPolicyControllerInfo() *gomock.Call

GetNetworkPolicyControllerInfo indicates an expected call of GetNetworkPolicyControllerInfo

func (*MockAgentQuerierMockRecorder) GetOVSFlowTable

func (mr *MockAgentQuerierMockRecorder) GetOVSFlowTable() *gomock.Call

GetOVSFlowTable indicates an expected call of GetOVSFlowTable

func (*MockAgentQuerierMockRecorder) GetSelfNode

func (mr *MockAgentQuerierMockRecorder) GetSelfNode() *gomock.Call

GetSelfNode indicates an expected call of GetSelfNode

func (*MockAgentQuerierMockRecorder) GetSelfPod

func (mr *MockAgentQuerierMockRecorder) GetSelfPod() *gomock.Call

GetSelfPod indicates an expected call of GetSelfPod

func (*MockAgentQuerierMockRecorder) GetVersion

func (mr *MockAgentQuerierMockRecorder) GetVersion() *gomock.Call

GetVersion indicates an expected call of GetVersion

type MockControllerQuerier

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

MockControllerQuerier is a mock of ControllerQuerier interface

func NewMockControllerQuerier

func NewMockControllerQuerier(ctrl *gomock.Controller) *MockControllerQuerier

NewMockControllerQuerier creates a new mock instance

func (*MockControllerQuerier) EXPECT

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

func (*MockControllerQuerier) GetNetworkPolicyControllerInfo

func (m *MockControllerQuerier) GetNetworkPolicyControllerInfo() v1beta1.NetworkPolicyControllerInfo

GetNetworkPolicyControllerInfo mocks base method

func (*MockControllerQuerier) GetSelfNode

func (m *MockControllerQuerier) GetSelfNode() v1.ObjectReference

GetSelfNode mocks base method

func (*MockControllerQuerier) GetSelfPod

func (m *MockControllerQuerier) GetSelfPod() v1.ObjectReference

GetSelfPod mocks base method

func (*MockControllerQuerier) GetService

func (m *MockControllerQuerier) GetService() v1.ObjectReference

GetService mocks base method

func (*MockControllerQuerier) GetVersion

func (m *MockControllerQuerier) GetVersion() string

GetVersion mocks base method

type MockControllerQuerierMockRecorder

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

MockControllerQuerierMockRecorder is the mock recorder for MockControllerQuerier

func (*MockControllerQuerierMockRecorder) GetNetworkPolicyControllerInfo

func (mr *MockControllerQuerierMockRecorder) GetNetworkPolicyControllerInfo() *gomock.Call

GetNetworkPolicyControllerInfo indicates an expected call of GetNetworkPolicyControllerInfo

func (*MockControllerQuerierMockRecorder) GetSelfNode

func (mr *MockControllerQuerierMockRecorder) GetSelfNode() *gomock.Call

GetSelfNode indicates an expected call of GetSelfNode

func (*MockControllerQuerierMockRecorder) GetSelfPod

func (mr *MockControllerQuerierMockRecorder) GetSelfPod() *gomock.Call

GetSelfPod indicates an expected call of GetSelfPod

func (*MockControllerQuerierMockRecorder) GetService

func (mr *MockControllerQuerierMockRecorder) GetService() *gomock.Call

GetService indicates an expected call of GetService

func (*MockControllerQuerierMockRecorder) GetVersion

func (mr *MockControllerQuerierMockRecorder) GetVersion() *gomock.Call

GetVersion indicates an expected call of GetVersion

Jump to

Keyboard shortcuts

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