validation

package
v0.0.0-...-1c343ef Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCSIDriver

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

ValidateCSIDriver validates a CSIDriver.

func ValidateCSIDriverUpdate

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

ValidateCSIDriverUpdate validates a CSIDriver.

func ValidateCSINode

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

ValidateCSINode validates a CSINode.

func ValidateCSINodeUpdate

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

ValidateCSINodeUpdate validates a CSINode.

func ValidateStorageClass

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

ValidateStorageClass validates a StorageClass.

func ValidateStorageClassUpdate

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

ValidateStorageClassUpdate tests if an update to StorageClass is valid.

func ValidateVolumeAttachment

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

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

func ValidateVolumeAttachmentUpdate

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

ValidateVolumeAttachmentUpdate validates a VolumeAttachment.

func ValidateVolumeAttachmentV1

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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