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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCrossTenantPVMountError ¶ added in v0.2.0
func NewMissingPVLabelsError ¶ added in v0.2.0
func NewMissingTenantPVLabelsError ¶ added in v0.2.0
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
Click to show internal directories.
Click to hide internal directories.