Documentation ¶
Index ¶
- Constants
- func CreateK8sInterface() (kubernetes.Interface, error)
- func GetFilesWithSuffix(baseDir string, suffixes ...string) ([]string, error)
- func GetNetworkAttachmentDefLink(netAttDef *netattdefv1.NetworkAttachmentDefinition) (link string)
- func GetPodTemplateGeneration(pod *v1.Pod, log logr.Logger) (int64, error)
Constants ¶
View Source
const PodTemplateGenerationLabel = "pod-template-generation"
Variables ¶
This section is empty.
Functions ¶
func CreateK8sInterface ¶ added in v1.3.0
func CreateK8sInterface() (kubernetes.Interface, error)
CreateK8sInterface creates a new ClientSet for interacting with K8s API
func GetFilesWithSuffix ¶
GetFilesWithSuffix returns all files under a given base directory that have a specific suffix The operation is performed recurively on sub directories as well
func GetNetworkAttachmentDefLink ¶ added in v0.4.0
func GetNetworkAttachmentDefLink(netAttDef *netattdefv1.NetworkAttachmentDefinition) (link string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.