clusters

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderClusterReconciler

type ProviderClusterReconciler interface {
	Reconcile(ctx context.Context, log logr.Logger, cluster *anywherev1.Cluster) (controller.Result, error)
}

type ProviderClusterReconcilerRegistry

type ProviderClusterReconcilerRegistry struct {
	// contains filtered or unexported fields
}

ProviderClusterReconcilerRegistry holds a collection of cluster provider reconcilers and ties them to different provider Datacenter kinds

func (*ProviderClusterReconcilerRegistry) Get

Get returns ProviderClusterReconciler for a particular Datacenter kind

type ProviderClusterReconcilerRegistryBuilder

type ProviderClusterReconcilerRegistryBuilder struct {
	// contains filtered or unexported fields
}

ProviderClusterReconcilerRegistryBuilder builds ProviderClusterReconcilerRegistry's

func NewProviderClusterReconcilerRegistryBuilder

func NewProviderClusterReconcilerRegistryBuilder() *ProviderClusterReconcilerRegistryBuilder

NewProviderClusterReconcilerRegistryBuilder returns a new empty ProviderClusterReconcilerRegistryBuilder

func (*ProviderClusterReconcilerRegistryBuilder) Add

Add accumulates a pair of datacenter kind a reconciler to be included in the final registry

func (*ProviderClusterReconcilerRegistryBuilder) Build

Build returns a registry with all the previously added reconcilers

Jump to

Keyboard shortcuts

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