Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IgnoredTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: metricNamespace, Subsystem: metricSubsystem, Name: "deletion_ignored_total", Help: "Number of all ignored cluster deletion", }, counterLabels, ) PendingTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: metricNamespace, Subsystem: metricSubsystem, Name: "deletion_pending_total", Help: "Number of all pending cluster deletion", }, counterLabels, ) ErrorsTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: metricNamespace, Subsystem: metricSubsystem, Name: "deletion_errors_total", Help: "Number of all failed cluster deletion", }, counterLabels, ) SuccessTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: metricNamespace, Subsystem: metricSubsystem, Name: "deletion_succeeded_total", Help: "Number of all clusters that were deleted successfully", }, counterLabels, ) )
Counters for cluster deletions
Functions ¶
This section is empty.
Types ¶
type ClusterReconciler ¶
type ClusterReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme DryRun bool // contains filtered or unexported fields }
ClusterReconciler reconciles a Cluster object
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.