kubernetesk8s.io/kubernetes/pkg/api/persistentvolume Index | Files

package persistentvolume

import "k8s.io/kubernetes/pkg/api/persistentvolume"

Index

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 DropDisabledStatusFields

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

func GetWarningsForPersistentVolume(pv *api.PersistentVolume) []string

Source Files

util.go

Version
v1.29.0
Published
Dec 13, 2023
Platform
js/wasm
Imports
7 packages
Last checked
1 minute ago

Tools for package owners.