config

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCRef

func GetCRef(cid, podIfName string) string

GetCRef unique identifier for a container interface

func LoadConf

func LoadConf(data []byte) (*types.NetConf, error)

LoadConf parses and validates stdin netconf and returns NetConf object

func LoadConfFromCache

func LoadConfFromCache(cRef string) (*types.CachedNetConf, error)

LoadConfFromCache retrieve net config from cache

func LoadMirrorConf added in v0.28.0

func LoadMirrorConf(data []byte) (*types.MirrorNetConf, error)

LoadMirrorConf parses and validates stdin netconf and returns MirrorNetConf object

func LoadPrevResultConfFromCache added in v0.28.0

func LoadPrevResultConfFromCache(cRef string) (*types.CachedPrevResultNetConf, error)

LoadPrevResultConfFromCache retrieve preResult config from cache

Types

This section is empty.

Jump to

Keyboard shortcuts

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