Documentation ¶
Overview ¶
Package controller contains the main reconciliation logic for this application. the controllers make sure to perform actions according to the state of the resource, which is being watched.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IonosCloudClusterReconciler ¶
IonosCloudClusterReconciler reconciles a IonosCloudCluster object.
func NewIonosCloudClusterReconciler ¶
func NewIonosCloudClusterReconciler(mgr ctrl.Manager) *IonosCloudClusterReconciler
NewIonosCloudClusterReconciler creates a new IonosCloudClusterReconciler.
func (*IonosCloudClusterReconciler) Reconcile ¶
func (r *IonosCloudClusterReconciler) Reconcile( ctx context.Context, ionosCloudCluster *infrav1.IonosCloudCluster, ) (_ 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile
func (*IonosCloudClusterReconciler) SetupWithManager ¶
func (r *IonosCloudClusterReconciler) SetupWithManager( ctx context.Context, mgr ctrl.Manager, options controller.Options, ) error
SetupWithManager sets up the controller with the Manager.
type IonosCloudMachineReconciler ¶
IonosCloudMachineReconciler reconciles a IonosCloudMachine object.
func NewIonosCloudMachineReconciler ¶
func NewIonosCloudMachineReconciler(mgr ctrl.Manager) *IonosCloudMachineReconciler
NewIonosCloudMachineReconciler creates a new IonosCloudMachineReconciler.
func (*IonosCloudMachineReconciler) Reconcile ¶
func (r *IonosCloudMachineReconciler) Reconcile( ctx context.Context, ionosCloudMachine *infrav1.IonosCloudMachine, ) (_ ctrl.Result, retErr error)
func (*IonosCloudMachineReconciler) SetupWithManager ¶
func (r *IonosCloudMachineReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.