cluster

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "DNSCluster"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterReconciler

type ClusterReconciler struct {
	PlatformCluster *clusters.Cluster

	ProviderName      string
	ProviderNamespace string
	Environment       string
	KnownClusters     map[types.NamespacedName]struct{}
	KnownClustersLock *sync.RWMutex
	// contains filtered or unexported fields
}

func NewClusterReconciler

func NewClusterReconciler(platformCluster *clusters.Cluster, recorder record.EventRecorder, providerName, providerNamespace, environment string) *ClusterReconciler

func (*ClusterReconciler) Reconcile

func (*ClusterReconciler) SetupWithManager

func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ReconcileResult

type ReconcileResult struct {
	// Result is the result to return from the Reconcile function.
	Result reconcile.Result
	// ReconcileError is the error to return from the Reconcile function, if any occurred.
	ReconcileError errutils.ReasonableError
	// Config is the selected configuration that was applied to the Cluster, if it could be determined.
	Config *dnsv1alpha1.ExternalDNSPurposeConfig
	// SourceKind is the kind of Flux source that was deployed (HelmRepository, GitRepository, OCIRepository), if any.
	SourceKind string
	// AccessRequest is the AccessRequest that provides access to the Cluster, if access was successfully obtained.
	AccessRequest *clustersv1alpha1.AccessRequest
	// Message is an optional message to be printed in the generated event.
	Message string
	// ProviderConfig is the complete provider configuration.
	ProviderConfig *dnsv1alpha1.DNSServiceConfig
}

Jump to

Keyboard shortcuts

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