Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/agent/servicecidr (interfaces: Interface)
Generated by this command:
mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/servicecidr/testing/mock_servicecidr.go -package testing antrea.io/antrea/pkg/agent/servicecidr Interface
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 MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) AddEventHandler ¶
func (m *MockInterface) AddEventHandler(arg0 servicecidr.EventHandler)
AddEventHandler mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetServiceCIDRs ¶ added in v1.11.4
func (m *MockInterface) GetServiceCIDRs() ([]*net.IPNet, error)
GetServiceCIDRs mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) AddEventHandler ¶
func (mr *MockInterfaceMockRecorder) AddEventHandler(arg0 any) *gomock.Call
AddEventHandler indicates an expected call of AddEventHandler.
func (*MockInterfaceMockRecorder) GetServiceCIDRs ¶ added in v1.11.4
func (mr *MockInterfaceMockRecorder) GetServiceCIDRs() *gomock.Call
GetServiceCIDRs indicates an expected call of GetServiceCIDRs.
Click to show internal directories.
Click to hide internal directories.