controllers

package
v1.8.9 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Rather than importing the whole notifications controller, just copying the const here
	NotifiedAnnotationKey             = "notified.notifications.apps.hanzo.ai"
	ReconcileRequeueOnValidationError = time.Minute * 3
	ReverseDeletionOrder              = "Reverse"
	AllAtOnceDeletionOrder            = "AllAtOnce"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationSetReconciler

type ApplicationSetReconciler struct {
	client.Client
	Scheme               *runtime.Scheme
	Recorder             record.EventRecorder
	Generators           map[string]generators.Generator
	DB                   db.DB
	KubeClientset        kubernetes.Interface
	Policy               v1alpha1.ApplicationsSyncPolicy
	EnablePolicyOverride bool
	utils.Renderer
	ControllerNamespace          string
	ApplicationSetNamespaces     []string
	EnableProgressiveSyncs       bool
	SCMRootCAPath                string
	GlobalPreservedAnnotations   []string
	GlobalPreservedLabels        []string
	Metrics                      *metrics.ApplicationsetMetrics
	MaxResourcesStatusCount      int
	ClusterInformer              *settings.ClusterInformer
	ConcurrentApplicationUpdates int
	ProgressiveSyncManager       *progressivesync.Manager
}

ApplicationSetReconciler reconciles a ApplicationSet object

func (*ApplicationSetReconciler) Reconcile

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

func (*ApplicationSetReconciler) SetAppSetApplicationStatus

func (r *ApplicationSetReconciler) SetAppSetApplicationStatus(
	ctx context.Context,
	logCtx *log.Entry,
	applicationSet *v1alpha1.ApplicationSet,
	applicationStatuses []v1alpha1.ApplicationSetApplicationStatus,
) error

func (*ApplicationSetReconciler) SetApplicationSetStatusCondition

func (r *ApplicationSetReconciler) SetApplicationSetStatusCondition(
	ctx context.Context,
	applicationSet *v1alpha1.ApplicationSet,
	conditions []v1alpha1.ApplicationSetCondition,
	parametersGenerated bool,
) error

func (*ApplicationSetReconciler) SetupWithManager

func (r *ApplicationSetReconciler) SetupWithManager(mgr ctrl.Manager, enableProgressiveSyncs bool, maxConcurrentReconciliations int) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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