generate

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvVar

func EnvVar(name, value string) corev1.EnvVar

EnvVar which consistens of a key/value pair.

func EnvVarConfigMap

func EnvVarConfigMap(name, key string, ref *corev1.ConfigMap, optional bool) corev1.EnvVar

EnvVarConfigMap exposes a ConfigMap key/value as an environment variable.

func EnvVarSecret

func EnvVarSecret(name, key string, ref *corev1.Secret, optional bool) corev1.EnvVar

EnvVarSecret exposes a Secret key/value as an environment variable.

func Mount

func Mount(name, path string, readonly bool) corev1.VolumeMount

Mount a Volume.

func VolumeClaim

func VolumeClaim(name, pvc string) corev1.Volume

VolumeClaim returns a Volume which is used to mount a PersistentVolumeClaim.

func VolumeConfigMap

func VolumeConfigMap(name, configmap string) corev1.Volume

VolumeConfigMap returns a Volume which is used to mount a ConfigMap.

func VolumeSecret

func VolumeSecret(name, secret string) corev1.Volume

VolumeSecret returns a Volume which is used to mount a Secret.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL