k8s

package
v0.0.0-...-9f13f69 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: Apache-2.0 Imports: 18 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdAddK8s

func CmdAddK8s(args *skel.CmdArgs, conf types.NetConf, epIDs utils.WEPIdentifiers) (*current.Result, error)

CmdAddK8s performs the "ADD" operation on a kubernetes pod Having kubernetes code in its own file avoids polluting the mainline code. It's expected that the kubernetes case will more special casing than the mainline code.

func CmdDelK8s

func CmdDelK8s(epIDs utils.WEPIdentifiers, args *skel.CmdArgs, conf types.NetConf, logger *logrus.Entry) error

CmdDelK8s performs the "DEL" operation on a kubernetes pod. The following logic only applies to kubernetes since it sends multiple DELs for the same endpoint. See: https://github.com/kubernetes/kubernetes/issues/44100

func GetNodePodCIDR

func GetNodePodCIDR(client *kubernetes.Clientset, nodename string) (string, error)

GetNodePodCIDR queries podCIDR of the node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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