internal

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Container added in v1.2.0

func Container(image string, index int, command string) corev1.Container

func EnvVar added in v1.2.0

func EnvVar(name, value string) corev1.EnvVar

func IsContainer added in v1.2.0

func IsContainer(container corev1.Container, image string, index int, command string) bool

func IsEnvVar added in v1.2.0

func IsEnvVar(envVar corev1.EnvVar, name string) bool

func IsVolume

func IsVolume(volume corev1.Volume) bool

func IsVolumeMount

func IsVolumeMount(volumeMount corev1.VolumeMount) bool

func Volume

func Volume() corev1.Volume

func VolumeMount

func VolumeMount() corev1.VolumeMount

Types

type PodDefaulter added in v1.1.0

type PodDefaulter struct{}

func NewPodDefaulter added in v1.2.1

func NewPodDefaulter() *PodDefaulter

func (PodDefaulter) Default added in v1.1.0

func (PodDefaulter) Default(ctx context.Context, obj runtime.Object) error

Jump to

Keyboard shortcuts

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