Documentation
¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "accounting-controller" // BackoffGCInterval is the time that has to pass before next iteration of backoff GC is run BackoffGCInterval = 1 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountingReconciler ¶
type AccountingReconciler struct {
client.Client
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
AccountingReconciler reconciles a Accounting object
func NewReconciler ¶
func NewReconciler(c client.Client) *AccountingReconciler
func (*AccountingReconciler) Reconcile ¶
func (r *AccountingReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, retErr 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 (*AccountingReconciler) SetupWithManager ¶
func (r *AccountingReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SyncStep ¶
type SyncStep struct {
Name string
Sync func(ctx context.Context, cluster *slinkyv1beta1.Accounting) error
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.