Documentation ¶
Index ¶
Constants ¶
const DeleteRequestRequeueDuration time.Duration = 30 * time.Second
const OperationReqRequeueDuration time.Duration = 30 * time.Second
OperationReqRequeueDuration is the time interval to reconcile a OperationRequest if no error occurs
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeleteRequestReconciler ¶
type DeleteRequestReconciler struct { client.Client Scheme *runtime.Scheme Logger logr.Logger Recorder record.EventRecorder // contains filtered or unexported fields }
DeleteRequestReconciler reconciles a DeleteRequest object
func (*DeleteRequestReconciler) SetupWithManager ¶
func (r *DeleteRequestReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OperationReqReconciler ¶
type OperationReqReconciler struct { client.Client Logger logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
OperationReqReconciler reconciles a Operationrequest object
func (*OperationReqReconciler) SetupWithManager ¶
func (r *OperationReqReconciler) SetupWithManager(mgr ctrl.Manager, opts util.RateLimiterOptions, expTime time.Duration, retTime time.Duration) error
SetupWithManager sets up the controller with the Manager.
type UserExpirationReconciler ¶
type UserExpirationReconciler struct { Logger logr.Logger Recorder record.EventRecorder *runtime.Scheme client.Client // contains filtered or unexported fields }
UserExpirationReconciler reconciles a Secret object
func (*UserExpirationReconciler) Reconcile ¶
func (r *UserExpirationReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the Secret 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.11.0/pkg/reconcile
func (*UserExpirationReconciler) SetupWithManager ¶
func (r *UserExpirationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type UserReconciler ¶
type UserReconciler struct { Logger logr.Logger Recorder record.EventRecorder *runtime.Scheme client.Client // contains filtered or unexported fields }
UserReconciler reconciles a User object
func (*UserReconciler) 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 User 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.12.2/pkg/reconcile
func (*UserReconciler) SetupWithManager ¶
func (r *UserReconciler) SetupWithManager(mgr ctrl.Manager, opts utilcontroller.RateLimiterOptions, minRequeueDuration time.Duration, maxRequeueDuration time.Duration) error
SetupWithManager sets up the controller with the Manager.