Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckReconciler ¶
HealthCheckReconciler reconciles a HealthCheck object
func (*HealthCheckReconciler) Reconcile ¶
func (r *HealthCheckReconciler) 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. This controller handles generic HealthCheck logic and delegates specific health checking to specialized controllers based on the class. It also watches Rollout resources to reset health checks when deployments happen.
func (*HealthCheckReconciler) ResetHealthCheckStatus ¶
func (r *HealthCheckReconciler) ResetHealthCheckStatus(ctx context.Context, healthCheck *rolloutv1alpha1.HealthCheck) error
ResetHealthCheckStatus resets the HealthCheck status to Pending This should be called when a new deployment is detected
func (*HealthCheckReconciler) SetupWithManager ¶
func (r *HealthCheckReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type KustomizationHealthReconciler ¶
KustomizationHealthReconciler reconciles a KustomizationHealth object
func (*KustomizationHealthReconciler) Reconcile ¶
func (r *KustomizationHealthReconciler) 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.
func (*KustomizationHealthReconciler) SetupWithManager ¶
func (r *KustomizationHealthReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type KustomizationReference ¶
KustomizationReference represents a reference to a kustomization
type RolloutReconciler ¶
type RolloutReconciler struct {
client.Client
Scheme *runtime.Scheme
Clock Clock
Recorder record.EventRecorder
}
RolloutReconciler reconciles a Rollout object
func (*RolloutReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*RolloutReconciler) SetupWithManager ¶
func (r *RolloutReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.