status

package
v0.0.0-...-a9fbe5f Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusReconciler

type StatusReconciler struct {
	Client       client.Client
	HubNamespace string
	Namespace    string
	HubClient    *util.ReloadableHubClient
	ObsAddonName string
	Logger       logr.Logger
}

StatusReconciler reconciles status object.

func (*StatusReconciler) Reconcile

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

Reconcile reads that state of the cluster for a ObservabilityAddon object and makes changes based on the state read and what is in the ObservabilityAddon.Status The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*StatusReconciler) SetupWithManager

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