sriov

package
v0.0.0-...-530b9ac Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSriovManager

func NewSriovManager() *sriovManager

NewSriovManager returns an instance of SriovManager

Types

type Manager

type Manager interface {
	SetupVF(conf *cnitypes.NetConf, podifName string, netns ns.NetNS) error
	ReleaseVF(conf *cnitypes.NetConf, podifName string, netns ns.NetNS) error
	ResetVFConfig(conf *cnitypes.NetConf) error
	ApplyVFConfig(conf *cnitypes.NetConf) error
	FillOriginalVfInfo(conf *cnitypes.NetConf) error
	CmdAdd(req *cnitypes.PodRequest) (*current.Result, error)
	CmdDel(req *cnitypes.PodRequest) error
}

Manager provides interface invoke sriov nic related operations

Jump to

Keyboard shortcuts

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