Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToEnvVarName ¶
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 GetSHAfromSecret ¶ added in v0.0.22
func InterfaceSlice ¶
func InterfaceSlice(slice interface{}) []interface{}
InterfaceSlice converts an interface to an interface array
Types ¶
type Config ¶
type Config struct { Namespace string ResourceName string ResourceAnnotations map[string]string Annotation string SHAValue string Type string }
Config contains rolling upgrade configuration parameters
func GetConfigmapConfig ¶ added in v0.0.22
GetConfigmapConfig provides utility config for configmap
func GetSecretConfig ¶ added in v0.0.22
GetSecretConfig provides utility config for secret
type ObjectMeta ¶
type ObjectMeta struct {
metav1.ObjectMeta
}
func ToObjectMeta ¶
func ToObjectMeta(kubernetesObject interface{}) ObjectMeta
Click to show internal directories.
Click to hide internal directories.