reconciler

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const BoostrapSecretName = "capas-manager-bootstrap-credentials"

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClientBuilder

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

func NewAwsClientBuilder

func NewAwsClientBuilder(client client.Client) *AwsClientBuilder

func (*AwsClientBuilder) Get

type CNIReconciler added in v0.12.0

type CNIReconciler interface {
	Reconcile(ctx context.Context, logger logr.Logger, client client.Client, spec *cluster.Spec) (controller.Result, error)
}

type IPValidator added in v0.13.0

type IPValidator interface {
	ValidateControlPlaneIP(ctx context.Context, log logr.Logger, spec *cluster.Spec) (controller.Result, error)
}

IPValidator defines an interface for the methods to validate the control plane IP.

type Reconciler

type Reconciler struct {
	*serverside.ObjectApplier
	// contains filtered or unexported fields
}

func New

func New(client client.Client, cniReconciler CNIReconciler, remoteClientRegistry RemoteClientRegistry, ipValidator IPValidator) *Reconciler

New initializes a new reconciler for the Snow provider.

func (*Reconciler) CheckControlPlaneReady added in v0.12.0

func (r *Reconciler) CheckControlPlaneReady(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, log logr.Logger, c *anywherev1.Cluster) (controller.Result, error)

func (*Reconciler) ReconcileCNI added in v0.12.0

func (s *Reconciler) ReconcileCNI(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)

func (*Reconciler) ReconcileControlPlane added in v0.12.0

func (s *Reconciler) ReconcileControlPlane(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)

func (*Reconciler) ReconcileWorkers added in v0.12.0

func (s *Reconciler) ReconcileWorkers(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)

func (*Reconciler) ValidateMachineConfigs added in v0.12.0

func (r *Reconciler) ValidateMachineConfigs(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)

type RemoteClientRegistry added in v0.12.0

type RemoteClientRegistry interface {
	GetClient(ctx context.Context, cluster client.ObjectKey) (client.Client, error)
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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