Documentation ¶
Overview ¶
Package mock_ecscni is a generated GoMock package.
Index ¶
- type MockNetNSUtil
- func (m *MockNetNSUtil) BuildResolvConfig(arg0, arg1 []string) string
- func (m *MockNetNSUtil) DelNetNS(arg0 string) error
- func (m *MockNetNSUtil) EXPECT() *MockNetNSUtilMockRecorder
- func (m *MockNetNSUtil) ExecInNSPath(arg0 string, arg1 func(ns.NetNS) error) error
- func (m *MockNetNSUtil) GetNetNSName(arg0 string) string
- func (m *MockNetNSUtil) GetNetNSPath(arg0 string) string
- func (m *MockNetNSUtil) NSExists(arg0 string) (bool, error)
- func (m *MockNetNSUtil) NewNetNS(arg0 string) error
- type MockNetNSUtilMockRecorder
- func (mr *MockNetNSUtilMockRecorder) BuildResolvConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetNSUtilMockRecorder) DelNetNS(arg0 interface{}) *gomock.Call
- func (mr *MockNetNSUtilMockRecorder) ExecInNSPath(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetNSUtilMockRecorder) GetNetNSName(arg0 interface{}) *gomock.Call
- func (mr *MockNetNSUtilMockRecorder) GetNetNSPath(arg0 interface{}) *gomock.Call
- func (mr *MockNetNSUtilMockRecorder) NSExists(arg0 interface{}) *gomock.Call
- func (mr *MockNetNSUtilMockRecorder) NewNetNS(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetNSUtil ¶
type MockNetNSUtil struct {
// contains filtered or unexported fields
}
MockNetNSUtil is a mock of NetNSUtil interface.
func NewMockNetNSUtil ¶
func NewMockNetNSUtil(ctrl *gomock.Controller) *MockNetNSUtil
NewMockNetNSUtil creates a new mock instance.
func (*MockNetNSUtil) BuildResolvConfig ¶
func (m *MockNetNSUtil) BuildResolvConfig(arg0, arg1 []string) string
BuildResolvConfig mocks base method.
func (*MockNetNSUtil) DelNetNS ¶
func (m *MockNetNSUtil) DelNetNS(arg0 string) error
DelNetNS mocks base method.
func (*MockNetNSUtil) EXPECT ¶
func (m *MockNetNSUtil) EXPECT() *MockNetNSUtilMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetNSUtil) ExecInNSPath ¶
ExecInNSPath mocks base method.
func (*MockNetNSUtil) GetNetNSName ¶
func (m *MockNetNSUtil) GetNetNSName(arg0 string) string
GetNetNSName mocks base method.
func (*MockNetNSUtil) GetNetNSPath ¶
func (m *MockNetNSUtil) GetNetNSPath(arg0 string) string
GetNetNSPath mocks base method.
func (*MockNetNSUtil) NSExists ¶
func (m *MockNetNSUtil) NSExists(arg0 string) (bool, error)
NSExists mocks base method.
func (*MockNetNSUtil) NewNetNS ¶
func (m *MockNetNSUtil) NewNetNS(arg0 string) error
NewNetNS mocks base method.
type MockNetNSUtilMockRecorder ¶
type MockNetNSUtilMockRecorder struct {
// contains filtered or unexported fields
}
MockNetNSUtilMockRecorder is the mock recorder for MockNetNSUtil.
func (*MockNetNSUtilMockRecorder) BuildResolvConfig ¶
func (mr *MockNetNSUtilMockRecorder) BuildResolvConfig(arg0, arg1 interface{}) *gomock.Call
BuildResolvConfig indicates an expected call of BuildResolvConfig.
func (*MockNetNSUtilMockRecorder) DelNetNS ¶
func (mr *MockNetNSUtilMockRecorder) DelNetNS(arg0 interface{}) *gomock.Call
DelNetNS indicates an expected call of DelNetNS.
func (*MockNetNSUtilMockRecorder) ExecInNSPath ¶
func (mr *MockNetNSUtilMockRecorder) ExecInNSPath(arg0, arg1 interface{}) *gomock.Call
ExecInNSPath indicates an expected call of ExecInNSPath.
func (*MockNetNSUtilMockRecorder) GetNetNSName ¶
func (mr *MockNetNSUtilMockRecorder) GetNetNSName(arg0 interface{}) *gomock.Call
GetNetNSName indicates an expected call of GetNetNSName.
func (*MockNetNSUtilMockRecorder) GetNetNSPath ¶
func (mr *MockNetNSUtilMockRecorder) GetNetNSPath(arg0 interface{}) *gomock.Call
GetNetNSPath indicates an expected call of GetNetNSPath.
func (*MockNetNSUtilMockRecorder) NSExists ¶
func (mr *MockNetNSUtilMockRecorder) NSExists(arg0 interface{}) *gomock.Call
NSExists indicates an expected call of NSExists.
func (*MockNetNSUtilMockRecorder) NewNetNS ¶
func (mr *MockNetNSUtilMockRecorder) NewNetNS(arg0 interface{}) *gomock.Call
NewNetNS indicates an expected call of NewNetNS.