mock_cninswrapper

package
v0.0.0-...-a7d65e3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_cninswrapper is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNS

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

MockNS is a mock of NS interface

func NewMockNS

func NewMockNS(ctrl *gomock.Controller) *MockNS

NewMockNS creates a new mock instance

func (*MockNS) EXPECT

func (m *MockNS) EXPECT() *MockNSMockRecorder

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

func (*MockNS) GetNS

func (m *MockNS) GetNS(arg0 string) (ns.NetNS, error)

GetNS mocks base method

func (*MockNS) WithNetNSPath

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

WithNetNSPath mocks base method

type MockNSMockRecorder

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

MockNSMockRecorder is the mock recorder for MockNS

func (*MockNSMockRecorder) GetNS

func (mr *MockNSMockRecorder) GetNS(arg0 interface{}) *gomock.Call

GetNS indicates an expected call of GetNS

func (*MockNSMockRecorder) WithNetNSPath

func (mr *MockNSMockRecorder) 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