Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/agent/util/ipset (interfaces: Interface)
Generated by this command:
mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/util/ipset/testing/mock_ipset.go -package testing antrea.io/antrea/pkg/agent/util/ipset Interface
Package testing is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AddEntry(arg0, arg1 string) error
- func (m *MockInterface) CreateIPSet(arg0 string, arg1 ipset.SetType, arg2 bool) error
- func (m *MockInterface) DelEntry(arg0, arg1 string) error
- func (m *MockInterface) DestroyIPSet(arg0 string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) ListEntries(arg0 string) ([]string, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AddEntry(arg0, arg1 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateIPSet(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DelEntry(arg0, arg1 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DestroyIPSet(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListEntries(arg0 any) *gomock.Call
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) AddEntry ¶
func (m *MockInterface) AddEntry(arg0, arg1 string) error
AddEntry mocks base method.
func (*MockInterface) CreateIPSet ¶
CreateIPSet mocks base method.
func (*MockInterface) DelEntry ¶
func (m *MockInterface) DelEntry(arg0, arg1 string) error
DelEntry mocks base method.
func (*MockInterface) DestroyIPSet ¶ added in v1.15.0
func (m *MockInterface) DestroyIPSet(arg0 string) error
DestroyIPSet 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) ListEntries ¶
func (m *MockInterface) ListEntries(arg0 string) ([]string, error)
ListEntries mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) AddEntry ¶
func (mr *MockInterfaceMockRecorder) AddEntry(arg0, arg1 any) *gomock.Call
AddEntry indicates an expected call of AddEntry.
func (*MockInterfaceMockRecorder) CreateIPSet ¶
func (mr *MockInterfaceMockRecorder) CreateIPSet(arg0, arg1, arg2 any) *gomock.Call
CreateIPSet indicates an expected call of CreateIPSet.
func (*MockInterfaceMockRecorder) DelEntry ¶
func (mr *MockInterfaceMockRecorder) DelEntry(arg0, arg1 any) *gomock.Call
DelEntry indicates an expected call of DelEntry.
func (*MockInterfaceMockRecorder) DestroyIPSet ¶ added in v1.15.0
func (mr *MockInterfaceMockRecorder) DestroyIPSet(arg0 any) *gomock.Call
DestroyIPSet indicates an expected call of DestroyIPSet.
func (*MockInterfaceMockRecorder) ListEntries ¶
func (mr *MockInterfaceMockRecorder) ListEntries(arg0 any) *gomock.Call
ListEntries indicates an expected call of ListEntries.