controller

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionTypeAvailable   = "Available"
	ConditionTypeDegraded    = "Degraded"
	ConditionTypeProgressing = "Progressing"
)

Condition type constants — used in status.conditions

Variables

This section is empty.

Functions

This section is empty.

Types

type IncidentGraphBuilder added in v0.0.16

type IncidentGraphBuilder interface {
	Build(ctx context.Context, incident *rcav1alpha1.IncidentReport) (*graph.IncidentGraph, error)
}

IncidentGraphBuilder is the minimum interface the reconciler needs to build the incident topology graph. It is satisfied by *graph.Builder; declared as an interface so tests can inject fakes and so the dependency is optional (a nil builder skips graph construction).

type IncidentReportReconciler

type IncidentReportReconciler struct {
	client.Client
	Scheme       *runtime.Scheme
	Recorder     events.EventRecorder
	Notifier     *notify.Dispatcher
	GraphBuilder IncidentGraphBuilder
	// contains filtered or unexported fields
}

func (*IncidentReportReconciler) Reconcile

func (*IncidentReportReconciler) SetupWithManager

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

type RCAAgentReconciler

type RCAAgentReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	Cache          ctrlcache.Cache
	SignalEmitter  collectors.SignalEmitter
	ManagerContext context.Context
	// contains filtered or unexported fields
}

func (*RCAAgentReconciler) Reconcile

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

func (*RCAAgentReconciler) SetupWithManager

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

type RCACorrelationRuleReconciler added in v0.0.6

type RCACorrelationRuleReconciler struct {
	Client  client.Client
	Factory *rulengine.Factory
	Log     logr.Logger
}

RCACorrelationRuleReconciler watches RCACorrelationRule CRDs and reloads the CRD rule engine whenever rules are created, updated, or deleted.

func (*RCACorrelationRuleReconciler) Reconcile added in v0.0.6

func (*RCACorrelationRuleReconciler) SetupWithManager added in v0.0.6

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

SetupWithManager registers the RCACorrelationRule controller with the manager.

Jump to

Keyboard shortcuts

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