# Functions
NewClientSpecValidator provides a UnaryClientInterceptor that validates client request and response data against the CSI specification.
NewServerSpecValidator returns a new UnaryServerInterceptor that validates server request and response data against the CSI specification.
WithDisableFieldLenCheck is a Option that indicates that the length of fields should not be validated.
WithRequestValidation is a Option that enables request validation.
WithRequiresControllerCreateVolumeSecrets is a Option that indicates the eponymous requests must contain non-empty secrets data.
WithRequiresControllerDeleteVolumeSecrets is a Option that indicates the eponymous requests must contain non-empty credentials data.
WithRequiresControllerPublishVolumeSecrets is a Option that indicates the eponymous requests must contain non-empty credentials data.
WithRequiresControllerUnpublishVolumeSecrets is a Option that indicates the eponymous requests must contain non-empty credentials data.
WithRequiresNodePublishVolumeSecrets is a Option that indicates the eponymous requests must contain non-empty credentials data.
WithRequiresNodeStageVolumeSecrets is a Option that indicates the eponymous requests must contain non-empty credentials data.
WithRequiresPublishContext is a Option that indicates ControllerPublishVolume responses, NodePublishVolume requests, and NodeStageVolume requests must contain non-empty publish volume context data.
WithRequiresStagingTargetPath is a Option that indicates NodePublishVolume requests must have non-empty StagingTargetPath fields.
WithRequiresVolumeContext is a Option that indicates ControllerPublishVolume requests, ValidateVolumeCapabilities requests, NodeStageVolume requests, and NodePublishVolume requests must contain non-empty publish volume context data.
WithResponseValidation is a Option that enables response validation.
# Type aliases
Option configures the spec validator interceptor.