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 MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetCurrentNS ¶
func (m *MockInterface) GetCurrentNS() (ns.NetNS, error)
GetCurrentNS mocks base method.
func (*MockInterface) GetNS ¶
func (m *MockInterface) GetNS(arg0 string) (ns.NetNS, error)
GetNS mocks base method.
func (*MockInterface) WithNetNSPath ¶
WithNetNSPath mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) GetCurrentNS ¶
func (mr *MockInterfaceMockRecorder) GetCurrentNS() *gomock.Call
GetCurrentNS indicates an expected call of GetCurrentNS.
func (*MockInterfaceMockRecorder) GetNS ¶
func (mr *MockInterfaceMockRecorder) GetNS(arg0 interface{}) *gomock.Call
GetNS indicates an expected call of GetNS.
func (*MockInterfaceMockRecorder) WithNetNSPath ¶
func (mr *MockInterfaceMockRecorder) WithNetNSPath(arg0, arg1 interface{}) *gomock.Call
WithNetNSPath indicates an expected call of WithNetNSPath.
Click to show internal directories.
Click to hide internal directories.