reconciler

package
v0.12.0-alpha.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelmAppReconciler

type HelmAppReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Scheduler quartz.Scheduler
	Workers   int
	ShardID   string
	Recorder  record.EventRecorder
}

HelmAppReconciler reconciles a HelmApp resource to create and apply bundles for helm charts

func (*HelmAppReconciler) Reconcile

func (r *HelmAppReconciler) 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. The Reconcile function compares the state specified by the HelmApp object against the actual cluster state, and then performs operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*HelmAppReconciler) SetupWithManager

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

type HelmAppStatusReconciler

type HelmAppStatusReconciler struct {
	client.Client
	Scheme  *runtime.Scheme
	Workers int
	ShardID string
}

func (*HelmAppStatusReconciler) Reconcile

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

Reconcile reads the stat of the HelmApp and BundleDeployments and computes status fields for the HelmApp. This status is used to display information to the user.

func (*HelmAppStatusReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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