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) 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
}
Click to show internal directories.
Click to hide internal directories.