Documentation ¶
Overview ¶
Package controllers implements controller types.
Index ¶
- type GuestCSRReconciler
- type HCloudMachineReconciler
- func (r *HCloudMachineReconciler) HetznerClusterToHCloudMachines(ctx context.Context) handler.MapFunc
- func (r *HCloudMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *HCloudMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
- type HCloudMachineTemplateReconciler
- type HetznerBareMetalHostReconciler
- type HetznerBareMetalMachineReconciler
- func (r *HetznerBareMetalMachineReconciler) BareMetalHostToBareMetalMachines(log logr.Logger) handler.MapFunc
- func (r *HetznerBareMetalMachineReconciler) ClusterToBareMetalMachines(ctx context.Context, log logr.Logger) handler.MapFunc
- func (r *HetznerBareMetalMachineReconciler) HetznerClusterToBareMetalMachines(ctx context.Context) handler.MapFunc
- func (r *HetznerBareMetalMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *HetznerBareMetalMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
- type HetznerBareMetalRemediationReconciler
- type HetznerClusterReconciler
- 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.
func (*GuestCSRReconciler) Reconcile ¶
func (r *GuestCSRReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.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 HCloudMachineReconciler ¶
type HCloudMachineReconciler struct { client.Client APIReader client.Reader HCloudClientFactory hcloudclient.Factory WatchFilterValue string }
HCloudMachineReconciler reconciles a HCloudMachine object.
func (*HCloudMachineReconciler) HetznerClusterToHCloudMachines ¶
func (r *HCloudMachineReconciler) HetznerClusterToHCloudMachines(ctx context.Context) handler.MapFunc
HetznerClusterToHCloudMachines is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of HCloudMachines.
func (*HCloudMachineReconciler) Reconcile ¶
func (r *HCloudMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile manages the lifecycle of an HCloud machine object.
func (*HCloudMachineReconciler) SetupWithManager ¶
func (r *HCloudMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type HCloudMachineTemplateReconciler ¶
type HCloudMachineTemplateReconciler struct { client.Client APIReader client.Reader HCloudClientFactory hcloudclient.Factory WatchFilterValue string }
HCloudMachineTemplateReconciler reconciles a HCloudMachineTemplate object.
func (*HCloudMachineTemplateReconciler) Reconcile ¶
func (r *HCloudMachineTemplateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile manages the lifecycle of an HCloudMachineTemplate object.
func (*HCloudMachineTemplateReconciler) SetupWithManager ¶
func (r *HCloudMachineTemplateReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
type HetznerBareMetalHostReconciler ¶
type HetznerBareMetalHostReconciler struct { client.Client APIReader client.Reader RobotClientFactory robotclient.Factory SSHClientFactory sshclient.Factory WatchFilterValue string }
HetznerBareMetalHostReconciler reconciles a HetznerBareMetalHost object.
func (*HetznerBareMetalHostReconciler) Reconcile ¶
func (r *HetznerBareMetalHostReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile implements the reconcilement of HetznerBareMetalHost objects.
func (*HetznerBareMetalHostReconciler) SetupWithManager ¶
func (r *HetznerBareMetalHostReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type HetznerBareMetalMachineReconciler ¶
type HetznerBareMetalMachineReconciler struct { client.Client APIReader client.Reader HCloudClientFactory hcloudclient.Factory WatchFilterValue string }
HetznerBareMetalMachineReconciler reconciles a HetznerBareMetalMachine object.
func (*HetznerBareMetalMachineReconciler) BareMetalHostToBareMetalMachines ¶
func (r *HetznerBareMetalMachineReconciler) BareMetalHostToBareMetalMachines(log logr.Logger) handler.MapFunc
BareMetalHostToBareMetalMachines will return a reconcile request for a BareMetalMachine if the event is for a BareMetalHost and that BareMetalHost references a BareMetalMachine.
func (*HetznerBareMetalMachineReconciler) ClusterToBareMetalMachines ¶
func (r *HetznerBareMetalMachineReconciler) ClusterToBareMetalMachines(ctx context.Context, log logr.Logger) handler.MapFunc
ClusterToBareMetalMachines is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of BareMetalMachines.
func (*HetznerBareMetalMachineReconciler) HetznerClusterToBareMetalMachines ¶
func (r *HetznerBareMetalMachineReconciler) HetznerClusterToBareMetalMachines(ctx context.Context) handler.MapFunc
HetznerClusterToBareMetalMachines is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of BareMetalMachines.
func (*HetznerBareMetalMachineReconciler) Reconcile ¶
func (r *HetznerBareMetalMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile implements the reconcilement of HetznerBareMetalMachine objects.
func (*HetznerBareMetalMachineReconciler) SetupWithManager ¶
func (r *HetznerBareMetalMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type HetznerBareMetalRemediationReconciler ¶
HetznerBareMetalRemediationReconciler reconciles a HetznerBareMetalRemediation object.
func (*HetznerBareMetalRemediationReconciler) Reconcile ¶
func (r *HetznerBareMetalRemediationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile reconciles the hetznerBareMetalRemediation object.
func (*HetznerBareMetalRemediationReconciler) SetupWithManager ¶
func (r *HetznerBareMetalRemediationReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type HetznerClusterReconciler ¶
type HetznerClusterReconciler struct { client.Client APIReader client.Reader HCloudClientFactory hcloudclient.Factory Log logr.Logger WatchFilterValue string TargetClusterManagersWaitGroup *sync.WaitGroup // contains filtered or unexported fields }
HetznerClusterReconciler reconciles a HetznerCluster object.
func (*HetznerClusterReconciler) Reconcile ¶
func (r *HetznerClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile manages the lifecycle of a HetznerCluster object.
func (*HetznerClusterReconciler) SetupWithManager ¶
func (r *HetznerClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type ManagementCluster ¶
ManagementCluster defines an interface.