Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReasonPreCheckSucceed = "PreCheckSucceed" // ReasonPreCheckSucceed preChecks succeeded for provisioning started ReasonPreCheckFailed = "PreCheckFailed" // ReasonPreCheckFailed preChecks failed for provisioning started ReasonApplyResourcesFailed = "ApplyResourcesFailed" // ReasonApplyResourcesFailed applies resources failed to create or change the cluster ReasonApplyResourcesSucceed = "ApplyResourcesSucceed" // ReasonApplyResourcesSucceed applies resources succeeded to create or change the cluster ReasonClusterReady = "ClusterReady" // ReasonClusterReady the components of cluster are ready, the component phase is running ReasonComponentsNotReady = "ComponentsNotReady" // ReasonComponentsNotReady the components of cluster are not ready )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterReconciler ¶
type ClusterReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder MultiClusterMgr multicluster.Manager }
ClusterReconciler reconciles a Cluster object
func (*ClusterReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files ¶
- cluster_controller.go
- cluster_plan_builder.go
- cluster_status_conditions.go
- test_utils.go
- transformer_cluster_backup_policy.go
- transformer_cluster_component.go
- transformer_cluster_component_status.go
- transformer_cluster_deletion.go
- transformer_cluster_init.go
- transformer_cluster_meta.go
- transformer_cluster_normalization.go
- transformer_cluster_ownership.go
- transformer_cluster_placement.go
- transformer_cluster_restore.go
- transformer_cluster_service.go
- transformer_cluster_sharding_account.go
- transformer_cluster_sharding_tls.go
- transformer_cluster_status.go
- transformer_cluster_validation.go
- types.go
- utils.go
Click to show internal directories.
Click to hide internal directories.