Documentation ¶
Index ¶
- func NewCrossTenantPVMountError(name string) error
- func NewMissingPVLabelsError(name string) error
- func NewMissingTenantPVLabelsError(name string) error
- func NewPVSelectorError() error
- func NewStorageClassForbidden(className string, storageClasses api.DefaultAllowedListSpec) error
- func NewStorageClassNotValid(storageClasses api.DefaultAllowedListSpec) error
- func PersistentVolumeReuse() capsulewebhook.Handler
- func Validating() capsulewebhook.Handler
- type PV
- func (p PV) OnCreate(client client.Client, decoder admission.Decoder, _ record.EventRecorder) capsulewebhook.Func
- func (p PV) OnDelete(client.Client, admission.Decoder, record.EventRecorder) capsulewebhook.Func
- func (p PV) OnUpdate(client.Client, admission.Decoder, record.EventRecorder) capsulewebhook.Func
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMissingPVLabelsError ¶
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
Click to show internal directories.
Click to hide internal directories.