Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeEnvVars ¶
func MergeEnvVars(new []corev1.EnvVar, into []corev1.EnvVar, overwriteValues bool) ([]corev1.EnvVar, error)
MergeEnvVars merges one slice of corev1.EnvVar into another slice of corev1.EnvVar if overwriteValues is false, this function will return an error if a duplicate EnvVar name is encountered if overwriteValues is true, this function will overwrite the existing value with the new value if a duplicate is encountered
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.