const maxProvisionerParameterSize …
const maxProvisionerParameterLen …
const maxAttachedVolumeMetadataSize …
const maxVolumeErrorMessageSize …
const csiNodeIDMaxLength …
const csiNodeIDLongerMaxLength …
type CSINodeValidationOptions …
func ValidateStorageClass(storageClass *storage.StorageClass) field.ErrorList { … }
func ValidateStorageClassUpdate(storageClass, oldStorageClass *storage.StorageClass) field.ErrorList { … }
func validateProvisioner(provisioner string, fldPath *field.Path) field.ErrorList { … }
func validateParameters(params map[string]string, allowEmpty bool, fldPath *field.Path) field.ErrorList { … }
var supportedReclaimPolicy …
func validateReclaimPolicy(reclaimPolicy *api.PersistentVolumeReclaimPolicy, fldPath *field.Path) field.ErrorList { … }
func ValidateVolumeAttachment(volumeAttachment *storage.VolumeAttachment) field.ErrorList { … }
func ValidateVolumeAttachmentV1(volumeAttachment *storage.VolumeAttachment) field.ErrorList { … }
func validateVolumeAttachmentSpec(
spec *storage.VolumeAttachmentSpec, fldPath *field.Path) field.ErrorList { … }
func validateAttacher(attacher string, fldPath *field.Path) field.ErrorList { … }
func validateVolumeAttachmentSource(source *storage.VolumeAttachmentSource, fldPath *field.Path) field.ErrorList { … }
func validateNodeName(nodeName string, fldPath *field.Path) field.ErrorList { … }
func validateVolumeAttachmentStatus(status *storage.VolumeAttachmentStatus, fldPath *field.Path) field.ErrorList { … }
func validateAttachmentMetadata(metadata map[string]string, fldPath *field.Path) field.ErrorList { … }
func validateVolumeError(e *storage.VolumeError, fldPath *field.Path) field.ErrorList { … }
func ValidateVolumeAttachmentUpdate(new, old *storage.VolumeAttachment) field.ErrorList { … }
var supportedVolumeBindingModes …
func validateVolumeBindingMode(mode *storage.VolumeBindingMode, fldPath *field.Path) field.ErrorList { … }
func validateAllowedTopologies(topologies []api.TopologySelectorTerm, fldPath *field.Path) field.ErrorList { … }
func ValidateCSINode(csiNode *storage.CSINode, validationOpts CSINodeValidationOptions) field.ErrorList { … }
func ValidateCSINodeUpdate(new, old *storage.CSINode, validationOpts CSINodeValidationOptions) field.ErrorList { … }
func validateCSINodeSpec(
spec *storage.CSINodeSpec, fldPath *field.Path, validationOpts CSINodeValidationOptions) field.ErrorList { … }
func validateCSINodeDrivers(drivers []storage.CSINodeDriver, fldPath *field.Path, validationOpts CSINodeValidationOptions) field.ErrorList { … }
func validateCSINodeDriverNodeID(nodeID string, fldPath *field.Path, validationOpts CSINodeValidationOptions) field.ErrorList { … }
func validateCSINodeDriverAllocatable(a *storage.VolumeNodeResources, fldPath *field.Path) field.ErrorList { … }
func validateCSINodeDriver(driver storage.CSINodeDriver, driverNamesInSpecs sets.Set[string], fldPath *field.Path,
validationOpts CSINodeValidationOptions) field.ErrorList { … }
var ValidateCSIDriverName …
func ValidateCSIDriver(csiDriver *storage.CSIDriver) field.ErrorList { … }
func ValidateCSIDriverUpdate(new, old *storage.CSIDriver) field.ErrorList { … }
func validateCSIDriverSpec(
spec *storage.CSIDriverSpec, fldPath *field.Path) field.ErrorList { … }
func validateAttachRequired(attachRequired *bool, fldPath *field.Path) field.ErrorList { … }
func validatePodInfoOnMount(podInfoOnMount *bool, fldPath *field.Path) field.ErrorList { … }
func validateStorageCapacity(storageCapacity *bool, fldPath *field.Path) field.ErrorList { … }
var supportedFSGroupPolicy …
func validateFSGroupPolicy(fsGroupPolicy *storage.FSGroupPolicy, fldPath *field.Path) field.ErrorList { … }
func validateTokenRequests(tokenRequests []storage.TokenRequest, fldPath *field.Path) field.ErrorList { … }
func validateVolumeLifecycleModes(modes []storage.VolumeLifecycleMode, fldPath *field.Path) field.ErrorList { … }
func validateSELinuxMount(seLinuxMount *bool, fldPath *field.Path) field.ErrorList { … }
var ValidateStorageCapacityName …
type CSIStorageCapacityValidateOptions …
func ValidateCSIStorageCapacity(capacity *storage.CSIStorageCapacity, opts CSIStorageCapacityValidateOptions) field.ErrorList { … }
func ValidateCSIStorageCapacityUpdate(capacity, oldCapacity *storage.CSIStorageCapacity) field.ErrorList { … }
func ValidateVolumeAttributesClass(volumeAttributesClass *storage.VolumeAttributesClass) field.ErrorList { … }
func ValidateVolumeAttributesClassUpdate(volumeAttributesClass, oldVolumeAttributesClass *storage.VolumeAttributesClass) field.ErrorList { … }