Documentation
¶
Index ¶
Constants ¶
View Source
const ( // StatusUpdateRetryInterval is the retry interval when status update conflicts occur StatusUpdateRetryInterval = 3 * time.Second // PendingPhaseCheckInterval is how often to check Pod status during Pending phase PendingPhaseCheckInterval = 3 * time.Second // TerminationCheckInterval is the requeue interval during termination TerminationCheckInterval = 1 * time.Second // ImmediateRequeueInterval is for immediate requeue for time-based transitions ImmediateRequeueInterval = 1 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceReconciler ¶
type InstanceReconciler struct {
client.Client
Scheme *runtime.Scheme
Recorder record.EventRecorder
}
InstanceReconciler reconciles a Instance object
func (*InstanceReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.22.1/pkg/reconcile
func (*InstanceReconciler) SetupWithManager ¶
func (r *InstanceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.