testing

package
Version: v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 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 string, arg2, arg3 net.IP) error

AddRoutes mocks base method

func (*MockInterface) AddSNATRule

func (m *MockInterface) AddSNATRule(arg0 net.IP, arg1 uint32) error

AddSNATRule mocks base method

func (*MockInterface) DeleteRoutes

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

DeleteRoutes mocks base method

func (*MockInterface) DeleteSNATRule

func (m *MockInterface) DeleteSNATRule(arg0 uint32) error

DeleteSNATRule 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) Run

func (m *MockInterface) Run(arg0 <-chan struct{})

Run 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, arg3 interface{}) *gomock.Call

AddRoutes indicates an expected call of AddRoutes

func (*MockInterfaceMockRecorder) AddSNATRule

func (mr *MockInterfaceMockRecorder) AddSNATRule(arg0, arg1 interface{}) *gomock.Call

AddSNATRule indicates an expected call of AddSNATRule

func (*MockInterfaceMockRecorder) DeleteRoutes

func (mr *MockInterfaceMockRecorder) DeleteRoutes(arg0 interface{}) *gomock.Call

DeleteRoutes indicates an expected call of DeleteRoutes

func (*MockInterfaceMockRecorder) DeleteSNATRule

func (mr *MockInterfaceMockRecorder) DeleteSNATRule(arg0 interface{}) *gomock.Call

DeleteSNATRule indicates an expected call of DeleteSNATRule

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

func (mr *MockInterfaceMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run

func (*MockInterfaceMockRecorder) UnMigrateRoutesFromGw

func (mr *MockInterfaceMockRecorder) UnMigrateRoutesFromGw(arg0, arg1 interface{}) *gomock.Call

UnMigrateRoutesFromGw indicates an expected call of UnMigrateRoutesFromGw

Source Files

Jump to

Keyboard shortcuts

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