Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AddRoutes(arg0 *net.IPNet, arg1, arg2 net.IP) error
- func (m *MockInterface) DeleteRoutes(arg0 *net.IPNet) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Initialize(arg0 *config.NodeConfig, arg1 func()) error
- func (m *MockInterface) MigrateRoutesToGw(arg0 string) error
- func (m *MockInterface) Reconcile(arg0 []string) error
- func (m *MockInterface) UnMigrateRoutesFromGw(arg0 *net.IPNet, arg1 string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AddRoutes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteRoutes(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Initialize(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) MigrateRoutesToGw(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Reconcile(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UnMigrateRoutesFromGw(arg0, arg1 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) DeleteRoutes ¶
func (m *MockInterface) DeleteRoutes(arg0 *net.IPNet) error
DeleteRoutes 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) Initialize ¶
func (m *MockInterface) Initialize(arg0 *config.NodeConfig, arg1 func()) error
Initialize mocks base method
func (*MockInterface) MigrateRoutesToGw ¶
func (m *MockInterface) MigrateRoutesToGw(arg0 string) error
MigrateRoutesToGw mocks base method
func (*MockInterface) Reconcile ¶
func (m *MockInterface) Reconcile(arg0 []string) error
Reconcile mocks base method
func (*MockInterface) UnMigrateRoutesFromGw ¶
func (m *MockInterface) UnMigrateRoutesFromGw(arg0 *net.IPNet, arg1 string) error
UnMigrateRoutesFromGw mocks base method
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface
func (*MockInterfaceMockRecorder) AddRoutes ¶
func (mr *MockInterfaceMockRecorder) AddRoutes(arg0, arg1, arg2 interface{}) *gomock.Call
AddRoutes indicates an expected call of AddRoutes
func (*MockInterfaceMockRecorder) DeleteRoutes ¶
func (mr *MockInterfaceMockRecorder) DeleteRoutes(arg0 interface{}) *gomock.Call
DeleteRoutes indicates an expected call of DeleteRoutes
func (*MockInterfaceMockRecorder) Initialize ¶
func (mr *MockInterfaceMockRecorder) Initialize(arg0, arg1 interface{}) *gomock.Call
Initialize indicates an expected call of Initialize
func (*MockInterfaceMockRecorder) MigrateRoutesToGw ¶
func (mr *MockInterfaceMockRecorder) MigrateRoutesToGw(arg0 interface{}) *gomock.Call
MigrateRoutesToGw indicates an expected call of MigrateRoutesToGw
func (*MockInterfaceMockRecorder) Reconcile ¶
func (mr *MockInterfaceMockRecorder) Reconcile(arg0 interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile
func (*MockInterfaceMockRecorder) UnMigrateRoutesFromGw ¶
func (mr *MockInterfaceMockRecorder) UnMigrateRoutesFromGw(arg0, arg1 interface{}) *gomock.Call
UnMigrateRoutesFromGw indicates an expected call of UnMigrateRoutesFromGw