Documentation ¶
Index ¶
- Constants
- type ShowerReconciler
- func (r *ShowerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ShowerReconciler) ReconcileDeployment(ctx *context.Context, req ctrl.Request) error
- func (r *ShowerReconciler) ReconcileExternalRole(namespace string) func(*context.Context, ctrl.Request) error
- func (r *ShowerReconciler) ReconcileExternalRolebinding(namespace string) func(*context.Context, ctrl.Request) error
- func (r *ShowerReconciler) ReconcilePipelineRole(ctx *context.Context, req ctrl.Request) error
- func (r *ShowerReconciler) ReconcilePipelineRolebinding(ctx *context.Context, req ctrl.Request) error
- func (r *ShowerReconciler) ReconcileRoute(ctx *context.Context, req ctrl.Request) error
- func (r *ShowerReconciler) ReconcileService(ctx *context.Context, req ctrl.Request) error
- func (r *ShowerReconciler) ReconcileServiceAccount(ctx *context.Context, req ctrl.Request) error
- func (r *ShowerReconciler) ReconcileServiceMonitor(ctx *context.Context, req ctrl.Request) error
- func (r *ShowerReconciler) ReconcileShowerRole(ctx *context.Context, req ctrl.Request) error
- func (r *ShowerReconciler) ReconcileShowerRolebinding(ctx *context.Context, req ctrl.Request) error
- func (r *ShowerReconciler) SetCondition(conditionType string, status metav1.ConditionStatus, reason, message string)
- func (r *ShowerReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *ShowerReconciler) UpdateStatusNow(ctx context.Context, originalErr error) (ctrl.Result, error)
Constants ¶
const ( RequeueAfter = 10 * time.Second DefaultImageBase = "quay.io/thoth-station/meteor-shower:v" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShowerReconciler ¶
ShowerReconciler reconciles a Shower object
func (*ShowerReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the Shower object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*ShowerReconciler) ReconcileDeployment ¶
func (*ShowerReconciler) ReconcileExternalRole ¶
func (*ShowerReconciler) ReconcileExternalRolebinding ¶
func (*ShowerReconciler) ReconcilePipelineRole ¶
func (*ShowerReconciler) ReconcilePipelineRolebinding ¶
func (*ShowerReconciler) ReconcileRoute ¶
func (*ShowerReconciler) ReconcileService ¶
func (*ShowerReconciler) ReconcileServiceAccount ¶
func (*ShowerReconciler) ReconcileServiceMonitor ¶
func (*ShowerReconciler) ReconcileShowerRole ¶
func (*ShowerReconciler) ReconcileShowerRolebinding ¶
func (*ShowerReconciler) SetCondition ¶
func (r *ShowerReconciler) SetCondition(conditionType string, status metav1.ConditionStatus, reason, message string)
Set status condition helper
func (*ShowerReconciler) SetupWithManager ¶
func (r *ShowerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*ShowerReconciler) UpdateStatusNow ¶
func (r *ShowerReconciler) UpdateStatusNow(ctx context.Context, originalErr error) (ctrl.Result, error)
Force object status update. Returns a reconcile result