Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockOfctlClient
- func (m *MockOfctlClient) DumpFlows(arg0 ...string) ([]string, error)
- func (m *MockOfctlClient) DumpGroups(arg0 ...string) ([][]string, error)
- func (m *MockOfctlClient) DumpMatchedFlow(arg0 string) (string, error)
- func (m *MockOfctlClient) DumpTableFlows(arg0 byte) ([]string, error)
- func (m *MockOfctlClient) EXPECT() *MockOfctlClientMockRecorder
- func (m *MockOfctlClient) RunOfctlCmd(arg0 string, arg1 ...string) ([]byte, error)
- type MockOfctlClientMockRecorder
- func (mr *MockOfctlClientMockRecorder) DumpFlows(arg0 ...interface{}) *gomock.Call
- func (mr *MockOfctlClientMockRecorder) DumpGroups(arg0 ...interface{}) *gomock.Call
- func (mr *MockOfctlClientMockRecorder) DumpMatchedFlow(arg0 interface{}) *gomock.Call
- func (mr *MockOfctlClientMockRecorder) DumpTableFlows(arg0 interface{}) *gomock.Call
- func (mr *MockOfctlClientMockRecorder) RunOfctlCmd(arg0 interface{}, arg1 ...interface{}) *gomock.Call
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 ¶
func (m *MockOfctlClient) EXPECT() *MockOfctlClientMockRecorder
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