Documentation ¶
Overview ¶
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) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) ListEntries(arg0 string) ([]string, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AddEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateIPSet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DelEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListEntries(arg0 interface{}) *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) 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 interface{}) *gomock.Call
AddEntry indicates an expected call of AddEntry
func (*MockInterfaceMockRecorder) CreateIPSet ¶
func (mr *MockInterfaceMockRecorder) CreateIPSet(arg0, arg1, arg2 interface{}) *gomock.Call
CreateIPSet indicates an expected call of CreateIPSet
func (*MockInterfaceMockRecorder) DelEntry ¶
func (mr *MockInterfaceMockRecorder) DelEntry(arg0, arg1 interface{}) *gomock.Call
DelEntry indicates an expected call of DelEntry
func (*MockInterfaceMockRecorder) ListEntries ¶
func (mr *MockInterfaceMockRecorder) ListEntries(arg0 interface{}) *gomock.Call
ListEntries indicates an expected call of ListEntries
Click to show internal directories.
Click to hide internal directories.