automount

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAutoMountVolumesForCollision

func CheckAutoMountVolumesForCollision(base, automount []v1alpha1.PodAdditions) error

func GetAutoMountConfigMapVolumeMount added in v0.10.0

func GetAutoMountConfigMapVolumeMount(mountPath, name string) corev1.VolumeMount

func GetAutoMountResources

func GetAutoMountResources(api sync.ClusterAPI, namespace string) ([]v1alpha1.PodAdditions, []corev1.EnvFromSource, error)

func GetAutoMountSecretVolumeMount added in v0.10.0

func GetAutoMountSecretVolumeMount(mountPath, name string) v1.VolumeMount

func GetAutoMountVolumeWithConfigMap added in v0.10.0

func GetAutoMountVolumeWithConfigMap(name string) corev1.Volume

func GetAutoMountVolumeWithSecret added in v0.10.0

func GetAutoMountVolumeWithSecret(name string) v1.Volume

Types

type FatalError added in v0.10.0

type FatalError struct {
	Err error
}

func (*FatalError) Error added in v0.10.0

func (e *FatalError) Error() string

func (*FatalError) Unwrap added in v0.10.0

func (e *FatalError) Unwrap() error

Jump to

Keyboard shortcuts

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