webhook

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NetBirdCleanupFinalizer is added to all RemoteMachines at creation time
	// to ensure NetBird cleanup can run before k0smotron's cleanup.
	// The cleanup controller will determine if cleanup is actually needed.
	NetBirdCleanupFinalizer = "netbird.exalsius.ai/cleanup"
)

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