volumes

package
v0.0.0-...-4e641a9 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigAndMount

type ConfigAndMount struct {
	metav1.ObjectMeta
	corev1.VolumeMount //nolint:govet
	Data               map[string]string
}

func (ConfigAndMount) ConfigMap

func (m ConfigAndMount) ConfigMap() corev1.ConfigMap

func (ConfigAndMount) HashEnv

func (m ConfigAndMount) HashEnv(name string) corev1.EnvVar

func (ConfigAndMount) VolumeAndMount

func (m ConfigAndMount) VolumeAndMount() VolumeAndMount

type VolumeAndMount

type VolumeAndMount struct {
	corev1.VolumeMount
	// corev1.Volume has just Name and VolumeSource. A name field is already present in the VolumeMount, so we just add
	// the VolumeSource field here directly.
	VolumeSource corev1.VolumeSource
}

func (VolumeAndMount) Volume

func (vam VolumeAndMount) Volume() corev1.Volume

type VolumesAndMounts

type VolumesAndMounts []VolumeAndMount

func (VolumesAndMounts) VolumeMounts

func (vams VolumesAndMounts) VolumeMounts() []corev1.VolumeMount

func (VolumesAndMounts) Volumes

func (vams VolumesAndMounts) Volumes() []corev1.Volume

Jump to

Keyboard shortcuts

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