utils

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseVolumeMount

func GetBaseVolumeMount() corev1.VolumeMount

func GetConfigVolumeMount

func GetConfigVolumeMount(volumeName string) corev1.VolumeMount

func GetDataVolumeMount

func GetDataVolumeMount() corev1.VolumeMount

func GetMapfileVolumeMount

func GetMapfileVolumeMount() corev1.VolumeMount

func NewEnvFromSource

func NewEnvFromSource(t EnvFromSourceType, name string) corev1.EnvFromSource

func Sha1Hash

func Sha1Hash(v string) string

Types

type EnvFromSourceType

type EnvFromSourceType string
const (
	EnvFromSourceTypeConfigMap EnvFromSourceType = "configMap"
	EnvFromSourceTypeSecret    EnvFromSourceType = "secret"
)

Jump to

Keyboard shortcuts

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