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) 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) 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) SetupWithManager ¶ added in v0.0.6
func (r *RCACorrelationRuleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers the RCACorrelationRule controller with the manager.
Click to show internal directories.
Click to hide internal directories.