kubernetes: k8s.io/kubernetes/pkg/apis/storage/validation Index | Files

package validation

import "k8s.io/kubernetes/pkg/apis/storage/validation"

Index

Package Files

validation.go

Variables

var ValidateStorageCapacityName = apimachineryvalidation.NameIsDNSSubdomain

ValidateStorageCapacityName checks that a name is appropriate for a CSIStorageCapacity object.

func ValidateCSIDriver Uses

func ValidateCSIDriver(csiDriver *storage.CSIDriver) field.ErrorList

ValidateCSIDriver validates a CSIDriver.

func ValidateCSIDriverUpdate Uses

func ValidateCSIDriverUpdate(new, old *storage.CSIDriver) field.ErrorList

ValidateCSIDriverUpdate validates a CSIDriver.

func ValidateCSINode Uses

func ValidateCSINode(csiNode *storage.CSINode) field.ErrorList

ValidateCSINode validates a CSINode.

func ValidateCSINodeUpdate Uses

func ValidateCSINodeUpdate(new, old *storage.CSINode) field.ErrorList

ValidateCSINodeUpdate validates a CSINode.

func ValidateCSIStorageCapacity Uses

func ValidateCSIStorageCapacity(capacity *storage.CSIStorageCapacity) field.ErrorList

ValidateCSIStorageCapacity validates a CSIStorageCapacity.

func ValidateCSIStorageCapacityUpdate Uses

func ValidateCSIStorageCapacityUpdate(capacity, oldCapacity *storage.CSIStorageCapacity) field.ErrorList

ValidateCSIStorageCapacityUpdate tests if an update to CSIStorageCapacity is valid.

func ValidateStorageClass Uses

func ValidateStorageClass(storageClass *storage.StorageClass) field.ErrorList

ValidateStorageClass validates a StorageClass.

func ValidateStorageClassUpdate Uses

func ValidateStorageClassUpdate(storageClass, oldStorageClass *storage.StorageClass) field.ErrorList

ValidateStorageClassUpdate tests if an update to StorageClass is valid.

func ValidateVolumeAttachment Uses

func ValidateVolumeAttachment(volumeAttachment *storage.VolumeAttachment) field.ErrorList

ValidateVolumeAttachment validates a VolumeAttachment. This function is common for v1 and v1beta1 objects,

func ValidateVolumeAttachmentUpdate Uses

func ValidateVolumeAttachmentUpdate(new, old *storage.VolumeAttachment) field.ErrorList

ValidateVolumeAttachmentUpdate validates a VolumeAttachment.

func ValidateVolumeAttachmentV1 Uses

func ValidateVolumeAttachmentV1(volumeAttachment *storage.VolumeAttachment) field.ErrorList

ValidateVolumeAttachmentV1 validates a v1/VolumeAttachment. It contains only extra checks missing in ValidateVolumeAttachment.

Package validation imports 15 packages (graph) and is imported by 16 packages. Updated 2020-09-18. Refresh now. Tools for package owners.