testing

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 3 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 MockInterfaceStore

type MockInterfaceStore struct {
	// contains filtered or unexported fields
}

MockInterfaceStore is a mock of InterfaceStore interface

func NewMockInterfaceStore

func NewMockInterfaceStore(ctrl *gomock.Controller) *MockInterfaceStore

NewMockInterfaceStore creates a new mock instance

func (*MockInterfaceStore) AddInterface

func (m *MockInterfaceStore) AddInterface(arg0 *interfacestore.InterfaceConfig)

AddInterface mocks base method

func (*MockInterfaceStore) DeleteInterface

func (m *MockInterfaceStore) DeleteInterface(arg0 *interfacestore.InterfaceConfig)

DeleteInterface mocks base method

func (*MockInterfaceStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockInterfaceStore) GetContainerInterface

func (m *MockInterfaceStore) GetContainerInterface(arg0 string) (*interfacestore.InterfaceConfig, bool)

GetContainerInterface mocks base method

func (*MockInterfaceStore) GetContainerInterfaceNum

func (m *MockInterfaceStore) GetContainerInterfaceNum() int

GetContainerInterfaceNum mocks base method

func (*MockInterfaceStore) GetContainerInterfacesByPod added in v0.7.2

func (m *MockInterfaceStore) GetContainerInterfacesByPod(arg0, arg1 string) []*interfacestore.InterfaceConfig

GetContainerInterfacesByPod mocks base method

func (*MockInterfaceStore) GetInterface

func (m *MockInterfaceStore) GetInterface(arg0 string) (*interfacestore.InterfaceConfig, bool)

GetInterface mocks base method

func (*MockInterfaceStore) GetInterfaceByIP added in v0.9.0

func (m *MockInterfaceStore) GetInterfaceByIP(arg0 string) (*interfacestore.InterfaceConfig, bool)

GetInterfaceByIP mocks base method

func (*MockInterfaceStore) GetInterfaceByName added in v0.7.0

func (m *MockInterfaceStore) GetInterfaceByName(arg0 string) (*interfacestore.InterfaceConfig, bool)

GetInterfaceByName mocks base method

func (*MockInterfaceStore) GetInterfaceKeysByType

func (m *MockInterfaceStore) GetInterfaceKeysByType(arg0 interfacestore.InterfaceType) []string

GetInterfaceKeysByType mocks base method

func (*MockInterfaceStore) GetInterfacesByType

GetInterfacesByType mocks base method

func (*MockInterfaceStore) GetNodeTunnelInterface

func (m *MockInterfaceStore) GetNodeTunnelInterface(arg0 string) (*interfacestore.InterfaceConfig, bool)

GetNodeTunnelInterface mocks base method

func (*MockInterfaceStore) Initialize

func (m *MockInterfaceStore) Initialize(arg0 []*interfacestore.InterfaceConfig)

Initialize mocks base method

func (*MockInterfaceStore) Len

func (m *MockInterfaceStore) Len() int

Len mocks base method

type MockInterfaceStoreMockRecorder

type MockInterfaceStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceStoreMockRecorder is the mock recorder for MockInterfaceStore

func (*MockInterfaceStoreMockRecorder) AddInterface

func (mr *MockInterfaceStoreMockRecorder) AddInterface(arg0 interface{}) *gomock.Call

AddInterface indicates an expected call of AddInterface

func (*MockInterfaceStoreMockRecorder) DeleteInterface

func (mr *MockInterfaceStoreMockRecorder) DeleteInterface(arg0 interface{}) *gomock.Call

DeleteInterface indicates an expected call of DeleteInterface

func (*MockInterfaceStoreMockRecorder) GetContainerInterface

func (mr *MockInterfaceStoreMockRecorder) GetContainerInterface(arg0 interface{}) *gomock.Call

GetContainerInterface indicates an expected call of GetContainerInterface

func (*MockInterfaceStoreMockRecorder) GetContainerInterfaceNum

func (mr *MockInterfaceStoreMockRecorder) GetContainerInterfaceNum() *gomock.Call

GetContainerInterfaceNum indicates an expected call of GetContainerInterfaceNum

func (*MockInterfaceStoreMockRecorder) GetContainerInterfacesByPod added in v0.7.2

func (mr *MockInterfaceStoreMockRecorder) GetContainerInterfacesByPod(arg0, arg1 interface{}) *gomock.Call

GetContainerInterfacesByPod indicates an expected call of GetContainerInterfacesByPod

func (*MockInterfaceStoreMockRecorder) GetInterface

func (mr *MockInterfaceStoreMockRecorder) GetInterface(arg0 interface{}) *gomock.Call

GetInterface indicates an expected call of GetInterface

func (*MockInterfaceStoreMockRecorder) GetInterfaceByIP added in v0.9.0

func (mr *MockInterfaceStoreMockRecorder) GetInterfaceByIP(arg0 interface{}) *gomock.Call

GetInterfaceByIP indicates an expected call of GetInterfaceByIP

func (*MockInterfaceStoreMockRecorder) GetInterfaceByName added in v0.7.0

func (mr *MockInterfaceStoreMockRecorder) GetInterfaceByName(arg0 interface{}) *gomock.Call

GetInterfaceByName indicates an expected call of GetInterfaceByName

func (*MockInterfaceStoreMockRecorder) GetInterfaceKeysByType

func (mr *MockInterfaceStoreMockRecorder) GetInterfaceKeysByType(arg0 interface{}) *gomock.Call

GetInterfaceKeysByType indicates an expected call of GetInterfaceKeysByType

func (*MockInterfaceStoreMockRecorder) GetInterfacesByType

func (mr *MockInterfaceStoreMockRecorder) GetInterfacesByType(arg0 interface{}) *gomock.Call

GetInterfacesByType indicates an expected call of GetInterfacesByType

func (*MockInterfaceStoreMockRecorder) GetNodeTunnelInterface

func (mr *MockInterfaceStoreMockRecorder) GetNodeTunnelInterface(arg0 interface{}) *gomock.Call

GetNodeTunnelInterface indicates an expected call of GetNodeTunnelInterface

func (*MockInterfaceStoreMockRecorder) Initialize

func (mr *MockInterfaceStoreMockRecorder) Initialize(arg0 interface{}) *gomock.Call

Initialize indicates an expected call of Initialize

func (*MockInterfaceStoreMockRecorder) Len

Len indicates an expected call of Len

Jump to

Keyboard shortcuts

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