persistentvolume

package
v1.28.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 7 Imported by: 33

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