Documentation ¶
Index ¶
- func AddEnvVariable(variableName string, variableValue interface{}) func(u *unstructured.Unstructured) error
- func InjectOwnerReference(ownerReference metav1.OwnerReference) func(u *unstructured.Unstructured) error
- func MountSecret(secretName string, mountPoint string) func(u *unstructured.Unstructured) error
- func ReplaceEnvVariable(variableName string, variableValue interface{}) func(u *unstructured.Unstructured) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEnvVariable ¶
func AddEnvVariable(variableName string, variableValue interface{}) func(u *unstructured.Unstructured) error
AddEnvVariable produces a transformation capable of adding an environment variable value
func InjectOwnerReference ¶
func InjectOwnerReference(ownerReference metav1.OwnerReference) func(u *unstructured.Unstructured) error
func MountSecret ¶
func MountSecret(secretName string, mountPoint string) func(u *unstructured.Unstructured) error
Mount a secret by name
func ReplaceEnvVariable ¶
func ReplaceEnvVariable(variableName string, variableValue interface{}) func(u *unstructured.Unstructured) error
ReplaceEnvVariable produces a transformation capable of replacing an environment variable value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.