Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockInterfaceStore
- func (m *MockInterfaceStore) AddInterface(arg0 *interfacestore.InterfaceConfig)
- func (m *MockInterfaceStore) DeleteInterface(arg0 *interfacestore.InterfaceConfig)
- func (m *MockInterfaceStore) EXPECT() *MockInterfaceStoreMockRecorder
- func (m *MockInterfaceStore) GetContainerInterface(arg0 string) (*interfacestore.InterfaceConfig, bool)
- func (m *MockInterfaceStore) GetContainerInterfaceNum() int
- func (m *MockInterfaceStore) GetContainerInterfacesByPod(arg0, arg1 string) []*interfacestore.InterfaceConfig
- func (m *MockInterfaceStore) GetInterface(arg0 string) (*interfacestore.InterfaceConfig, bool)
- func (m *MockInterfaceStore) GetInterfaceByIP(arg0 string) (*interfacestore.InterfaceConfig, bool)
- func (m *MockInterfaceStore) GetInterfaceByName(arg0 string) (*interfacestore.InterfaceConfig, bool)
- func (m *MockInterfaceStore) GetInterfaceByOFPort(arg0 uint32) (*interfacestore.InterfaceConfig, bool)
- func (m *MockInterfaceStore) GetInterfaceKeysByType(arg0 interfacestore.InterfaceType) []string
- func (m *MockInterfaceStore) GetInterfacesByEntity(arg0, arg1 string) []*interfacestore.InterfaceConfig
- func (m *MockInterfaceStore) GetInterfacesByType(arg0 interfacestore.InterfaceType) []*interfacestore.InterfaceConfig
- func (m *MockInterfaceStore) GetNodeTunnelInterface(arg0 string) (*interfacestore.InterfaceConfig, bool)
- func (m *MockInterfaceStore) Initialize(arg0 []*interfacestore.InterfaceConfig)
- func (m *MockInterfaceStore) Len() int
- type MockInterfaceStoreMockRecorder
- func (mr *MockInterfaceStoreMockRecorder) AddInterface(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) DeleteInterface(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetContainerInterface(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetContainerInterfaceNum() *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetContainerInterfacesByPod(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetInterface(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetInterfaceByIP(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetInterfaceByName(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetInterfaceByOFPort(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetInterfaceKeysByType(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetInterfacesByEntity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetInterfacesByType(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) GetNodeTunnelInterface(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) Initialize(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceStoreMockRecorder) Len() *gomock.Call
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 ¶
func (m *MockInterfaceStore) EXPECT() *MockInterfaceStoreMockRecorder
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 ¶
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 ¶
func (m *MockInterfaceStore) GetInterfaceByIP(arg0 string) (*interfacestore.InterfaceConfig, bool)
GetInterfaceByIP mocks base method
func (*MockInterfaceStore) GetInterfaceByName ¶
func (m *MockInterfaceStore) GetInterfaceByName(arg0 string) (*interfacestore.InterfaceConfig, bool)
GetInterfaceByName mocks base method
func (*MockInterfaceStore) GetInterfaceByOFPort ¶ added in v1.5.0
func (m *MockInterfaceStore) GetInterfaceByOFPort(arg0 uint32) (*interfacestore.InterfaceConfig, bool)
GetInterfaceByOFPort mocks base method
func (*MockInterfaceStore) GetInterfaceKeysByType ¶
func (m *MockInterfaceStore) GetInterfaceKeysByType(arg0 interfacestore.InterfaceType) []string
GetInterfaceKeysByType mocks base method
func (*MockInterfaceStore) GetInterfacesByEntity ¶
func (m *MockInterfaceStore) GetInterfacesByEntity(arg0, arg1 string) []*interfacestore.InterfaceConfig
GetInterfacesByEntity mocks base method
func (*MockInterfaceStore) GetInterfacesByType ¶
func (m *MockInterfaceStore) GetInterfacesByType(arg0 interfacestore.InterfaceType) []*interfacestore.InterfaceConfig
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
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 ¶
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 ¶
func (mr *MockInterfaceStoreMockRecorder) GetInterfaceByIP(arg0 interface{}) *gomock.Call
GetInterfaceByIP indicates an expected call of GetInterfaceByIP
func (*MockInterfaceStoreMockRecorder) GetInterfaceByName ¶
func (mr *MockInterfaceStoreMockRecorder) GetInterfaceByName(arg0 interface{}) *gomock.Call
GetInterfaceByName indicates an expected call of GetInterfaceByName
func (*MockInterfaceStoreMockRecorder) GetInterfaceByOFPort ¶ added in v1.5.0
func (mr *MockInterfaceStoreMockRecorder) GetInterfaceByOFPort(arg0 interface{}) *gomock.Call
GetInterfaceByOFPort indicates an expected call of GetInterfaceByOFPort
func (*MockInterfaceStoreMockRecorder) GetInterfaceKeysByType ¶
func (mr *MockInterfaceStoreMockRecorder) GetInterfaceKeysByType(arg0 interface{}) *gomock.Call
GetInterfaceKeysByType indicates an expected call of GetInterfaceKeysByType
func (*MockInterfaceStoreMockRecorder) GetInterfacesByEntity ¶
func (mr *MockInterfaceStoreMockRecorder) GetInterfacesByEntity(arg0, arg1 interface{}) *gomock.Call
GetInterfacesByEntity indicates an expected call of GetInterfacesByEntity
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 ¶
func (mr *MockInterfaceStoreMockRecorder) Len() *gomock.Call
Len indicates an expected call of Len