testing

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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) AddRoutes

func (m *MockInterface) AddRoutes(arg0 *net.IPNet, arg1, arg2 net.IP) error

AddRoutes mocks base method

func (*MockInterface) DeleteRoutes

func (m *MockInterface) DeleteRoutes(arg0 *net.IPNet) error

DeleteRoutes mocks base method

func (*MockInterface) EXPECT

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL