Documentation ¶
Overview ¶
Package mock_ovs is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) CreateOVSBridge(ctx context.Context, conf *v1.OVSConfigExt) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetOVSBridges(ctx context.Context) ([]v1.OVSConfigExt, error)
- func (m *MockInterface) RemoveInterfaceFromOVSBridge(ctx context.Context, ifaceAddr string) error
- func (m *MockInterface) RemoveOVSBridge(ctx context.Context, bridgeName string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) CreateOVSBridge(ctx, conf interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetOVSBridges(ctx interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RemoveInterfaceFromOVSBridge(ctx, ifaceAddr interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RemoveOVSBridge(ctx, bridgeName 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) CreateOVSBridge ¶
func (m *MockInterface) CreateOVSBridge(ctx context.Context, conf *v1.OVSConfigExt) error
CreateOVSBridge 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) GetOVSBridges ¶
func (m *MockInterface) GetOVSBridges(ctx context.Context) ([]v1.OVSConfigExt, error)
GetOVSBridges mocks base method.
func (*MockInterface) RemoveInterfaceFromOVSBridge ¶
func (m *MockInterface) RemoveInterfaceFromOVSBridge(ctx context.Context, ifaceAddr string) error
RemoveInterfaceFromOVSBridge mocks base method.
func (*MockInterface) RemoveOVSBridge ¶
func (m *MockInterface) RemoveOVSBridge(ctx context.Context, bridgeName string) error
RemoveOVSBridge mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) CreateOVSBridge ¶
func (mr *MockInterfaceMockRecorder) CreateOVSBridge(ctx, conf interface{}) *gomock.Call
CreateOVSBridge indicates an expected call of CreateOVSBridge.
func (*MockInterfaceMockRecorder) GetOVSBridges ¶
func (mr *MockInterfaceMockRecorder) GetOVSBridges(ctx interface{}) *gomock.Call
GetOVSBridges indicates an expected call of GetOVSBridges.
func (*MockInterfaceMockRecorder) RemoveInterfaceFromOVSBridge ¶
func (mr *MockInterfaceMockRecorder) RemoveInterfaceFromOVSBridge(ctx, ifaceAddr interface{}) *gomock.Call
RemoveInterfaceFromOVSBridge indicates an expected call of RemoveInterfaceFromOVSBridge.
func (*MockInterfaceMockRecorder) RemoveOVSBridge ¶
func (mr *MockInterfaceMockRecorder) RemoveOVSBridge(ctx, bridgeName interface{}) *gomock.Call
RemoveOVSBridge indicates an expected call of RemoveOVSBridge.