Documentation ¶
Index ¶
- func ConvertToEnvVarName(text string) string
- func GetSHAfromConfigmap(configmap *v1.ConfigMap) string
- func GetSHAfromSecret(data map[string][]byte) string
- func InterfaceSlice(slice interface{}) []interface{}
- func ParseBool(value interface{}) bool
- type Config
- type List
- type Map
- type ObjectMeta
- type ReloadSource
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 TypedAutoAnnotation 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
type ReloadSource ¶ added in v0.0.103
type ReloadSource struct { Type string `json:"type"` Name string `json:"name"` Namespace string `json:"namespace"` Hash string `json:"hash"` ContainerRefs []string `json:"containerRefs"` ObservedAt int64 `json:"observedAt"` }
func NewReloadSource ¶ added in v0.0.103
func NewReloadSourceFromConfig ¶ added in v0.0.103
func NewReloadSourceFromConfig(config Config, containerRefs []string) ReloadSource
Click to show internal directories.
Click to hide internal directories.