Documentation ¶
Overview ¶
Package mocknetnswrapper is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetNS(nsName string) (ns.NetNS, error)
- func (m *MockInterface) GetNSByPath(nsPath string) (ns.NetNS, error)
- func (m *MockInterface) ListNS() ([]string, error)
- func (m *MockInterface) NewNS(nsName string) (ns.NetNS, error)
- func (m *MockInterface) UnmountNS(nsName string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) GetNS(nsName interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetNSByPath(nsPath interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListNS() *gomock.Call
- func (mr *MockInterfaceMockRecorder) NewNS(nsName interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UnmountNS(nsName interface{}) *gomock.Call
- type MockNetNS
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) GetNS ¶
func (m *MockInterface) GetNS(nsName string) (ns.NetNS, error)
GetNS mocks base method.
func (*MockInterface) GetNSByPath ¶
func (m *MockInterface) GetNSByPath(nsPath string) (ns.NetNS, error)
GetNSByPath mocks base method.
func (*MockInterface) ListNS ¶
func (m *MockInterface) ListNS() ([]string, error)
ListNS mocks base method.
func (*MockInterface) NewNS ¶
func (m *MockInterface) NewNS(nsName string) (ns.NetNS, error)
NewNS mocks base method.
func (*MockInterface) UnmountNS ¶
func (m *MockInterface) UnmountNS(nsName string) error
UnmountNS mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) GetNS ¶
func (mr *MockInterfaceMockRecorder) GetNS(nsName interface{}) *gomock.Call
GetNS indicates an expected call of GetNS.
func (*MockInterfaceMockRecorder) GetNSByPath ¶
func (mr *MockInterfaceMockRecorder) GetNSByPath(nsPath interface{}) *gomock.Call
GetNSByPath indicates an expected call of GetNSByPath.
func (*MockInterfaceMockRecorder) ListNS ¶
func (mr *MockInterfaceMockRecorder) ListNS() *gomock.Call
ListNS indicates an expected call of ListNS.
func (*MockInterfaceMockRecorder) NewNS ¶
func (mr *MockInterfaceMockRecorder) NewNS(nsName interface{}) *gomock.Call
NewNS indicates an expected call of NewNS.
func (*MockInterfaceMockRecorder) UnmountNS ¶
func (mr *MockInterfaceMockRecorder) UnmountNS(nsName interface{}) *gomock.Call
UnmountNS indicates an expected call of UnmountNS.