mock_ecscni

package
v0.0.0-...-b702281 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_ecscni is a generated GoMock package.

Index

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

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

func (*MockNetNSUtil) ExecInNSPath

func (m *MockNetNSUtil) ExecInNSPath(arg0 string, arg1 func(ns.NetNS) error) error

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.

Jump to

Keyboard shortcuts

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