cluster

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 37 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
	// APIReader is used to list MachineSets directly via the API server to avoid
	// race conditions caused by an outdated cache.
	APIReader client.Reader

	// 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 mergepatch implements merge patch support for managed topology.
Package mergepatch implements merge patch support for managed topology.
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.
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.

Jump to

Keyboard shortcuts

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