controllers

package
v0.0.0-...-2d9dd87 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package controllers implements controller functionality.

Package controllers implements controller functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoofyClusterReconciler

type GoofyClusterReconciler struct {
	client.Client
	CloudManager cloud.Manager
	APIServerMux *server.WorkloadClustersMux

	// WatchFilterValue is the label value used to filter events prior to reconciliation.
	WatchFilterValue string
	// contains filtered or unexported fields
}

GoofyClusterReconciler reconciles a GoofyCluster object.

func (*GoofyClusterReconciler) Reconcile

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

Reconcile reads that state of the cluster for a GoofyCluster object and makes changes based on the state read and what is in the GoofyCluster.Spec.

func (*GoofyClusterReconciler) SetupWithManager

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

SetupWithManager will add watches for this controller.

type GoofyMachineReconciler

type GoofyMachineReconciler struct {
	client.Client
	CloudManager cloud.Manager
	APIServerMux *server.WorkloadClustersMux

	// WatchFilterValue is the label value used to filter events prior to reconciliation.
	WatchFilterValue string
}

GoofyMachineReconciler reconciles a GoofyMachine object.

func (*GoofyMachineReconciler) GoofyClusterToGoofyMachines

func (r *GoofyMachineReconciler) GoofyClusterToGoofyMachines(ctx context.Context, o client.Object) []ctrl.Request

GoofyClusterToGoofyMachines is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation of GoofyMachines.

func (*GoofyMachineReconciler) Reconcile

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

Reconcile handles GoofyMachine events.

func (*GoofyMachineReconciler) SetupWithManager

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

SetupWithManager will add watches for this controller.

Jump to

Keyboard shortcuts

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