Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockAgentQuerier
- func (m *MockAgentQuerier) EXPECT() *MockAgentQuerierMockRecorder
- func (m *MockAgentQuerier) GetLocalPodNum() int32
- func (m *MockAgentQuerier) GetNetworkPolicyControllerInfo() v1beta1.NetworkPolicyControllerInfo
- func (m *MockAgentQuerier) GetOVSFlowTable() map[string]int32
- func (m *MockAgentQuerier) GetSelfNode() v1.ObjectReference
- func (m *MockAgentQuerier) GetSelfPod() v1.ObjectReference
- func (m *MockAgentQuerier) GetVersion() string
- type MockAgentQuerierMockRecorder
- func (mr *MockAgentQuerierMockRecorder) GetLocalPodNum() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetNetworkPolicyControllerInfo() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetOVSFlowTable() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetSelfNode() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetSelfPod() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetVersion() *gomock.Call
- type MockControllerQuerier
- func (m *MockControllerQuerier) EXPECT() *MockControllerQuerierMockRecorder
- func (m *MockControllerQuerier) GetNetworkPolicyControllerInfo() v1beta1.NetworkPolicyControllerInfo
- func (m *MockControllerQuerier) GetSelfNode() v1.ObjectReference
- func (m *MockControllerQuerier) GetSelfPod() v1.ObjectReference
- func (m *MockControllerQuerier) GetService() v1.ObjectReference
- func (m *MockControllerQuerier) GetVersion() string
- type MockControllerQuerierMockRecorder
- func (mr *MockControllerQuerierMockRecorder) GetNetworkPolicyControllerInfo() *gomock.Call
- func (mr *MockControllerQuerierMockRecorder) GetSelfNode() *gomock.Call
- func (mr *MockControllerQuerierMockRecorder) GetSelfPod() *gomock.Call
- func (mr *MockControllerQuerierMockRecorder) GetService() *gomock.Call
- func (mr *MockControllerQuerierMockRecorder) GetVersion() *gomock.Call
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 ¶
func (m *MockAgentQuerier) EXPECT() *MockAgentQuerierMockRecorder
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 ¶
func (m *MockControllerQuerier) EXPECT() *MockControllerQuerierMockRecorder
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