func (r *AstarteVoyagerIngress) ValidateDelete() error {
	avilog.Info("validate delete", "name", r.Name)
	return nil
}
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
package v1alpha1
import (
	"k8s.io/apimachinery/pkg/runtime"
	ctrl "sigs.k8s.io/controller-runtime"
	logf "sigs.k8s.io/controller-runtime/pkg/log"
	"sigs.k8s.io/controller-runtime/pkg/webhook"
)
var astartelog = logf.Log.WithName("astarte-resource")
var avilog = logf.Log.WithName("astartevoyageringress-resource")
var flowlog = logf.Log.WithName("flow-resource")
func (r *Astarte) SetupWebhookWithManager(mgr ctrl.Manager) error {
	return ctrl.NewWebhookManagedBy(mgr).
		For(r).
		Complete()
}
func (r *AstarteVoyagerIngress) SetupWebhookWithManager(mgr ctrl.Manager) error {
	return ctrl.NewWebhookManagedBy(mgr).
		For(r).
		Complete()
}
func (r *Flow) SetupWebhookWithManager(mgr ctrl.Manager) error {
	return ctrl.NewWebhookManagedBy(mgr).
		For(r).
		Complete()
}
var _ webhook.Defaulter = &Astarte{}
func (r *Astarte) Default() {
	astartelog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &Astarte{}
func (r *Astarte) ValidateCreate() error {
	astartelog.Info("validate create", "name", r.Name)
	return nil
}
func (r *Astarte) ValidateUpdate(old runtime.Object) error {
	astartelog.Info("validate update", "name", r.Name)
	return nil
}
func (r *Astarte) ValidateDelete() error {
	astartelog.Info("validate delete", "name", r.Name)
	return nil
}
var _ webhook.Defaulter = &AstarteVoyagerIngress{}
func (r *AstarteVoyagerIngress) Default() {
	avilog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &AstarteVoyagerIngress{}
func (r *AstarteVoyagerIngress) ValidateCreate() error {
	avilog.Info("validate create", "name", r.Name)
	return nil
}
func (r *AstarteVoyagerIngress) ValidateUpdate(old runtime.Object) error {
	avilog.Info("validate update", "name", r.Name)
	return nil
}