Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockOVSBridgeClient
- func (m *MockOVSBridgeClient) AddOVSOtherConfig(arg0 map[string]interface{}) ovsconfig.Error
- func (m *MockOVSBridgeClient) Create() ovsconfig.Error
- func (m *MockOVSBridgeClient) CreateInternalPort(arg0 string, arg1 int32, arg2 map[string]interface{}) (string, ovsconfig.Error)
- func (m *MockOVSBridgeClient) CreatePort(arg0, arg1 string, arg2 map[string]interface{}) (string, ovsconfig.Error)
- func (m *MockOVSBridgeClient) CreateTunnelPort(arg0 string, arg1 ovsconfig.TunnelType, arg2 int32) (string, ovsconfig.Error)
- func (m *MockOVSBridgeClient) CreateTunnelPortExt(arg0 string, arg1 ovsconfig.TunnelType, arg2 int32, arg3, arg4, arg5 string, ...) (string, ovsconfig.Error)
- func (m *MockOVSBridgeClient) CreateUplinkPort(arg0 string, arg1 int32, arg2 map[string]interface{}) (string, ovsconfig.Error)
- func (m *MockOVSBridgeClient) Delete() ovsconfig.Error
- func (m *MockOVSBridgeClient) DeleteOVSOtherConfig(arg0 map[string]interface{}) ovsconfig.Error
- func (m *MockOVSBridgeClient) DeletePort(arg0 string) ovsconfig.Error
- func (m *MockOVSBridgeClient) DeletePorts(arg0 []string) ovsconfig.Error
- func (m *MockOVSBridgeClient) EXPECT() *MockOVSBridgeClientMockRecorder
- func (m *MockOVSBridgeClient) GetBridgeName() string
- func (m *MockOVSBridgeClient) GetExternalIDs() (map[string]string, ovsconfig.Error)
- func (m *MockOVSBridgeClient) GetOFPort(arg0 string) (int32, ovsconfig.Error)
- func (m *MockOVSBridgeClient) GetOVSOtherConfig() (map[string]string, ovsconfig.Error)
- func (m *MockOVSBridgeClient) GetOVSVersion() (string, ovsconfig.Error)
- func (m *MockOVSBridgeClient) GetPortData(arg0, arg1 string) (*ovsconfig.OVSPortData, ovsconfig.Error)
- func (m *MockOVSBridgeClient) GetPortList() ([]ovsconfig.OVSPortData, ovsconfig.Error)
- func (m *MockOVSBridgeClient) SetDatapathID(arg0 string) ovsconfig.Error
- func (m *MockOVSBridgeClient) SetExternalIDs(arg0 map[string]interface{}) ovsconfig.Error
- func (m *MockOVSBridgeClient) SetInterfaceMTU(arg0 string, arg1 int) error
- type MockOVSBridgeClientMockRecorder
- func (mr *MockOVSBridgeClientMockRecorder) AddOVSOtherConfig(arg0 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) Create() *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) CreateInternalPort(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) CreatePort(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) CreateTunnelPort(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) CreateTunnelPortExt(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) CreateUplinkPort(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) Delete() *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) DeleteOVSOtherConfig(arg0 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) DeletePort(arg0 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) DeletePorts(arg0 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) GetBridgeName() *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) GetExternalIDs() *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) GetOFPort(arg0 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) GetOVSOtherConfig() *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) GetOVSVersion() *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) GetPortData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) GetPortList() *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) SetDatapathID(arg0 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) SetExternalIDs(arg0 interface{}) *gomock.Call
- func (mr *MockOVSBridgeClientMockRecorder) SetInterfaceMTU(arg0, arg1 interface{}) *gomock.Call
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) AddOVSOtherConfig ¶ added in v0.6.0
func (m *MockOVSBridgeClient) AddOVSOtherConfig(arg0 map[string]interface{}) ovsconfig.Error
AddOVSOtherConfig mocks base method
func (*MockOVSBridgeClient) Create ¶
func (m *MockOVSBridgeClient) Create() ovsconfig.Error
Create 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) CreateTunnelPort ¶ added in v0.2.0
func (m *MockOVSBridgeClient) CreateTunnelPort(arg0 string, arg1 ovsconfig.TunnelType, arg2 int32) (string, ovsconfig.Error)
CreateTunnelPort mocks base method
func (*MockOVSBridgeClient) CreateTunnelPortExt ¶ added in v0.2.0
func (m *MockOVSBridgeClient) CreateTunnelPortExt(arg0 string, arg1 ovsconfig.TunnelType, arg2 int32, arg3, arg4, arg5 string, arg6 map[string]interface{}) (string, ovsconfig.Error)
CreateTunnelPortExt mocks base method
func (*MockOVSBridgeClient) CreateUplinkPort ¶ added in v0.7.0
func (m *MockOVSBridgeClient) CreateUplinkPort(arg0 string, arg1 int32, arg2 map[string]interface{}) (string, ovsconfig.Error)
CreateUplinkPort mocks base method
func (*MockOVSBridgeClient) Delete ¶
func (m *MockOVSBridgeClient) Delete() ovsconfig.Error
Delete mocks base method
func (*MockOVSBridgeClient) DeleteOVSOtherConfig ¶ added in v0.6.0
func (m *MockOVSBridgeClient) DeleteOVSOtherConfig(arg0 map[string]interface{}) ovsconfig.Error
DeleteOVSOtherConfig 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 ¶
func (m *MockOVSBridgeClient) EXPECT() *MockOVSBridgeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOVSBridgeClient) GetBridgeName ¶ added in v0.7.0
func (m *MockOVSBridgeClient) GetBridgeName() string
GetBridgeName mocks base method
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) GetOVSOtherConfig ¶ added in v0.6.0
func (m *MockOVSBridgeClient) GetOVSOtherConfig() (map[string]string, ovsconfig.Error)
GetOVSOtherConfig mocks base method
func (*MockOVSBridgeClient) GetOVSVersion ¶ added in v0.2.0
func (m *MockOVSBridgeClient) GetOVSVersion() (string, ovsconfig.Error)
GetOVSVersion mocks base method
func (*MockOVSBridgeClient) GetPortData ¶
func (m *MockOVSBridgeClient) GetPortData(arg0, arg1 string) (*ovsconfig.OVSPortData, ovsconfig.Error)
GetPortData mocks base method
func (*MockOVSBridgeClient) GetPortList ¶
func (m *MockOVSBridgeClient) GetPortList() ([]ovsconfig.OVSPortData, ovsconfig.Error)
GetPortList mocks base method
func (*MockOVSBridgeClient) SetDatapathID ¶ added in v0.7.0
func (m *MockOVSBridgeClient) SetDatapathID(arg0 string) ovsconfig.Error
SetDatapathID 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) AddOVSOtherConfig ¶ added in v0.6.0
func (mr *MockOVSBridgeClientMockRecorder) AddOVSOtherConfig(arg0 interface{}) *gomock.Call
AddOVSOtherConfig indicates an expected call of AddOVSOtherConfig
func (*MockOVSBridgeClientMockRecorder) Create ¶
func (mr *MockOVSBridgeClientMockRecorder) Create() *gomock.Call
Create indicates an expected call of Create
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) CreateTunnelPort ¶ added in v0.2.0
func (mr *MockOVSBridgeClientMockRecorder) CreateTunnelPort(arg0, arg1, arg2 interface{}) *gomock.Call
CreateTunnelPort indicates an expected call of CreateTunnelPort
func (*MockOVSBridgeClientMockRecorder) CreateTunnelPortExt ¶ added in v0.2.0
func (mr *MockOVSBridgeClientMockRecorder) CreateTunnelPortExt(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
CreateTunnelPortExt indicates an expected call of CreateTunnelPortExt
func (*MockOVSBridgeClientMockRecorder) CreateUplinkPort ¶ added in v0.7.0
func (mr *MockOVSBridgeClientMockRecorder) CreateUplinkPort(arg0, arg1, arg2 interface{}) *gomock.Call
CreateUplinkPort indicates an expected call of CreateUplinkPort
func (*MockOVSBridgeClientMockRecorder) Delete ¶
func (mr *MockOVSBridgeClientMockRecorder) Delete() *gomock.Call
Delete indicates an expected call of Delete
func (*MockOVSBridgeClientMockRecorder) DeleteOVSOtherConfig ¶ added in v0.6.0
func (mr *MockOVSBridgeClientMockRecorder) DeleteOVSOtherConfig(arg0 interface{}) *gomock.Call
DeleteOVSOtherConfig indicates an expected call of DeleteOVSOtherConfig
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) GetBridgeName ¶ added in v0.7.0
func (mr *MockOVSBridgeClientMockRecorder) GetBridgeName() *gomock.Call
GetBridgeName indicates an expected call of GetBridgeName
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) GetOVSOtherConfig ¶ added in v0.6.0
func (mr *MockOVSBridgeClientMockRecorder) GetOVSOtherConfig() *gomock.Call
GetOVSOtherConfig indicates an expected call of GetOVSOtherConfig
func (*MockOVSBridgeClientMockRecorder) GetOVSVersion ¶ added in v0.2.0
func (mr *MockOVSBridgeClientMockRecorder) GetOVSVersion() *gomock.Call
GetOVSVersion indicates an expected call of GetOVSVersion
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) SetDatapathID ¶ added in v0.7.0
func (mr *MockOVSBridgeClientMockRecorder) SetDatapathID(arg0 interface{}) *gomock.Call
SetDatapathID indicates an expected call of SetDatapathID
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