crdtools

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(t bool) *bool

BoolPtr returns a pointer to a bool.

func Coalesce

func Coalesce(str ...string) string

Coalesce returns the first non-empty string from the input list.

func Int32Ptr

func Int32Ptr(i int32) *int32

Int32Ptr returns a pointer to an int32.

func Int64Ptr

func Int64Ptr(i int64) *int64

Int64Ptr returns a pointer to an int64.

func MergeEnvFromSource

func MergeEnvFromSource(srcs ...[]corev1.EnvFromSource) []corev1.EnvFromSource

MergeEnvFromSource merges multiple slices of EnvFromSource into a single slice.

func MergeEnvVar

func MergeEnvVar(envs ...[]corev1.EnvVar) []corev1.EnvVar

MergeEnvVar merges multiple slices of EnvVar into a single slice.

func MergeLabels

func MergeLabels(lbls ...map[string]string) map[string]string

MergeLabels merges multiple maps of labels into a single map.

func MergeMounts

func MergeMounts(mounts ...[]corev1.VolumeMount) []corev1.VolumeMount

MergeMounts merges multiple slices of VolumeMounts into a single slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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