mocks

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPCLock added in v0.5.0

type IPCLock struct {
	mock.Mock
}

IPCLock is an autogenerated mock type for the IPCLock type

func (*IPCLock) Lock added in v0.5.0

func (_m *IPCLock) Lock() error

Lock provides a mock function with given fields:

func (*IPCLock) Unlock added in v0.5.0

func (_m *IPCLock) Unlock() error

Unlock provides a mock function with given fields:

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func (*Manager) ApplyVFConfig

func (_m *Manager) ApplyVFConfig(conf *types.PluginConf) error

ApplyVFConfig provides a mock function with given fields: conf

func (*Manager) AttachRepresentor

func (_m *Manager) AttachRepresentor(conf *types.PluginConf) error

AttachRepresentor provides a mock function with given fields: conf

func (*Manager) DetachRepresentor

func (_m *Manager) DetachRepresentor(conf *types.PluginConf) error

DetachRepresentor provides a mock function with given fields: conf

func (*Manager) ReleaseVF

func (_m *Manager) ReleaseVF(conf *types.PluginConf, podifName string, cid string, netns ns.NetNS) error

ReleaseVF provides a mock function with given fields: conf, podifName, cid, netns

func (*Manager) ResetVFConfig

func (_m *Manager) ResetVFConfig(conf *types.PluginConf) error

ResetVFConfig provides a mock function with given fields: conf

func (*Manager) SetupVF

func (_m *Manager) SetupVF(conf *types.PluginConf, podifName string, cid string, netns ns.NetNS) (string, error)

SetupVF provides a mock function with given fields: conf, podifName, cid, netns

Jump to

Keyboard shortcuts

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