controllers

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package controllers implements controller types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DOClusterReconciler

type DOClusterReconciler struct {
	client.Client
	Recorder         record.EventRecorder
	ReconcileTimeout time.Duration
}

DOClusterReconciler reconciles a DOCluster object.

func (*DOClusterReconciler) Reconcile

func (r *DOClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)

func (*DOClusterReconciler) SetupWithManager

func (r *DOClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, _ controller.Options) error

type DOMachineReconciler

type DOMachineReconciler struct {
	client.Client
	Recorder         record.EventRecorder
	ReconcileTimeout time.Duration
}

DOMachineReconciler reconciles a DOMachine object.

func (*DOMachineReconciler) DOClusterToDOMachines

func (r *DOMachineReconciler) DOClusterToDOMachines(ctx context.Context) handler.MapFunc

DOClusterToDOMachines convert the cluster to machines spec.

func (*DOMachineReconciler) Reconcile

func (r *DOMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)

func (*DOMachineReconciler) SetupWithManager

func (r *DOMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, _ controller.Options) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL