utils

package
v0.9.0-test.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const PodTemplateGenerationLabel = "pod-template-generation"

Variables

This section is empty.

Functions

func GetFilesWithSuffix

func GetFilesWithSuffix(baseDir string, suffixes ...string) ([]string, error)

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(netAttDef *netattdefv1.NetworkAttachmentDefinition) (link string)

func GetPodTemplateGeneration added in v1.3.0

func GetPodTemplateGeneration(pod *v1.Pod, log logr.Logger) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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