testing

package
v0.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 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 MockOVSBridgeClient

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

MockOVSBridgeClient is a mock of OVSBridgeClient interface

func NewMockOVSBridgeClient

func NewMockOVSBridgeClient(ctrl *gomock.Controller) *MockOVSBridgeClient

NewMockOVSBridgeClient creates a new mock instance

func (*MockOVSBridgeClient) Create

func (m *MockOVSBridgeClient) Create() ovsconfig.Error

Create mocks base method

func (*MockOVSBridgeClient) CreateGenevePort

func (m *MockOVSBridgeClient) CreateGenevePort(arg0 string, arg1 int32, arg2 string) (string, ovsconfig.Error)

CreateGenevePort mocks base method

func (*MockOVSBridgeClient) CreateInternalPort

func (m *MockOVSBridgeClient) CreateInternalPort(arg0 string, arg1 int32, arg2 map[string]interface{}) (string, ovsconfig.Error)

CreateInternalPort mocks base method

func (*MockOVSBridgeClient) CreatePort

func (m *MockOVSBridgeClient) CreatePort(arg0, arg1 string, arg2 map[string]interface{}) (string, ovsconfig.Error)

CreatePort mocks base method

func (*MockOVSBridgeClient) CreateVXLANPort

func (m *MockOVSBridgeClient) CreateVXLANPort(arg0 string, arg1 int32, arg2 string) (string, ovsconfig.Error)

CreateVXLANPort mocks base method

func (*MockOVSBridgeClient) Delete

func (m *MockOVSBridgeClient) Delete() ovsconfig.Error

Delete mocks base method

func (*MockOVSBridgeClient) DeletePort

func (m *MockOVSBridgeClient) DeletePort(arg0 string) ovsconfig.Error

DeletePort mocks base method

func (*MockOVSBridgeClient) DeletePorts

func (m *MockOVSBridgeClient) DeletePorts(arg0 []string) ovsconfig.Error

DeletePorts mocks base method

func (*MockOVSBridgeClient) EXPECT

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

func (*MockOVSBridgeClient) GetExternalIDs

func (m *MockOVSBridgeClient) GetExternalIDs() (map[string]string, ovsconfig.Error)

GetExternalIDs mocks base method

func (*MockOVSBridgeClient) GetOFPort

func (m *MockOVSBridgeClient) GetOFPort(arg0 string) (int32, ovsconfig.Error)

GetOFPort mocks base method

func (*MockOVSBridgeClient) GetPortData

func (m *MockOVSBridgeClient) GetPortData(arg0, arg1 string) (*ovsconfig.OVSPortData, ovsconfig.Error)

GetPortData mocks base method

func (*MockOVSBridgeClient) GetPortList

GetPortList mocks base method

func (*MockOVSBridgeClient) SetExternalIDs

func (m *MockOVSBridgeClient) SetExternalIDs(arg0 map[string]interface{}) ovsconfig.Error

SetExternalIDs mocks base method

func (*MockOVSBridgeClient) SetInterfaceMTU

func (m *MockOVSBridgeClient) SetInterfaceMTU(arg0 string, arg1 int) error

SetInterfaceMTU mocks base method

type MockOVSBridgeClientMockRecorder

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

MockOVSBridgeClientMockRecorder is the mock recorder for MockOVSBridgeClient

func (*MockOVSBridgeClientMockRecorder) Create

Create indicates an expected call of Create

func (*MockOVSBridgeClientMockRecorder) CreateGenevePort

func (mr *MockOVSBridgeClientMockRecorder) CreateGenevePort(arg0, arg1, arg2 interface{}) *gomock.Call

CreateGenevePort indicates an expected call of CreateGenevePort

func (*MockOVSBridgeClientMockRecorder) CreateInternalPort

func (mr *MockOVSBridgeClientMockRecorder) CreateInternalPort(arg0, arg1, arg2 interface{}) *gomock.Call

CreateInternalPort indicates an expected call of CreateInternalPort

func (*MockOVSBridgeClientMockRecorder) CreatePort

func (mr *MockOVSBridgeClientMockRecorder) CreatePort(arg0, arg1, arg2 interface{}) *gomock.Call

CreatePort indicates an expected call of CreatePort

func (*MockOVSBridgeClientMockRecorder) CreateVXLANPort

func (mr *MockOVSBridgeClientMockRecorder) CreateVXLANPort(arg0, arg1, arg2 interface{}) *gomock.Call

CreateVXLANPort indicates an expected call of CreateVXLANPort

func (*MockOVSBridgeClientMockRecorder) Delete

Delete indicates an expected call of Delete

func (*MockOVSBridgeClientMockRecorder) DeletePort

func (mr *MockOVSBridgeClientMockRecorder) DeletePort(arg0 interface{}) *gomock.Call

DeletePort indicates an expected call of DeletePort

func (*MockOVSBridgeClientMockRecorder) DeletePorts

func (mr *MockOVSBridgeClientMockRecorder) DeletePorts(arg0 interface{}) *gomock.Call

DeletePorts indicates an expected call of DeletePorts

func (*MockOVSBridgeClientMockRecorder) GetExternalIDs

func (mr *MockOVSBridgeClientMockRecorder) GetExternalIDs() *gomock.Call

GetExternalIDs indicates an expected call of GetExternalIDs

func (*MockOVSBridgeClientMockRecorder) GetOFPort

func (mr *MockOVSBridgeClientMockRecorder) GetOFPort(arg0 interface{}) *gomock.Call

GetOFPort indicates an expected call of GetOFPort

func (*MockOVSBridgeClientMockRecorder) GetPortData

func (mr *MockOVSBridgeClientMockRecorder) GetPortData(arg0, arg1 interface{}) *gomock.Call

GetPortData indicates an expected call of GetPortData

func (*MockOVSBridgeClientMockRecorder) GetPortList

func (mr *MockOVSBridgeClientMockRecorder) GetPortList() *gomock.Call

GetPortList indicates an expected call of GetPortList

func (*MockOVSBridgeClientMockRecorder) SetExternalIDs

func (mr *MockOVSBridgeClientMockRecorder) SetExternalIDs(arg0 interface{}) *gomock.Call

SetExternalIDs indicates an expected call of SetExternalIDs

func (*MockOVSBridgeClientMockRecorder) SetInterfaceMTU

func (mr *MockOVSBridgeClientMockRecorder) SetInterfaceMTU(arg0, arg1 interface{}) *gomock.Call

SetInterfaceMTU indicates an expected call of SetInterfaceMTU

Jump to

Keyboard shortcuts

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