Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( Logger log.Logger WebhookClient client.Reader Validator validate.ClusterObjects MetalLBNamespace string )
Functions ¶
This section is empty.
Types ¶
type BFDProfileValidator ¶
type BFDProfileValidator struct { ClusterResourceNamespace string // contains filtered or unexported fields }
+kubebuilder:webhook:verbs=create;delete,path=/validate-metallb-io-v1beta1-bfdprofile,mutating=false,failurePolicy=fail,groups=metallb.io,resources=bfdprofiles,versions=v1beta1,name=bfdprofilevalidationwebhook.metallb.io,sideEffects=None,admissionReviewVersions=v1
func (*BFDProfileValidator) Handle ¶
func (v *BFDProfileValidator) Handle(ctx context.Context, req admission.Request) (resp admission.Response)
Handle handled incoming admission requests for BFDProfile objects.
func (*BFDProfileValidator) SetupWebhookWithManager ¶
func (v *BFDProfileValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
type BGPAdvertisementValidator ¶
type BGPAdvertisementValidator struct { ClusterResourceNamespace string // contains filtered or unexported fields }
+kubebuilder:webhook:verbs=create;update,path=/validate-metallb-io-v1beta1-bgpadvertisement,mutating=false,failurePolicy=fail,groups=metallb.io,resources=bgpadvertisements,versions=v1beta1,name=bgpadvertisementvalidationwebhook.metallb.io,sideEffects=None,admissionReviewVersions=v1
func (*BGPAdvertisementValidator) Handle ¶
func (v *BGPAdvertisementValidator) Handle(ctx context.Context, req admission.Request) (resp admission.Response)
Handle handled incoming admission requests for BGPAdvertisement objects.
func (*BGPAdvertisementValidator) SetupWebhookWithManager ¶
func (v *BGPAdvertisementValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
type CommunityValidator ¶
type CommunityValidator struct { ClusterResourceNamespace string // contains filtered or unexported fields }
+kubebuilder:webhook:verbs=create;update,path=/validate-metallb-io-v1beta1-community,mutating=false,failurePolicy=fail,groups=metallb.io,resources=communities,versions=v1beta1,name=communityvalidationwebhook.metallb.io,sideEffects=None,admissionReviewVersions=v1
func (*CommunityValidator) Handle ¶
func (v *CommunityValidator) Handle(ctx context.Context, req admission.Request) (resp admission.Response)
Handle handled incoming admission requests for Community objects.
func (*CommunityValidator) SetupWebhookWithManager ¶
func (v *CommunityValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
type IPAddressPoolValidator ¶
type IPAddressPoolValidator struct { ClusterResourceNamespace string // contains filtered or unexported fields }
+kubebuilder:webhook:verbs=create;update,path=/validate-metallb-io-v1beta1-ipaddresspool,mutating=false,failurePolicy=fail,groups=metallb.io,resources=ipaddresspools,versions=v1beta1,name=ipaddresspoolvalidationwebhook.metallb.io,sideEffects=None,admissionReviewVersions=v1
func (*IPAddressPoolValidator) Handle ¶
func (v *IPAddressPoolValidator) Handle(ctx context.Context, req admission.Request) (resp admission.Response)
Handle handled incoming admission requests for IPAddressPool objects.
func (*IPAddressPoolValidator) SetupWebhookWithManager ¶
func (v *IPAddressPoolValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
type L2AdvertisementValidator ¶
type L2AdvertisementValidator struct { ClusterResourceNamespace string // contains filtered or unexported fields }
+kubebuilder:webhook:verbs=create;update,path=/validate-metallb-io-v1beta1-v1beta1.L2Advertisement,mutating=false,failurePolicy=fail,groups=metallb.io,resources=v1beta1.L2Advertisements,versions=v1beta1,name=v1beta1.L2Advertisementvalidationwebhook.metallb.io,sideEffects=None,admissionReviewVersions=v1
func (*L2AdvertisementValidator) Handle ¶
func (v *L2AdvertisementValidator) Handle(ctx context.Context, req admission.Request) (resp admission.Response)
Handle handled incoming admission requests for L2Advertisement objects.
func (*L2AdvertisementValidator) SetupWebhookWithManager ¶
func (v *L2AdvertisementValidator) SetupWebhookWithManager(mgr ctrl.Manager) error