pvc

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCrossTenantPVMountError added in v0.2.0

func NewCrossTenantPVMountError(name string) error

func NewMissingPVLabelsError added in v0.2.0

func NewMissingPVLabelsError(name string) error

func NewMissingTenantPVLabelsError added in v0.2.0

func NewMissingTenantPVLabelsError(name string) error

func NewPVSelectorError added in v0.2.0

func NewPVSelectorError() error

func NewStorageClassForbidden

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

func NewStorageClassNotValid

func NewStorageClassNotValid(storageClasses api.DefaultAllowedListSpec) error

func PersistentVolumeReuse added in v0.2.0

func PersistentVolumeReuse() capsulewebhook.Handler

func Validating added in v0.2.0

func Validating() capsulewebhook.Handler

Types

type PV added in v0.2.0

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

func (PV) OnCreate added in v0.2.0

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

func (PV) OnDelete added in v0.2.0

func (PV) OnUpdate added in v0.2.0

Jump to

Keyboard shortcuts

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