Documentation ¶
Index ¶
Constants ¶
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 ClusterDefinitionReconciler ¶
type ClusterDefinitionReconciler struct { client.Client Scheme *k8sruntime.Scheme Recorder record.EventRecorder }
ClusterDefinitionReconciler reconciles a ClusterDefinition object
func (*ClusterDefinitionReconciler) Reconcile ¶
func (r *ClusterDefinitionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 (*ClusterDefinitionReconciler) SetupWithManager ¶
func (r *ClusterDefinitionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
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.
type ComponentDefinitionReconciler ¶ added in v0.8.0
type ComponentDefinitionReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
ComponentDefinitionReconciler reconciles a ComponentDefinition object
func (*ComponentDefinitionReconciler) Reconcile ¶ added in v0.8.0
func (r *ComponentDefinitionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 (*ComponentDefinitionReconciler) SetupWithManager ¶ added in v0.8.0
func (r *ComponentDefinitionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ComponentReconciler ¶ added in v0.8.0
type ComponentReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
ComponentReconciler reconciles a Component object
func (*ComponentReconciler) Reconcile ¶ added in v0.8.0
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 (*ComponentReconciler) SetupWithManager ¶ added in v0.8.0
func (r *ComponentReconciler) SetupWithManager(mgr ctrl.Manager, multiClusterMgr multicluster.Manager) error
SetupWithManager sets up the controller with the Manager.
type ComponentVersionReconciler ¶ added in v0.9.0
type ComponentVersionReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
ComponentVersionReconciler reconciles a ComponentVersion object
func (*ComponentVersionReconciler) Reconcile ¶ added in v0.9.0
func (r *ComponentVersionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the ComponentVersion object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*ComponentVersionReconciler) SetupWithManager ¶ added in v0.9.0
func (r *ComponentVersionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ParallelTransformers ¶ added in v0.6.0
type ParallelTransformers struct {
// contains filtered or unexported fields
}
func (*ParallelTransformers) Transform ¶ added in v0.6.0
func (t *ParallelTransformers) Transform(ctx graph.TransformContext, dag *graph.DAG) error
type ServiceDescriptorReconciler ¶ added in v0.7.0
type ServiceDescriptorReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
ServiceDescriptorReconciler reconciles a ServiceDescriptor object
func (*ServiceDescriptorReconciler) Reconcile ¶ added in v0.7.0
func (r *ServiceDescriptorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the ServiceDescriptor object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*ServiceDescriptorReconciler) SetupWithManager ¶ added in v0.7.0
func (r *ServiceDescriptorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ShardingDefinitionReconciler ¶
type ShardingDefinitionReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
ShardingDefinitionReconciler reconciles a ShardingDefinition object
func (*ShardingDefinitionReconciler) Reconcile ¶
func (r *ShardingDefinitionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 (*ShardingDefinitionReconciler) SetupWithManager ¶
func (r *ShardingDefinitionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SidecarDefinitionReconciler ¶
type SidecarDefinitionReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
SidecarDefinitionReconciler reconciles a SidecarDefinition object
func (*SidecarDefinitionReconciler) Reconcile ¶
func (r *SidecarDefinitionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 (*SidecarDefinitionReconciler) SetupWithManager ¶
func (r *SidecarDefinitionReconciler) 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
- clusterdefinition_controller.go
- component_controller.go
- component_plan_builder.go
- component_utils.go
- componentdefinition_controller.go
- componentversion_controller.go
- const.go
- servicedescriptor_controller.go
- shardingdefinition_controller.go
- sidecardefinition_controller.go
- transform_types.go
- transform_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_status.go
- transformer_cluster_validation.go
- transformer_component_account.go
- transformer_component_account_provision.go
- transformer_component_configuration.go
- transformer_component_deletion.go
- transformer_component_hostnetwork.go
- transformer_component_init.go
- transformer_component_load_resources.go
- transformer_component_meta.go
- transformer_component_monitor_transformer.go
- transformer_component_parameters.go
- transformer_component_post_provision.go
- transformer_component_pre_terminate.go
- transformer_component_rbac.go
- transformer_component_restore.go
- transformer_component_service.go
- transformer_component_status.go
- transformer_component_tls.go
- transformer_component_utils.go
- transformer_component_validation.go
- transformer_component_vars.go
- transformer_component_workload.go
- transformers_parallel.go
- utils.go