Documentation
¶
Index ¶
- type K3OSConfigReconciler
- func (r *K3OSConfigReconciler) InjectClient(client client.Client) error
- func (r *K3OSConfigReconciler) InjectScheme(scheme *runtime.Scheme) error
- func (r *K3OSConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
- func (r *K3OSConfigReconciler) SetupWithManager(shutdownCtx context.Context, mgr ctrl.Manager, options ...Option) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K3OSConfigReconciler ¶
type K3OSConfigReconciler struct {
// contains filtered or unexported fields
}
K3OSConfigReconciler reconciles a K3OSConfig object.
func (*K3OSConfigReconciler) InjectClient ¶
func (r *K3OSConfigReconciler) InjectClient(client client.Client) error
InjectClient satisfies the inject.Client interface.
func (*K3OSConfigReconciler) InjectScheme ¶
func (r *K3OSConfigReconciler) InjectScheme(scheme *runtime.Scheme) error
InjectScheme satisfies the inject.Scheme interface.
func (*K3OSConfigReconciler) Reconcile ¶
func (r *K3OSConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile handles K3OSConfig CRs.
func (*K3OSConfigReconciler) SetupWithManager ¶
func (r *K3OSConfigReconciler) SetupWithManager(shutdownCtx context.Context, mgr ctrl.Manager, options ...Option) error
SetupWithManager is called in main to setup the K3OSConfig reconiler with the manager as a non-leader.
type Option ¶
type Option interface{}
Option denotes an option for configuring this controller.
func RequireLeaderElection ¶
func RequireLeaderElection() Option
RequireLeaderElection returns an option that requires the operator being the leader to run this controller instance.
Click to show internal directories.
Click to hide internal directories.