testing

package
v0.1.0 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: 5 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

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 MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) AddPolicyRuleAddress

func (m *MockClient) AddPolicyRuleAddress(arg0 uint32, arg1 types.AddressType, arg2 []types.Address) error

AddPolicyRuleAddress mocks base method

func (*MockClient) DeletePolicyRuleAddress

func (m *MockClient) DeletePolicyRuleAddress(arg0 uint32, arg1 types.AddressType, arg2 []types.Address) error

DeletePolicyRuleAddress mocks base method

func (*MockClient) Disconnect

func (m *MockClient) Disconnect() error

Disconnect mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetFlowTableStatus

func (m *MockClient) GetFlowTableStatus() []openflow.TableStatus

GetFlowTableStatus mocks base method

func (*MockClient) Initialize

func (m *MockClient) Initialize() error

Initialize mocks base method

func (*MockClient) InstallClusterServiceCIDRFlows

func (m *MockClient) InstallClusterServiceCIDRFlows(arg0 *net.IPNet, arg1 uint32) error

InstallClusterServiceCIDRFlows mocks base method

func (*MockClient) InstallGatewayFlows

func (m *MockClient) InstallGatewayFlows(arg0 net.IP, arg1 net.HardwareAddr, arg2 uint32) error

InstallGatewayFlows mocks base method

func (*MockClient) InstallNodeFlows

func (m *MockClient) InstallNodeFlows(arg0 string, arg1 net.HardwareAddr, arg2 net.IP, arg3 net.IPNet, arg4 net.IP) error

InstallNodeFlows mocks base method

func (*MockClient) InstallPodFlows

func (m *MockClient) InstallPodFlows(arg0 string, arg1 net.IP, arg2, arg3 net.HardwareAddr, arg4 uint32) error

InstallPodFlows mocks base method

func (*MockClient) InstallPolicyRuleFlows

func (m *MockClient) InstallPolicyRuleFlows(arg0 *types.PolicyRule) error

InstallPolicyRuleFlows mocks base method

func (*MockClient) InstallTunnelFlows

func (m *MockClient) InstallTunnelFlows(arg0 uint32) error

InstallTunnelFlows mocks base method

func (*MockClient) UninstallNodeFlows

func (m *MockClient) UninstallNodeFlows(arg0 string) error

UninstallNodeFlows mocks base method

func (*MockClient) UninstallPodFlows

func (m *MockClient) UninstallPodFlows(arg0 string) error

UninstallPodFlows mocks base method

func (*MockClient) UninstallPolicyRuleFlows

func (m *MockClient) UninstallPolicyRuleFlows(arg0 uint32) error

UninstallPolicyRuleFlows mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) AddPolicyRuleAddress

func (mr *MockClientMockRecorder) AddPolicyRuleAddress(arg0, arg1, arg2 interface{}) *gomock.Call

AddPolicyRuleAddress indicates an expected call of AddPolicyRuleAddress

func (*MockClientMockRecorder) DeletePolicyRuleAddress

func (mr *MockClientMockRecorder) DeletePolicyRuleAddress(arg0, arg1, arg2 interface{}) *gomock.Call

DeletePolicyRuleAddress indicates an expected call of DeletePolicyRuleAddress

func (*MockClientMockRecorder) Disconnect

func (mr *MockClientMockRecorder) Disconnect() *gomock.Call

Disconnect indicates an expected call of Disconnect

func (*MockClientMockRecorder) GetFlowTableStatus

func (mr *MockClientMockRecorder) GetFlowTableStatus() *gomock.Call

GetFlowTableStatus indicates an expected call of GetFlowTableStatus

func (*MockClientMockRecorder) Initialize

func (mr *MockClientMockRecorder) Initialize() *gomock.Call

Initialize indicates an expected call of Initialize

func (*MockClientMockRecorder) InstallClusterServiceCIDRFlows

func (mr *MockClientMockRecorder) InstallClusterServiceCIDRFlows(arg0, arg1 interface{}) *gomock.Call

InstallClusterServiceCIDRFlows indicates an expected call of InstallClusterServiceCIDRFlows

func (*MockClientMockRecorder) InstallGatewayFlows

func (mr *MockClientMockRecorder) InstallGatewayFlows(arg0, arg1, arg2 interface{}) *gomock.Call

InstallGatewayFlows indicates an expected call of InstallGatewayFlows

func (*MockClientMockRecorder) InstallNodeFlows

func (mr *MockClientMockRecorder) InstallNodeFlows(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

InstallNodeFlows indicates an expected call of InstallNodeFlows

func (*MockClientMockRecorder) InstallPodFlows

func (mr *MockClientMockRecorder) InstallPodFlows(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

InstallPodFlows indicates an expected call of InstallPodFlows

func (*MockClientMockRecorder) InstallPolicyRuleFlows

func (mr *MockClientMockRecorder) InstallPolicyRuleFlows(arg0 interface{}) *gomock.Call

InstallPolicyRuleFlows indicates an expected call of InstallPolicyRuleFlows

func (*MockClientMockRecorder) InstallTunnelFlows

func (mr *MockClientMockRecorder) InstallTunnelFlows(arg0 interface{}) *gomock.Call

InstallTunnelFlows indicates an expected call of InstallTunnelFlows

func (*MockClientMockRecorder) UninstallNodeFlows

func (mr *MockClientMockRecorder) UninstallNodeFlows(arg0 interface{}) *gomock.Call

UninstallNodeFlows indicates an expected call of UninstallNodeFlows

func (*MockClientMockRecorder) UninstallPodFlows

func (mr *MockClientMockRecorder) UninstallPodFlows(arg0 interface{}) *gomock.Call

UninstallPodFlows indicates an expected call of UninstallPodFlows

func (*MockClientMockRecorder) UninstallPolicyRuleFlows

func (mr *MockClientMockRecorder) UninstallPolicyRuleFlows(arg0 interface{}) *gomock.Call

UninstallPolicyRuleFlows indicates an expected call of UninstallPolicyRuleFlows

type MockFlowOperations

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

MockFlowOperations is a mock of FlowOperations interface

func NewMockFlowOperations

func NewMockFlowOperations(ctrl *gomock.Controller) *MockFlowOperations

NewMockFlowOperations creates a new mock instance

func (*MockFlowOperations) Add

func (m *MockFlowOperations) Add(arg0 openflow.Flow) error

Add mocks base method

func (*MockFlowOperations) Delete

func (m *MockFlowOperations) Delete(arg0 openflow.Flow) error

Delete mocks base method

func (*MockFlowOperations) EXPECT

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

func (*MockFlowOperations) Modify

func (m *MockFlowOperations) Modify(arg0 openflow.Flow) error

Modify mocks base method

type MockFlowOperationsMockRecorder

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

MockFlowOperationsMockRecorder is the mock recorder for MockFlowOperations

func (*MockFlowOperationsMockRecorder) Add

func (mr *MockFlowOperationsMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockFlowOperationsMockRecorder) Delete

func (mr *MockFlowOperationsMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockFlowOperationsMockRecorder) Modify

func (mr *MockFlowOperationsMockRecorder) Modify(arg0 interface{}) *gomock.Call

Modify indicates an expected call of Modify

Jump to

Keyboard shortcuts

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