Documentation ¶
Index ¶
- type OCIClusterReconciler
- type OCIMachineReconciler
- func (r *OCIMachineReconciler) OCIClusterToOCIMachines(ctx context.Context) handler.MapFunc
- func (r *OCIMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, reterr error)
- func (r *OCIMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OCIClusterReconciler ¶
type OCIClusterReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder Region string ClientProvider *scope.ClientProvider }
OCIClusterReconciler reconciles a OciCluster object
func (*OCIClusterReconciler) Reconcile ¶
func (r *OCIClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the machine closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*OCIClusterReconciler) SetupWithManager ¶
func (r *OCIClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type OCIMachineReconciler ¶
type OCIMachineReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder ClientProvider *scope.ClientProvider Region string }
OCIMachineReconciler reconciles a OciMachine object
func (*OCIMachineReconciler) OCIClusterToOCIMachines ¶
func (r *OCIMachineReconciler) OCIClusterToOCIMachines(ctx context.Context) handler.MapFunc
func (*OCIMachineReconciler) Reconcile ¶
func (r *OCIMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the machine closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*OCIMachineReconciler) SetupWithManager ¶
func (r *OCIMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.