Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropDisabledSpecFields ¶ added in v1.28.0
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 DropDisabledStatusFields ¶ added in v1.28.0
func DropDisabledStatusFields(oldStatus, newStatus *api.PersistentVolumeStatus)
DropDisabledStatusFields removes disabled fields from the pv status. This should be called from PrepareForUpdate for all resources containing a pv status.
func GetWarningsForPersistentVolume ¶ added in v1.25.0
func GetWarningsForPersistentVolume(pv *api.PersistentVolume) []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.