config

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 7 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultCNIDir used for caching NetConf
	DefaultCNIDir = "/var/lib/cni/sriov"
)

Functions

func LoadConf

func LoadConf(bytes []byte) (*sriovtypes.NetConf, error)

LoadConf parses and validates stdin netconf and returns NetConf object

func LoadConfFromCache

func LoadConfFromCache(args *skel.CmdArgs) (*sriovtypes.NetConf, string, error)

LoadConfFromCache retrieves cached NetConf returns it along with a handle for removal

Types

This section is empty.

Jump to

Keyboard shortcuts

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