configuration

package
v0.1.87 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Cluster foundation configuration

Reconcile owns CRD, ClusterVersion, ClusterOperator, and namespace policy. Its inputs are read-only policy facts plus the existing guest client and upsert function. Shared manifest constructors, embedded CRDs, and namespace label helpers stay in their existing packages.

The root invokes four stages at their original positions: CRDs before endpoints, admission policies, install config and alerts; ClusterVersion then ClusterOperators; global configuration; namespaces; RBAC. A single combined call would reorder nonadjacent phases. The staged API preserves root logging, contextual error wrappers, shared input loading, and orchestration. A failed stage does not prevent later attempts.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reconcile

func Reconcile(ctx context.Context, hostedClusterClient client.Client, createOrUpdate upsert.CreateOrUpdateFN, params ReconcileParams, stage Stage) error

Types

type ReconcileParams

type ReconcileParams struct {
	ClusterID                  string
	UpdateService              configv1.URL
	Channel                    string
	Capabilities               *hyperv1.Capabilities
	Versions                   map[string]string
	FeatureSet                 configv1.FeatureSet
	ControlPlaneReleaseVersion semver.Version
}

type Stage

type Stage int
const (
	CRDs Stage = iota
	ClusterVersion
	ClusterOperators
	Namespaces
)

Jump to

Keyboard shortcuts

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