testing

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 2 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 MockOfctlClient

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

MockOfctlClient is a mock of OfctlClient interface

func NewMockOfctlClient

func NewMockOfctlClient(ctrl *gomock.Controller) *MockOfctlClient

NewMockOfctlClient creates a new mock instance

func (*MockOfctlClient) DumpFlows

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

DumpFlows mocks base method

func (*MockOfctlClient) DumpGroups

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

DumpGroups mocks base method

func (*MockOfctlClient) DumpMatchedFlow

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

DumpMatchedFlow mocks base method

func (*MockOfctlClient) DumpTableFlows

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

DumpTableFlows mocks base method

func (*MockOfctlClient) EXPECT

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

func (*MockOfctlClient) RunOfctlCmd

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

RunOfctlCmd mocks base method

type MockOfctlClientMockRecorder

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

MockOfctlClientMockRecorder is the mock recorder for MockOfctlClient

func (*MockOfctlClientMockRecorder) DumpFlows

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

DumpFlows indicates an expected call of DumpFlows

func (*MockOfctlClientMockRecorder) DumpGroups

func (mr *MockOfctlClientMockRecorder) DumpGroups(arg0 ...interface{}) *gomock.Call

DumpGroups indicates an expected call of DumpGroups

func (*MockOfctlClientMockRecorder) DumpMatchedFlow

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

DumpMatchedFlow indicates an expected call of DumpMatchedFlow

func (*MockOfctlClientMockRecorder) DumpTableFlows

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

DumpTableFlows indicates an expected call of DumpTableFlows

func (*MockOfctlClientMockRecorder) RunOfctlCmd

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

RunOfctlCmd indicates an expected call of RunOfctlCmd

Jump to

Keyboard shortcuts

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