package
0.4.0
Repository: https://github.com/codedellemc/gocsi.git
Documentation: pkg.go.dev

# 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.
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.
WithRequiresNodeID is a Option that indicates ControllerPublishVolume requests and NodeGetId responses must contain non-empty node ID 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.
WithRequiresPublishInfo is a Option that indicates ControllerPublishVolume responses and NodePublishVolume requests must contain non-empty publish volume info data.
WithRequiresStagingTargetPath is a Option that indicates NodePublishVolume requests must have non-empty StagingTargetPath fields.
WithRequiresVolumeAttributes is a Option that indicates ControllerPublishVolume, ValidateVolumeCapabilities, and NodePublishVolume requests must contain non-empty volume attribute data.
WithResponseValidation is a Option that enables response validation.

# Type aliases

Option configures the spec validator interceptor.