Documentation ¶
Index ¶
- func ValidateStorageClass(storageClass *storage.StorageClass) field.ErrorList
- func ValidateStorageClassUpdate(storageClass, oldStorageClass *storage.StorageClass) field.ErrorList
- func ValidateVolumeAttachment(volumeAttachment *storage.VolumeAttachment) field.ErrorList
- func ValidateVolumeAttachmentUpdate(new, old *storage.VolumeAttachment) field.ErrorList
- func ValidateVolumeAttachmentV1(volumeAttachment *storage.VolumeAttachment) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶ added in v1.9.0
func ValidateVolumeAttachment(volumeAttachment *storage.VolumeAttachment) field.ErrorList
ValidateVolumeAttachment validates a VolumeAttachment. This function is common for v1 and v1beta1 objects,
func ValidateVolumeAttachmentUpdate ¶ added in v1.9.0
func ValidateVolumeAttachmentUpdate(new, old *storage.VolumeAttachment) field.ErrorList
ValidateVolumeAttachmentUpdate validates a VolumeAttachment.
func ValidateVolumeAttachmentV1 ¶ added in v1.13.1
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.
Click to show internal directories.
Click to hide internal directories.