package persistentvolume
import "k8s.io/kubernetes/pkg/api/persistentvolume"
Index ¶
- func DropDisabledFields(pvSpec *api.PersistentVolumeSpec, oldPVSpec *api.PersistentVolumeSpec)
- func GetWarningsForPersistentVolume(pv *api.PersistentVolume) []string
Functions ¶
func DropDisabledFields ¶
func DropDisabledFields(pvSpec *api.PersistentVolumeSpec, oldPVSpec *api.PersistentVolumeSpec)
DropDisabledFields 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.26.2-rc.0
- Published
- Jan 18, 2023
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 30 seconds ago –
Tools for package owners.