controllers

package
v0.0.0-...-7064f84 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 36 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 InMemoryClusterReconciler

type InMemoryClusterReconciler struct {
	client.Client
	InMemoryManager inmemoryruntime.Manager
	APIServerMux    *inmemoryserver.WorkloadClustersMux

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

InMemoryClusterReconciler reconciles a InMemoryCluster object.

func (*InMemoryClusterReconciler) Reconcile

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

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

func (*InMemoryClusterReconciler) SetupWithManager

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

SetupWithManager will add watches for this controller.

type InMemoryMachineReconciler

type InMemoryMachineReconciler struct {
	client.Client
	InMemoryManager inmemoryruntime.Manager
	APIServerMux    *inmemoryserver.WorkloadClustersMux

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

InMemoryMachineReconciler reconciles a InMemoryMachine object.

func (*InMemoryMachineReconciler) InMemoryClusterToInMemoryMachines

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

InMemoryClusterToInMemoryMachines is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation of InMemoryMachines.

func (*InMemoryMachineReconciler) Reconcile

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

Reconcile handles InMemoryMachine events.

func (*InMemoryMachineReconciler) SetupWithManager

func (r *InMemoryMachineReconciler) 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