Documentation
¶
Index ¶
- func ExtractInfoFromEnv(env []corev1.EnvVar, configmapMap MapType, ref GetRefEnv)
- func ExtractInfoFromEnvFrom(envs []corev1.EnvFromSource, themap MapType, ref GetRef)
- func ExtractInfoFromVolume(volumes []corev1.Volume, themap MapType, ref GetRef)
- func FilterByPodmanPrefix(keyValues map[string]string) map[string]string
- func HasFinalizer(cr *metav1.ObjectMeta, name string) bool
- func NormalizeLabel(name string) (string, error)
- type GetRef
- type GetRefEnv
- type MapType
- type StringSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractInfoFromEnv ¶
func ExtractInfoFromEnvFrom ¶
func ExtractInfoFromEnvFrom(envs []corev1.EnvFromSource, themap MapType, ref GetRef)
func ExtractInfoFromVolume ¶
func FilterByPodmanPrefix ¶
FilterByPodmanPrefix does two things: first it filters the keys that start with prefix "podman/" And secondly, of those keys that have the "podman/" prefix, it uses the remaining part of the key as the new key in the returning map with the same value as in the original map e.g. 'podman/this-is-my-key:1' is stored in the returning map as 'this-is-my-key:1'
func HasFinalizer ¶
func HasFinalizer(cr *metav1.ObjectMeta, name string) bool
HasFinalizer checks whether specific finalizer is set on a CR
func NormalizeLabel ¶
NormalizeLabel normalizes label string according to k8s format
Types ¶
Click to show internal directories.
Click to hide internal directories.