Documentation
¶
Index ¶
- func SetupAlertmanagerConfigSecretWebhookWithManager(mgr ctrl.Manager) (err error)
- type AlertmanagerConfigSecretCustomValidator
- func (v *AlertmanagerConfigSecretCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *AlertmanagerConfigSecretCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *AlertmanagerConfigSecretCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupAlertmanagerConfigSecretWebhookWithManager ¶
SetupAlertmanagerConfigSecretWebhookWithManager registers the webhook for Secret in the manager.
Types ¶
type AlertmanagerConfigSecretCustomValidator ¶ added in v0.26.0
type AlertmanagerConfigSecretCustomValidator struct {
// contains filtered or unexported fields
}
func (*AlertmanagerConfigSecretCustomValidator) ValidateCreate ¶ added in v0.26.0
func (v *AlertmanagerConfigSecretCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type Secret.
func (*AlertmanagerConfigSecretCustomValidator) ValidateDelete ¶ added in v0.26.0
func (v *AlertmanagerConfigSecretCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type Secret.
func (*AlertmanagerConfigSecretCustomValidator) ValidateUpdate ¶ added in v0.26.0
func (v *AlertmanagerConfigSecretCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type Secret.
Click to show internal directories.
Click to hide internal directories.