pvc

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCrossTenantPVMountError

func NewCrossTenantPVMountError(name string) error

func NewMissingPVLabelsError

func NewMissingPVLabelsError(name string) error

func NewMissingTenantPVLabelsError

func NewMissingTenantPVLabelsError(name string) error

func NewPVSelectorError

func NewPVSelectorError() error

func NewStorageClassForbidden

func NewStorageClassForbidden(className string, storageClasses api.DefaultAllowedListSpec) error

func NewStorageClassNotValid

func NewStorageClassNotValid(storageClasses api.DefaultAllowedListSpec) error

func PersistentVolumeReuse

func PersistentVolumeReuse() capsulewebhook.Handler

func Validating

func Validating() capsulewebhook.Handler

Types

type PV

type PV struct {
	// contains filtered or unexported fields
}

func (PV) OnCreate

func (p PV) OnCreate(client client.Client, decoder admission.Decoder, _ record.EventRecorder) capsulewebhook.Func

Jump to

Keyboard shortcuts

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