Documentation
¶
Index ¶
Constants ¶
const ( // DefaultReconcilerRequeue is the default value for the reconcile retry. DefaultReconcilerRequeue = 30 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HuaweiCloudClusterReconciler ¶
type HuaweiCloudClusterReconciler struct { client.Client Scheme *runtime.Scheme Credentials *basic.Credentials }
HuaweiCloudClusterReconciler reconciles a HuaweiCloudCluster object
func (*HuaweiCloudClusterReconciler) Reconcile ¶
func (r *HuaweiCloudClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ 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. TODO(user): Modify the Reconcile function to compare the state specified by the HuaweiCloudCluster 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.19.1/pkg/reconcile
func (*HuaweiCloudClusterReconciler) SetupWithManager ¶
func (r *HuaweiCloudClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type HuaweiCloudMachineReconciler ¶
type HuaweiCloudMachineReconciler struct { client.Client Recorder record.EventRecorder Scheme *runtime.Scheme Credentials *basic.Credentials }
HuaweiCloudMachineReconciler reconciles a HuaweiCloudMachine object
func (*HuaweiCloudMachineReconciler) Reconcile ¶
func (r *HuaweiCloudMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ 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. TODO(user): Modify the Reconcile function to compare the state specified by the HuaweiCloudMachine 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.19.1/pkg/reconcile
func (*HuaweiCloudMachineReconciler) SetupWithManager ¶
func (r *HuaweiCloudMachineReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.