cluster

package
v1.6.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Overview

Package cluster implements the cluster topology controller. NOTE: It is required to enable the ClusterTopology feature gate flag to activate managed topologies support.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	Client  client.Client
	Tracker *remote.ClusterCacheTracker
	// APIReader is used to list MachineSets directly via the API server to avoid
	// race conditions caused by an outdated cache.
	APIReader client.Reader

	RuntimeClient runtimeclient.Client

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

	// UnstructuredCachingClient provides a client that forces caching of unstructured objects,
	// thus allowing to optimize reads for templates or provider specific objects in a managed topology.
	UnstructuredCachingClient client.Client
	// contains filtered or unexported fields
}

Reconciler reconciles a managed topology for a Cluster object.

func (*Reconciler) Reconcile

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

func (*Reconciler) SetupForDryRun added in v1.1.0

func (r *Reconciler) SetupForDryRun(recorder record.EventRecorder)

SetupForDryRun prepares the Reconciler for a dry run execution.

func (*Reconciler) SetupWithManager

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

Directories

Path Synopsis
Package patches implement the patch engine.
Package patches implement the patch engine.
api
Package api contains the API definition for the patch engine.
Package api contains the API definition for the patch engine.
external
Package external implements the external patch generator.
Package external implements the external patch generator.
inline
Package inline implements the inline JSON patch generator.
Package inline implements the inline JSON patch generator.
variables
Package variables calculates variables for patching.
Package variables calculates variables for patching.
Package scope provides types for handling all the information to process a request in the topology/ClusterReconciler controller.
Package scope provides types for handling all the information to process a request in the topology/ClusterReconciler controller.
Package structuredmerge implements server side apply support for managed topology controllers.
Package structuredmerge implements server side apply support for managed topology controllers.

Jump to

Keyboard shortcuts

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