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: 38 Imported by: 0

Documentation

Overview

Package controllers contains experimental controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOwnerClusterKey

func GetOwnerClusterKey(obj metav1.ObjectMeta) (*client.ObjectKey, error)

GetOwnerClusterKey returns only the Cluster name and namespace.

Types

type GCPManagedClusterReconciler

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

GCPManagedClusterReconciler reconciles a GCPManagedCluster object.

func (*GCPManagedClusterReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*GCPManagedClusterReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type GCPManagedControlPlaneReconciler

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

GCPManagedControlPlaneReconciler reconciles a GCPManagedControlPlane object.

func (*GCPManagedControlPlaneReconciler) Reconcile

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

func (*GCPManagedControlPlaneReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type GCPManagedMachinePoolReconciler

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

GCPManagedMachinePoolReconciler reconciles a GCPManagedMachinePool object.

func (*GCPManagedMachinePoolReconciler) Reconcile

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

func (*GCPManagedMachinePoolReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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