controller

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: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceExposeAnnotation Service annotation for exposing
	ServiceExposeAnnotation = "netbird.io/expose"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NBGroupReconciler

type NBGroupReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	APIKey        string
	ManagementURL string
	// contains filtered or unexported fields
}

NBGroupReconciler reconciles a NBGroup object

func (*NBGroupReconciler) Reconcile

func (r *NBGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*NBGroupReconciler) SetupWithManager

func (r *NBGroupReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type NBPolicyReconciler

type NBPolicyReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	ClusterName   string
	APIKey        string
	ManagementURL string
	// contains filtered or unexported fields
}

NBPolicyReconciler reconciles a NBPolicy object

func (*NBPolicyReconciler) Reconcile

func (r *NBPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*NBPolicyReconciler) SetupWithManager

func (r *NBPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type NBResourceReconciler

type NBResourceReconciler struct {
	client.Client
	Scheme                       *runtime.Scheme
	APIKey                       string
	ManagementURL                string
	AllowAutomaticPolicyCreation bool
	ClusterName                  string
	// contains filtered or unexported fields
}

NBResourceReconciler reconciles a NBResource object

func (*NBResourceReconciler) Reconcile

func (r *NBResourceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*NBResourceReconciler) SetupWithManager

func (r *NBResourceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type NBRoutingPeerReconciler

type NBRoutingPeerReconciler struct {
	client.Client
	Scheme             *runtime.Scheme
	ClientImage        string
	ClusterName        string
	APIKey             string
	ManagementURL      string
	NamespacedNetworks bool
	// contains filtered or unexported fields
}

NBRoutingPeerReconciler reconciles a NBRoutingPeer object

func (*NBRoutingPeerReconciler) Reconcile

func (r *NBRoutingPeerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*NBRoutingPeerReconciler) SetupWithManager

func (r *NBRoutingPeerReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type NBSetupKeyReconciler

type NBSetupKeyReconciler struct {
	client.Client
	Scheme            *runtime.Scheme
	ReferencedSecrets map[string]types.NamespacedName
}

NBSetupKeyReconciler reconciles a NBSetupKey object

func (*NBSetupKeyReconciler) Reconcile

func (r *NBSetupKeyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*NBSetupKeyReconciler) SetupWithManager

func (r *NBSetupKeyReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ServiceReconciler

type ServiceReconciler struct {
	client.Client
	Scheme              *runtime.Scheme
	ClusterName         string
	ClusterDNS          string
	NamespacedNetworks  bool
	ControllerNamespace string
}

ServiceReconciler reconciles a Service object

func (*ServiceReconciler) Reconcile

func (r *ServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ServiceReconciler) SetupWithManager

func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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