Documentation
¶
Index ¶
- func SetupContactGroupMembershipRemovalWebhooksWithManager(mgr ctrl.Manager) error
- func SetupContactGroupMembershipWebhooksWithManager(mgr ctrl.Manager) error
- func SetupContactGroupWebhooksWithManager(mgr ctrl.Manager) error
- func SetupContactWebhooksWithManager(mgr ctrl.Manager) error
- func SetupEmailTemplateWebhooksWithManager(mgr ctrl.Manager, _ string) error
- func SetupEmailWebhooksWithManager(mgr ctrl.Manager) error
- type ContactGroupMembershipRemovalValidator
- func (v *ContactGroupMembershipRemovalValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ContactGroupMembershipRemovalValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ContactGroupMembershipRemovalValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type ContactGroupMembershipValidator
- func (v *ContactGroupMembershipValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ContactGroupMembershipValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ContactGroupMembershipValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type ContactGroupValidator
- func (v *ContactGroupValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ContactGroupValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ContactGroupValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type ContactMutator
- type ContactValidator
- func (v *ContactValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ContactValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ContactValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type EmailTemplateValidator
- func (v *EmailTemplateValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *EmailTemplateValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *EmailTemplateValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type EmailValidator
- func (v *EmailValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *EmailValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *EmailValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupContactGroupMembershipRemovalWebhooksWithManager ¶ added in v0.5.0
SetupContactGroupMembershipRemovalWebhooksWithManager registers webhooks for ContactGroupMembershipRemoval.
func SetupContactGroupMembershipWebhooksWithManager ¶ added in v0.5.0
SetupContactGroupMembershipWebhooksWithManager sets up the webhooks for the ContactGroupMembership resource.
func SetupContactGroupWebhooksWithManager ¶ added in v0.5.0
SetupContactGroupWebhooksWithManager sets up the webhooks for the ContactGroup resource.
func SetupContactWebhooksWithManager ¶ added in v0.5.0
SetupContactWebhooksWithManager sets up the webhooks for the Contact resource.
func SetupEmailWebhooksWithManager ¶
SetupEmailWebhooksWithManager sets up the webhooks for the Email resource.
Types ¶
type ContactGroupMembershipRemovalValidator ¶ added in v0.5.0
func (*ContactGroupMembershipRemovalValidator) ValidateCreate ¶ added in v0.5.0
func (*ContactGroupMembershipRemovalValidator) ValidateDelete ¶ added in v0.5.0
func (*ContactGroupMembershipRemovalValidator) ValidateUpdate ¶ added in v0.5.0
type ContactGroupMembershipValidator ¶ added in v0.5.0
func (*ContactGroupMembershipValidator) ValidateCreate ¶ added in v0.5.0
func (v *ContactGroupMembershipValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator for ContactGroupMembership
func (*ContactGroupMembershipValidator) ValidateDelete ¶ added in v0.5.0
func (*ContactGroupMembershipValidator) ValidateUpdate ¶ added in v0.5.0
type ContactGroupValidator ¶ added in v0.5.0
func (*ContactGroupValidator) ValidateCreate ¶ added in v0.5.0
func (v *ContactGroupValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ContactGroupValidator) ValidateDelete ¶ added in v0.5.0
func (v *ContactGroupValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ContactGroupValidator) ValidateUpdate ¶ added in v0.5.0
func (v *ContactGroupValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ContactMutator ¶ added in v0.5.0
type ContactMutator struct {
// contains filtered or unexported fields
}
ContactMutator sets default values on Contact resources.
type ContactValidator ¶ added in v0.5.0
func (*ContactValidator) ValidateCreate ¶ added in v0.5.0
func (*ContactValidator) ValidateDelete ¶ added in v0.5.0
func (v *ContactValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ContactValidator) ValidateUpdate ¶ added in v0.5.0
func (v *ContactValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type EmailTemplateValidator ¶
type EmailTemplateValidator struct{}
func (*EmailTemplateValidator) ValidateCreate ¶
func (*EmailTemplateValidator) ValidateDelete ¶
func (*EmailTemplateValidator) ValidateUpdate ¶
type EmailValidator ¶
EmailValidator validates Email resources.
func (*EmailValidator) ValidateCreate ¶
func (v *EmailValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*EmailValidator) ValidateDelete ¶
func (v *EmailValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*EmailValidator) ValidateUpdate ¶
func (v *EmailValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type We do not allow updates to Email resources as they are immutable.