testing

package
v1.9.6 Latest Latest
Warning

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

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

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

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

func (m *MockInterface) WithNetNSPath(arg0 string, arg1 func(ns.NetNS) error) error

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.

Jump to

Keyboard shortcuts

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