Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/controller/networkpolicy (interfaces: EndpointQuerier)
Generated by this command:
mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/controller/networkpolicy/testing/mock_networkpolicy.go -package testing antrea.io/antrea/pkg/controller/networkpolicy EndpointQuerier
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 MockEndpointQuerier ¶
type MockEndpointQuerier struct {
// contains filtered or unexported fields
}
MockEndpointQuerier is a mock of EndpointQuerier interface.
func NewMockEndpointQuerier ¶
func NewMockEndpointQuerier(ctrl *gomock.Controller) *MockEndpointQuerier
NewMockEndpointQuerier creates a new mock instance.
func (*MockEndpointQuerier) EXPECT ¶
func (m *MockEndpointQuerier) EXPECT() *MockEndpointQuerierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEndpointQuerier) QueryNetworkPolicies ¶
func (m *MockEndpointQuerier) QueryNetworkPolicies(arg0, arg1 string) (*networkpolicy.EndpointQueryResponse, error)
QueryNetworkPolicies mocks base method.
type MockEndpointQuerierMockRecorder ¶
type MockEndpointQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockEndpointQuerierMockRecorder is the mock recorder for MockEndpointQuerier.
func (*MockEndpointQuerierMockRecorder) QueryNetworkPolicies ¶
func (mr *MockEndpointQuerierMockRecorder) QueryNetworkPolicies(arg0, arg1 any) *gomock.Call
QueryNetworkPolicies indicates an expected call of QueryNetworkPolicies.
Click to show internal directories.
Click to hide internal directories.