k8sutil

package
v0.0.0-...-59ce8ec Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureConfigMapVolumeSource

func EnsureConfigMapVolumeSource(name string) corev1.VolumeSource

EnsureConfigMapVolumeSource returns VolumeSource of type configMap with given name.

func EnsureHostPathVolumeSource

func EnsureHostPathVolumeSource(path, pathType string) corev1.VolumeSource

EnsureHostPathVolumeSource returns VolumeSource of type hostpath with given path and pathType.

func EnsureVolume

func EnsureVolume(name string, source corev1.VolumeSource) corev1.Volume

EnsureVolume return a volume with given name and volume source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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