Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/agent/querier (interfaces: AgentQuerier)
Generated by this command:
mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/querier/testing/mock_querier.go -package testing antrea.io/antrea/pkg/agent/querier AgentQuerier
Package testing is a generated GoMock package.
Index ¶
- type MockAgentQuerier
- func (m *MockAgentQuerier) EXPECT() *MockAgentQuerierMockRecorder
- func (m *MockAgentQuerier) GetAgentInfo(arg0 *v1beta1.AntreaAgentInfo, arg1 bool)
- func (m *MockAgentQuerier) GetInterfaceStore() interfacestore.InterfaceStore
- func (m *MockAgentQuerier) GetK8sClient() kubernetes.Interface
- func (m *MockAgentQuerier) GetMemberlistCluster() memberlist.Interface
- func (m *MockAgentQuerier) GetNetworkConfig() *config.NetworkConfig
- func (m *MockAgentQuerier) GetNetworkPolicyInfoQuerier() querier.AgentNetworkPolicyInfoQuerier
- func (m *MockAgentQuerier) GetNodeConfig() *config.NodeConfig
- func (m *MockAgentQuerier) GetNodeLister() v1.NodeLister
- func (m *MockAgentQuerier) GetOVSCtlClient() ovsctl.OVSCtlClient
- func (m *MockAgentQuerier) GetOpenflowClient() openflow.Client
- func (m *MockAgentQuerier) GetProxier() proxy.Proxier
- type MockAgentQuerierMockRecorder
- func (mr *MockAgentQuerierMockRecorder) GetAgentInfo(arg0, arg1 any) *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetInterfaceStore() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetK8sClient() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetMemberlistCluster() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetNetworkConfig() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetNetworkPolicyInfoQuerier() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetNodeConfig() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetNodeLister() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetOVSCtlClient() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetOpenflowClient() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetProxier() *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) GetAgentInfo ¶
func (m *MockAgentQuerier) GetAgentInfo(arg0 *v1beta1.AntreaAgentInfo, arg1 bool)
GetAgentInfo mocks base method.
func (*MockAgentQuerier) GetInterfaceStore ¶
func (m *MockAgentQuerier) GetInterfaceStore() interfacestore.InterfaceStore
GetInterfaceStore mocks base method.
func (*MockAgentQuerier) GetK8sClient ¶
func (m *MockAgentQuerier) GetK8sClient() kubernetes.Interface
GetK8sClient mocks base method.
func (*MockAgentQuerier) GetMemberlistCluster ¶ added in v1.11.0
func (m *MockAgentQuerier) GetMemberlistCluster() memberlist.Interface
GetMemberlistCluster mocks base method.
func (*MockAgentQuerier) GetNetworkConfig ¶
func (m *MockAgentQuerier) GetNetworkConfig() *config.NetworkConfig
GetNetworkConfig mocks base method.
func (*MockAgentQuerier) GetNetworkPolicyInfoQuerier ¶
func (m *MockAgentQuerier) GetNetworkPolicyInfoQuerier() querier.AgentNetworkPolicyInfoQuerier
GetNetworkPolicyInfoQuerier mocks base method.
func (*MockAgentQuerier) GetNodeConfig ¶
func (m *MockAgentQuerier) GetNodeConfig() *config.NodeConfig
GetNodeConfig mocks base method.
func (*MockAgentQuerier) GetNodeLister ¶ added in v1.11.0
func (m *MockAgentQuerier) GetNodeLister() v1.NodeLister
GetNodeLister mocks base method.
func (*MockAgentQuerier) GetOVSCtlClient ¶
func (m *MockAgentQuerier) GetOVSCtlClient() ovsctl.OVSCtlClient
GetOVSCtlClient mocks base method.
func (*MockAgentQuerier) GetOpenflowClient ¶
func (m *MockAgentQuerier) GetOpenflowClient() openflow.Client
GetOpenflowClient mocks base method.
func (*MockAgentQuerier) GetProxier ¶
func (m *MockAgentQuerier) GetProxier() proxy.Proxier
GetProxier mocks base method.
type MockAgentQuerierMockRecorder ¶
type MockAgentQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentQuerierMockRecorder is the mock recorder for MockAgentQuerier.
func (*MockAgentQuerierMockRecorder) GetAgentInfo ¶
func (mr *MockAgentQuerierMockRecorder) GetAgentInfo(arg0, arg1 any) *gomock.Call
GetAgentInfo indicates an expected call of GetAgentInfo.
func (*MockAgentQuerierMockRecorder) GetInterfaceStore ¶
func (mr *MockAgentQuerierMockRecorder) GetInterfaceStore() *gomock.Call
GetInterfaceStore indicates an expected call of GetInterfaceStore.
func (*MockAgentQuerierMockRecorder) GetK8sClient ¶
func (mr *MockAgentQuerierMockRecorder) GetK8sClient() *gomock.Call
GetK8sClient indicates an expected call of GetK8sClient.
func (*MockAgentQuerierMockRecorder) GetMemberlistCluster ¶ added in v1.11.0
func (mr *MockAgentQuerierMockRecorder) GetMemberlistCluster() *gomock.Call
GetMemberlistCluster indicates an expected call of GetMemberlistCluster.
func (*MockAgentQuerierMockRecorder) GetNetworkConfig ¶
func (mr *MockAgentQuerierMockRecorder) GetNetworkConfig() *gomock.Call
GetNetworkConfig indicates an expected call of GetNetworkConfig.
func (*MockAgentQuerierMockRecorder) GetNetworkPolicyInfoQuerier ¶
func (mr *MockAgentQuerierMockRecorder) GetNetworkPolicyInfoQuerier() *gomock.Call
GetNetworkPolicyInfoQuerier indicates an expected call of GetNetworkPolicyInfoQuerier.
func (*MockAgentQuerierMockRecorder) GetNodeConfig ¶
func (mr *MockAgentQuerierMockRecorder) GetNodeConfig() *gomock.Call
GetNodeConfig indicates an expected call of GetNodeConfig.
func (*MockAgentQuerierMockRecorder) GetNodeLister ¶ added in v1.11.0
func (mr *MockAgentQuerierMockRecorder) GetNodeLister() *gomock.Call
GetNodeLister indicates an expected call of GetNodeLister.
func (*MockAgentQuerierMockRecorder) GetOVSCtlClient ¶
func (mr *MockAgentQuerierMockRecorder) GetOVSCtlClient() *gomock.Call
GetOVSCtlClient indicates an expected call of GetOVSCtlClient.
func (*MockAgentQuerierMockRecorder) GetOpenflowClient ¶
func (mr *MockAgentQuerierMockRecorder) GetOpenflowClient() *gomock.Call
GetOpenflowClient indicates an expected call of GetOpenflowClient.
func (*MockAgentQuerierMockRecorder) GetProxier ¶
func (mr *MockAgentQuerierMockRecorder) GetProxier() *gomock.Call
GetProxier indicates an expected call of GetProxier.