Documentation
¶
Index ¶
- Variables
- func InitContainer(image string, index int, command string) corev1.Container
- func IsInitContainer(initContainer corev1.Container, image string, index int, command string) bool
- func IsVolume(volume corev1.Volume) bool
- func IsVolumeMount(volumeMount corev1.VolumeMount) bool
- func Volume() corev1.Volume
- func VolumeMount() corev1.VolumeMount
- type PodDefaulter
Constants ¶
This section is empty.
Variables ¶
View Source
var Webhook = admission.WithCustomDefaulter(new(corev1.Pod), PodDefaulter{})
Functions ¶
func IsInitContainer ¶
func IsVolumeMount ¶
func IsVolumeMount(volumeMount corev1.VolumeMount) bool
func VolumeMount ¶
func VolumeMount() corev1.VolumeMount
Types ¶
type PodDefaulter ¶ added in v1.1.0
type PodDefaulter struct{}
Click to show internal directories.
Click to hide internal directories.