webhook

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NetBirdCleanupFinalizer is added to RemoteMachines that belong to
	// NetBird-enabled Colonies to ensure NetBird cleanup runs before k0smotron's cleanup.
	NetBirdCleanupFinalizer = "netbird.exalsius.ai/cleanup"

	// ClusterNameLabel is the label used to identify which cluster a RemoteMachine belongs to
	ClusterNameLabel = "cluster.x-k8s.io/cluster-name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteMachineDefaulter

type RemoteMachineDefaulter struct {
	client.Client
}

func (*RemoteMachineDefaulter) Default

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*RemoteMachineDefaulter) SetupWebhookWithManager

func (r *RemoteMachineDefaulter) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager registers the webhook with the manager

Jump to

Keyboard shortcuts

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