testing

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 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) DumpFlows

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

DumpFlows mocks base method

func (*MockOVSCtlClient) DumpGroups

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

DumpGroups mocks base method

func (*MockOVSCtlClient) DumpMatchedFlow

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

DumpMatchedFlow mocks base method

func (*MockOVSCtlClient) DumpPortsDesc added in v0.10.0

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) RunAppctlCmd added in v0.9.0

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 added in v0.9.0

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) DumpFlows

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

DumpFlows indicates an expected call of DumpFlows

func (*MockOVSCtlClientMockRecorder) DumpGroups

func (mr *MockOVSCtlClientMockRecorder) DumpGroups(arg0 ...interface{}) *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 added in v0.10.0

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) RunAppctlCmd added in v0.9.0

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 added in v0.9.0

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

Jump to

Keyboard shortcuts

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