surveyor

package
v0.0.0-...-287aef4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInterfaceMap

func CreateInterfaceMap(namespace string) error

func GetInterfaceMapping

func GetInterfaceMapping(args *skel.CmdArgs, conf *types.NetConf) (string, error)

func GetK8sArgs

func GetK8sArgs(args *skel.CmdArgs) (*types.K8sArgs, error)

GetK8sArgs gets k8s related args from CNI args

func GetK8sClient

func GetK8sClient(kubeconfig string) (*versioned.Clientset, error)

func WriteToSocket

func WriteToSocket(output string, conf *types.NetConf) error

WriteToSocket writes to our socketfile, for logging.

Types

This section is empty.

Jump to

Keyboard shortcuts

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