Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitScheme ¶
Types ¶
type ClusterProfileReconciler ¶ added in v0.42.0
type ClusterProfileReconciler struct {
client.Client
Scheme *runtime.Scheme
ConcurrentReconciles int
}
ClusterProfileReconciler reconciles a ClusterProfile object
func (*ClusterProfileReconciler) SetupWithManager ¶ added in v0.42.0
func (r *ClusterProfileReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ClusterReconciler ¶
ClusterReconciler reconciles a Cluster object
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ClusterStatusPredicate ¶ added in v1.2.0
type ClusterStatusPredicate struct {
predicate.GenerationChangedPredicate
}
ClusterStatusPredicate is a custom predicate that triggers reconciliation on generation changes or when the Cluster's status.conditions or status.initialization fields change.
func (ClusterStatusPredicate) Update ¶ added in v1.2.0
func (p ClusterStatusPredicate) Update(e event.UpdateEvent) bool
Update implements Predicate.
type ClusterSummaryPredicate ¶ added in v1.13.0
type ClusterSummaryPredicate struct {
predicate.GenerationChangedPredicate
}
ClusterSummaryPredicate is a custom predicate that triggers reconciliation on generation changes (Spec, i.e. which profile/cluster this ClusterSummary is for) or when any of the ClusterSummary.Status fields this package's cache actually reads change: FeatureSummaries, Dependencies, or HelmReleaseSummaries. This deliberately ignores the rest of ClusterSummary.Status (DeployedGVKs, NextReconcileTime, top-level FailureMessage, ReconciliationSuspended, SuspensionReason) since nothing in this package consumes them.
HelmReleaseSummaries is compared as a whole slice, which does not filter out a pass where addon-controller's periodic outdated-Helm-chart checker only advances LastCheckedTime without changing LatestVersion/LatestPatchVersion -- accepted as a simplification, since that field is exactly the one this predicate exists to notice changing.
func (ClusterSummaryPredicate) Update ¶ added in v1.13.0
func (p ClusterSummaryPredicate) Update(e event.UpdateEvent) bool
Update implements Predicate.
type ClusterSummaryReconciler ¶
type ClusterSummaryReconciler struct {
client.Client
Scheme *runtime.Scheme
ConcurrentReconciles int
}
func (*ClusterSummaryReconciler) SetupWithManager ¶
func (r *ClusterSummaryReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ProfileReconciler ¶ added in v0.42.0
ProfileReconciler reconciles a Profile object
func (*ProfileReconciler) SetupWithManager ¶ added in v0.42.0
func (r *ProfileReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SveltosClusterPredicate ¶ added in v1.2.0
type SveltosClusterPredicate struct {
predicate.GenerationChangedPredicate
}
SveltosClusterPredicate is a custom predicate that triggers reconciliation on generation changes or when the SveltosCluster's Status.Ready field changes.
func (SveltosClusterPredicate) Update ¶ added in v1.2.0
func (p SveltosClusterPredicate) Update(e event.UpdateEvent) bool
Update implements Predicate.
type SveltosClusterReconciler ¶
type SveltosClusterReconciler struct {
client.Client
Scheme *runtime.Scheme
ConcurrentReconciles int
}
SveltosClusterReconciler reconciles a SveltosCluster object
func (*SveltosClusterReconciler) SetupWithManager ¶
func (r *SveltosClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.