Documentation ¶
Index ¶
- func EnvVar(name, value string) corev1.EnvVar
- func EnvVarConfigMap(name, key string, ref *corev1.ConfigMap, optional bool) corev1.EnvVar
- func EnvVarSecret(name, key string, ref *corev1.Secret, optional bool) corev1.EnvVar
- func Mount(name, path string, readonly bool) corev1.VolumeMount
- func VolumeClaim(name, pvc string) corev1.Volume
- func VolumeConfigMap(name, configmap string) corev1.Volume
- func VolumeSecret(name, secret string) corev1.Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvVarConfigMap ¶
EnvVarConfigMap exposes a ConfigMap key/value as an environment variable.
func EnvVarSecret ¶
EnvVarSecret exposes a Secret key/value as an environment variable.
func VolumeClaim ¶
VolumeClaim returns a Volume which is used to mount a PersistentVolumeClaim.
func VolumeConfigMap ¶
VolumeConfigMap returns a Volume which is used to mount a ConfigMap.
func VolumeSecret ¶
VolumeSecret returns a Volume which is used to mount a Secret.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.