controllers

package
v1.0.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 39 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 GuestCSRReconciler

type GuestCSRReconciler struct {
	client.Client
	Scheme           *runtime.Scheme
	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
	Scheme           *runtime.Scheme
	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 HetznerClusterReconciler

type HetznerClusterReconciler struct {
	client.Client
	Log              logr.Logger
	Scheme           *runtime.Scheme
	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

type ManagementCluster interface {
	client.Client
	Namespace() string
}

ManagementCluster defines an interface.

Jump to

Keyboard shortcuts

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