util

package
v1.4.10 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureReloaderFlags added in v1.4.6

func ConfigureReloaderFlags(cmd *cobra.Command)

func ConvertToEnvVarName

func ConvertToEnvVarName(text string) string

ConvertToEnvVarName converts the given text into a usable env var removing any special chars with '_' and transforming text to upper case

func GetSHAfromConfigmap added in v0.0.22

func GetSHAfromConfigmap(configmap *v1.ConfigMap) string

func GetSHAfromSecret added in v0.0.22

func GetSHAfromSecret(data map[string][]byte) string

func InterfaceSlice

func InterfaceSlice(slice interface{}) []interface{}

InterfaceSlice converts an interface to an interface array

func ParseBool added in v0.0.22

func ParseBool(value interface{}) bool

ParseBool returns result in bool format after parsing

Types

type List added in v0.0.35

type List []string

func GetIgnoredResourcesList added in v1.4.6

func GetIgnoredResourcesList() (List, error)

func GetIgnoredWorkloadTypesList added in v1.4.8

func GetIgnoredWorkloadTypesList() (List, error)

func (*List) Contains added in v0.0.35

func (l *List) Contains(s string) bool

type ObjectMeta

type ObjectMeta struct {
	metav1.ObjectMeta
}

func ToObjectMeta

func ToObjectMeta(kubernetesObject interface{}) ObjectMeta

Jump to

Keyboard shortcuts

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