validation

package
v0.0.0-...-8ffad75 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateBucketPoolName = apivalidation.NameIsDNSSubdomain
View Source
var ValidateVolumePoolName = apivalidation.NameIsDNSSubdomain

Functions

func ValidateBucket

func ValidateBucket(bucket *storage.Bucket) field.ErrorList

func ValidateBucketClass

func ValidateBucketClass(bucketClass *storage.BucketClass) field.ErrorList

func ValidateBucketClassUpdate

func ValidateBucketClassUpdate(newBucketClass, oldBucketClass *storage.BucketClass) field.ErrorList

func ValidateBucketPool

func ValidateBucketPool(bucketPool *storage.BucketPool) field.ErrorList

func ValidateBucketPoolUpdate

func ValidateBucketPoolUpdate(newBucketPool, oldBucketPool *storage.BucketPool) field.ErrorList

func ValidateBucketUpdate

func ValidateBucketUpdate(newBucket, oldBucket *storage.Bucket) field.ErrorList

func ValidateVolume

func ValidateVolume(volume *storage.Volume) field.ErrorList

func ValidateVolumeClass

func ValidateVolumeClass(volumeClass *storage.VolumeClass) field.ErrorList

func ValidateVolumeClassUpdate

func ValidateVolumeClassUpdate(newVolumeClass, oldVolumeClass *storage.VolumeClass) field.ErrorList

func ValidateVolumePool

func ValidateVolumePool(volumePool *storage.VolumePool) field.ErrorList

func ValidateVolumePoolUpdate

func ValidateVolumePoolUpdate(newVolumePool, oldVolumePool *storage.VolumePool) field.ErrorList

func ValidateVolumeTemplateSpec

func ValidateVolumeTemplateSpec(spec *storage.VolumeTemplateSpec, fldPath *field.Path) field.ErrorList

ValidateVolumeTemplateSpec validates the spec of a volume template.

func ValidateVolumeUpdate

func ValidateVolumeUpdate(newVolume, oldVolume *storage.Volume) 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