testing

package
Version: v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 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 MockOVSCtlClient

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

MockOVSCtlClient is a mock of OVSCtlClient interface

func NewMockOVSCtlClient

func NewMockOVSCtlClient(ctrl *gomock.Controller) *MockOVSCtlClient

NewMockOVSCtlClient creates a new mock instance

func (*MockOVSCtlClient) DeleteDPInterface added in v1.8.0

func (m *MockOVSCtlClient) DeleteDPInterface(arg0 string) error

DeleteDPInterface mocks base method

func (*MockOVSCtlClient) DumpFlows

func (m *MockOVSCtlClient) DumpFlows(arg0 ...string) ([]string, error)

DumpFlows mocks base method

func (*MockOVSCtlClient) DumpFlowsWithoutTableNames added in v1.4.0

func (m *MockOVSCtlClient) DumpFlowsWithoutTableNames(arg0 ...string) ([]string, error)

DumpFlowsWithoutTableNames mocks base method

func (*MockOVSCtlClient) DumpGroup

func (m *MockOVSCtlClient) DumpGroup(arg0 uint32) (string, error)

DumpGroup mocks base method

func (*MockOVSCtlClient) DumpGroups

func (m *MockOVSCtlClient) DumpGroups() ([]string, error)

DumpGroups mocks base method

func (*MockOVSCtlClient) DumpMatchedFlow

func (m *MockOVSCtlClient) DumpMatchedFlow(arg0 string) (string, error)

DumpMatchedFlow mocks base method

func (*MockOVSCtlClient) DumpPortsDesc

func (m *MockOVSCtlClient) DumpPortsDesc() ([][]string, error)

DumpPortsDesc mocks base method

func (*MockOVSCtlClient) DumpTableFlows

func (m *MockOVSCtlClient) DumpTableFlows(arg0 byte) ([]string, error)

DumpTableFlows mocks base method

func (*MockOVSCtlClient) EXPECT

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

func (*MockOVSCtlClient) GetDPFeatures added in v1.3.0

func (m *MockOVSCtlClient) GetDPFeatures() (map[ovsctl.DPFeature]bool, error)

GetDPFeatures mocks base method

func (*MockOVSCtlClient) RunAppctlCmd

func (m *MockOVSCtlClient) RunAppctlCmd(arg0 string, arg1 bool, arg2 ...string) ([]byte, *ovsctl.ExecError)

RunAppctlCmd mocks base method

func (*MockOVSCtlClient) RunOfctlCmd

func (m *MockOVSCtlClient) RunOfctlCmd(arg0 string, arg1 ...string) ([]byte, error)

RunOfctlCmd mocks base method

func (*MockOVSCtlClient) SetPortNoFlood

func (m *MockOVSCtlClient) SetPortNoFlood(arg0 int) error

SetPortNoFlood mocks base method

func (*MockOVSCtlClient) Trace

func (m *MockOVSCtlClient) Trace(arg0 *ovsctl.TracingRequest) (string, error)

Trace mocks base method

type MockOVSCtlClientMockRecorder

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

MockOVSCtlClientMockRecorder is the mock recorder for MockOVSCtlClient

func (*MockOVSCtlClientMockRecorder) DeleteDPInterface added in v1.8.0

func (mr *MockOVSCtlClientMockRecorder) DeleteDPInterface(arg0 interface{}) *gomock.Call

DeleteDPInterface indicates an expected call of DeleteDPInterface

func (*MockOVSCtlClientMockRecorder) DumpFlows

func (mr *MockOVSCtlClientMockRecorder) DumpFlows(arg0 ...interface{}) *gomock.Call

DumpFlows indicates an expected call of DumpFlows

func (*MockOVSCtlClientMockRecorder) DumpFlowsWithoutTableNames added in v1.4.0

func (mr *MockOVSCtlClientMockRecorder) DumpFlowsWithoutTableNames(arg0 ...interface{}) *gomock.Call

DumpFlowsWithoutTableNames indicates an expected call of DumpFlowsWithoutTableNames

func (*MockOVSCtlClientMockRecorder) DumpGroup

func (mr *MockOVSCtlClientMockRecorder) DumpGroup(arg0 interface{}) *gomock.Call

DumpGroup indicates an expected call of DumpGroup

func (*MockOVSCtlClientMockRecorder) DumpGroups

func (mr *MockOVSCtlClientMockRecorder) DumpGroups() *gomock.Call

DumpGroups indicates an expected call of DumpGroups

func (*MockOVSCtlClientMockRecorder) DumpMatchedFlow

func (mr *MockOVSCtlClientMockRecorder) DumpMatchedFlow(arg0 interface{}) *gomock.Call

DumpMatchedFlow indicates an expected call of DumpMatchedFlow

func (*MockOVSCtlClientMockRecorder) DumpPortsDesc

func (mr *MockOVSCtlClientMockRecorder) DumpPortsDesc() *gomock.Call

DumpPortsDesc indicates an expected call of DumpPortsDesc

func (*MockOVSCtlClientMockRecorder) DumpTableFlows

func (mr *MockOVSCtlClientMockRecorder) DumpTableFlows(arg0 interface{}) *gomock.Call

DumpTableFlows indicates an expected call of DumpTableFlows

func (*MockOVSCtlClientMockRecorder) GetDPFeatures added in v1.3.0

func (mr *MockOVSCtlClientMockRecorder) GetDPFeatures() *gomock.Call

GetDPFeatures indicates an expected call of GetDPFeatures

func (*MockOVSCtlClientMockRecorder) RunAppctlCmd

func (mr *MockOVSCtlClientMockRecorder) RunAppctlCmd(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RunAppctlCmd indicates an expected call of RunAppctlCmd

func (*MockOVSCtlClientMockRecorder) RunOfctlCmd

func (mr *MockOVSCtlClientMockRecorder) RunOfctlCmd(arg0 interface{}, arg1 ...interface{}) *gomock.Call

RunOfctlCmd indicates an expected call of RunOfctlCmd

func (*MockOVSCtlClientMockRecorder) SetPortNoFlood

func (mr *MockOVSCtlClientMockRecorder) SetPortNoFlood(arg0 interface{}) *gomock.Call

SetPortNoFlood indicates an expected call of SetPortNoFlood

func (*MockOVSCtlClientMockRecorder) Trace

func (mr *MockOVSCtlClientMockRecorder) Trace(arg0 interface{}) *gomock.Call

Trace indicates an expected call of Trace

Source Files

Jump to

Keyboard shortcuts

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