Documentation ¶
Overview ¶
Package controllers provides the controllers for CAPHV.
Index ¶
- type GuestCSRReconciler
- type HivelocityClusterReconciler
- type HivelocityMachineReconciler
- func (r *HivelocityMachineReconciler) HivelocityClusterToHivelocityMachines(ctx context.Context, log logr.Logger) handler.MapFunc
- func (r *HivelocityMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *HivelocityMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
- type HivelocityMachineTemplateReconciler
- type HivelocityRemediationReconciler
- type HivelocityRemediationTemplateReconciler
- type ManagementCluster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GuestCSRReconciler ¶
type GuestCSRReconciler struct { client.Client WatchFilterValue string // contains filtered or unexported fields }
GuestCSRReconciler reconciles a CSR object.csr.
func (*GuestCSRReconciler) Reconcile ¶
func (r *GuestCSRReconciler) Reconcile(ctx context.Context, req reconcile.Request) (_ reconcile.Result, reterr error)
Reconcile manages the lifecycle of a CSR object.
func (*GuestCSRReconciler) SetupWithManager ¶
func (r *GuestCSRReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type HivelocityClusterReconciler ¶
type HivelocityClusterReconciler struct { client.Client Scheme *runtime.Scheme WatchFilterValue string APIReader client.Reader HVClientFactory hvclient.Factory TargetClusterManagersWaitGroup *sync.WaitGroup // contains filtered or unexported fields }
HivelocityClusterReconciler reconciles a HivelocityCluster object.
func (*HivelocityClusterReconciler) Reconcile ¶
func (r *HivelocityClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile 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.13.1/pkg/reconcile
func (*HivelocityClusterReconciler) SetupWithManager ¶
func (r *HivelocityClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type HivelocityMachineReconciler ¶
type HivelocityMachineReconciler struct { client.Client APIReader client.Reader HVClientFactory hvclient.Factory WatchFilterValue string }
HivelocityMachineReconciler reconciles a HivelocityMachine object.
func (*HivelocityMachineReconciler) HivelocityClusterToHivelocityMachines ¶
func (r *HivelocityMachineReconciler) HivelocityClusterToHivelocityMachines(ctx context.Context, log logr.Logger) handler.MapFunc
HivelocityClusterToHivelocityMachines is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of HivelocityMachines.
func (*HivelocityMachineReconciler) Reconcile ¶
func (r *HivelocityMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile manages the lifecycle of an Hivelocity machine object.
func (*HivelocityMachineReconciler) SetupWithManager ¶
func (r *HivelocityMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type HivelocityMachineTemplateReconciler ¶
type HivelocityMachineTemplateReconciler struct { client.Client APIReader client.Reader HVClientFactory hvclient.Factory WatchFilterValue string }
HivelocityMachineTemplateReconciler reconciles a HivelocityMachineTemplate object.
func (*HivelocityMachineTemplateReconciler) Reconcile ¶
func (r *HivelocityMachineTemplateReconciler) Reconcile(ctx context.Context, _ ctrl.Request) (ctrl.Result, 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 HivelocityMachineTemplate 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.13.1/pkg/reconcile
func (*HivelocityMachineTemplateReconciler) SetupWithManager ¶
func (r *HivelocityMachineTemplateReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, _ controller.Options) error
SetupWithManager sets up the controller with the Manager.
type HivelocityRemediationReconciler ¶
type HivelocityRemediationReconciler struct { client.Client Scheme *runtime.Scheme WatchFilterValue string }
HivelocityRemediationReconciler reconciles a HivelocityRemediation object.
func (*HivelocityRemediationReconciler) Reconcile ¶
func (r *HivelocityRemediationReconciler) Reconcile(ctx context.Context, _ ctrl.Request) (ctrl.Result, 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 HivelocityRemediation 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.13.1/pkg/reconcile
func (*HivelocityRemediationReconciler) SetupWithManager ¶
func (r *HivelocityRemediationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type HivelocityRemediationTemplateReconciler ¶
type HivelocityRemediationTemplateReconciler struct { client.Client Scheme *runtime.Scheme WatchFilterValue string }
HivelocityRemediationTemplateReconciler reconciles a HivelocityRemediationTemplate object.
func (*HivelocityRemediationTemplateReconciler) Reconcile ¶
func (r *HivelocityRemediationTemplateReconciler) Reconcile(ctx context.Context, _ ctrl.Request) (ctrl.Result, 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 HivelocityRemediationTemplate 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.13.1/pkg/reconcile
func (*HivelocityRemediationTemplateReconciler) SetupWithManager ¶
func (r *HivelocityRemediationTemplateReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ManagementCluster ¶
ManagementCluster defines an interface.