Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SLOCompositionReconciler ¶
type SLOCompositionReconciler struct {
client.Client
Scheme *runtime.Scheme
PrometheusClient prometheus.PrometheusClient
PrometheusURL string
}
SLOCompositionReconciler reconciles a SLOComposition object
func (*SLOCompositionReconciler) Reconcile ¶
func (r *SLOCompositionReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.22.1/pkg/reconcile
func (*SLOCompositionReconciler) SetupWithManager ¶
func (r *SLOCompositionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServiceLevelObjectiveReconciler ¶
type ServiceLevelObjectiveReconciler struct {
client.Client
Scheme *runtime.Scheme
PrometheusClient prometheus.PrometheusClient
// Correlation support
ChangeCollector *correlation.ChangeCollector
CorrelationEngine *correlation.CorrelationEngine
AnomalyDetector *correlation.AnomalyDetector
}
ServiceLevelObjectiveReconciler reconciles a ServiceLevelObjective object
func (*ServiceLevelObjectiveReconciler) Reconcile ¶
func (r *ServiceLevelObjectiveReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.22.1/pkg/reconcile
func (*ServiceLevelObjectiveReconciler) SetupWithManager ¶
func (r *ServiceLevelObjectiveReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.