webhookv1beta1

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger           log.Logger
	WebhookClient    client.Reader
	Validator        validate.ClusterObjects
	MetalLBNamespace string
)

log is for logging addresspool-webhook.

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

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

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

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

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

Handle handled incoming admission requests for L2Advertisement objects.

func (*L2AdvertisementValidator) SetupWebhookWithManager

func (v *L2AdvertisementValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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