validation

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MountJobSpecBackoffPolicy        = corev1.RestartPolicyNever
	MountJobMaxActiveDeadlineSeconds = 300
	MountJobMaxBackoffLimit          = 10
)

Variables

This section is empty.

Functions

func ValidateCheckoutUpdate

func ValidateCheckoutUpdate(newCheckout, oldCheckout *pvpoolv1alpha1.Checkout) (errs field.ErrorList)

func ValidateMountJob

func ValidateMountJob(j *pvpoolv1alpha1.MountJob, p *field.Path) (errs field.ErrorList)

func ValidatePersistentVolumeClaimTemplate

func ValidatePersistentVolumeClaimTemplate(tpl *pvpoolv1alpha1.PersistentVolumeClaimTemplate, selector labels.Selector, p *field.Path) (errs field.ErrorList)

func ValidatePoolSpec

func ValidatePoolSpec(spec *pvpoolv1alpha1.PoolSpec, p *field.Path) (errs field.ErrorList)

func ValidatePoolSpecUpdate

func ValidatePoolSpecUpdate(newSpec, oldSpec *pvpoolv1alpha1.PoolSpec, p *field.Path) (errs field.ErrorList)

Types

This section is empty.

Jump to

Keyboard shortcuts

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