controllers

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 29 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 GCPClusterReconciler

type GCPClusterReconciler struct {
	client.Client
	ReconcileTimeout time.Duration
	WatchFilterValue string
}

GCPClusterReconciler reconciles a GCPCluster object.

func (*GCPClusterReconciler) Reconcile

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

func (*GCPClusterReconciler) SetupWithManager

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

type GCPMachineReconciler

type GCPMachineReconciler struct {
	client.Client
	ReconcileTimeout time.Duration
	WatchFilterValue string
}

GCPMachineReconciler reconciles a GCPMachine object.

func (*GCPMachineReconciler) GCPClusterToGCPMachines

func (r *GCPMachineReconciler) GCPClusterToGCPMachines(ctx context.Context) handler.MapFunc

GCPClusterToGCPMachines is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of GCPMachines.

func (*GCPMachineReconciler) Reconcile

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

func (*GCPMachineReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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