package validation
import "k8s.io/kubernetes/pkg/volume/validation"
Index ¶
- func ValidatePathNoBacksteps(targetPath string) error
- func ValidatePersistentVolume(pv *api.PersistentVolume) field.ErrorList
Functions ¶
func ValidatePathNoBacksteps ¶
ValidatePathNoBacksteps will make sure the targetPath does not have any element which is ".."
func ValidatePersistentVolume ¶
func ValidatePersistentVolume(pv *api.PersistentVolume) field.ErrorList
ValidatePersistentVolume validates PV object for plugin specific validation We can put here validations which are specific to volume types.
Source Files ¶
pv_validation.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 3 hours ago –
Tools for package owners.