package persistentvolume
import "k8s.io/kubernetes/pkg/api/persistentvolume"
Index ¶
- func DropDisabledSpecFields(pvSpec *api.PersistentVolumeSpec, oldPVSpec *api.PersistentVolumeSpec)
- func GetWarningsForPersistentVolume(pv *api.PersistentVolume) []string
Functions ¶
func DropDisabledSpecFields ¶
func DropDisabledSpecFields(pvSpec *api.PersistentVolumeSpec, oldPVSpec *api.PersistentVolumeSpec)
DropDisabledSpecFields removes disabled fields from the pv spec. This should be called from PrepareForCreate/PrepareForUpdate for all resources containing a pv spec.
func GetWarningsForPersistentVolume ¶
func GetWarningsForPersistentVolume(pv *api.PersistentVolume) []string
Source Files ¶
util.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 3 hours ago –
Tools for package owners.