mock_ns

package
v1.18.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_ns is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNetNS

type MockNetNS struct {
	// contains filtered or unexported fields
}

MockNetNS is a mock of NetNS interface.

func NewMockNetNS

func NewMockNetNS(ctrl *gomock.Controller) *MockNetNS

NewMockNetNS creates a new mock instance.

func (*MockNetNS) Close

func (m *MockNetNS) Close() error

Close mocks base method.

func (*MockNetNS) Do

func (m *MockNetNS) Do(arg0 func(ns.NetNS) error) error

Do mocks base method.

func (*MockNetNS) EXPECT

func (m *MockNetNS) EXPECT() *MockNetNSMockRecorder

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

func (*MockNetNS) Fd

func (m *MockNetNS) Fd() uintptr

Fd mocks base method.

func (*MockNetNS) Path

func (m *MockNetNS) Path() string

Path mocks base method.

func (*MockNetNS) Set

func (m *MockNetNS) Set() error

Set mocks base method.

type MockNetNSMockRecorder

type MockNetNSMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetNSMockRecorder is the mock recorder for MockNetNS.

func (*MockNetNSMockRecorder) Close

func (mr *MockNetNSMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockNetNSMockRecorder) Do

func (mr *MockNetNSMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do.

func (*MockNetNSMockRecorder) Fd

func (mr *MockNetNSMockRecorder) Fd() *gomock.Call

Fd indicates an expected call of Fd.

func (*MockNetNSMockRecorder) Path

func (mr *MockNetNSMockRecorder) Path() *gomock.Call

Path indicates an expected call of Path.

func (*MockNetNSMockRecorder) Set

func (mr *MockNetNSMockRecorder) Set() *gomock.Call

Set indicates an expected call of Set.

Jump to

Keyboard shortcuts

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