Documentation ¶
Index ¶
- Constants
- func GetSubdirectories(root string) ([]string, error)
- func GetVid(network string, nadCache ctlcniv1.NetworkAttachmentDefinitionCache) (int, error)
- func NewSelector(selector map[string][]string) (labels.Selector, error)
- func ParseFromFile(yamlFilePath string) ([]runtime.Object, error)
- func SetLogLevel(level string)
Constants ¶
View Source
const ( KeyGlobalIPPool = lb.GroupName + "/global-ip-pool" ValueTrue = "true" Address4AskDHCP = "0.0.0.0" AnnotationKeyNetwork = lb.GroupName + "/network" AnnotationKeyProject = lb.GroupName + "/project" AnnotationKeyNamespace = lb.GroupName + "/namespace" AnnotationKeyCluster = lb.GroupName + "/cluster" )
View Source
const KeyVid = lb.GroupName + "/vid"
Variables ¶
This section is empty.
Functions ¶
func GetSubdirectories ¶
GetSubdirectories returns the subdirectories of the given root directory.
func GetVid ¶
func GetVid(network string, nadCache ctlcniv1.NetworkAttachmentDefinitionCache) (int, error)
GetVid from the network attachment definition
func ParseFromFile ¶
ParseFromFile parses a YAML file into a list of Kubernetes objects
func SetLogLevel ¶
func SetLogLevel(level string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.