mock_ovs

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ovs 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) CreateOVSBridge

func (m *MockInterface) CreateOVSBridge(ctx context.Context, conf *v1.OVSConfigExt) error

CreateOVSBridge mocks base method.

func (*MockInterface) EXPECT

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.

Jump to

Keyboard shortcuts

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