util

package
v0.0.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandExists

func CommandExists(cmd string) bool

func GetEnvOrDefault

func GetEnvOrDefault(key, fallback string) string

func GetKeys

func GetKeys(src map[string]interface{}) []string

func GetKubernetesClient

func GetKubernetesClient(kubeConfig string) (*kubernetes.Clientset, error)

func IsPointer

func IsPointer(v interface{}) bool

func ParseTaintsAndLabels

func ParseTaintsAndLabels(taints []string, labels []string) ([]symbiosis.NodeTaint, []symbiosis.NodeLabel, error)

func RandomString

func RandomString(n int) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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