controllers

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 27 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// Annotation on ConfigMaps in flux-system to indicate they should be synced
	SyncConfigMapAnnotation = "flux-extension.nrfcloud.com/sync-configmap"
	// Annotation on Namespaces to indicate they want to receive synced ConfigMaps
	SyncTargetAnnotation = "flux-extension.nrfcloud.com/sync-target"
	// Annotation to track the source of synced ConfigMaps
	SyncSourceAnnotation = "flux-extension.nrfcloud.com/sync-source"
	// The source namespace for ConfigMaps
	FluxSystemNamespace = "flux-system"
)
View Source
const (
	// ReceiverFinalizer is the finalizer for Receiver resources
	ReceiverFinalizer = "flux-extension-controller.nrfcloud.com/receiver"
	// WebhookIDAnnotation stores the GitHub webhook ID
	WebhookIDAnnotation = "flux-extension-controller.nrfcloud.com/webhook-id"
	// RepositoryURLAnnotation stores the repository URL
	RepositoryURLAnnotation = "flux-extension-controller.nrfcloud.com/repository-url"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapReconciler added in v0.1.0

type ConfigMapReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

ConfigMapReconciler reconciles ConfigMap objects in flux-system namespace

func (*ConfigMapReconciler) Reconcile added in v0.1.0

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

func (*ConfigMapReconciler) SetupWithManager added in v0.1.0

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

type GitRepositoryReconciler

type GitRepositoryReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Config *config.Config
	// contains filtered or unexported fields
}

GitRepositoryReconciler reconciles GitRepository objects

func (*GitRepositoryReconciler) Reconcile

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

Reconcile implements the reconciliation logic for GitRepository resources

func (*GitRepositoryReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager

type NamespaceReconciler added in v0.1.0

type NamespaceReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

NamespaceReconciler reconciles Namespace objects for ConfigMap syncing

func (*NamespaceReconciler) Reconcile added in v0.1.0

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

func (*NamespaceReconciler) SetupWithManager added in v0.1.0

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

type ReceiverReconciler added in v0.3.0

type ReceiverReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Config *config.Config
	// contains filtered or unexported fields
}

ReceiverReconciler reconciles Receiver objects

func (*ReceiverReconciler) Reconcile added in v0.3.0

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

Reconcile implements the reconciliation logic for Receiver resources

func (*ReceiverReconciler) SetupWithManager added in v0.3.0

func (r *ReceiverReconciler) 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