v1alpha1

package
v0.12.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2025 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupContactGroupMembershipRemovalWebhooksWithManager added in v0.5.0

func SetupContactGroupMembershipRemovalWebhooksWithManager(mgr ctrl.Manager) error

SetupContactGroupMembershipRemovalWebhooksWithManager registers webhooks for ContactGroupMembershipRemoval.

func SetupContactGroupMembershipWebhooksWithManager added in v0.5.0

func SetupContactGroupMembershipWebhooksWithManager(mgr ctrl.Manager) error

SetupContactGroupMembershipWebhooksWithManager sets up the webhooks for the ContactGroupMembership resource.

func SetupContactGroupWebhooksWithManager added in v0.5.0

func SetupContactGroupWebhooksWithManager(mgr ctrl.Manager) error

SetupContactGroupWebhooksWithManager sets up the webhooks for the ContactGroup resource.

func SetupContactWebhooksWithManager added in v0.5.0

func SetupContactWebhooksWithManager(mgr ctrl.Manager) error

SetupContactWebhooksWithManager sets up the webhooks for the Contact resource.

func SetupEmailTemplateWebhooksWithManager

func SetupEmailTemplateWebhooksWithManager(mgr ctrl.Manager, _ string) error

func SetupEmailWebhooksWithManager

func SetupEmailWebhooksWithManager(mgr ctrl.Manager) error

SetupEmailWebhooksWithManager sets up the webhooks for the Email resource.

Types

type ContactGroupMembershipRemovalValidator added in v0.5.0

type ContactGroupMembershipRemovalValidator struct {
	Client client.Client
}

func (*ContactGroupMembershipRemovalValidator) ValidateCreate added in v0.5.0

func (*ContactGroupMembershipRemovalValidator) ValidateDelete added in v0.5.0

func (*ContactGroupMembershipRemovalValidator) ValidateUpdate added in v0.5.0

func (v *ContactGroupMembershipRemovalValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

type ContactGroupMembershipValidator added in v0.5.0

type ContactGroupMembershipValidator struct {
	Client client.Client
}

func (*ContactGroupMembershipValidator) ValidateCreate added in v0.5.0

ValidateCreate implements webhook.Validator for ContactGroupMembership

func (*ContactGroupMembershipValidator) ValidateDelete added in v0.5.0

func (*ContactGroupMembershipValidator) ValidateUpdate added in v0.5.0

func (v *ContactGroupMembershipValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

type ContactGroupValidator added in v0.5.0

type ContactGroupValidator struct {
	Client client.Client
}

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.

func (*ContactMutator) Default added in v0.5.0

func (m *ContactMutator) Default(ctx context.Context, obj runtime.Object) error

type ContactValidator added in v0.5.0

type ContactValidator struct {
	Client client.Client
}

func (*ContactValidator) ValidateCreate added in v0.5.0

func (v *ContactValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (v *EmailTemplateValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

type EmailValidator

type EmailValidator struct {
	Client client.Client
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL