mock_libcni

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCNI

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

Mock of CNI interface

func NewMockCNI

func NewMockCNI(ctrl *gomock.Controller) *MockCNI

func (*MockCNI) AddNetwork

func (_m *MockCNI) AddNetwork(_param0 *libcni.NetworkConfig, _param1 *libcni.RuntimeConf) (types.Result, error)

func (*MockCNI) AddNetworkList

func (_m *MockCNI) AddNetworkList(_param0 *libcni.NetworkConfigList, _param1 *libcni.RuntimeConf) (types.Result, error)

func (*MockCNI) DelNetwork

func (_m *MockCNI) DelNetwork(_param0 *libcni.NetworkConfig, _param1 *libcni.RuntimeConf) error

func (*MockCNI) DelNetworkList

func (_m *MockCNI) DelNetworkList(_param0 *libcni.NetworkConfigList, _param1 *libcni.RuntimeConf) error

func (*MockCNI) EXPECT

func (_m *MockCNI) EXPECT() *_MockCNIRecorder

Jump to

Keyboard shortcuts

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