persistentvolume

package
v1.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 19

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL