v1

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2025 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupNBGroupWebhookWithManager

func SetupNBGroupWebhookWithManager(mgr ctrl.Manager) error

SetupNBGroupWebhookWithManager registers the webhook for NBGroup in the manager.

func SetupNBResourceWebhookWithManager

func SetupNBResourceWebhookWithManager(mgr ctrl.Manager) error

SetupNBResourceWebhookWithManager registers the webhook for NBResource in the manager.

func SetupNBRoutingPeerWebhookWithManager

func SetupNBRoutingPeerWebhookWithManager(mgr ctrl.Manager) error

SetupNBRoutingPeerWebhookWithManager registers the webhook for NBRoutingPeer in the manager.

func SetupNBSetupKeyWebhookWithManager

func SetupNBSetupKeyWebhookWithManager(mgr ctrl.Manager) error

SetupNBSetupKeyWebhookWithManager registers the webhook for NBSetupKey in the manager.

func SetupPodWebhookWithManager

func SetupPodWebhookWithManager(mgr ctrl.Manager, managementURL, clientImage string) error

SetupPodWebhookWithManager registers the webhook for Pod in the manager.

Types

type NBGroupCustomValidator

type NBGroupCustomValidator struct {
	// contains filtered or unexported fields
}

NBGroupCustomValidator struct is responsible for validating the NBGroup resource when it is created, updated, or deleted.

func (*NBGroupCustomValidator) ValidateCreate

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type NBGroup.

func (*NBGroupCustomValidator) ValidateDelete

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type NBGroup.

func (*NBGroupCustomValidator) ValidateUpdate

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

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type NBGroup.

type NBResourceCustomValidator

type NBResourceCustomValidator struct {
	// contains filtered or unexported fields
}

NBResourceCustomValidator struct is responsible for validating the NBResource resource when it is created, updated, or deleted.

func (*NBResourceCustomValidator) ValidateCreate

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type NBResource.

func (*NBResourceCustomValidator) ValidateDelete

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type NBResource.

func (*NBResourceCustomValidator) ValidateUpdate

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

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type NBResource.

type NBRoutingPeerCustomValidator

type NBRoutingPeerCustomValidator struct {
	// contains filtered or unexported fields
}

NBRoutingPeerCustomValidator struct is responsible for validating the NBRoutingPeer resource when it is created, updated, or deleted.

func (*NBRoutingPeerCustomValidator) ValidateCreate

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type NBRoutingPeer.

func (*NBRoutingPeerCustomValidator) ValidateDelete

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type NBRoutingPeer.

func (*NBRoutingPeerCustomValidator) ValidateUpdate

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

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type NBRoutingPeer.

type NBSetupKeyCustomValidator

type NBSetupKeyCustomValidator struct {
	// contains filtered or unexported fields
}

NBSetupKeyCustomValidator struct is responsible for validating the NBSetupKey resource when it is created, updated, or deleted.

func (*NBSetupKeyCustomValidator) ValidateCreate

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type NBSetupKey.

func (*NBSetupKeyCustomValidator) ValidateDelete

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type NBSetupKey.

func (*NBSetupKeyCustomValidator) ValidateUpdate

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

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type NBSetupKey.

type PodNetbirdInjector

type PodNetbirdInjector struct {
	// contains filtered or unexported fields
}

PodNetbirdInjector struct is responsible for setting default values on the custom resource of the Kind Pod when those are created or updated.

func (*PodNetbirdInjector) Default

func (d *PodNetbirdInjector) Default(ctx context.Context, obj runtime.Object) error

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind Pod.

Jump to

Keyboard shortcuts

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