Documentation ¶
Overview ¶
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) GetNetworkConfig() *config.NetworkConfig
- func (m *MockAgentQuerier) GetNetworkPolicyInfoQuerier() querier.AgentNetworkPolicyInfoQuerier
- func (m *MockAgentQuerier) GetNodeConfig() *config.NodeConfig
- 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 interface{}) *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetInterfaceStore() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetK8sClient() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetNetworkConfig() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetNetworkPolicyInfoQuerier() *gomock.Call
- func (mr *MockAgentQuerierMockRecorder) GetNodeConfig() *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 ¶ added in v0.7.0
func (m *MockAgentQuerier) GetK8sClient() kubernetes.Interface
GetK8sClient mocks base method
func (*MockAgentQuerier) GetNetworkConfig ¶ added in v0.11.1
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 ¶ added in v0.7.0
func (m *MockAgentQuerier) GetNodeConfig() *config.NodeConfig
GetNodeConfig mocks base method
func (*MockAgentQuerier) GetOVSCtlClient ¶ added in v0.7.0
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 ¶ added in v1.0.0
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 interface{}) *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 ¶ added in v0.7.0
func (mr *MockAgentQuerierMockRecorder) GetK8sClient() *gomock.Call
GetK8sClient indicates an expected call of GetK8sClient
func (*MockAgentQuerierMockRecorder) GetNetworkConfig ¶ added in v0.11.1
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 ¶ added in v0.7.0
func (mr *MockAgentQuerierMockRecorder) GetNodeConfig() *gomock.Call
GetNodeConfig indicates an expected call of GetNodeConfig
func (*MockAgentQuerierMockRecorder) GetOVSCtlClient ¶ added in v0.7.0
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 ¶ added in v1.0.0
func (mr *MockAgentQuerierMockRecorder) GetProxier() *gomock.Call
GetProxier indicates an expected call of GetProxier