mock_ns

package
v0.0.0-...-2a71758 Latest Latest
Warning

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

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

Documentation

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
}

Mock of NetNS interface

func NewMockNetNS

func NewMockNetNS(ctrl *gomock.Controller) *MockNetNS

func (*MockNetNS) Close

func (_m *MockNetNS) Close() error

func (*MockNetNS) Do

func (_m *MockNetNS) Do(_param0 func(ns.NetNS) error) error

func (*MockNetNS) EXPECT

func (_m *MockNetNS) EXPECT() *_MockNetNSRecorder

func (*MockNetNS) Fd

func (_m *MockNetNS) Fd() uintptr

func (*MockNetNS) Path

func (_m *MockNetNS) Path() string

func (*MockNetNS) Set

func (_m *MockNetNS) Set() error

Jump to

Keyboard shortcuts

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