Documentation ¶
Overview ¶
Package runtime contains the webhook implementation for runtime ExtensionConfig.
Index ¶
- type ExtensionConfig
- func (webhook *ExtensionConfig) Default(_ context.Context, obj runtime.Object) error
- func (webhook *ExtensionConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *ExtensionConfig) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *ExtensionConfig) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *ExtensionConfig) ValidateUpdate(ctx context.Context, old, updated runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtensionConfig ¶
type ExtensionConfig struct{}
ExtensionConfig is the webhook for runtimev1.ExtensionConfig.
func (*ExtensionConfig) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*ExtensionConfig) SetupWebhookWithManager ¶
func (webhook *ExtensionConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ExtensionConfig) ValidateCreate ¶
func (webhook *ExtensionConfig) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*ExtensionConfig) ValidateDelete ¶
func (webhook *ExtensionConfig) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*ExtensionConfig) ValidateUpdate ¶
func (webhook *ExtensionConfig) ValidateUpdate(ctx context.Context, old, updated runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
Click to show internal directories.
Click to hide internal directories.