From bf817ff39b8d6775da6b08cdfa48e3c3e28b9e58 Mon Sep 17 00:00:00 2001 From: "L.Dongming" Date: Thu, 23 Jan 2025 14:34:42 +0800 Subject: [PATCH 1/2] chore: update copyrignt for 2025 --- apis/apis.go | 2 +- apis/apps/v1/cluster_conversion.go | 2 +- apis/apps/v1/cluster_types.go | 2 +- apis/apps/v1/cluster_webhook.go | 2 +- apis/apps/v1/clusterdefinition_conversion.go | 2 +- apis/apps/v1/clusterdefinition_types.go | 2 +- apis/apps/v1/clusterdefinition_webhook.go | 2 +- apis/apps/v1/component_conversion.go | 2 +- apis/apps/v1/component_types.go | 2 +- apis/apps/v1/component_webhook.go | 2 +- .../apps/v1/componentdefinition_conversion.go | 2 +- apis/apps/v1/componentdefinition_types.go | 2 +- apis/apps/v1/componentdefinition_webhook.go | 2 +- apis/apps/v1/componentversion_conversion.go | 2 +- apis/apps/v1/componentversion_types.go | 2 +- apis/apps/v1/componentversion_webhook.go | 2 +- apis/apps/v1/deprecated.go | 2 +- apis/apps/v1/doc.go | 2 +- apis/apps/v1/groupversion_info.go | 2 +- apis/apps/v1/register.go | 2 +- apis/apps/v1/servicedescriptor_conversion.go | 2 +- apis/apps/v1/servicedescriptor_types.go | 2 +- apis/apps/v1/servicedescriptor_webhook.go | 2 +- apis/apps/v1/shardingdefinition_types.go | 2 +- apis/apps/v1/sidecardefinition_types.go | 2 +- apis/apps/v1/types.go | 2 +- apis/apps/v1/webhook_suite_test.go | 2 +- apis/apps/v1/zz_generated.deepcopy.go | 2 +- apis/apps/v1alpha1/cluster_conversion.go | 2 +- apis/apps/v1alpha1/cluster_types.go | 2 +- apis/apps/v1alpha1/cluster_types_test.go | 2 +- .../v1alpha1/clusterdefinition_conversion.go | 2 +- apis/apps/v1alpha1/clusterdefinition_types.go | 2 +- .../clusterdefinition_types_legacy.go | 2 +- apis/apps/v1alpha1/component_conversion.go | 2 +- apis/apps/v1alpha1/component_types.go | 2 +- .../componentdefinition_conversion.go | 2 +- .../v1alpha1/componentdefinition_types.go | 2 +- .../v1alpha1/componentversion_conversion.go | 2 +- apis/apps/v1alpha1/componentversion_types.go | 2 +- apis/apps/v1alpha1/config.go | 2 +- apis/apps/v1alpha1/config_meta.go | 2 +- apis/apps/v1alpha1/configconstraint_types.go | 2 +- .../v1alpha1/configconstraint_types_test.go | 2 +- apis/apps/v1alpha1/configuration_types.go | 2 +- apis/apps/v1alpha1/conversion.go | 2 +- apis/apps/v1alpha1/doc.go | 2 +- apis/apps/v1alpha1/groupversion_info.go | 2 +- apis/apps/v1alpha1/opsrequest_types.go | 1508 +++++++++++++++++ apis/apps/v1alpha1/register.go | 2 +- .../v1alpha1/servicedescriptor_conversion.go | 2 +- apis/apps/v1alpha1/servicedescriptor_types.go | 2 +- apis/apps/v1alpha1/type.go | 2 +- apis/apps/v1alpha1/zz_generated.deepcopy.go | 2 +- apis/apps/v1beta1/configconstraint_types.go | 2 +- .../v1beta1/configconstraint_types_test.go | 2 +- apis/apps/v1beta1/doc.go | 2 +- apis/apps/v1beta1/groupversion_info.go | 2 +- apis/apps/v1beta1/meta.go | 2 +- apis/apps/v1beta1/register.go | 2 +- apis/apps/v1beta1/type.go | 2 +- apis/apps/v1beta1/zz_generated.deepcopy.go | 2 +- .../v1alpha1/actionset_types.go | 2 +- apis/dataprotection/v1alpha1/backup_types.go | 2 +- .../v1alpha1/backuppolicy_types.go | 2 +- .../v1alpha1/backuppolicytemplate_types.go | 2 +- .../v1alpha1/backuprepo_types.go | 2 +- .../v1alpha1/backupschedule_types.go | 2 +- apis/dataprotection/v1alpha1/doc.go | 2 +- .../v1alpha1/groupversion_info.go | 2 +- apis/dataprotection/v1alpha1/register.go | 2 +- apis/dataprotection/v1alpha1/restore_types.go | 2 +- .../v1alpha1/storageprovider_types.go | 2 +- apis/dataprotection/v1alpha1/types.go | 2 +- .../v1alpha1/zz_generated.deepcopy.go | 2 +- apis/experimental/doc.go | 2 +- .../v1alpha1/groupversion_info.go | 2 +- .../v1alpha1/nodecountscaler_types.go | 2 +- .../v1alpha1/zz_generated.deepcopy.go | 2 +- apis/extensions/v1alpha1/addon_types.go | 2 +- apis/extensions/v1alpha1/addon_types_test.go | 2 +- apis/extensions/v1alpha1/doc.go | 2 +- apis/extensions/v1alpha1/groupversion_info.go | 2 +- apis/extensions/v1alpha1/register.go | 2 +- apis/extensions/v1alpha1/type.go | 2 +- .../v1alpha1/zz_generated.deepcopy.go | 2 +- apis/operations/v1alpha1/groupversion_info.go | 2 +- .../v1alpha1/opsdefinition_types.go | 2 +- .../v1alpha1/opsrequest_conditions.go | 2 +- .../v1alpha1/opsrequest_conditions_test.go | 2 +- apis/operations/v1alpha1/opsrequest_types.go | 2 +- .../v1alpha1/opsrequest_types_test.go | 2 +- .../v1alpha1/opsrequest_validation.go | 2 +- apis/operations/v1alpha1/register.go | 2 +- apis/operations/v1alpha1/type.go | 2 +- .../v1alpha1/zz_generated.deepcopy.go | 2 +- apis/trace/v1/groupversion_info.go | 2 +- apis/trace/v1/reconciliationtrace_types.go | 2 +- apis/trace/v1/zz_generated.deepcopy.go | 2 +- apis/workloads/v1/doc.go | 2 +- apis/workloads/v1/groupversion_info.go | 2 +- apis/workloads/v1/instanceset_conversion.go | 2 +- apis/workloads/v1/instanceset_types.go | 2 +- apis/workloads/v1/instanceset_webhook.go | 2 +- apis/workloads/v1/register.go | 2 +- apis/workloads/v1/zz_generated.deepcopy.go | 2 +- apis/workloads/v1alpha1/doc.go | 2 +- apis/workloads/v1alpha1/groupversion_info.go | 2 +- .../v1alpha1/instanceset_conversion.go | 2 +- apis/workloads/v1alpha1/instanceset_types.go | 2 +- apis/workloads/v1alpha1/register.go | 2 +- .../v1alpha1/zz_generated.deepcopy.go | 2 +- cmd/cmd.mk | 2 +- cmd/dataprotection/main.go | 2 +- cmd/kbagent/main.go | 2 +- cmd/manager/main.go | 2 +- cmd/reloader/app/cmd.go | 2 +- cmd/reloader/app/flags.go | 2 +- cmd/reloader/app/proxy.go | 2 +- cmd/reloader/container_killer/killer.go | 2 +- cmd/reloader/main.go | 2 +- cmd/reloader/tools/main.go | 2 +- .../apps/cluster/cluster_controller.go | 2 +- .../apps/cluster/cluster_controller_test.go | 2 +- .../apps/cluster/cluster_plan_builder.go | 2 +- .../apps/cluster/cluster_plan_builder_test.go | 2 +- .../apps/cluster/cluster_status_conditions.go | 2 +- controllers/apps/cluster/scheme.go | 2 +- controllers/apps/cluster/suite_test.go | 2 +- .../transformer_cluster_backup_policy.go | 2 +- .../cluster/transformer_cluster_component.go | 2 +- .../transformer_cluster_component_status.go | 2 +- ...ansformer_cluster_component_status_test.go | 2 +- .../transformer_cluster_component_test.go | 2 +- .../cluster/transformer_cluster_deletion.go | 2 +- .../transformer_cluster_deletion_test.go | 2 +- .../apps/cluster/transformer_cluster_init.go | 2 +- .../apps/cluster/transformer_cluster_meta.go | 2 +- .../transformer_cluster_normalization.go | 2 +- .../transformer_cluster_normalization_test.go | 2 +- .../cluster/transformer_cluster_ownership.go | 2 +- .../cluster/transformer_cluster_placement.go | 2 +- .../cluster/transformer_cluster_restore.go | 2 +- .../cluster/transformer_cluster_service.go | 2 +- .../transformer_cluster_service_test.go | 2 +- .../transformer_cluster_sharding_account.go | 2 +- .../transformer_cluster_sharding_tls.go | 2 +- .../cluster/transformer_cluster_status.go | 2 +- .../cluster/transformer_cluster_validation.go | 2 +- .../transformer_cluster_validation_test.go | 2 +- controllers/apps/cluster/utils.go | 2 +- .../apps/clusterdefinition_controller.go | 2 +- .../apps/clusterdefinition_controller_test.go | 2 +- .../apps/component/component_controller.go | 2 +- .../component/component_controller_test.go | 2 +- .../apps/component/component_plan_builder.go | 2 +- .../component/component_plan_builder_test.go | 2 +- controllers/apps/component/scheme.go | 2 +- controllers/apps/component/suite_test.go | 2 +- .../transformer_component_account.go | 2 +- ...transformer_component_account_provision.go | 2 +- .../transformer_component_configuration.go | 2 +- .../transformer_component_deletion.go | 2 +- .../transformer_component_hostnetwork.go | 2 +- .../transformer_component_hostnetwork_test.go | 2 +- .../component/transformer_component_init.go | 2 +- .../transformer_component_load_resources.go | 2 +- .../component/transformer_component_meta.go | 2 +- ...ansformer_component_monitor_transformer.go | 2 +- .../transformer_component_parameters.go | 2 +- .../transformer_component_post_provision.go | 2 +- .../transformer_component_pre_terminate.go | 2 +- .../component/transformer_component_rbac.go | 2 +- .../transformer_component_rbac_test.go | 2 +- .../transformer_component_restore.go | 2 +- .../transformer_component_restore_test.go | 2 +- .../transformer_component_service.go | 2 +- .../transformer_component_service_test.go | 2 +- .../component/transformer_component_status.go | 2 +- .../component/transformer_component_tls.go | 2 +- .../transformer_component_tls_test.go | 2 +- .../component/transformer_component_utils.go | 2 +- .../transformer_component_validation.go | 2 +- .../component/transformer_component_vars.go | 2 +- .../transformer_component_workload.go | 2 +- .../transformer_component_workload_test.go | 2 +- controllers/apps/component/utils.go | 2 +- .../apps/componentdefinition_controller.go | 2 +- .../componentdefinition_controller_test.go | 2 +- .../apps/componentversion_controller.go | 2 +- .../apps/componentversion_controller_test.go | 2 +- .../configuration/combine_upgrade_policy.go | 2 +- .../combine_upgrade_policy_test.go | 2 +- .../apps/configuration/config_annotation.go | 2 +- .../configuration/config_reconcile_wrapper.go | 2 +- .../configuration/config_related_helper.go | 2 +- controllers/apps/configuration/config_util.go | 2 +- .../apps/configuration/config_util_test.go | 2 +- .../configconstraint_controller.go | 2 +- .../configconstraint_controller_test.go | 2 +- .../configuration/configuration_controller.go | 2 +- .../configuration_controller_test.go | 2 +- .../apps/configuration/configuration_test.go | 2 +- .../configuration/parallel_upgrade_policy.go | 2 +- .../parallel_upgrade_policy_test.go | 2 +- controllers/apps/configuration/policy_util.go | 2 +- .../apps/configuration/policy_util_test.go | 2 +- .../apps/configuration/reconcile_task.go | 2 +- .../configuration/reconfigure_controller.go | 2 +- .../reconfigure_controller_test.go | 2 +- .../apps/configuration/reconfigure_policy.go | 2 +- .../apps/configuration/relatedresource.go | 2 +- controllers/apps/configuration/revision.go | 2 +- .../apps/configuration/revision_test.go | 2 +- .../configuration/rolling_upgrade_policy.go | 2 +- .../apps/configuration/simple_policy.go | 2 +- .../apps/configuration/simple_policy_test.go | 2 +- controllers/apps/configuration/suite_test.go | 2 +- .../apps/configuration/sync_upgrade_policy.go | 2 +- .../configuration/sync_upgrade_policy_test.go | 2 +- controllers/apps/configuration/types.go | 2 +- controllers/apps/configuration/utils.go | 2 +- controllers/apps/scheme.go | 2 +- .../apps/servicedescriptor_controller.go | 2 +- .../apps/servicedescriptor_controller_test.go | 2 +- .../apps/shardingdefinition_controller.go | 2 +- .../shardingdefinition_controller_test.go | 2 +- .../apps/sidecardefinition_controller.go | 2 +- .../apps/sidecardefinition_controller_test.go | 2 +- controllers/apps/suite_test.go | 2 +- controllers/apps/util/mock_reader.go | 2 +- controllers/apps/util/multicluster.go | 2 +- controllers/apps/util/utils.go | 2 +- controllers/apps/util/utils_test.go | 2 +- .../dataprotection/actionset_controller.go | 2 +- .../actionset_controller_test.go | 2 +- .../dataprotection/backup_controller.go | 2 +- .../dataprotection/backup_controller_test.go | 2 +- .../dataprotection/backuppolicy_controller.go | 2 +- .../backuppolicy_controller_test.go | 2 +- .../backuppolicytemplate_controller.go | 2 +- .../backuppolicytemplate_controller_test.go | 2 +- .../dataprotection/backuprepo_controller.go | 2 +- .../backuprepo_controller_test.go | 2 +- .../backupschedule_controller.go | 2 +- .../backupschedule_controller_test.go | 2 +- controllers/dataprotection/gc_controller.go | 2 +- .../dataprotection/gc_controller_test.go | 2 +- .../log_collection_controller.go | 2 +- .../log_collection_controller_test.go | 2 +- .../dataprotection/restore_controller.go | 2 +- .../dataprotection/restore_controller_test.go | 2 +- .../storageprovider_controller.go | 2 +- .../storageprovider_controller_test.go | 2 +- controllers/dataprotection/suite_test.go | 2 +- controllers/dataprotection/types.go | 2 +- controllers/dataprotection/utils.go | 2 +- controllers/dataprotection/utils_test.go | 2 +- .../volumepopulator_controller.go | 2 +- .../volumepopulator_controller_test.go | 2 +- controllers/experimental/cluster_handler.go | 2 +- .../experimental/node_scaling_handler.go | 2 +- .../nodecountscaler_controller.go | 2 +- .../reconciler_scale_target_cluster.go | 2 +- .../reconciler_scale_target_cluster_test.go | 2 +- .../experimental/reconciler_update_status.go | 2 +- .../reconciler_update_status_test.go | 2 +- controllers/experimental/suite_test.go | 2 +- controllers/experimental/tree_loader.go | 2 +- controllers/experimental/tree_loader_test.go | 2 +- controllers/extensions/addon_controller.go | 2 +- .../extensions/addon_controller_stages.go | 2 +- .../extensions/addon_controller_test.go | 2 +- controllers/extensions/const.go | 2 +- controllers/extensions/suite_test.go | 2 +- controllers/k8score/event_controller.go | 2 +- controllers/k8score/event_controller_test.go | 2 +- controllers/k8score/suite_test.go | 2 +- controllers/operations/constant.go | 2 +- .../operations/opsdefinition_controller.go | 2 +- .../opsdefinition_controller_test.go | 2 +- .../operations/opsrequest_controller.go | 2 +- .../operations/opsrequest_controller_test.go | 2 +- controllers/operations/suite_test.go | 2 +- controllers/trace/change_capture_store.go | 2 +- .../trace/change_capture_store_test.go | 2 +- controllers/trace/current_state_handler.go | 2 +- .../trace/current_state_handler_test.go | 2 +- controllers/trace/deletion_handler.go | 2 +- controllers/trace/deletion_handler_test.go | 2 +- controllers/trace/desired_state_handler.go | 2 +- .../trace/desired_state_handler_test.go | 2 +- controllers/trace/dry_run_handler.go | 2 +- controllers/trace/dry_run_handler_test.go | 2 +- controllers/trace/finalizer_handler.go | 2 +- controllers/trace/finalizer_handler_test.go | 2 +- controllers/trace/i18n_resources_manager.go | 2 +- controllers/trace/informer_manager.go | 2 +- controllers/trace/mock_client.go | 2 +- controllers/trace/mock_event_recorder.go | 2 +- controllers/trace/object_revision_store.go | 2 +- .../trace/object_revision_store_test.go | 2 +- controllers/trace/object_tree_root_finder.go | 2 +- .../trace/object_tree_root_finder_test.go | 2 +- controllers/trace/plan_generator.go | 2 +- controllers/trace/reconciler_tree.go | 2 +- controllers/trace/reconciler_tree_test.go | 2 +- .../trace/reconciliationtrace_controller.go | 2 +- controllers/trace/resources_loader.go | 2 +- controllers/trace/resources_loader_test.go | 2 +- controllers/trace/resources_validator.go | 2 +- controllers/trace/resources_validator_test.go | 2 +- controllers/trace/suite_test.go | 2 +- controllers/trace/type.go | 2 +- controllers/trace/util.go | 2 +- controllers/trace/util_test.go | 2 +- .../workloads/instanceset_controller.go | 2 +- .../workloads/instanceset_controller_test.go | 2 +- controllers/workloads/suite_test.go | 2 +- docker/docker.mk | 2 +- .../preflight/v1beta2/groupversion_info.go | 2 +- .../preflight/v1beta2/hostpreflight_types.go | 2 +- .../preflight/v1beta2/preflight_types.go | 2 +- externalapis/preflight/v1beta2/type.go | 2 +- .../v1beta2/zz_generated.deepcopy.go | 2 +- hack/boilerplate.cue.txt | 2 +- hack/boilerplate.go.txt | 2 +- hack/boilerplate_apache2.go.txt | 2 +- hack/client-sdk-gen.sh | 2 +- hack/docgen/api/main.go | 2 +- hack/docgen/api/template/placeholder.go | 2 +- hack/license/header-check.sh | 6 +- pkg/apiutil/hostnetwork.go | 2 +- pkg/client/clientset/versioned/clientset.go | 2 +- .../versioned/fake/clientset_generated.go | 2 +- pkg/client/clientset/versioned/fake/doc.go | 2 +- .../clientset/versioned/fake/register.go | 2 +- pkg/client/clientset/versioned/scheme/doc.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../versioned/typed/apps/v1/apps_client.go | 2 +- .../versioned/typed/apps/v1/cluster.go | 2 +- .../typed/apps/v1/clusterdefinition.go | 2 +- .../versioned/typed/apps/v1/component.go | 2 +- .../typed/apps/v1/componentdefinition.go | 2 +- .../typed/apps/v1/componentversion.go | 2 +- .../clientset/versioned/typed/apps/v1/doc.go | 2 +- .../versioned/typed/apps/v1/fake/doc.go | 2 +- .../typed/apps/v1/fake/fake_apps_client.go | 2 +- .../typed/apps/v1/fake/fake_cluster.go | 2 +- .../apps/v1/fake/fake_clusterdefinition.go | 2 +- .../typed/apps/v1/fake/fake_component.go | 2 +- .../apps/v1/fake/fake_componentdefinition.go | 2 +- .../apps/v1/fake/fake_componentversion.go | 2 +- .../apps/v1/fake/fake_servicedescriptor.go | 2 +- .../apps/v1/fake/fake_shardingdefinition.go | 2 +- .../apps/v1/fake/fake_sidecardefinition.go | 2 +- .../typed/apps/v1/generated_expansion.go | 2 +- .../typed/apps/v1/servicedescriptor.go | 2 +- .../typed/apps/v1/shardingdefinition.go | 2 +- .../typed/apps/v1/sidecardefinition.go | 2 +- .../typed/apps/v1alpha1/apps_client.go | 2 +- .../versioned/typed/apps/v1alpha1/cluster.go | 2 +- .../typed/apps/v1alpha1/clusterdefinition.go | 2 +- .../typed/apps/v1alpha1/component.go | 2 +- .../apps/v1alpha1/componentdefinition.go | 2 +- .../typed/apps/v1alpha1/componentversion.go | 2 +- .../typed/apps/v1alpha1/configconstraint.go | 2 +- .../versioned/typed/apps/v1alpha1/doc.go | 2 +- .../versioned/typed/apps/v1alpha1/fake/doc.go | 2 +- .../apps/v1alpha1/fake/fake_apps_client.go | 2 +- .../typed/apps/v1alpha1/fake/fake_cluster.go | 2 +- .../v1alpha1/fake/fake_clusterdefinition.go | 2 +- .../apps/v1alpha1/fake/fake_component.go | 2 +- .../v1alpha1/fake/fake_componentdefinition.go | 2 +- .../v1alpha1/fake/fake_componentversion.go | 2 +- .../v1alpha1/fake/fake_configconstraint.go | 2 +- .../v1alpha1/fake/fake_servicedescriptor.go | 2 +- .../apps/v1alpha1/generated_expansion.go | 2 +- .../typed/apps/v1alpha1/servicedescriptor.go | 2 +- .../typed/apps/v1beta1/apps_client.go | 2 +- .../typed/apps/v1beta1/configconstraint.go | 2 +- .../versioned/typed/apps/v1beta1/doc.go | 2 +- .../versioned/typed/apps/v1beta1/fake/doc.go | 2 +- .../apps/v1beta1/fake/fake_apps_client.go | 2 +- .../v1beta1/fake/fake_configconstraint.go | 2 +- .../typed/apps/v1beta1/generated_expansion.go | 2 +- .../dataprotection/v1alpha1/actionset.go | 2 +- .../typed/dataprotection/v1alpha1/backup.go | 2 +- .../dataprotection/v1alpha1/backuppolicy.go | 2 +- .../v1alpha1/backuppolicytemplate.go | 2 +- .../dataprotection/v1alpha1/backuprepo.go | 2 +- .../dataprotection/v1alpha1/backupschedule.go | 2 +- .../v1alpha1/dataprotection_client.go | 2 +- .../typed/dataprotection/v1alpha1/doc.go | 2 +- .../typed/dataprotection/v1alpha1/fake/doc.go | 2 +- .../v1alpha1/fake/fake_actionset.go | 2 +- .../v1alpha1/fake/fake_backup.go | 2 +- .../v1alpha1/fake/fake_backuppolicy.go | 2 +- .../fake/fake_backuppolicytemplate.go | 2 +- .../v1alpha1/fake/fake_backuprepo.go | 2 +- .../v1alpha1/fake/fake_backupschedule.go | 2 +- .../fake/fake_dataprotection_client.go | 2 +- .../v1alpha1/fake/fake_restore.go | 2 +- .../v1alpha1/fake/fake_storageprovider.go | 2 +- .../v1alpha1/generated_expansion.go | 2 +- .../typed/dataprotection/v1alpha1/restore.go | 2 +- .../v1alpha1/storageprovider.go | 2 +- .../typed/extensions/v1alpha1/addon.go | 2 +- .../typed/extensions/v1alpha1/doc.go | 2 +- .../extensions/v1alpha1/extensions_client.go | 2 +- .../typed/extensions/v1alpha1/fake/doc.go | 2 +- .../extensions/v1alpha1/fake/fake_addon.go | 2 +- .../v1alpha1/fake/fake_extensions_client.go | 2 +- .../v1alpha1/generated_expansion.go | 2 +- .../typed/operations/v1alpha1/doc.go | 2 +- .../typed/operations/v1alpha1/fake/doc.go | 2 +- .../v1alpha1/fake/fake_operations_client.go | 2 +- .../v1alpha1/fake/fake_opsdefinition.go | 2 +- .../v1alpha1/fake/fake_opsrequest.go | 2 +- .../v1alpha1/generated_expansion.go | 2 +- .../operations/v1alpha1/operations_client.go | 2 +- .../operations/v1alpha1/opsdefinition.go | 2 +- .../typed/operations/v1alpha1/opsrequest.go | 2 +- .../versioned/typed/workloads/v1/doc.go | 2 +- .../versioned/typed/workloads/v1/fake/doc.go | 2 +- .../workloads/v1/fake/fake_instanceset.go | 2 +- .../v1/fake/fake_workloads_client.go | 2 +- .../typed/workloads/v1/generated_expansion.go | 2 +- .../typed/workloads/v1/instanceset.go | 2 +- .../typed/workloads/v1/workloads_client.go | 2 +- .../versioned/typed/workloads/v1alpha1/doc.go | 2 +- .../typed/workloads/v1alpha1/fake/doc.go | 2 +- .../v1alpha1/fake/fake_instanceset.go | 2 +- .../v1alpha1/fake/fake_workloads_client.go | 2 +- .../workloads/v1alpha1/generated_expansion.go | 2 +- .../typed/workloads/v1alpha1/instanceset.go | 2 +- .../workloads/v1alpha1/workloads_client.go | 2 +- .../externalversions/apps/interface.go | 2 +- .../externalversions/apps/v1/cluster.go | 2 +- .../apps/v1/clusterdefinition.go | 2 +- .../externalversions/apps/v1/component.go | 2 +- .../apps/v1/componentdefinition.go | 2 +- .../apps/v1/componentversion.go | 2 +- .../externalversions/apps/v1/interface.go | 2 +- .../apps/v1/servicedescriptor.go | 2 +- .../apps/v1/shardingdefinition.go | 2 +- .../apps/v1/sidecardefinition.go | 2 +- .../externalversions/apps/v1alpha1/cluster.go | 2 +- .../apps/v1alpha1/clusterdefinition.go | 2 +- .../apps/v1alpha1/component.go | 2 +- .../apps/v1alpha1/componentdefinition.go | 2 +- .../apps/v1alpha1/componentversion.go | 2 +- .../apps/v1alpha1/configconstraint.go | 2 +- .../apps/v1alpha1/interface.go | 2 +- .../apps/v1alpha1/servicedescriptor.go | 2 +- .../apps/v1beta1/configconstraint.go | 2 +- .../apps/v1beta1/interface.go | 2 +- .../dataprotection/interface.go | 2 +- .../dataprotection/v1alpha1/actionset.go | 2 +- .../dataprotection/v1alpha1/backup.go | 2 +- .../dataprotection/v1alpha1/backuppolicy.go | 2 +- .../v1alpha1/backuppolicytemplate.go | 2 +- .../dataprotection/v1alpha1/backuprepo.go | 2 +- .../dataprotection/v1alpha1/backupschedule.go | 2 +- .../dataprotection/v1alpha1/interface.go | 2 +- .../dataprotection/v1alpha1/restore.go | 2 +- .../v1alpha1/storageprovider.go | 2 +- .../externalversions/extensions/interface.go | 2 +- .../extensions/v1alpha1/addon.go | 2 +- .../extensions/v1alpha1/interface.go | 2 +- .../informers/externalversions/factory.go | 2 +- .../informers/externalversions/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../externalversions/operations/interface.go | 2 +- .../operations/v1alpha1/interface.go | 2 +- .../operations/v1alpha1/opsdefinition.go | 2 +- .../operations/v1alpha1/opsrequest.go | 2 +- .../externalversions/workloads/interface.go | 2 +- .../workloads/v1/instanceset.go | 2 +- .../workloads/v1/interface.go | 2 +- .../workloads/v1alpha1/instanceset.go | 2 +- .../workloads/v1alpha1/interface.go | 2 +- pkg/client/listers/apps/v1/cluster.go | 2 +- .../listers/apps/v1/clusterdefinition.go | 2 +- pkg/client/listers/apps/v1/component.go | 2 +- .../listers/apps/v1/componentdefinition.go | 2 +- .../listers/apps/v1/componentversion.go | 2 +- .../listers/apps/v1/expansion_generated.go | 2 +- .../listers/apps/v1/servicedescriptor.go | 2 +- .../listers/apps/v1/shardingdefinition.go | 2 +- .../listers/apps/v1/sidecardefinition.go | 2 +- pkg/client/listers/apps/v1alpha1/cluster.go | 2 +- .../apps/v1alpha1/clusterdefinition.go | 2 +- pkg/client/listers/apps/v1alpha1/component.go | 2 +- .../apps/v1alpha1/componentdefinition.go | 2 +- .../listers/apps/v1alpha1/componentversion.go | 2 +- .../listers/apps/v1alpha1/configconstraint.go | 2 +- .../apps/v1alpha1/expansion_generated.go | 2 +- .../apps/v1alpha1/servicedescriptor.go | 2 +- .../listers/apps/v1beta1/configconstraint.go | 2 +- .../apps/v1beta1/expansion_generated.go | 2 +- .../dataprotection/v1alpha1/actionset.go | 2 +- .../listers/dataprotection/v1alpha1/backup.go | 2 +- .../dataprotection/v1alpha1/backuppolicy.go | 2 +- .../v1alpha1/backuppolicytemplate.go | 2 +- .../dataprotection/v1alpha1/backuprepo.go | 2 +- .../dataprotection/v1alpha1/backupschedule.go | 2 +- .../v1alpha1/expansion_generated.go | 2 +- .../dataprotection/v1alpha1/restore.go | 2 +- .../v1alpha1/storageprovider.go | 2 +- .../listers/extensions/v1alpha1/addon.go | 2 +- .../v1alpha1/expansion_generated.go | 2 +- .../v1alpha1/expansion_generated.go | 2 +- .../operations/v1alpha1/opsdefinition.go | 2 +- .../listers/operations/v1alpha1/opsrequest.go | 2 +- .../workloads/v1/expansion_generated.go | 2 +- .../listers/workloads/v1/instanceset.go | 2 +- .../workloads/v1alpha1/expansion_generated.go | 2 +- .../listers/workloads/v1alpha1/instanceset.go | 2 +- pkg/common/doc.go | 2 +- pkg/common/env_resolve.go | 2 +- pkg/common/expand.go | 2 +- pkg/common/expand_test.go | 2 +- pkg/common/monitor.go | 2 +- pkg/common/monitor_test.go | 2 +- pkg/common/openapiv3schema.go | 2 +- pkg/common/password.go | 2 +- pkg/common/password_test.go | 2 +- pkg/common/types.go | 2 +- pkg/common/utils.go | 2 +- pkg/configuration/config_manager/builder.go | 2 +- .../config_manager/builder_test.go | 2 +- .../config_manager/config_handler.go | 2 +- .../config_manager/config_handler_test.go | 2 +- pkg/configuration/config_manager/files.go | 2 +- .../config_manager/files_test.go | 2 +- .../config_manager/handler_util.go | 2 +- .../config_manager/handler_util_test.go | 2 +- pkg/configuration/config_manager/logger.go | 2 +- pkg/configuration/config_manager/proc_util.go | 2 +- .../config_manager/proc_util_test.go | 2 +- .../config_manager/reconfiguring_wrapper.go | 2 +- .../reconfiguring_wrapper_test.go | 2 +- .../config_manager/reload_util.go | 2 +- .../config_manager/reload_util_test.go | 2 +- pkg/configuration/config_manager/signal.go | 2 +- .../config_manager/signal_darwin.go | 2 +- .../config_manager/signal_linux.go | 2 +- .../config_manager/signal_test.go | 2 +- .../config_manager/signal_windows.go | 2 +- .../config_manager/suite_test.go | 2 +- pkg/configuration/config_manager/type.go | 2 +- .../config_manager/volume_watcher.go | 2 +- .../config_manager/volume_watcher_test.go | 2 +- pkg/configuration/container/container_kill.go | 2 +- .../container/container_kill_test.go | 2 +- pkg/configuration/container/container_util.go | 2 +- .../container/container_util_test.go | 2 +- pkg/configuration/container/mocks/generate.go | 2 +- pkg/configuration/container/type.go | 2 +- pkg/configuration/core/config.go | 2 +- pkg/configuration/core/config_patch.go | 2 +- pkg/configuration/core/config_patch_option.go | 2 +- .../core/config_patch_option_test.go | 2 +- pkg/configuration/core/config_patch_test.go | 2 +- pkg/configuration/core/config_patch_util.go | 2 +- .../core/config_patch_util_test.go | 2 +- pkg/configuration/core/config_query.go | 2 +- pkg/configuration/core/config_query_test.go | 2 +- pkg/configuration/core/config_test.go | 2 +- pkg/configuration/core/config_util.go | 2 +- pkg/configuration/core/config_util_test.go | 2 +- pkg/configuration/core/constraint.go | 2 +- pkg/configuration/core/error.go | 2 +- pkg/configuration/core/reconfigure_util.go | 2 +- .../core/reconfigure_util_test.go | 2 +- pkg/configuration/core/suite_test.go | 2 +- pkg/configuration/core/type.go | 2 +- pkg/configuration/core/type_test.go | 2 +- pkg/configuration/openapi/cue_gen_openapi.go | 2 +- .../openapi/cue_gen_openapi_test.go | 2 +- pkg/configuration/openapi/flatten.go | 2 +- pkg/configuration/openapi/flatten_test.go | 2 +- pkg/configuration/openapi/runtime.go | 2 +- pkg/configuration/openapi/runtime_test.go | 2 +- pkg/configuration/openapi/utils.go | 2 +- pkg/configuration/openapi/utils_test.go | 2 +- pkg/configuration/proto/generate.go | 2 +- pkg/configuration/proto/mocks/generate.go | 2 +- pkg/configuration/util/file_util.go | 2 +- pkg/configuration/util/file_util_test.go | 2 +- pkg/configuration/util/hash.go | 2 +- pkg/configuration/util/hash_test.go | 2 +- pkg/configuration/util/jsonpath.go | 2 +- pkg/configuration/util/jsonpath_test.go | 2 +- pkg/configuration/util/math.go | 2 +- pkg/configuration/util/math_test.go | 2 +- pkg/configuration/util/pointer.go | 2 +- pkg/configuration/util/pointer_test.go | 2 +- pkg/configuration/util/set.go | 2 +- pkg/configuration/util/set_test.go | 2 +- pkg/configuration/util/shell_util.go | 2 +- pkg/configuration/util/shell_util_test.go | 2 +- pkg/configuration/util/unstructured.go | 2 +- pkg/configuration/util/unstructured_test.go | 2 +- pkg/configuration/validate/config_validate.go | 2 +- .../validate/config_validate_test.go | 2 +- pkg/configuration/validate/cue_util.go | 2 +- pkg/configuration/validate/cue_util_test.go | 2 +- pkg/configuration/validate/cue_visitor.go | 2 +- .../validate/cue_visitor_test.go | 2 +- .../validate/cuelang_expansion.go | 2 +- pkg/configuration/validate/utils.go | 2 +- pkg/configuration/validate/utils_test.go | 2 +- pkg/constant/annotations.go | 2 +- pkg/constant/backup.go | 2 +- pkg/constant/config.go | 2 +- pkg/constant/const.go | 2 +- pkg/constant/env.go | 2 +- pkg/constant/errors.go | 2 +- pkg/constant/finalizer.go | 2 +- pkg/constant/flag.go | 2 +- pkg/constant/labels.go | 2 +- pkg/constant/ops.go | 2 +- pkg/constant/pattern.go | 2 +- pkg/constant/payload.go | 2 +- pkg/constant/role.go | 2 +- pkg/constant/service_descriptor.go | 2 +- pkg/constant/service_kind.go | 2 +- pkg/constant/viper_config.go | 2 +- pkg/controller/builder/builder_backup.go | 2 +- pkg/controller/builder/builder_backup_test.go | 2 +- pkg/controller/builder/builder_base.go | 2 +- pkg/controller/builder/builder_base_test.go | 2 +- pkg/controller/builder/builder_cluster.go | 2 +- .../builder/builder_cluster_test.go | 2 +- pkg/controller/builder/builder_component.go | 2 +- .../builder/builder_component_definition.go | 2 +- pkg/controller/builder/builder_configmap.go | 2 +- .../builder/builder_configmap_test.go | 2 +- .../builder/builder_configuration.go | 2 +- .../builder/builder_configuration_test.go | 2 +- pkg/controller/builder/builder_container.go | 2 +- .../builder/builder_container_test.go | 2 +- pkg/controller/builder/builder_event.go | 2 +- pkg/controller/builder/builder_event_test.go | 2 +- .../builder/builder_instance_set.go | 2 +- .../builder/builder_instance_set_test.go | 2 +- pkg/controller/builder/builder_job.go | 2 +- pkg/controller/builder/builder_job_test.go | 2 +- .../builder/builder_node_count_scaler.go | 2 +- .../builder/builder_node_count_scaler_test.go | 2 +- pkg/controller/builder/builder_pod.go | 2 +- pkg/controller/builder/builder_pod_test.go | 2 +- pkg/controller/builder/builder_pvc.go | 2 +- pkg/controller/builder/builder_pvc_test.go | 2 +- pkg/controller/builder/builder_role.go | 2 +- .../builder/builder_role_binding.go | 2 +- .../builder/builder_role_binding_test.go | 2 +- pkg/controller/builder/builder_role_test.go | 2 +- pkg/controller/builder/builder_secret.go | 2 +- pkg/controller/builder/builder_secret_test.go | 2 +- pkg/controller/builder/builder_service.go | 2 +- .../builder/builder_service_account.go | 2 +- .../builder/builder_service_account_test.go | 2 +- .../builder/builder_service_descriptor.go | 2 +- .../builder_service_descriptor_test.go | 2 +- .../builder/builder_service_test.go | 2 +- pkg/controller/builder/builder_volume.go | 2 +- pkg/controller/builder/builder_volume_test.go | 2 +- pkg/controller/builder/suite_test.go | 2 +- pkg/controller/component/available.go | 2 +- pkg/controller/component/available_test.go | 2 +- pkg/controller/component/component.go | 2 +- pkg/controller/component/component_test.go | 2 +- pkg/controller/component/component_version.go | 2 +- .../component/component_version_test.go | 2 +- pkg/controller/component/convertor.go | 2 +- pkg/controller/component/convertor_test.go | 2 +- pkg/controller/component/its_convertor.go | 2 +- pkg/controller/component/kbagent.go | 2 +- .../component/kbagent_task_event.go | 2 +- pkg/controller/component/kbagent_test.go | 2 +- pkg/controller/component/mock_reader.go | 2 +- pkg/controller/component/replicas.go | 2 +- pkg/controller/component/replicas_test.go | 2 +- pkg/controller/component/service_reference.go | 2 +- .../component/service_reference_test.go | 2 +- pkg/controller/component/sidecar.go | 2 +- pkg/controller/component/suite_test.go | 2 +- .../component/synthesize_component.go | 2 +- .../component/synthesize_component_test.go | 2 +- pkg/controller/component/type.go | 2 +- pkg/controller/component/utils.go | 2 +- pkg/controller/component/utils_test.go | 2 +- pkg/controller/component/vars.go | 2 +- pkg/controller/component/vars_test.go | 2 +- pkg/controller/component/workload_utils.go | 2 +- .../configuration/annotation_utils.go | 2 +- pkg/controller/configuration/config_utils.go | 2 +- .../configuration/configuration_test.go | 2 +- pkg/controller/configuration/envfrom_utils.go | 2 +- .../configuration/envfrom_utils_test.go | 2 +- pkg/controller/configuration/operator.go | 2 +- pkg/controller/configuration/operator_test.go | 2 +- pkg/controller/configuration/patch_merger.go | 2 +- pkg/controller/configuration/pipeline.go | 2 +- pkg/controller/configuration/pipeline_test.go | 2 +- .../configuration/resource_wrapper.go | 2 +- .../configuration/resource_wrapper_test.go | 2 +- pkg/controller/configuration/suite_test.go | 2 +- .../configuration/template_merger.go | 2 +- .../configuration/template_merger_test.go | 2 +- .../configuration/template_wrapper.go | 2 +- .../configuration/tool_image_builder.go | 2 +- .../configuration/tool_image_builder_test.go | 2 +- pkg/controller/configuration/utils.go | 2 +- pkg/controller/factory/builder.go | 2 +- pkg/controller/factory/builder_test.go | 2 +- pkg/controller/factory/suite_test.go | 2 +- pkg/controller/graph/dag.go | 2 +- pkg/controller/graph/dag_test.go | 2 +- pkg/controller/graph/doc.go | 2 +- pkg/controller/graph/plan_builder.go | 2 +- pkg/controller/graph/transformer.go | 2 +- pkg/controller/handler/delegator_finder.go | 2 +- pkg/controller/handler/doc.go | 2 +- pkg/controller/handler/finder.go | 2 +- pkg/controller/handler/handler_builder.go | 2 +- .../handler/handler_builder_test.go | 2 +- .../handler/involved_object_finder.go | 2 +- pkg/controller/handler/label_finder.go | 2 +- pkg/controller/handler/owner_finder.go | 2 +- pkg/controller/handler/suite_test.go | 2 +- pkg/controller/instanceset/doc.go | 2 +- .../instanceset/in_place_update_util.go | 2 +- .../instanceset/in_place_update_util_test.go | 2 +- .../instanceset/instance_template_util.go | 2 +- pkg/controller/instanceset/instance_util.go | 2 +- .../instanceset/instance_util_test.go | 2 +- pkg/controller/instanceset/object_builder.go | 2 +- .../instanceset/object_builder_test.go | 2 +- .../instanceset/pod_role_event_handler.go | 2 +- .../pod_role_event_handler_test.go | 2 +- .../instanceset/reconciler_api_version.go | 2 +- .../reconciler_api_version_test.go | 2 +- .../reconciler_assistant_object.go | 2 +- .../reconciler_assistant_object_test.go | 2 +- .../instanceset/reconciler_deletion.go | 2 +- .../instanceset/reconciler_deletion_test.go | 2 +- .../instanceset/reconciler_fix_meta.go | 2 +- .../instanceset/reconciler_fix_meta_test.go | 2 +- .../reconciler_instance_alignment.go | 2 +- .../reconciler_instance_alignment_test.go | 2 +- .../instanceset/reconciler_revision_update.go | 2 +- .../reconciler_revision_update_test.go | 2 +- .../instanceset/reconciler_status.go | 2 +- .../instanceset/reconciler_status_test.go | 2 +- .../instanceset/reconciler_update.go | 2 +- .../instanceset/reconciler_update_test.go | 2 +- pkg/controller/instanceset/revision_util.go | 2 +- .../instanceset/revision_util_test.go | 2 +- pkg/controller/instanceset/suite_test.go | 2 +- pkg/controller/instanceset/tree_loader.go | 2 +- .../instanceset/tree_loader_test.go | 2 +- pkg/controller/instanceset/types.go | 2 +- pkg/controller/instanceset/update_plan.go | 2 +- .../instanceset/update_plan_test.go | 2 +- pkg/controller/instanceset/utils.go | 2 +- pkg/controller/instanceset/utils_test.go | 2 +- pkg/controller/kubebuilderx/controller.go | 2 +- .../kubebuilderx/controller_test.go | 2 +- pkg/controller/kubebuilderx/doc.go | 2 +- pkg/controller/kubebuilderx/plan_builder.go | 2 +- .../kubebuilderx/plan_builder_test.go | 2 +- pkg/controller/kubebuilderx/reconciler.go | 2 +- .../kubebuilderx/reconciler_test.go | 2 +- pkg/controller/kubebuilderx/suite_test.go | 2 +- pkg/controller/kubebuilderx/utils.go | 2 +- pkg/controller/kubebuilderx/utils_test.go | 2 +- pkg/controller/lifecycle/errors.go | 2 +- pkg/controller/lifecycle/kbagent.go | 2 +- pkg/controller/lifecycle/lfa_account.go | 2 +- pkg/controller/lifecycle/lfa_component.go | 2 +- pkg/controller/lifecycle/lfa_member.go | 2 +- pkg/controller/lifecycle/lifecycle.go | 2 +- pkg/controller/lifecycle/lifecycle_test.go | 2 +- pkg/controller/lifecycle/suite_test.go | 2 +- pkg/controller/model/graph_client.go | 2 +- pkg/controller/model/graph_client_test.go | 2 +- pkg/controller/model/graph_options.go | 2 +- pkg/controller/model/suite_test.go | 2 +- pkg/controller/model/transform_types.go | 2 +- pkg/controller/model/transform_types_test.go | 2 +- pkg/controller/model/transform_utils.go | 2 +- pkg/controller/model/transform_utils_test.go | 2 +- pkg/controller/multicluster/client.go | 2 +- .../multicluster/client_unavailable.go | 2 +- pkg/controller/multicluster/error.go | 2 +- pkg/controller/multicluster/manager.go | 2 +- pkg/controller/multicluster/options.go | 2 +- pkg/controller/multicluster/placement.go | 2 +- pkg/controller/multicluster/setup.go | 2 +- pkg/controller/multicluster/types.go | 2 +- pkg/controller/plan/prepare.go | 2 +- pkg/controller/plan/prepare_test.go | 2 +- pkg/controller/plan/restore.go | 2 +- pkg/controller/plan/restore_test.go | 2 +- pkg/controller/plan/suite_test.go | 2 +- pkg/controller/plan/tls.go | 2 +- pkg/controller/plan/tls_test.go | 2 +- pkg/controller/render/builtin_env.go | 2 +- pkg/controller/render/builtin_env_test.go | 2 +- pkg/controller/render/builtin_functions.go | 2 +- .../render/builtin_functions_test.go | 2 +- pkg/controller/render/builtin_objects.go | 2 +- pkg/controller/render/suite_test.go | 2 +- pkg/controller/render/template_render.go | 2 +- pkg/controller/render/types.go | 2 +- pkg/controller/scheduling/scheduling_utils.go | 2 +- pkg/controllerutil/cluster_utils.go | 2 +- pkg/controllerutil/cluster_utils_test.go | 2 +- pkg/controllerutil/config_util.go | 2 +- pkg/controllerutil/config_util_test.go | 2 +- pkg/controllerutil/container_util.go | 2 +- pkg/controllerutil/container_util_test.go | 2 +- pkg/controllerutil/controller_common.go | 2 +- pkg/controllerutil/controller_common_test.go | 2 +- pkg/controllerutil/encryption.go | 2 +- pkg/controllerutil/encryption_test.go | 2 +- pkg/controllerutil/errors.go | 2 +- pkg/controllerutil/errors_test.go | 2 +- pkg/controllerutil/image_util.go | 2 +- pkg/controllerutil/image_util_test.go | 2 +- pkg/controllerutil/instance_set_utils.go | 2 +- pkg/controllerutil/metrics.go | 2 +- pkg/controllerutil/pod_utils.go | 2 +- pkg/controllerutil/pod_utils_test.go | 2 +- pkg/controllerutil/predicate.go | 2 +- pkg/controllerutil/requeue_errors.go | 2 +- pkg/controllerutil/requeue_errors_test.go | 2 +- pkg/controllerutil/sharding_utils.go | 2 +- pkg/controllerutil/sharding_utils_test.go | 2 +- pkg/controllerutil/suite_test.go | 2 +- pkg/controllerutil/type.go | 2 +- pkg/controllerutil/util.go | 2 +- pkg/controllerutil/util_test.go | 2 +- pkg/controllerutil/volume_util.go | 2 +- pkg/controllerutil/volume_util_test.go | 2 +- pkg/controllerutil/workload_utils.go | 2 +- pkg/dataprotection/action/action.go | 2 +- pkg/dataprotection/action/action_create_vs.go | 2 +- .../action/action_create_vs_test.go | 2 +- pkg/dataprotection/action/action_exec.go | 2 +- pkg/dataprotection/action/action_exec_test.go | 2 +- pkg/dataprotection/action/action_job.go | 2 +- pkg/dataprotection/action/action_job_test.go | 2 +- pkg/dataprotection/action/action_stateful.go | 2 +- pkg/dataprotection/action/builder_status.go | 2 +- pkg/dataprotection/action/suite_test.go | 2 +- pkg/dataprotection/action/types.go | 2 +- pkg/dataprotection/backup/deleter.go | 2 +- pkg/dataprotection/backup/deleter_test.go | 2 +- pkg/dataprotection/backup/request.go | 2 +- pkg/dataprotection/backup/request_test.go | 2 +- pkg/dataprotection/backup/scheduler.go | 2 +- pkg/dataprotection/backup/scheduler_test.go | 2 +- pkg/dataprotection/backup/suite_test.go | 2 +- pkg/dataprotection/backup/types.go | 2 +- pkg/dataprotection/backup/utils.go | 2 +- pkg/dataprotection/backup/utils_test.go | 2 +- pkg/dataprotection/errors/errors.go | 2 +- pkg/dataprotection/errors/errors_test.go | 2 +- pkg/dataprotection/restore/builder.go | 2 +- pkg/dataprotection/restore/manager.go | 2 +- pkg/dataprotection/restore/manager_test.go | 2 +- pkg/dataprotection/restore/suite_test.go | 2 +- pkg/dataprotection/restore/types.go | 2 +- pkg/dataprotection/restore/utils.go | 2 +- pkg/dataprotection/types/constant.go | 2 +- pkg/dataprotection/types/types.go | 2 +- pkg/dataprotection/utils/backup.go | 2 +- pkg/dataprotection/utils/backuprepo.go | 2 +- pkg/dataprotection/utils/boolptr/boolptr.go | 2 +- .../utils/boolptr/boolptr_test.go | 2 +- pkg/dataprotection/utils/compat_client.go | 2 +- .../utils/compat_client_test.go | 2 +- pkg/dataprotection/utils/envvar.go | 2 +- pkg/dataprotection/utils/events.go | 2 +- .../utils/periodical_enqueue_source.go | 2 +- .../utils/periodical_enqueue_source_test.go | 2 +- pkg/dataprotection/utils/suit_test.go | 2 +- pkg/dataprotection/utils/utils.go | 2 +- pkg/dataprotection/utils/utils_test.go | 2 +- pkg/dataprotection/utils/volumesnapshot.go | 2 +- pkg/generics/slices.go | 2 +- pkg/generics/type.go | 2 +- pkg/gotemplate/functional.go | 2 +- pkg/gotemplate/functional_test.go | 2 +- pkg/gotemplate/suite_test.go | 2 +- pkg/gotemplate/tpl_engine.go | 2 +- pkg/gotemplate/tpl_engine_test.go | 2 +- pkg/kbagent/client/client.go | 2 +- pkg/kbagent/client/client_mock.go | 2 +- pkg/kbagent/client/generate.go | 2 +- pkg/kbagent/client/http_client.go | 2 +- pkg/kbagent/client/portforward_client.go | 2 +- pkg/kbagent/proto/errors.go | 2 +- pkg/kbagent/proto/proto.go | 2 +- pkg/kbagent/proto/service.go | 2 +- pkg/kbagent/server/http_server.go | 2 +- pkg/kbagent/server/server.go | 2 +- pkg/kbagent/server/streaming_server.go | 2 +- pkg/kbagent/service/action.go | 2 +- pkg/kbagent/service/action_test.go | 2 +- pkg/kbagent/service/command.go | 2 +- pkg/kbagent/service/command_test.go | 2 +- pkg/kbagent/service/probe.go | 2 +- pkg/kbagent/service/probe_test.go | 2 +- pkg/kbagent/service/service.go | 2 +- pkg/kbagent/service/service_test.go | 2 +- pkg/kbagent/service/streaming.go | 2 +- pkg/kbagent/service/suite_test.go | 2 +- pkg/kbagent/service/task.go | 2 +- pkg/kbagent/service/task_new_replica.go | 2 +- pkg/kbagent/setup.go | 2 +- pkg/kbagent/util/env.go | 2 +- pkg/kbagent/util/event.go | 2 +- pkg/lru/cache.go | 2 +- pkg/metrics/runtime.go | 2 +- pkg/operations/backup.go | 2 +- pkg/operations/backup_test.go | 2 +- pkg/operations/custom.go | 2 +- pkg/operations/custom/action.go | 2 +- pkg/operations/custom/action_exec.go | 2 +- pkg/operations/custom/action_workload.go | 2 +- pkg/operations/custom/utils.go | 2 +- pkg/operations/custom/workload_job.go | 2 +- pkg/operations/custom/workload_pod.go | 2 +- pkg/operations/custom_test.go | 2 +- pkg/operations/custom_workflow.go | 2 +- pkg/operations/expose.go | 2 +- pkg/operations/expose_test.go | 2 +- pkg/operations/horizontal_scaling.go | 2 +- pkg/operations/horizontal_scaling_test.go | 2 +- pkg/operations/ops_comp_helper.go | 2 +- pkg/operations/ops_manager.go | 2 +- pkg/operations/ops_progress_util.go | 2 +- pkg/operations/ops_progress_util_test.go | 2 +- pkg/operations/ops_util.go | 2 +- pkg/operations/ops_util_test.go | 2 +- pkg/operations/queue_util.go | 2 +- pkg/operations/rebuild_instance.go | 2 +- pkg/operations/rebuild_instance_inplace.go | 2 +- pkg/operations/rebuild_instance_test.go | 2 +- pkg/operations/reconfigure.go | 2 +- pkg/operations/reconfigure_pipeline.go | 2 +- pkg/operations/reconfigure_pipeline_test.go | 2 +- pkg/operations/reconfigure_test.go | 2 +- pkg/operations/reconfigure_util.go | 2 +- pkg/operations/reconfigure_util_test.go | 2 +- pkg/operations/restart.go | 2 +- pkg/operations/restart_test.go | 2 +- pkg/operations/restore.go | 2 +- pkg/operations/restore_test.go | 2 +- pkg/operations/start.go | 2 +- pkg/operations/start_test.go | 2 +- pkg/operations/stop.go | 2 +- pkg/operations/stop_test.go | 2 +- pkg/operations/suite_test.go | 2 +- pkg/operations/switchover.go | 2 +- pkg/operations/switchover_test.go | 2 +- pkg/operations/type.go | 2 +- pkg/operations/upgrade.go | 2 +- pkg/operations/upgrade_test.go | 2 +- pkg/operations/util/common_util.go | 2 +- pkg/operations/util/common_util_test.go | 2 +- pkg/operations/util/suite_test.go | 2 +- pkg/operations/vertical_scaling.go | 2 +- pkg/operations/vertical_scaling_test.go | 2 +- pkg/operations/volume_expansion.go | 2 +- pkg/operations/volume_expansion_test.go | 2 +- pkg/testutil/apps/base_factory.go | 2 +- pkg/testutil/apps/cluster_factory.go | 2 +- .../apps/cluster_instance_set_test_util.go | 2 +- pkg/testutil/apps/cluster_util.go | 2 +- pkg/testutil/apps/clusterdef_factory.go | 2 +- pkg/testutil/apps/common_util.go | 2 +- pkg/testutil/apps/component_factory.go | 2 +- pkg/testutil/apps/component_util.go | 2 +- pkg/testutil/apps/component_version_util.go | 2 +- .../apps/componentdefinition_factory.go | 2 +- pkg/testutil/apps/componentversion_factory.go | 2 +- pkg/testutil/apps/constant.go | 2 +- pkg/testutil/apps/instance_set_factoy.go | 2 +- pkg/testutil/apps/kb_agent_util.go | 2 +- pkg/testutil/apps/native_object_util.go | 2 +- pkg/testutil/apps/pod_factory.go | 2 +- pkg/testutil/apps/pv_factoy.go | 2 +- pkg/testutil/apps/pvc_factoy.go | 2 +- .../apps/servicedescriptor_factory.go | 2 +- .../apps/shardingdefinition_factory.go | 2 +- .../apps/sidecardefinition_factory.go | 2 +- pkg/testutil/dataprotection/backup_factory.go | 2 +- pkg/testutil/dataprotection/backup_utils.go | 2 +- .../dataprotection/backuppolicy_factory.go | 2 +- .../backuppolicytemplate_factory.go | 2 +- .../dataprotection/backuprepo_factory.go | 2 +- .../dataprotection/backupschedule_factory.go | 2 +- pkg/testutil/dataprotection/constant.go | 2 +- pkg/testutil/dataprotection/k8s_utils.go | 2 +- .../dataprotection/restore_factory.go | 2 +- pkg/testutil/dataprotection/types.go | 2 +- pkg/testutil/dataprotection/utils.go | 2 +- pkg/testutil/dataprotection/vs_factory.go | 2 +- pkg/testutil/k8s/instance_set_util.go | 2 +- pkg/testutil/k8s/k8sclient_util.go | 2 +- pkg/testutil/k8s/mocks/generate.go | 2 +- pkg/testutil/k8s/pod_util.go | 2 +- pkg/testutil/k8s/storage_util.go | 2 +- pkg/testutil/k8s/tunnel_util.go | 2 +- pkg/testutil/operations/opsrequest_util.go | 2 +- pkg/testutil/type.go | 2 +- pkg/unstructured/config_object.go | 2 +- pkg/unstructured/lexer.go | 2 +- pkg/unstructured/parser_fsm.go | 2 +- pkg/unstructured/parser_fsm_test.go | 2 +- pkg/unstructured/properties.go | 2 +- pkg/unstructured/properties_test.go | 2 +- pkg/unstructured/redis_config.go | 2 +- pkg/unstructured/redis_config_test.go | 2 +- pkg/unstructured/rune_util.go | 2 +- pkg/unstructured/rune_util_test.go | 2 +- pkg/unstructured/type.go | 2 +- pkg/unstructured/viper_util.go | 2 +- pkg/unstructured/viper_wrap.go | 2 +- pkg/unstructured/viper_wrap_test.go | 2 +- pkg/unstructured/xml_config.go | 2 +- pkg/unstructured/xml_config_test.go | 2 +- pkg/unstructured/yaml_config.go | 2 +- pkg/unstructured/yaml_config_test.go | 2 +- pkg/viperx/doc.go | 2 +- pkg/viperx/viperx.go | 2 +- test/e2e/e2e_suite_test.go | 2 +- test/e2e/envcheck/envcheck.go | 2 +- test/e2e/installation/installcheck.go | 2 +- test/e2e/testdata/smoketest/analyze_report.go | 2 +- test/e2e/testdata/smoketest/config.go | 2 +- test/e2e/testdata/smoketest/playgroundtest.go | 2 +- test/e2e/testdata/smoketest/report.go | 2 +- test/e2e/testdata/smoketest/smoketestrun.go | 2 +- test/e2e/types.go | 2 +- test/e2e/util/client.go | 2 +- test/e2e/util/common.go | 2 +- test/e2e/util/s3_util.go | 2 +- test/e2e/util/smoke_util.go | 2 +- test/testdata/cue_testdata/clickhouse.cue | 2 +- test/testdata/cue_testdata/mongod.cue | 2 +- test/testdata/cue_testdata/mysql.cue | 2 +- test/testdata/cue_testdata/mysql_for_cli.cue | 2 +- test/testdata/cue_testdata/mysql_openapi.cue | 2 +- .../cue_testdata/mysql_openapi_v2.cue | 2 +- test/testdata/cue_testdata/mysql_simple.cue | 2 +- test/testdata/cue_testdata/pg14.cue | 2 +- .../cue_testdata/test_import_type.cue | 2 +- test/testdata/cue_testdata/wesql.cue | 2 +- .../mysql-consensus-config-constraint.yaml | 2 +- test/testdata/testdata.go | 2 +- test/testutils/helm.go | 2 +- test/testutils/utils.go | 2 +- tools/tools.go | 2 +- version/version.go | 2 +- 1072 files changed, 2581 insertions(+), 1073 deletions(-) create mode 100644 apis/apps/v1alpha1/opsrequest_types.go diff --git a/apis/apis.go b/apis/apis.go index d375ebd9da4..c567816ba1e 100644 --- a/apis/apis.go +++ b/apis/apis.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1/cluster_conversion.go b/apis/apps/v1/cluster_conversion.go index fc35aaeea6a..0c4363504d8 100644 --- a/apis/apps/v1/cluster_conversion.go +++ b/apis/apps/v1/cluster_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/cluster_types.go b/apis/apps/v1/cluster_types.go index f5455f590a6..4a7eba9eb75 100644 --- a/apis/apps/v1/cluster_types.go +++ b/apis/apps/v1/cluster_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/cluster_webhook.go b/apis/apps/v1/cluster_webhook.go index c616c2fd834..3232eee21f0 100644 --- a/apis/apps/v1/cluster_webhook.go +++ b/apis/apps/v1/cluster_webhook.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/clusterdefinition_conversion.go b/apis/apps/v1/clusterdefinition_conversion.go index 78dc5ad0729..ea1477ddb07 100644 --- a/apis/apps/v1/clusterdefinition_conversion.go +++ b/apis/apps/v1/clusterdefinition_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/clusterdefinition_types.go b/apis/apps/v1/clusterdefinition_types.go index 9bc91d81a0a..5ab0696f6b4 100644 --- a/apis/apps/v1/clusterdefinition_types.go +++ b/apis/apps/v1/clusterdefinition_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/clusterdefinition_webhook.go b/apis/apps/v1/clusterdefinition_webhook.go index 95b125b8146..153596113f5 100644 --- a/apis/apps/v1/clusterdefinition_webhook.go +++ b/apis/apps/v1/clusterdefinition_webhook.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/component_conversion.go b/apis/apps/v1/component_conversion.go index 540d9638128..a366345471d 100644 --- a/apis/apps/v1/component_conversion.go +++ b/apis/apps/v1/component_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/component_types.go b/apis/apps/v1/component_types.go index 3b6c6b4f518..fdf3e5af9a4 100644 --- a/apis/apps/v1/component_types.go +++ b/apis/apps/v1/component_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/component_webhook.go b/apis/apps/v1/component_webhook.go index 31747fa334c..815f27f6928 100644 --- a/apis/apps/v1/component_webhook.go +++ b/apis/apps/v1/component_webhook.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/componentdefinition_conversion.go b/apis/apps/v1/componentdefinition_conversion.go index 6c4ac82e044..55dcebe1c42 100644 --- a/apis/apps/v1/componentdefinition_conversion.go +++ b/apis/apps/v1/componentdefinition_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/componentdefinition_types.go b/apis/apps/v1/componentdefinition_types.go index 33a1ef5d626..99b20d75f5a 100644 --- a/apis/apps/v1/componentdefinition_types.go +++ b/apis/apps/v1/componentdefinition_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/componentdefinition_webhook.go b/apis/apps/v1/componentdefinition_webhook.go index d4ce67e94c0..6b441d18811 100644 --- a/apis/apps/v1/componentdefinition_webhook.go +++ b/apis/apps/v1/componentdefinition_webhook.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/componentversion_conversion.go b/apis/apps/v1/componentversion_conversion.go index c54b5c3b254..06a888702eb 100644 --- a/apis/apps/v1/componentversion_conversion.go +++ b/apis/apps/v1/componentversion_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/componentversion_types.go b/apis/apps/v1/componentversion_types.go index 0fa780c7e01..62cfb41638e 100644 --- a/apis/apps/v1/componentversion_types.go +++ b/apis/apps/v1/componentversion_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/componentversion_webhook.go b/apis/apps/v1/componentversion_webhook.go index a39bb068011..bdbbc60d116 100644 --- a/apis/apps/v1/componentversion_webhook.go +++ b/apis/apps/v1/componentversion_webhook.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/deprecated.go b/apis/apps/v1/deprecated.go index 341293d3938..6cea27bbd18 100644 --- a/apis/apps/v1/deprecated.go +++ b/apis/apps/v1/deprecated.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1/doc.go b/apis/apps/v1/doc.go index f6b5ed9ac01..9df3f2d0cd4 100644 --- a/apis/apps/v1/doc.go +++ b/apis/apps/v1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1/groupversion_info.go b/apis/apps/v1/groupversion_info.go index b1f1fa6b6b8..a1ced79c7d3 100644 --- a/apis/apps/v1/groupversion_info.go +++ b/apis/apps/v1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/register.go b/apis/apps/v1/register.go index 93633c70d4a..8096d27897f 100644 --- a/apis/apps/v1/register.go +++ b/apis/apps/v1/register.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1/servicedescriptor_conversion.go b/apis/apps/v1/servicedescriptor_conversion.go index db15538881b..2f448b881c7 100644 --- a/apis/apps/v1/servicedescriptor_conversion.go +++ b/apis/apps/v1/servicedescriptor_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/servicedescriptor_types.go b/apis/apps/v1/servicedescriptor_types.go index c6d4d68b74a..1af270faf02 100644 --- a/apis/apps/v1/servicedescriptor_types.go +++ b/apis/apps/v1/servicedescriptor_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/servicedescriptor_webhook.go b/apis/apps/v1/servicedescriptor_webhook.go index 36d0ab1bde7..88459607419 100644 --- a/apis/apps/v1/servicedescriptor_webhook.go +++ b/apis/apps/v1/servicedescriptor_webhook.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/shardingdefinition_types.go b/apis/apps/v1/shardingdefinition_types.go index 58a27a432b9..756df6fd401 100644 --- a/apis/apps/v1/shardingdefinition_types.go +++ b/apis/apps/v1/shardingdefinition_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/sidecardefinition_types.go b/apis/apps/v1/sidecardefinition_types.go index 5574e769265..4c9bdbd0247 100644 --- a/apis/apps/v1/sidecardefinition_types.go +++ b/apis/apps/v1/sidecardefinition_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/types.go b/apis/apps/v1/types.go index 5e2c6cb8b83..6342565571c 100644 --- a/apis/apps/v1/types.go +++ b/apis/apps/v1/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1/webhook_suite_test.go b/apis/apps/v1/webhook_suite_test.go index 869a434a1c3..71d606b6568 100644 --- a/apis/apps/v1/webhook_suite_test.go +++ b/apis/apps/v1/webhook_suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1/zz_generated.deepcopy.go b/apis/apps/v1/zz_generated.deepcopy.go index 59b662650a4..d21a939b091 100644 --- a/apis/apps/v1/zz_generated.deepcopy.go +++ b/apis/apps/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1alpha1/cluster_conversion.go b/apis/apps/v1alpha1/cluster_conversion.go index 27c069db048..e109ba31e6b 100644 --- a/apis/apps/v1alpha1/cluster_conversion.go +++ b/apis/apps/v1alpha1/cluster_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1alpha1/cluster_types.go b/apis/apps/v1alpha1/cluster_types.go index 67d538722c0..a926d11da6d 100644 --- a/apis/apps/v1alpha1/cluster_types.go +++ b/apis/apps/v1alpha1/cluster_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/cluster_types_test.go b/apis/apps/v1alpha1/cluster_types_test.go index f10136af672..bf6efbdf23c 100644 --- a/apis/apps/v1alpha1/cluster_types_test.go +++ b/apis/apps/v1alpha1/cluster_types_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/clusterdefinition_conversion.go b/apis/apps/v1alpha1/clusterdefinition_conversion.go index 7fb9b747c82..cce1d909519 100644 --- a/apis/apps/v1alpha1/clusterdefinition_conversion.go +++ b/apis/apps/v1alpha1/clusterdefinition_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1alpha1/clusterdefinition_types.go b/apis/apps/v1alpha1/clusterdefinition_types.go index cb5c8d2743e..22b9af8a575 100644 --- a/apis/apps/v1alpha1/clusterdefinition_types.go +++ b/apis/apps/v1alpha1/clusterdefinition_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/clusterdefinition_types_legacy.go b/apis/apps/v1alpha1/clusterdefinition_types_legacy.go index d68d9de9329..c488e23d44c 100644 --- a/apis/apps/v1alpha1/clusterdefinition_types_legacy.go +++ b/apis/apps/v1alpha1/clusterdefinition_types_legacy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/component_conversion.go b/apis/apps/v1alpha1/component_conversion.go index 11d5da599c5..4cd2454514b 100644 --- a/apis/apps/v1alpha1/component_conversion.go +++ b/apis/apps/v1alpha1/component_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1alpha1/component_types.go b/apis/apps/v1alpha1/component_types.go index ddc66a8818e..b5914a069d8 100644 --- a/apis/apps/v1alpha1/component_types.go +++ b/apis/apps/v1alpha1/component_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/componentdefinition_conversion.go b/apis/apps/v1alpha1/componentdefinition_conversion.go index a1574961a0b..d742f311f5b 100644 --- a/apis/apps/v1alpha1/componentdefinition_conversion.go +++ b/apis/apps/v1alpha1/componentdefinition_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1alpha1/componentdefinition_types.go b/apis/apps/v1alpha1/componentdefinition_types.go index 41efb4806f4..3976481f332 100644 --- a/apis/apps/v1alpha1/componentdefinition_types.go +++ b/apis/apps/v1alpha1/componentdefinition_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/componentversion_conversion.go b/apis/apps/v1alpha1/componentversion_conversion.go index a88f2460e7b..60d4245c8b0 100644 --- a/apis/apps/v1alpha1/componentversion_conversion.go +++ b/apis/apps/v1alpha1/componentversion_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1alpha1/componentversion_types.go b/apis/apps/v1alpha1/componentversion_types.go index c9e6d674470..ff77bee7545 100644 --- a/apis/apps/v1alpha1/componentversion_types.go +++ b/apis/apps/v1alpha1/componentversion_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/config.go b/apis/apps/v1alpha1/config.go index 65ba76c34a0..18bfeb01732 100644 --- a/apis/apps/v1alpha1/config.go +++ b/apis/apps/v1alpha1/config.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/config_meta.go b/apis/apps/v1alpha1/config_meta.go index 6371c17c056..440eeec4d89 100644 --- a/apis/apps/v1alpha1/config_meta.go +++ b/apis/apps/v1alpha1/config_meta.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/configconstraint_types.go b/apis/apps/v1alpha1/configconstraint_types.go index beba03a03e1..4e00ba7a793 100644 --- a/apis/apps/v1alpha1/configconstraint_types.go +++ b/apis/apps/v1alpha1/configconstraint_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/configconstraint_types_test.go b/apis/apps/v1alpha1/configconstraint_types_test.go index b99c8558484..7eee48d001a 100644 --- a/apis/apps/v1alpha1/configconstraint_types_test.go +++ b/apis/apps/v1alpha1/configconstraint_types_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/configuration_types.go b/apis/apps/v1alpha1/configuration_types.go index 223a1bfbff7..467b9dff1b4 100644 --- a/apis/apps/v1alpha1/configuration_types.go +++ b/apis/apps/v1alpha1/configuration_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/conversion.go b/apis/apps/v1alpha1/conversion.go index 67aa0ae43be..0df8af5762e 100644 --- a/apis/apps/v1alpha1/conversion.go +++ b/apis/apps/v1alpha1/conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1alpha1/doc.go b/apis/apps/v1alpha1/doc.go index 8af4b27be7c..0267066903e 100644 --- a/apis/apps/v1alpha1/doc.go +++ b/apis/apps/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/groupversion_info.go b/apis/apps/v1alpha1/groupversion_info.go index 32e23efc8cf..44d8dbbe589 100644 --- a/apis/apps/v1alpha1/groupversion_info.go +++ b/apis/apps/v1alpha1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/opsrequest_types.go b/apis/apps/v1alpha1/opsrequest_types.go new file mode 100644 index 00000000000..d35e4f1e0a9 --- /dev/null +++ b/apis/apps/v1alpha1/opsrequest_types.go @@ -0,0 +1,1508 @@ +/* +Copyright (C) 2022-2025 ApeCloud Co., Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + corev1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/api/resource" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/util/intstr" +) + +// TODO: @wangyelei could refactor to ops group + +// OpsRequestSpec defines the desired state of OpsRequest +// +// +kubebuilder:validation:XValidation:rule="has(self.cancel) && self.cancel ? (self.type in ['VerticalScaling', 'HorizontalScaling']) : true",message="forbidden to cancel the opsRequest which type not in ['VerticalScaling','HorizontalScaling']" +type OpsRequestSpec struct { + // Specifies the name of the Cluster resource that this operation is targeting. + // + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.clusterName" + ClusterName string `json:"clusterName,omitempty"` + + // Deprecated: since v0.9, use clusterName instead. + // Specifies the name of the Cluster resource that this operation is targeting. + // +kubebuilder:deprecatedversion:warning="This field has been deprecated since 0.9.0" + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.clusterRef" + ClusterRef string `json:"clusterRef,omitempty"` + + // Indicates whether the current operation should be canceled and terminated gracefully if it's in the + // "Pending", "Creating", or "Running" state. + // + // This field applies only to "VerticalScaling" and "HorizontalScaling" opsRequests. + // + // Note: Setting `cancel` to true is irreversible; further modifications to this field are ineffective. + // + // +optional + Cancel bool `json:"cancel,omitempty"` + + // Instructs the system to bypass pre-checks (including cluster state checks and customized pre-conditions hooks) + // and immediately execute the opsRequest, except for the opsRequest of 'Start' type, which will still undergo + // pre-checks even if `force` is true. + // + // This is useful for concurrent execution of 'VerticalScaling' and 'HorizontalScaling' opsRequests. + // By setting `force` to true, you can bypass the default checks and demand these opsRequests to run + // simultaneously. + // + // Note: Once set, the `force` field is immutable and cannot be updated. + // + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.force" + // +optional + Force bool `json:"force,omitempty"` + + // Indicates whether opsRequest should continue to queue when 'force' is set to true. + // +kubebuilder:default=false + // +optional + EnqueueOnForce bool `json:"enqueueOnForce,omitempty"` + + // Specifies the type of this operation. Supported types include "Start", "Stop", "Restart", "Switchover", + // "VerticalScaling", "HorizontalScaling", "VolumeExpansion", "Reconfiguring", "Upgrade", "Backup", "Restore", + // "Expose", "DataScript", "RebuildInstance", "Custom". + // + // Note: This field is immutable once set. + // + // +kubebuilder:validation:Required + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.type" + Type OpsType `json:"type"` + + // Specifies the duration in seconds that an OpsRequest will remain in the system after successfully completing + // (when `opsRequest.status.phase` is "Succeed") before automatic deletion. + // + // +optional + TTLSecondsAfterSucceed int32 `json:"ttlSecondsAfterSucceed,omitempty"` + + // Specifies the duration in seconds that an OpsRequest will remain in the system after completion + // for any phase other than "Succeed" (e.g., "Failed", "Cancelled", "Aborted") before automatic deletion. + // + // +optional + TTLSecondsAfterUnsuccessfulCompletion int32 `json:"ttlSecondsAfterUnsuccessfulCompletion,omitempty"` + + // Specifies the maximum time in seconds that the OpsRequest will wait for its pre-conditions to be met + // before it aborts the operation. + // If set to 0 (default), pre-conditions must be satisfied immediately for the OpsRequest to proceed. + // + // +kubebuilder:default=0 + // +optional + PreConditionDeadlineSeconds *int32 `json:"preConditionDeadlineSeconds,omitempty"` + + // Specifies the maximum duration (in seconds) that an opsRequest is allowed to run. + // If the opsRequest runs longer than this duration, its phase will be marked as Aborted. + // If this value is not set or set to 0, the timeout will be ignored and the opsRequest will run indefinitely. + // +optional + // +kubebuilder:Minimum=0 + TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` + + // Exactly one of its members must be set. + SpecificOpsRequest `json:",inline"` +} + +type SpecificOpsRequest struct { + // Specifies the desired new version of the Cluster. + // + // Note: This field is immutable once set. + // + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.upgrade" + Upgrade *Upgrade `json:"upgrade,omitempty"` + + // Lists HorizontalScaling objects, each specifying scaling requirements for a Component, + // including desired replica changes, configurations for new instances, modifications for existing instances, + // and take offline/online the specified instances. + // + // +optional + // +patchMergeKey=componentName + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=componentName + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.horizontalScaling" + HorizontalScalingList []HorizontalScaling `json:"horizontalScaling,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` + + // Lists VolumeExpansion objects, each specifying a component and its corresponding volumeClaimTemplates + // that requires storage expansion. + // + // +optional + // +patchMergeKey=componentName + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=componentName + VolumeExpansionList []VolumeExpansion `json:"volumeExpansion,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` + + // Lists Components to be started. If empty, all components will be started. + // + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.start" + // +kubebuilder:validation:MaxItems=1024 + // +patchMergeKey=componentName + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=componentName + StartList []ComponentOps `json:"start,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` + + // Lists Components to be stopped. If empty, all components will be stopped. + // + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.stop" + // +kubebuilder:validation:MaxItems=1024 + // +patchMergeKey=componentName + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=componentName + StopList []ComponentOps `json:"stop,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` + + // Lists Components to be restarted. + // + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.restart" + // +kubebuilder:validation:MaxItems=1024 + // +patchMergeKey=componentName + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=componentName + RestartList []ComponentOps `json:"restart,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` + + // Lists Switchover objects, each specifying a Component to perform the switchover operation. + // + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.switchover" + SwitchoverList []Switchover `json:"switchover,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` + + // Lists VerticalScaling objects, each specifying a component and its desired compute resources for vertical scaling. + // + // +kubebuilder:validation:MaxItems=1024 + // +optional + // +patchMergeKey=componentName + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=componentName + VerticalScalingList []VerticalScaling `json:"verticalScaling,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` + + // Specifies a component and its configuration updates. + // + // This field is deprecated and replaced by `reconfigures`. + // + // +optional + Reconfigure *Reconfigure `json:"reconfigure,omitempty"` + + // Lists Reconfigure objects, each specifying a Component and its configuration updates. + // + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.reconfigure" + // +optional + // +patchMergeKey=componentName + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=componentName + Reconfigures []Reconfigure `json:"reconfigures,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` + + // Lists Expose objects, each specifying a Component and its services to be exposed. + // + // +optional + ExposeList []Expose `json:"expose,omitempty"` + + // Specifies the image and scripts for executing engine-specific operations such as creating databases or users. + // It supports limited engines including MySQL, PostgreSQL, Redis, MongoDB. + // + // ScriptSpec has been replaced by the more versatile OpsDefinition. + // It is recommended to use OpsDefinition instead. + // ScriptSpec is deprecated and will be removed in a future version. + // + // +optional + ScriptSpec *ScriptSpec `json:"scriptSpec,omitempty"` + + // Specifies the parameters to backup a Cluster. + // +optional + Backup *Backup `json:"backup,omitempty"` + + // Deprecated: since v0.9, use backup instead. + // Specifies the parameters to backup a Cluster. + // +optional + // +kubebuilder:deprecatedversion:warning="This field has been deprecated since 0.9.0" + BackupSpec *Backup `json:"backupSpec,omitempty"` + + // Specifies the parameters to restore a Cluster. + // Note that this restore operation will roll back cluster services. + // + // +optional + Restore *Restore `json:"restore,omitempty"` + + // Deprecated: since v0.9, use restore instead. + // Specifies the parameters to restore a Cluster. + // Note that this restore operation will roll back cluster services. + // +kubebuilder:deprecatedversion:warning="This field has been deprecated since 0.9.0" + // +optional + RestoreSpec *Restore `json:"restoreSpec,omitempty"` + + // Specifies the parameters to rebuild some instances. + // Rebuilding an instance involves restoring its data from a backup or another database replica. + // The instances being rebuilt usually serve as standby in the cluster. + // Hence rebuilding instances is often also referred to as "standby reconstruction". + // + // +optional + // +patchMergeKey=componentName + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=componentName + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.rebuildFrom" + RebuildFrom []RebuildInstance `json:"rebuildFrom,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` + + // Specifies a custom operation defined by OpsDefinition. + // + // +optional + CustomOps *CustomOps `json:"custom,omitempty"` +} + +// ComponentOps specifies the Component to be operated on. +type ComponentOps struct { + // Specifies the name of the Component as defined in the cluster.spec + // +kubebuilder:validation:Required + ComponentName string `json:"componentName"` +} + +type RebuildInstance struct { + // Specifies the name of the Component. + ComponentOps `json:",inline"` + + // Specifies the instances (Pods) that need to be rebuilt, typically operating as standbys. + // + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:Required + Instances []Instance `json:"instances"` + + // When it is set to true, the instance will be rebuilt in-place. + // By default, a new pod will be created. Once the new pod is ready to serve, + // the instance that require rebuilding will be taken offline. + // +kubebuilder:validation:default=false + InPlace bool `json:"inPlace,omitempty"` + + // Indicates the name of the Backup custom resource from which to recover the instance. + // Defaults to an empty PersistentVolume if unspecified. + // + // Note: + // - Only full physical backups are supported for multi-replica Components (e.g., 'xtrabackup' for MySQL). + // - Logical backups (e.g., 'mysqldump' for MySQL) are unsupported in the current version. + // + // +optional + BackupName string `json:"backupName,omitempty"` + + // When multiple source targets exist of the backup, you must specify the source target to restore. + // +optional + SourceBackupTargetName string `json:"sourceBackupTargetName,omitempty"` + + // Defines container environment variables for the restore process. + // merged with the ones specified in the Backup and ActionSet resources. + // + // Merge priority: Restore env > Backup env > ActionSet env. + // + // Purpose: Some databases require different configurations when being restored as a standby + // compared to being restored as a primary. + // For example, when restoring MySQL as a replica, you need to set `skip_slave_start="ON"` for 5.7 + // or `skip_replica_start="ON"` for 8.0. + // Allowing environment variables to be passed in makes it more convenient to control these behavioral differences + // during the restore process. + // + // +kubebuilder:pruning:PreserveUnknownFields + // +optional + RestoreEnv []corev1.EnvVar `json:"restoreEnv,omitempty" patchStrategy:"merge" patchMergeKey:"name"` +} + +type Instance struct { + // Pod name of the instance. + // +kubebuilder:validation:Required + Name string `json:"name"` + + // The instance will rebuild on the specified node. + // If not set, it will rebuild on a random node. + // +optional + TargetNodeName string `json:"targetNodeName,omitempty"` +} + +// +kubebuilder:validation:XValidation:rule="(has(self.componentName) && !has(self.componentObjectName)) || (!has(self.componentName) && has(self.componentObjectName))",message="need to specified only componentName or componentObjectName" + +type Switchover struct { + // Specifies the name of the Component as defined in the cluster.spec. + // +optional + ComponentName string `json:"componentName,omitempty"` + + // Specifies the name of the Component object. + // +optional + ComponentObjectName string `json:"componentObjectName,omitempty"` + + // Specifies the instance to become the primary or leader during a switchover operation. + // + // The value of `instanceName` can be either: + // + // 1. "*" (wildcard value): + // - Indicates no specific instance is designated as the primary or leader. + // - Executes the switchover action from `clusterDefinition.componentDefs[*].switchoverSpec.withoutCandidate`. + // - `clusterDefinition.componentDefs[x].switchoverSpec.withoutCandidate` must be defined when using "*". + // + // 2. A valid instance name (pod name): + // - Designates a specific instance (pod) as the primary or leader. + // - The name must match one of the pods in the component. Any non-valid pod name is considered invalid. + // - Executes the switchover action from `clusterDefinition.componentDefs[*].switchoverSpec.withCandidate`. + // - `clusterDefinition.componentDefs[*].switchoverSpec.withCandidate` must be defined when specifying a valid instance name. + // + // +kubebuilder:validation:Required + InstanceName string `json:"instanceName"` +} + +// Upgrade defines the parameters for an upgrade operation. +type Upgrade struct { + // Deprecated: since v0.9 because ClusterVersion is deprecated. + // Specifies the name of the target ClusterVersion for the upgrade. + // + // +kubebuilder:deprecatedversion:warning="This field has been deprecated since 0.9.0" + ClusterVersionRef *string `json:"clusterVersionRef,omitempty"` + + // Lists components to be upgrade based on desired ComponentDefinition and ServiceVersion. + // From the perspective of cluster API, the reasonable combinations should be: + // 1. (comp-def, service-ver) - upgrade to the specified service version and component definition, the user takes the responsibility to ensure that they are compatible. + // 2. ("", service-ver) - upgrade to the specified service version, let the operator choose the latest compatible component definition. + // 3. (comp-def, "") - upgrade to the specified component definition, let the operator choose the latest compatible service version. + // 4. ("", "") - upgrade to the latest service version and component definition, the operator will ensure the compatibility between the selected versions. + // +patchMergeKey=componentName + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=componentName + // +kubebuilder:validation:MaxItems=1024 + // +optional + Components []UpgradeComponent `json:"components,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` +} + +// +kubebuilder:validation:XValidation:rule="has(self.componentDefinitionName) || has(self.serviceVersion)",message="at least one componentDefinitionName or serviceVersion" + +type UpgradeComponent struct { + // Specifies the name of the Component. + ComponentOps `json:",inline"` + + // Specifies the name of the ComponentDefinition, only exact matches are supported. + // +kubebuilder:validation:MaxLength=64 + // +optional + ComponentDefinitionName *string `json:"componentDefinitionName,omitempty"` + + // Specifies the version of the Service expected to be provisioned by this Component. + // Referring to the ServiceVersion defined by the ComponentDefinition and ComponentVersion. + // And ServiceVersion in ClusterComponentSpec is optional, when no version is specified, + // use the latest available version in ComponentVersion. + // +kubebuilder:validation:MaxLength=32 + // +optional + ServiceVersion *string `json:"serviceVersion,omitempty"` +} + +// VerticalScaling refers to the process of adjusting compute resources (e.g., CPU, memory) allocated to a Component. +// It defines the parameters required for the operation. +type VerticalScaling struct { + // Specifies the name of the Component. + ComponentOps `json:",inline"` + + // Defines the desired compute resources of the Component's instances. + // + // +kubebuilder:pruning:PreserveUnknownFields + corev1.ResourceRequirements `json:",inline"` + + // Specifies the desired compute resources of the instance template that need to vertical scale. + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + // +optional + Instances []InstanceResourceTemplate `json:"instances,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` +} + +type InstanceResourceTemplate struct { + // Refer to the instance template name of the component or sharding. + // +kubebuilder:validation:Required + Name string `json:"name"` + + // Defines the computational resource size for vertical scaling. + // +kubebuilder:pruning:PreserveUnknownFields + corev1.ResourceRequirements `json:",inline"` +} + +type InstanceVolumeClaimTemplate struct { + // Refer to the instance template name of the component or sharding. + // +kubebuilder:validation:Required + Name string `json:"name"` + + // volumeClaimTemplates specifies the storage size and volumeClaimTemplate name. + // +kubebuilder:validation:Required + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + VolumeClaimTemplates []OpsRequestVolumeClaimTemplate `json:"volumeClaimTemplates" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` +} + +// VolumeExpansion encapsulates the parameters required for a volume expansion operation. +type VolumeExpansion struct { + // Specifies the name of the Component. + ComponentOps `json:",inline"` + + // Specifies a list of OpsRequestVolumeClaimTemplate objects, defining the volumeClaimTemplates + // that are used to expand the storage and the desired storage size for each one. + // + // +kubebuilder:validation:Required + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + VolumeClaimTemplates []OpsRequestVolumeClaimTemplate `json:"volumeClaimTemplates" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` + + // Specifies the desired storage size of the instance template that need to volume expand. + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + // +optional + Instances []InstanceVolumeClaimTemplate `json:"instances,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` +} + +type OpsRequestVolumeClaimTemplate struct { + // Specifies the desired storage size for the volume. + // + // +kubebuilder:validation:Required + Storage resource.Quantity `json:"storage"` + + // Specify the name of the volumeClaimTemplate in the Component. + // The specified name must match one of the volumeClaimTemplates defined + // in the `clusterComponentSpec.volumeClaimTemplates` field. + // + // +kubebuilder:validation:Required + Name string `json:"name"` +} + +// +kubebuilder:validation:XValidation:rule="has(self.shards) ? (!has(self.scaleOut) && !has(self.scaleIn)) : true",message="shards field cannot be used together with scaleOut or scaleIn" + +// HorizontalScaling defines the parameters of a horizontal scaling operation. +type HorizontalScaling struct { + // Specifies the name of the Component. + ComponentOps `json:",inline"` + + // Specifies the desired number of shards for the component. + // This parameter is mutually exclusive with other parameters. + Shards *int32 `json:"shards,omitempty"` + + // Deprecated: since v0.9, use scaleOut and scaleIn instead. + // Specifies the number of replicas for the component. Cannot be used with "scaleIn" and "scaleOut". + // +kubebuilder:deprecatedversion:warning="This field has been deprecated since 0.9.0" + // +kubebuilder:validation:Minimum=0 + // +optional + Replicas *int32 `json:"replicas,omitempty"` + + // Specifies the replica changes for scaling out components and instance templates, + // and brings offline instances back online. Can be used in conjunction with the "scaleIn" operation. + // Note: Any configuration that deletes instances is considered invalid. + // + // +optional + ScaleOut *ScaleOut `json:"scaleOut,omitempty"` + + // Specifies the replica changes for scaling in components and instance templates, + // and takes specified instances offline. Can be used in conjunction with the "scaleOut" operation. + // Note: Any configuration that creates instances is considered invalid. + // +optional + ScaleIn *ScaleIn `json:"scaleIn,omitempty"` +} + +// ScaleOut defines the configuration for a scale-out operation. +type ScaleOut struct { + + // Modifies the replicas of the component and instance templates. + ReplicaChanger `json:",inline"` + + // Defines the configuration for new instances added during scaling, including resource requirements, labels, annotations, etc. + // New instances are created based on the provided instance templates. + // +optional + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + NewInstances []InstanceTemplate `json:"newInstances,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` + + // Specifies the instances in the offline list to bring back online. + // +optional + OfflineInstancesToOnline []string `json:"offlineInstancesToOnline,omitempty"` +} + +// ScaleIn defines the configuration for a scale-in operation. +type ScaleIn struct { + + // Modifies the replicas of the component and instance templates. + ReplicaChanger `json:",inline"` + + // Specifies the instance names that need to be taken offline. + // +optional + OnlineInstancesToOffline []string `json:"onlineInstancesToOffline,omitempty"` +} + +// ReplicaChanger defines the parameters for changing the number of replicas. +type ReplicaChanger struct { + // Specifies the replica changes for the component. + // +kubebuilder:validation:Minimum=0 + ReplicaChanges *int32 `json:"replicaChanges,omitempty"` + + // Modifies the desired replicas count for existing InstanceTemplate. + // if the inst + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + // +optional + Instances []InstanceReplicasTemplate `json:"instances,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` +} + +// InstanceReplicasTemplate defines the template for instance replicas. +type InstanceReplicasTemplate struct { + // Specifies the name of the instance template. + // +kubebuilder:validation:Required + Name string `json:"name"` + + // Specifies the replica changes for the instance template. + // +kubebuilder:validation:Minimum=0 + // +kubebuilder:validation:Required + ReplicaChanges int32 `json:"replicaChanges"` +} + +// Reconfigure defines the parameters for updating a Component's configuration. +type Reconfigure struct { + // Specifies the name of the Component. + ComponentOps `json:",inline"` + + // Contains a list of ConfigurationItem objects, specifying the Component's configuration template name, + // upgrade policy, and parameter key-value pairs to be updated. + // + // +kubebuilder:validation:Required + // +kubebuilder:validation:MinItems=1 + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + Configurations []ConfigurationItem `json:"configurations" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` + + // Indicates the duration for which the parameter changes are valid. + // +optional + // TTL *int64 `json:"ttl,omitempty"` + + // Specifies the time when the parameter changes should be applied. + // +kubebuilder:validation:MaxLength=19 + // +kubebuilder:validation:MinLength=19 + // +kubebuilder:validation:Pattern:=`^([0-9]{2})/([0-9]{2})/([0-9]{4}) ([0-9]{2}):([0-9]{2}):([0-9]{2})$` + // +optional + // TriggeringTime *string `json:"triggeringTime,omitempty"` + + // Identifies the component to be reconfigured. + // +optional + // Selector *metav1.LabelSelector `json:"selector,omitempty"` +} + +type ConfigurationItem struct { + // Specifies the name of the configuration template. + // + // +kubebuilder:validation:Required + // +kubebuilder:validation:MaxLength=63 + // +kubebuilder:validation:Pattern:=`^[a-z0-9]([a-z0-9\.\-]*[a-z0-9])?$` + Name string `json:"name"` + + // Defines the upgrade policy for the configuration. + // + // +optional + Policy *UpgradePolicy `json:"policy,omitempty"` + + // Sets the configuration files and their associated parameters that need to be updated. + // It should contain at least one item. + // + // +kubebuilder:validation:Required + // +kubebuilder:validation:MinItems=1 + // +patchMergeKey=key + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=key + Keys []ParameterConfig `json:"keys" patchStrategy:"merge,retainKeys" patchMergeKey:"key"` +} + +type CustomOps struct { + // Specifies the name of the OpsDefinition. + // + // +kubebuilder:validation:Required + OpsDefinitionName string `json:"opsDefinitionName"` + + // Specifies the name of the ServiceAccount to be used for executing the custom operation. + ServiceAccountName *string `json:"serviceAccountName,omitempty"` + + // Specifies the maximum number of components to be operated on concurrently to mitigate performance impact + // on clusters with multiple components. + // + // It accepts an absolute number (e.g., 5) or a percentage of components to execute in parallel (e.g., "10%"). + // Percentages are rounded up to the nearest whole number of components. + // For example, if "10%" results in less than one, it rounds up to 1. + // + // When unspecified, all components are processed simultaneously by default. + // + // Note: This feature is not implemented yet. + // + // +optional + MaxConcurrentComponents intstr.IntOrString `json:"maxConcurrentComponents,omitempty"` + + // Specifies the components and their parameters for executing custom actions as defined in OpsDefinition. + // Requires at least one component. + // + // +kubebuilder:validation:Required + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=1024 + // +patchMergeKey=componentName + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=componentName + CustomOpsComponents []CustomOpsComponent `json:"components" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` +} + +type CustomOpsComponent struct { + // Specifies the name of the Component. + ComponentOps `json:",inline"` + + // Specifies the parameters that match the schema specified in the `opsDefinition.spec.parametersSchema`. + // + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + // +optional + Parameters []Parameter `json:"parameters,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` +} + +type Parameter struct { + // Specifies the identifier of the parameter as defined in the OpsDefinition. + // +kubebuilder:validation:Required + Name string `json:"name"` + + // Holds the data associated with the parameter. + // If the parameter type is an array, the format should be "v1,v2,v3". + // +kubebuilder:validation:Required + Value string `json:"value"` +} + +type ParameterPair struct { + // Represents the name of the parameter that is to be updated. + // +kubebuilder:validation:Required + Key string `json:"key"` + + // Represents the parameter values that are to be updated. + // If set to nil, the parameter defined by the Key field will be removed from the configuration file. + // +optional + Value *string `json:"value"` +} + +type ParameterConfig struct { + // Represents a key in the configuration template(as ConfigMap). + // Each key in the ConfigMap corresponds to a specific configuration file. + // + // +kubebuilder:validation:Required + Key string `json:"key"` + + // Specifies a list of key-value pairs representing parameters and their corresponding values + // within a single configuration file. + // This field is used to override or set the values of parameters without modifying the entire configuration file. + // + // Either the `parameters` field or the `fileContent` field must be set, but not both. + // + // +optional + Parameters []ParameterPair `json:"parameters,omitempty"` + + // Specifies the content of the entire configuration file. + // This field is used to update the complete configuration file. + // + // Either the `parameters` field or the `fileContent` field must be set, but not both. + // + // +optional + FileContent string `json:"fileContent,omitempty"` +} + +// ExposeSwitch Specifies the switch for the expose operation. This switch can be used to enable or disable the expose operation. +// +enum +// +kubebuilder:validation:Enum={Enable, Disable} +type ExposeSwitch string + +const ( + EnableExposeSwitch ExposeSwitch = "Enable" + DisableExposeSwitch ExposeSwitch = "Disable" +) + +type Expose struct { + // Specifies the name of the Component. + ComponentName string `json:"componentName,omitempty"` + + // Indicates whether the services will be exposed. + // 'Enable' exposes the services. while 'Disable' removes the exposed Service. + // + // +kubebuilder:validation:Required + Switch ExposeSwitch `json:"switch"` + + // Specifies a list of OpsService. + // When an OpsService is exposed, a corresponding ClusterService will be added to `cluster.spec.services`. + // On the other hand, when an OpsService is unexposed, the corresponding ClusterService will be removed + // from `cluster.spec.services`. + // + // Note: If `componentName` is not specified, the `ports` and `selector` fields must be provided + // in each OpsService definition. + // + // +kubebuilder:validation:Required + // +kubebuilder:validation:Minitems=0 + Services []OpsService `json:"services"` +} + +// OpsService represents the parameters to dynamically create or remove a ClusterService in the `cluster.spec.services` array. +type OpsService struct { + // Specifies the name of the Service. This name is used to set `clusterService.name`. + // + // Note: This field cannot be updated. + // + // +required + Name string `json:"name"` + + // Contains cloud provider related parameters if ServiceType is LoadBalancer. + // + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer. + // + // +optional + Annotations map[string]string `json:"annotations,omitempty"` + + // Specifies Port definitions that are to be exposed by a ClusterService. + // + // If not specified, the Port definitions from non-NodePort and non-LoadBalancer type ComponentService + // defined in the ComponentDefinition (`componentDefinition.spec.services`) will be used. + // If no matching ComponentService is found, the expose operation will fail. + // + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports + // + // +patchMergeKey=port + // +patchStrategy=merge + // +listType=map + // +listMapKey=port + // +listMapKey=protocol + // +optional + Ports []corev1.ServicePort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"port" protobuf:"bytes,1,rep,name=ports"` + + // Specifies a role to target with the service. + // If specified, the service will only be exposed to pods with the matching role. + // + // Note: If the component has roles, at least one of 'roleSelector' or 'podSelector' must be specified. + // If both are specified, a pod must match both conditions to be selected. + // + // +optional + RoleSelector string `json:"roleSelector,omitempty"` + + // Routes service traffic to pods with matching label keys and values. + // If specified, the service will only be exposed to pods matching the selector. + // + // Note: If the component has roles, at least one of 'roleSelector' or 'podSelector' must be specified. + // If both are specified, a pod must match both conditions to be selected. + // + // +optional + // +mapType=atomic + PodSelector map[string]string `json:"podSelector,omitempty"` + + // Determines how the Service is exposed. Defaults to 'ClusterIP'. + // Valid options are `ClusterIP`, `NodePort`, and `LoadBalancer`. + // + // - `ClusterIP`: allocates a cluster-internal IP address for load-balancing to endpoints. + // Endpoints are determined by the selector or if that is not specified, + // they are determined by manual construction of an Endpoints object or EndpointSlice objects. + // - `NodePort`: builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. + // - `LoadBalancer`: builds on NodePort and creates an external load-balancer (if supported in the current cloud) + // which routes to the same endpoints as the clusterIP. + // + // Note: although K8s Service type allows the 'ExternalName' type, it is not a valid option for the expose operation. + // + // For more info, see: + // https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types. + // + // +optional + ServiceType corev1.ServiceType `json:"serviceType,omitempty"` + + // A list of IP families (e.g., IPv4, IPv6) assigned to this Service. + // + // Usually assigned automatically based on the cluster configuration and the `ipFamilyPolicy` field. + // If specified manually, the requested IP family must be available in the cluster and allowed by the `ipFamilyPolicy`. + // If the requested IP family is not available or not allowed, the Service creation will fail. + // + // Valid values: + // + // - "IPv4" + // - "IPv6" + // + // This field may hold a maximum of two entries (dual-stack families, in either order). + // + // Common combinations of `ipFamilies` and `ipFamilyPolicy` are: + // + // - ipFamilies=[] + ipFamilyPolicy="PreferDualStack" : + // The Service prefers dual-stack but can fall back to single-stack if the cluster does not support dual-stack. + // The IP family is automatically assigned based on the cluster configuration. + // - ipFamilies=["IPV4","IPV6"] + ipFamilyPolicy="RequiredDualStack" : + // The Service requires dual-stack and will only be created if the cluster supports both IPv4 and IPv6. + // The primary IP family is IPV4. + // - ipFamilies=["IPV6","IPV4"] + ipFamilyPolicy="RequiredDualStack" : + // The Service requires dual-stack and will only be created if the cluster supports both IPv4 and IPv6. + // The primary IP family is IPV6. + // - ipFamilies=["IPV4"] + ipFamilyPolicy="SingleStack" : + // The Service uses a single-stack with IPv4 only. + // - ipFamilies=["IPV6"] + ipFamilyPolicy="SingleStack" : + // The Service uses a single-stack with IPv6 only. + // + // +listType=atomic + // +optional + IPFamilies []corev1.IPFamily `json:"ipFamilies,omitempty" protobuf:"bytes,19,opt,name=ipFamilies,casttype=IPFamily"` + + // Specifies whether the Service should use a single IP family (SingleStack) or two IP families (DualStack). + // + // Possible values: + // + // - 'SingleStack' (default) : The Service uses a single IP family. + // If no value is provided, IPFamilyPolicy defaults to SingleStack. + // - 'PreferDualStack' : The Service prefers to use two IP families on dual-stack configured clusters + // or a single IP family on single-stack clusters. + // - 'RequiredDualStack' : The Service requires two IP families on dual-stack configured clusters. + // If the cluster is not configured for dual-stack, the Service creation fails. + // + // +optional + IPFamilyPolicy *corev1.IPFamilyPolicy `json:"ipFamilyPolicy,omitempty" protobuf:"bytes,17,opt,name=ipFamilyPolicy,casttype=IPFamilyPolicy"` +} + +type RefNamespaceName struct { + // Refers to the specific name of the resource. + // +optional + Name string `json:"name,omitempty"` + + // Refers to the specific namespace of the resource. + // +optional + Namespace string `json:"namespace,omitempty"` +} + +type BackupRefSpec struct { + // Refers to a reference backup that needs to be restored. + // +optional + Ref RefNamespaceName `json:"ref,omitempty"` +} + +type PointInTimeRefSpec struct { + // Refers to the specific time point for restoration, with UTC as the time zone. + // +optional + Time *metav1.Time `json:"time,omitempty"` + + // Refers to a reference source cluster that needs to be restored. + // +optional + Ref RefNamespaceName `json:"ref,omitempty"` +} + +// ScriptSpec is a legacy feature for executing engine-specific operations such as creating databases or users. +// It supports limited engines including MySQL, PostgreSQL, Redis, MongoDB. +// +// ScriptSpec has been replaced by the more versatile OpsDefinition. +// It is recommended to use OpsDefinition instead. ScriptSpec is deprecated and will be removed in a future version. +type ScriptSpec struct { + // Specifies the name of the Component. + ComponentOps `json:",inline"` + + // Specifies the image to be used to execute scripts. + // + // By default, the image "apecloud/kubeblocks-datascript:latest" is used. + // + // +optional + Image string `json:"image,omitempty"` + + // Defines the secret to be used to execute the script. If not specified, the default cluster root credential secret is used. + // +optional + Secret *ScriptSecret `json:"secret,omitempty"` + + // Defines the content of scripts to be executed. + // + // All scripts specified in this field will be executed in the order they are provided. + // + // Note: this field cannot be modified once set. + // + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.scriptSpec.script" + Script []string `json:"script,omitempty"` + + // Specifies the sources of the scripts to be executed. + // Each script can be imported either from a ConfigMap or a Secret. + // + // All scripts obtained from the sources specified in this field will be executed after + // any scripts provided in the `script` field. + // + // Execution order: + // 1. Scripts provided in the `script` field, in the order of the scripts listed. + // 2. Scripts imported from ConfigMaps, in the order of the sources listed. + // 3. Scripts imported from Secrets, in the order of the sources listed. + // + // Note: this field cannot be modified once set. + // + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.scriptSpec.scriptFrom" + ScriptFrom *ScriptFrom `json:"scriptFrom,omitempty"` + + // Specifies the labels used to select the Pods on which the script should be executed. + // + // By default, the script is executed on the Pod associated with the service named "{clusterName}-{componentName}", + // which typically routes to the Pod with the primary/leader role. + // + // However, some Components, such as Redis, do not synchronize account information between primary and secondary Pods. + // In these cases, the script must be executed on all replica Pods matching the selector. + // + // Note: this field cannot be modified once set. + // + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.scriptSpec.script.selector" + Selector *metav1.LabelSelector `json:"selector,omitempty"` +} + +type Backup struct { + // Specifies the name of the Backup custom resource. + // + // +optional + BackupName string `json:"backupName,omitempty"` + + // Indicates the name of the BackupPolicy applied to perform this Backup. + // + // +optional + BackupPolicyName string `json:"backupPolicyName,omitempty"` + + // Specifies the name of BackupMethod. + // The specified BackupMethod must be defined in the BackupPolicy. + // + // +optional + BackupMethod string `json:"backupMethod,omitempty"` + + // Determines whether the backup contents stored in backup repository + // should be deleted when the Backup custom resource is deleted. + // Supported values are `Retain` and `Delete`. + // - `Retain` means that the backup content and its physical snapshot on backup repository are kept. + // - `Delete` means that the backup content and its physical snapshot on backup repository are deleted. + // +kubebuilder:validation:Enum=Delete;Retain + // +kubebuilder:default=Delete + // +optional + DeletionPolicy string `json:"deletionPolicy,omitempty"` + + // Determines the duration for which the Backup custom resources should be retained. + // + // The controller will automatically remove all Backup objects that are older than the specified RetentionPeriod. + // For example, RetentionPeriod of `30d` will keep only the Backup objects of last 30 days. + // Sample duration format: + // + // - years: 2y + // - months: 6mo + // - days: 30d + // - hours: 12h + // - minutes: 30m + // + // You can also combine the above durations. For example: 30d12h30m. + // If not set, the Backup objects will be kept forever. + // + // If the `deletionPolicy` is set to 'Delete', then the associated backup data will also be deleted + // along with the Backup object. + // Otherwise, only the Backup custom resource will be deleted. + // + // +optional + RetentionPeriod string `json:"retentionPeriod,omitempty"` + + // If the specified BackupMethod is incremental, `parentBackupName` is required. + // + // +optional + ParentBackupName string `json:"parentBackupName,omitempty"` +} + +type Restore struct { + // Specifies the name of the Backup custom resource. + // + // +kubebuilder:validation:Required + BackupName string `json:"backupName"` + + // Specifies the point in time to which the restore should be performed. + // Supported time formats: + // + // - RFC3339 format, e.g. "2023-11-25T18:52:53Z" + // - A human-readable date-time format, e.g. "Jul 25,2023 18:52:53 UTC+0800" + // + RestorePointInTime string `json:"restorePointInTime,omitempty"` + + // Specifies a list of environment variables to be set in the container. + // + // +kubebuilder:pruning:PreserveUnknownFields + // +optional + Env []corev1.EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` + + // Specifies the policy for restoring volume claims of a Component's Pods. + // It determines whether the volume claims should be restored sequentially (one by one) or in parallel (all at once). + // Support values: + // + // - "Serial" + // - "Parallel" + // + // +kubebuilder:validation:Enum=Serial;Parallel + // +kubebuilder:default=Parallel + VolumeRestorePolicy string `json:"volumeRestorePolicy,omitempty"` + + // Controls the timing of PostReady actions during the recovery process. + // + // If false (default), PostReady actions execute when the Component reaches the "Running" state. + // If true, PostReady actions are delayed until the entire Cluster is "Running," + // ensuring the cluster's overall stability before proceeding. + // + // This setting is useful for coordinating PostReady operations across the Cluster for optimal cluster conditions. + DeferPostReadyUntilClusterRunning bool `json:"deferPostReadyUntilClusterRunning,omitempty"` +} + +// ScriptSecret represents the secret that is used to execute the script. +type ScriptSecret struct { + // Specifies the name of the secret. + // +kubebuilder:validation:Required + // +kubebuilder:validation:MaxLength=63 + // +kubebuilder:validation:Pattern:=`^[a-z0-9]([a-z0-9\.\-]*[a-z0-9])?$` + Name string `json:"name"` + // Used to specify the username part of the secret. + // +kubebuilder:default:="username" + // +optional + UsernameKey string `json:"usernameKey,omitempty"` + // Used to specify the password part of the secret. + // +kubebuilder:default:="password" + // +optional + PasswordKey string `json:"passwordKey,omitempty"` +} + +// ScriptFrom specifies the source of the script to be executed, which can be either a ConfigMap or a Secret. +type ScriptFrom struct { + // A list of ConfigMapKeySelector objects, each specifies a ConfigMap and a key containing the script. + // + // Note: This field cannot be modified once set. + // + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.scriptSpec.scriptFrom.configMapRef" + ConfigMapRef []corev1.ConfigMapKeySelector `json:"configMapRef,omitempty"` + + // A list of SecretKeySelector objects, each specifies a Secret and a key containing the script. + // + // Note: This field cannot be modified once set. + // + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.scriptSpec.scriptFrom.secretRef" + SecretRef []corev1.SecretKeySelector `json:"secretRef,omitempty"` +} + +// OpsRequestStatus represents the observed state of an OpsRequest. +type OpsRequestStatus struct { + // Records the cluster generation after the OpsRequest action has been handled. + // +optional + ClusterGeneration int64 `json:"clusterGeneration,omitempty"` + + // Represents the phase of the OpsRequest. + // Possible values include "Pending", "Creating", "Running", "Cancelling", "Cancelled", "Failed", "Succeed". + Phase OpsPhase `json:"phase,omitempty"` + + // Represents the progress of the OpsRequest. + // +kubebuilder:validation:Pattern:=`^(\d+|\-)/(\d+|\-)$` + // +kubebuilder:default=-/- + Progress string `json:"progress"` + + // Records the configuration prior to any changes. + // +optional + LastConfiguration LastConfiguration `json:"lastConfiguration,omitempty"` + + // Records the status information of Components changed due to the OpsRequest. + // +optional + Components map[string]OpsRequestComponentStatus `json:"components,omitempty"` + + // A collection of additional key-value pairs that provide supplementary information for the OpsRequest. + Extras []map[string]string `json:"extras,omitempty"` + + // Records the time when the OpsRequest started processing. + // +optional + StartTimestamp metav1.Time `json:"startTimestamp,omitempty"` + + // Records the time when the OpsRequest was completed. + // +optional + CompletionTimestamp metav1.Time `json:"completionTimestamp,omitempty"` + + // Records the time when the OpsRequest was cancelled. + // +optional + CancelTimestamp metav1.Time `json:"cancelTimestamp,omitempty"` + + // Deprecated: Replaced by ReconfiguringStatusAsComponent. + // Defines the status information of reconfiguring. + // +optional + ReconfiguringStatus *ReconfiguringStatus `json:"reconfiguringStatus,omitempty"` + + // Records the status of a reconfiguring operation if `opsRequest.spec.type` equals to "Reconfiguring". + // +optional + ReconfiguringStatusAsComponent map[string]*ReconfiguringStatus `json:"reconfiguringStatusAsComponent,omitempty"` + + // Describes the detailed status of the OpsRequest. + // Possible condition types include "Cancelled", "WaitForProgressing", "Validated", "Succeed", "Failed", "Restarting", + // "VerticalScaling", "HorizontalScaling", "VolumeExpanding", "Reconfigure", "Switchover", "Stopping", "Starting", + // "VersionUpgrading", "Exposing", "ExecuteDataScript", "Backup", "InstancesRebuilding", "CustomOperation". + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty"` +} + +// +kubebuilder:validation:XValidation:rule="has(self.objectKey) || has(self.actionName)", message="at least one objectKey or actionName." + +type ProgressStatusDetail struct { + // Specifies the group to which the current object belongs to. + // +optional + Group string `json:"group,omitempty"` + + // `objectKey` uniquely identifies the object, which can be any K8s object, like a Pod, Job, Component, or PVC. + // Either `objectKey` or `actionName` must be provided. + // +optional + ObjectKey string `json:"objectKey,omitempty"` + + // Indicates the name of an OpsAction, as defined in `opsDefinition.spec.actions[*].name`. + // Either `objectKey` or `actionName` must be provided. + // +optional + ActionName string `json:"actionName,omitempty"` + + // Lists the tasks, such as Jobs or Pods, that carry out the action. + // +optional + ActionTasks []ActionTask `json:"actionTasks,omitempty"` + + // Represents the current processing state of the object, including "Processing", "Pending", "Failed", "Succeed" + // +kubebuilder:validation:Required + Status ProgressStatus `json:"status"` + + // Provides a human-readable explanation of the object's condition. + // +optional + Message string `json:"message,omitempty"` + + // Records the start time of object processing. + // +optional + StartTime metav1.Time `json:"startTime,omitempty"` + + // Records the completion time of object processing. + // +optional + EndTime metav1.Time `json:"endTime,omitempty"` +} + +type ActionTask struct { + // Represents the name of the task. + // +kubebuilder:validation:Required + ObjectKey string `json:"objectKey"` + + // Represents the namespace where the task is deployed. + // +kubebuilder:validation:Required + Namespace string `json:"namespace"` + + // Indicates the current status of the task, including "Processing", "Failed", "Succeed". + // +kubebuilder:validation:Required + Status ActionTaskStatus `json:"status"` + + // The name of the Pod that the task is associated with or operates on. + // +optional + TargetPodName string `json:"targetPodName,omitempty"` + + // The count of retry attempts made for this task. + // +optional + Retries int32 `json:"retries,omitempty"` +} + +// LastComponentConfiguration can be used to track and compare the desired state of the Component over time. +type LastComponentConfiguration struct { + // Records the `replicas` of the Component prior to any changes. + // +optional + Replicas *int32 `json:"replicas,omitempty"` + + // Records the `shards` of the Component prior to any changes. + // +optional + Shards *int32 `json:"shards,omitempty"` + + // Records the resources of the Component prior to any changes. + // +kubebuilder:pruning:PreserveUnknownFields + // +optional + corev1.ResourceRequirements `json:",inline,omitempty"` + + // Records the class of the Component prior to any changes. + // Deprecated since v0.9. + // +kubebuilder:deprecatedversion:warning="Due to the lack of practical use cases, this field is deprecated from KB 0.9.0." + // +optional + ClassDefRef *ClassDefRef `json:"classDefRef,omitempty"` + + // Records volumes' storage size of the Component prior to any changes. + // +optional + VolumeClaimTemplates []OpsRequestVolumeClaimTemplate `json:"volumeClaimTemplates,omitempty"` + + // Records the ClusterComponentService list of the Component prior to any changes. + // +optional + Services []ClusterComponentService `json:"services,omitempty"` + + // Records the information about various types of resources associated with the Component prior to any changes. + // Currently, only one type of resource is supported: "pods". + // The "pods" key maps to a list of names of all Pods of the Component. + // +optional + TargetResources map[ComponentResourceKey][]string `json:"targetResources,omitempty"` + + // Records the InstanceTemplate list of the Component prior to any changes. + // +optional + Instances []InstanceTemplate `json:"instances,omitempty"` + + // Records the offline instances of the Component prior to any changes. + // +optional + OfflineInstances []string `json:"offlineInstances,omitempty"` + + // Records the version of the Service expected to be provisioned by this Component prior to any changes. + // +optional + ServiceVersion string `json:"serviceVersion,omitempty"` + + // Records the name of the ComponentDefinition prior to any changes. + // +optional + ComponentDefinitionName string `json:"componentDefinitionName,omitempty"` +} + +type LastConfiguration struct { + // Specifies the name of the ClusterVersion. + // Deprecated and should be removed in the future version. + // +optional + ClusterVersionRef string `json:"clusterVersionRef,omitempty"` + + // Records the configuration of each Component prior to any changes. + // +optional + Components map[string]LastComponentConfiguration `json:"components,omitempty"` +} + +type OpsRequestComponentStatus struct { + // Records the current phase of the Component, mirroring `cluster.status.components[componentName].phase`. + // Possible values include "Creating", "Running", "Updating", "Stopping", "Stopped", "Deleting", "Failed", "Abnormal". + // +optional + Phase ClusterComponentPhase `json:"phase,omitempty"` + + // Records the timestamp when the Component last transitioned to a "Failed" or "Abnormal" phase. + // +optional + LastFailedTime metav1.Time `json:"lastFailedTime,omitempty"` + + // Records the result of the preConditions check of the opsRequest, which determines subsequent steps. + // +optional + PreCheckResult *PreCheckResult `json:"preCheck,omitempty"` + + // Describes the progress details of objects or actions associated with the Component. + // +optional + ProgressDetails []ProgressStatusDetail `json:"progressDetails,omitempty"` + + // Records the workload type of Component in ClusterDefinition. + // Deprecated and should be removed in the future version. + // +optional + WorkloadType WorkloadType `json:"workloadType,omitempty"` + + // Provides an explanation for the Component being in its current state. + // +kubebuilder:validation:MaxLength=1024 + // +optional + Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` + + // Provides a human-readable message indicating details about this operation. + // +kubebuilder:validation:MaxLength=32768 + // +optional + Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` +} + +type OverrideBy struct { + // Indicates the name of the OpsRequest. + // +optional + OpsName string `json:"opsName"` + + LastComponentConfiguration `json:",inline"` +} + +type PreCheckResult struct { + // Indicates whether the preCheck operation passed or failed. + // +kubebuilder:validation:Required + Pass bool `json:"pass"` + + // Provides explanations related to the preCheck result in a human-readable format. + // +optional + Message string `json:"message,omitempty"` +} + +type ReconfiguringStatus struct { + // Describes the reconfiguring detail status. + // Possible condition types include "Creating", "Init", "Running", "Pending", "Merged", "MergeFailed", "FailedAndPause", + // "Upgrading", "Deleting", "FailedAndRetry", "Finished", "ReconfigurePersisting", "ReconfigurePersisted". + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty"` + + // Describes the status of the component reconfiguring. + // +kubebuilder:validation:Required + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + ConfigurationStatus []ConfigurationItemStatus `json:"configurationStatus"` +} + +type ConfigurationItemStatus struct { + // Indicates the name of the configuration template (as ConfigMap). + // +kubebuilder:validation:Required + // +kubebuilder:validation:MaxLength=63 + // +kubebuilder:validation:Pattern:=`^[a-z0-9]([a-z0-9\.\-]*[a-z0-9])?$` + Name string `json:"name"` + + // Records the UpgradePolicy of the configuration change operation. + // +optional + UpdatePolicy UpgradePolicy `json:"updatePolicy,omitempty"` + + // Represents the current state of the reconfiguration state machine. + // Possible values include "Creating", "Init", "Running", "Pending", "Merged", "MergeFailed", "FailedAndPause", + // "Upgrading", "Deleting", "FailedAndRetry", "Finished", "ReconfigurePersisting", "ReconfigurePersisted". + // +optional + Status string `json:"status,omitempty"` + + // Provides details about the operation. + // +optional + Message string `json:"message,omitempty"` + + // Records the number of pods successfully updated following a configuration change. + // +kubebuilder:default=0 + // +optional + SucceedCount int32 `json:"succeedCount"` + + // Represents the total count of pods intended to be updated by a configuration change. + // +kubebuilder:default=-1 + // +optional + ExpectedCount int32 `json:"expectedCount"` + + // Records the last state of the reconfiguration finite state machine. + // Possible values include "None", "Retry", "Failed", "NotSupport", "FailedAndRetry". + // + // - "None" describes fsm has finished and quit. + // - "Retry" describes fsm is running. + // - "Failed" describes fsm is failed and exited. + // - "NotSupport" describes fsm does not support the feature. + // - "FailedAndRetry" describes fsm is failed in current state, but can be retried. + // +optional + LastAppliedStatus string `json:"lastStatus,omitempty"` + + // Stores the last applied configuration. + // +optional + LastAppliedConfiguration map[string]string `json:"lastAppliedConfiguration,omitempty"` + + // Contains the updated parameters. + // +optional + UpdatedParameters UpdatedParameters `json:"updatedParameters"` +} + +// UpdatedParameters holds details about the modifications made to configuration parameters. +// Example: +// +// ```yaml +// updatedParameters: +// +// updatedKeys: +// my.cnf: '{"mysqld":{"max_connections":"100"}}' +// +// ``` +type UpdatedParameters struct { + // Maps newly added configuration files to their content. + // +optional + AddedKeys map[string]string `json:"addedKeys,omitempty"` + + // Lists the name of configuration files that have been deleted. + // +optional + DeletedKeys map[string]string `json:"deletedKeys,omitempty"` + + // Maps the name of configuration files to their updated content, detailing the changes made. + // +optional + UpdatedKeys map[string]string `json:"updatedKeys,omitempty"` +} + +// +genclient +// +k8s:openapi-gen=true +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:resource:categories={kubeblocks},shortName=ops +// +kubebuilder:printcolumn:name="TYPE",type="string",JSONPath=".spec.type",description="Operation request type." +// +kubebuilder:printcolumn:name="CLUSTER",type="string",JSONPath=".spec.clusterName",description="Operand cluster." +// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.phase",description="Operation status phase." +// +kubebuilder:printcolumn:name="PROGRESS",type="string",JSONPath=".status.progress",description="Operation processing progress." +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" + +// OpsRequest is the Schema for the opsrequests API +type OpsRequest struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec OpsRequestSpec `json:"spec,omitempty"` + Status OpsRequestStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// OpsRequestList contains a list of OpsRequest +type OpsRequestList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []OpsRequest `json:"items"` +} + +func init() { + SchemeBuilder.Register(&OpsRequest{}, &OpsRequestList{}) +} + +func (c ComponentOps) GetComponentName() string { + return c.ComponentName +} + +// ToExposeListToMap build expose map +func (r OpsRequestSpec) ToExposeListToMap() map[string]Expose { + exposeMap := make(map[string]Expose) + for _, v := range r.ExposeList { + exposeMap[v.ComponentName] = v + } + return exposeMap +} + +func (r OpsRequestSpec) GetClusterName() string { + if r.ClusterName != "" { + return r.ClusterName + } + return r.ClusterRef +} + +func (r OpsRequestSpec) GetBackup() *Backup { + if r.Backup != nil { + return r.Backup + } + return r.BackupSpec +} + +func (r OpsRequestSpec) GetRestore() *Restore { + if r.Restore != nil { + return r.Restore + } + return r.RestoreSpec +} + +func (p *ProgressStatusDetail) SetStatusAndMessage(status ProgressStatus, message string) { + p.Message = message + p.Status = status +} + +func (s Switchover) GetComponentName() string { + if len(s.ComponentObjectName) > 0 { + return s.ComponentObjectName + } + return s.ComponentName +} diff --git a/apis/apps/v1alpha1/register.go b/apis/apps/v1alpha1/register.go index 497e1fecb9b..bbb0410ced5 100644 --- a/apis/apps/v1alpha1/register.go +++ b/apis/apps/v1alpha1/register.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/servicedescriptor_conversion.go b/apis/apps/v1alpha1/servicedescriptor_conversion.go index fea57b7e855..aecc7b1eb49 100644 --- a/apis/apps/v1alpha1/servicedescriptor_conversion.go +++ b/apis/apps/v1alpha1/servicedescriptor_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1alpha1/servicedescriptor_types.go b/apis/apps/v1alpha1/servicedescriptor_types.go index 2cfbc3f35f4..b2cc0f45243 100644 --- a/apis/apps/v1alpha1/servicedescriptor_types.go +++ b/apis/apps/v1alpha1/servicedescriptor_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/type.go b/apis/apps/v1alpha1/type.go index 47734adce49..a365f0cae68 100644 --- a/apis/apps/v1alpha1/type.go +++ b/apis/apps/v1alpha1/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1alpha1/zz_generated.deepcopy.go b/apis/apps/v1alpha1/zz_generated.deepcopy.go index 0b8733683df..b6545dcdf7d 100644 --- a/apis/apps/v1alpha1/zz_generated.deepcopy.go +++ b/apis/apps/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/apps/v1beta1/configconstraint_types.go b/apis/apps/v1beta1/configconstraint_types.go index feb69b3f913..c71ce2a0380 100644 --- a/apis/apps/v1beta1/configconstraint_types.go +++ b/apis/apps/v1beta1/configconstraint_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1beta1/configconstraint_types_test.go b/apis/apps/v1beta1/configconstraint_types_test.go index 5d466b7a219..5e5c9570828 100644 --- a/apis/apps/v1beta1/configconstraint_types_test.go +++ b/apis/apps/v1beta1/configconstraint_types_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1beta1/doc.go b/apis/apps/v1beta1/doc.go index 48f647e683b..2e222ffa0f4 100644 --- a/apis/apps/v1beta1/doc.go +++ b/apis/apps/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1beta1/groupversion_info.go b/apis/apps/v1beta1/groupversion_info.go index c490c741ab2..b29cbd9d7e0 100644 --- a/apis/apps/v1beta1/groupversion_info.go +++ b/apis/apps/v1beta1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1beta1/meta.go b/apis/apps/v1beta1/meta.go index 700aabf8960..244ebb602f4 100644 --- a/apis/apps/v1beta1/meta.go +++ b/apis/apps/v1beta1/meta.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1beta1/register.go b/apis/apps/v1beta1/register.go index 39ca0fada76..30ef066d53e 100644 --- a/apis/apps/v1beta1/register.go +++ b/apis/apps/v1beta1/register.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1beta1/type.go b/apis/apps/v1beta1/type.go index 818e0064f59..c28ae7bf413 100644 --- a/apis/apps/v1beta1/type.go +++ b/apis/apps/v1beta1/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/apps/v1beta1/zz_generated.deepcopy.go b/apis/apps/v1beta1/zz_generated.deepcopy.go index 94622d855bd..2b9f5e6bc66 100644 --- a/apis/apps/v1beta1/zz_generated.deepcopy.go +++ b/apis/apps/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/dataprotection/v1alpha1/actionset_types.go b/apis/dataprotection/v1alpha1/actionset_types.go index f10c032d0b8..eb204cf361f 100644 --- a/apis/dataprotection/v1alpha1/actionset_types.go +++ b/apis/dataprotection/v1alpha1/actionset_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/backup_types.go b/apis/dataprotection/v1alpha1/backup_types.go index 3ae54ec6c1d..ce9739abaca 100644 --- a/apis/dataprotection/v1alpha1/backup_types.go +++ b/apis/dataprotection/v1alpha1/backup_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/backuppolicy_types.go b/apis/dataprotection/v1alpha1/backuppolicy_types.go index 71879a2cb0f..15646fa0c8b 100644 --- a/apis/dataprotection/v1alpha1/backuppolicy_types.go +++ b/apis/dataprotection/v1alpha1/backuppolicy_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/backuppolicytemplate_types.go b/apis/dataprotection/v1alpha1/backuppolicytemplate_types.go index 360df823025..b647ebb2878 100644 --- a/apis/dataprotection/v1alpha1/backuppolicytemplate_types.go +++ b/apis/dataprotection/v1alpha1/backuppolicytemplate_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/backuprepo_types.go b/apis/dataprotection/v1alpha1/backuprepo_types.go index 6b02e5355d7..042b5c28037 100644 --- a/apis/dataprotection/v1alpha1/backuprepo_types.go +++ b/apis/dataprotection/v1alpha1/backuprepo_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/backupschedule_types.go b/apis/dataprotection/v1alpha1/backupschedule_types.go index ba0476cc4a6..9f72e73757d 100644 --- a/apis/dataprotection/v1alpha1/backupschedule_types.go +++ b/apis/dataprotection/v1alpha1/backupschedule_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/doc.go b/apis/dataprotection/v1alpha1/doc.go index ffecadb5420..0e8d386c996 100644 --- a/apis/dataprotection/v1alpha1/doc.go +++ b/apis/dataprotection/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/groupversion_info.go b/apis/dataprotection/v1alpha1/groupversion_info.go index 34208083d4e..8b6454424a3 100644 --- a/apis/dataprotection/v1alpha1/groupversion_info.go +++ b/apis/dataprotection/v1alpha1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/register.go b/apis/dataprotection/v1alpha1/register.go index 497e1fecb9b..bbb0410ced5 100644 --- a/apis/dataprotection/v1alpha1/register.go +++ b/apis/dataprotection/v1alpha1/register.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/restore_types.go b/apis/dataprotection/v1alpha1/restore_types.go index 0c72d7b354c..51350324410 100644 --- a/apis/dataprotection/v1alpha1/restore_types.go +++ b/apis/dataprotection/v1alpha1/restore_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/storageprovider_types.go b/apis/dataprotection/v1alpha1/storageprovider_types.go index d3e663b1a4b..c7de81550db 100644 --- a/apis/dataprotection/v1alpha1/storageprovider_types.go +++ b/apis/dataprotection/v1alpha1/storageprovider_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/dataprotection/v1alpha1/types.go b/apis/dataprotection/v1alpha1/types.go index 5b4512e5434..49558852820 100644 --- a/apis/dataprotection/v1alpha1/types.go +++ b/apis/dataprotection/v1alpha1/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/dataprotection/v1alpha1/zz_generated.deepcopy.go b/apis/dataprotection/v1alpha1/zz_generated.deepcopy.go index d9ec61e6d6c..08e0a332889 100644 --- a/apis/dataprotection/v1alpha1/zz_generated.deepcopy.go +++ b/apis/dataprotection/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/experimental/doc.go b/apis/experimental/doc.go index e6e399d1139..4e5b2fd6295 100644 --- a/apis/experimental/doc.go +++ b/apis/experimental/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/experimental/v1alpha1/groupversion_info.go b/apis/experimental/v1alpha1/groupversion_info.go index 9659fce5377..4a07a6df5f9 100644 --- a/apis/experimental/v1alpha1/groupversion_info.go +++ b/apis/experimental/v1alpha1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/experimental/v1alpha1/nodecountscaler_types.go b/apis/experimental/v1alpha1/nodecountscaler_types.go index 5a762097c15..f2dec26330f 100644 --- a/apis/experimental/v1alpha1/nodecountscaler_types.go +++ b/apis/experimental/v1alpha1/nodecountscaler_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/experimental/v1alpha1/zz_generated.deepcopy.go b/apis/experimental/v1alpha1/zz_generated.deepcopy.go index f0af315a3bb..50f69d80d99 100644 --- a/apis/experimental/v1alpha1/zz_generated.deepcopy.go +++ b/apis/experimental/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/extensions/v1alpha1/addon_types.go b/apis/extensions/v1alpha1/addon_types.go index 61fb2ef6242..76441b9020e 100644 --- a/apis/extensions/v1alpha1/addon_types.go +++ b/apis/extensions/v1alpha1/addon_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/extensions/v1alpha1/addon_types_test.go b/apis/extensions/v1alpha1/addon_types_test.go index 89c6ede0c80..75553ed6790 100644 --- a/apis/extensions/v1alpha1/addon_types_test.go +++ b/apis/extensions/v1alpha1/addon_types_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/extensions/v1alpha1/doc.go b/apis/extensions/v1alpha1/doc.go index b74ccf66fc2..4c84108178c 100644 --- a/apis/extensions/v1alpha1/doc.go +++ b/apis/extensions/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/extensions/v1alpha1/groupversion_info.go b/apis/extensions/v1alpha1/groupversion_info.go index c0ed1fee350..f7304317345 100644 --- a/apis/extensions/v1alpha1/groupversion_info.go +++ b/apis/extensions/v1alpha1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/extensions/v1alpha1/register.go b/apis/extensions/v1alpha1/register.go index 497e1fecb9b..bbb0410ced5 100644 --- a/apis/extensions/v1alpha1/register.go +++ b/apis/extensions/v1alpha1/register.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/extensions/v1alpha1/type.go b/apis/extensions/v1alpha1/type.go index c6c9aed9642..b201dfe8fda 100644 --- a/apis/extensions/v1alpha1/type.go +++ b/apis/extensions/v1alpha1/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/extensions/v1alpha1/zz_generated.deepcopy.go b/apis/extensions/v1alpha1/zz_generated.deepcopy.go index 4d4ae99a74b..61226e86535 100644 --- a/apis/extensions/v1alpha1/zz_generated.deepcopy.go +++ b/apis/extensions/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/operations/v1alpha1/groupversion_info.go b/apis/operations/v1alpha1/groupversion_info.go index d6f00fa6f92..a052a9cecca 100644 --- a/apis/operations/v1alpha1/groupversion_info.go +++ b/apis/operations/v1alpha1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/operations/v1alpha1/opsdefinition_types.go b/apis/operations/v1alpha1/opsdefinition_types.go index 31d89fe0fdc..9ae8f019623 100644 --- a/apis/operations/v1alpha1/opsdefinition_types.go +++ b/apis/operations/v1alpha1/opsdefinition_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/operations/v1alpha1/opsrequest_conditions.go b/apis/operations/v1alpha1/opsrequest_conditions.go index 9704a7b1622..ee46ade2218 100644 --- a/apis/operations/v1alpha1/opsrequest_conditions.go +++ b/apis/operations/v1alpha1/opsrequest_conditions.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/operations/v1alpha1/opsrequest_conditions_test.go b/apis/operations/v1alpha1/opsrequest_conditions_test.go index 5a969be74bb..e96662a5264 100644 --- a/apis/operations/v1alpha1/opsrequest_conditions_test.go +++ b/apis/operations/v1alpha1/opsrequest_conditions_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/operations/v1alpha1/opsrequest_types.go b/apis/operations/v1alpha1/opsrequest_types.go index f70f6d7a418..c5ddf4bc475 100644 --- a/apis/operations/v1alpha1/opsrequest_types.go +++ b/apis/operations/v1alpha1/opsrequest_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/operations/v1alpha1/opsrequest_types_test.go b/apis/operations/v1alpha1/opsrequest_types_test.go index c9635b8e702..7fc3f158b14 100644 --- a/apis/operations/v1alpha1/opsrequest_types_test.go +++ b/apis/operations/v1alpha1/opsrequest_types_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/operations/v1alpha1/opsrequest_validation.go b/apis/operations/v1alpha1/opsrequest_validation.go index 63a934890e7..dcc9d2b146f 100644 --- a/apis/operations/v1alpha1/opsrequest_validation.go +++ b/apis/operations/v1alpha1/opsrequest_validation.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/operations/v1alpha1/register.go b/apis/operations/v1alpha1/register.go index 497e1fecb9b..bbb0410ced5 100644 --- a/apis/operations/v1alpha1/register.go +++ b/apis/operations/v1alpha1/register.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/operations/v1alpha1/type.go b/apis/operations/v1alpha1/type.go index 0fe4300a6d1..278305a31c9 100644 --- a/apis/operations/v1alpha1/type.go +++ b/apis/operations/v1alpha1/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/operations/v1alpha1/zz_generated.deepcopy.go b/apis/operations/v1alpha1/zz_generated.deepcopy.go index 54a3466a011..b9eb9d42bf1 100644 --- a/apis/operations/v1alpha1/zz_generated.deepcopy.go +++ b/apis/operations/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/trace/v1/groupversion_info.go b/apis/trace/v1/groupversion_info.go index 81971c67398..9fc1334f28e 100644 --- a/apis/trace/v1/groupversion_info.go +++ b/apis/trace/v1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/trace/v1/reconciliationtrace_types.go b/apis/trace/v1/reconciliationtrace_types.go index 287eefd7339..bf173af7919 100644 --- a/apis/trace/v1/reconciliationtrace_types.go +++ b/apis/trace/v1/reconciliationtrace_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/trace/v1/zz_generated.deepcopy.go b/apis/trace/v1/zz_generated.deepcopy.go index 79b8fb7dcf7..cf41a8b767b 100644 --- a/apis/trace/v1/zz_generated.deepcopy.go +++ b/apis/trace/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/workloads/v1/doc.go b/apis/workloads/v1/doc.go index 3a374eed081..b2e523b7899 100644 --- a/apis/workloads/v1/doc.go +++ b/apis/workloads/v1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/workloads/v1/groupversion_info.go b/apis/workloads/v1/groupversion_info.go index f5d8d535d51..1fad4b7451a 100644 --- a/apis/workloads/v1/groupversion_info.go +++ b/apis/workloads/v1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/workloads/v1/instanceset_conversion.go b/apis/workloads/v1/instanceset_conversion.go index 150890e0211..4251b7e0f17 100644 --- a/apis/workloads/v1/instanceset_conversion.go +++ b/apis/workloads/v1/instanceset_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/workloads/v1/instanceset_types.go b/apis/workloads/v1/instanceset_types.go index 1a824f1479d..917ad2fe5f9 100644 --- a/apis/workloads/v1/instanceset_types.go +++ b/apis/workloads/v1/instanceset_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/workloads/v1/instanceset_webhook.go b/apis/workloads/v1/instanceset_webhook.go index 1a7b7d8e978..16b2cf6c07b 100644 --- a/apis/workloads/v1/instanceset_webhook.go +++ b/apis/workloads/v1/instanceset_webhook.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/workloads/v1/register.go b/apis/workloads/v1/register.go index 93633c70d4a..8096d27897f 100644 --- a/apis/workloads/v1/register.go +++ b/apis/workloads/v1/register.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/workloads/v1/zz_generated.deepcopy.go b/apis/workloads/v1/zz_generated.deepcopy.go index d015fa73ef1..b13aadeacd5 100644 --- a/apis/workloads/v1/zz_generated.deepcopy.go +++ b/apis/workloads/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/workloads/v1alpha1/doc.go b/apis/workloads/v1alpha1/doc.go index 9e30ef4b825..cfca822aa7b 100644 --- a/apis/workloads/v1alpha1/doc.go +++ b/apis/workloads/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/workloads/v1alpha1/groupversion_info.go b/apis/workloads/v1alpha1/groupversion_info.go index 20a373a1f8d..b4e7beff550 100644 --- a/apis/workloads/v1alpha1/groupversion_info.go +++ b/apis/workloads/v1alpha1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/workloads/v1alpha1/instanceset_conversion.go b/apis/workloads/v1alpha1/instanceset_conversion.go index 88a732b6439..48b6bbdc96f 100644 --- a/apis/workloads/v1alpha1/instanceset_conversion.go +++ b/apis/workloads/v1alpha1/instanceset_conversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/apis/workloads/v1alpha1/instanceset_types.go b/apis/workloads/v1alpha1/instanceset_types.go index 2bb05d89803..83e0b4db28d 100644 --- a/apis/workloads/v1alpha1/instanceset_types.go +++ b/apis/workloads/v1alpha1/instanceset_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/workloads/v1alpha1/register.go b/apis/workloads/v1alpha1/register.go index 497e1fecb9b..bbb0410ced5 100644 --- a/apis/workloads/v1alpha1/register.go +++ b/apis/workloads/v1alpha1/register.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/workloads/v1alpha1/zz_generated.deepcopy.go b/apis/workloads/v1alpha1/zz_generated.deepcopy.go index 84ee770be9b..087b18aa606 100644 --- a/apis/workloads/v1alpha1/zz_generated.deepcopy.go +++ b/apis/workloads/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/cmd/cmd.mk b/cmd/cmd.mk index 09e7ebac249..7bd1ce0e376 100644 --- a/cmd/cmd.mk +++ b/cmd/cmd.mk @@ -1,5 +1,5 @@ # -#Copyright (C) 2022-2024 ApeCloud Co., Ltd +#Copyright (C) 2022-2025 ApeCloud Co., Ltd # #This file is part of KubeBlocks project # diff --git a/cmd/dataprotection/main.go b/cmd/dataprotection/main.go index d80bb87cbd0..1c6d4451093 100644 --- a/cmd/dataprotection/main.go +++ b/cmd/dataprotection/main.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/cmd/kbagent/main.go b/cmd/kbagent/main.go index 5876153d379..dee9f4c0ba7 100644 --- a/cmd/kbagent/main.go +++ b/cmd/kbagent/main.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/cmd/manager/main.go b/cmd/manager/main.go index 66ab14cee1b..966b0fbda6f 100644 --- a/cmd/manager/main.go +++ b/cmd/manager/main.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/cmd/reloader/app/cmd.go b/cmd/reloader/app/cmd.go index c057b6315ea..58fb9dcbf2e 100644 --- a/cmd/reloader/app/cmd.go +++ b/cmd/reloader/app/cmd.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/cmd/reloader/app/flags.go b/cmd/reloader/app/flags.go index de9bf4e5d9f..e2eea1eb9bc 100644 --- a/cmd/reloader/app/flags.go +++ b/cmd/reloader/app/flags.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/cmd/reloader/app/proxy.go b/cmd/reloader/app/proxy.go index 36ed6c3bccf..1ce448a12c5 100644 --- a/cmd/reloader/app/proxy.go +++ b/cmd/reloader/app/proxy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/cmd/reloader/container_killer/killer.go b/cmd/reloader/container_killer/killer.go index 5a729b64d54..11c0aa58276 100644 --- a/cmd/reloader/container_killer/killer.go +++ b/cmd/reloader/container_killer/killer.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/cmd/reloader/main.go b/cmd/reloader/main.go index 4e398471a87..81075b51168 100644 --- a/cmd/reloader/main.go +++ b/cmd/reloader/main.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/cmd/reloader/tools/main.go b/cmd/reloader/tools/main.go index d6f61eff42a..7725d368d15 100644 --- a/cmd/reloader/tools/main.go +++ b/cmd/reloader/tools/main.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/cluster_controller.go b/controllers/apps/cluster/cluster_controller.go index 1585397cca9..c0f68fd1a88 100644 --- a/controllers/apps/cluster/cluster_controller.go +++ b/controllers/apps/cluster/cluster_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/cluster_controller_test.go b/controllers/apps/cluster/cluster_controller_test.go index b18ba369dbb..d71a623698c 100644 --- a/controllers/apps/cluster/cluster_controller_test.go +++ b/controllers/apps/cluster/cluster_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/cluster_plan_builder.go b/controllers/apps/cluster/cluster_plan_builder.go index 64604b0d453..f1cf8aea48f 100644 --- a/controllers/apps/cluster/cluster_plan_builder.go +++ b/controllers/apps/cluster/cluster_plan_builder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/cluster_plan_builder_test.go b/controllers/apps/cluster/cluster_plan_builder_test.go index 43e9bacfb27..d741ca8dc48 100644 --- a/controllers/apps/cluster/cluster_plan_builder_test.go +++ b/controllers/apps/cluster/cluster_plan_builder_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/cluster_status_conditions.go b/controllers/apps/cluster/cluster_status_conditions.go index 306d2dae8b6..edaf54925ca 100644 --- a/controllers/apps/cluster/cluster_status_conditions.go +++ b/controllers/apps/cluster/cluster_status_conditions.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/scheme.go b/controllers/apps/cluster/scheme.go index 9917679edc4..7c496013199 100644 --- a/controllers/apps/cluster/scheme.go +++ b/controllers/apps/cluster/scheme.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/suite_test.go b/controllers/apps/cluster/suite_test.go index daad8ccd54d..52749c8d671 100644 --- a/controllers/apps/cluster/suite_test.go +++ b/controllers/apps/cluster/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_backup_policy.go b/controllers/apps/cluster/transformer_cluster_backup_policy.go index e7db11661d4..db11d7f8408 100644 --- a/controllers/apps/cluster/transformer_cluster_backup_policy.go +++ b/controllers/apps/cluster/transformer_cluster_backup_policy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_component.go b/controllers/apps/cluster/transformer_cluster_component.go index c5ccf82dbae..af6ed4a3349 100644 --- a/controllers/apps/cluster/transformer_cluster_component.go +++ b/controllers/apps/cluster/transformer_cluster_component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_component_status.go b/controllers/apps/cluster/transformer_cluster_component_status.go index 73debda941d..5a1e65d2f46 100644 --- a/controllers/apps/cluster/transformer_cluster_component_status.go +++ b/controllers/apps/cluster/transformer_cluster_component_status.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_component_status_test.go b/controllers/apps/cluster/transformer_cluster_component_status_test.go index e25f10ec24a..ae481e329c5 100644 --- a/controllers/apps/cluster/transformer_cluster_component_status_test.go +++ b/controllers/apps/cluster/transformer_cluster_component_status_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_component_test.go b/controllers/apps/cluster/transformer_cluster_component_test.go index 8f710f3c87c..064c5fd16c8 100644 --- a/controllers/apps/cluster/transformer_cluster_component_test.go +++ b/controllers/apps/cluster/transformer_cluster_component_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_deletion.go b/controllers/apps/cluster/transformer_cluster_deletion.go index 1b0a727e83e..d1650c3b626 100644 --- a/controllers/apps/cluster/transformer_cluster_deletion.go +++ b/controllers/apps/cluster/transformer_cluster_deletion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_deletion_test.go b/controllers/apps/cluster/transformer_cluster_deletion_test.go index 5e2344ad881..c8482e2ac01 100644 --- a/controllers/apps/cluster/transformer_cluster_deletion_test.go +++ b/controllers/apps/cluster/transformer_cluster_deletion_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_init.go b/controllers/apps/cluster/transformer_cluster_init.go index a71e417394b..c3972036ba8 100644 --- a/controllers/apps/cluster/transformer_cluster_init.go +++ b/controllers/apps/cluster/transformer_cluster_init.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_meta.go b/controllers/apps/cluster/transformer_cluster_meta.go index b402b304e89..cbae91ecd8e 100644 --- a/controllers/apps/cluster/transformer_cluster_meta.go +++ b/controllers/apps/cluster/transformer_cluster_meta.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_normalization.go b/controllers/apps/cluster/transformer_cluster_normalization.go index e3044fcf02f..865c9ffb245 100644 --- a/controllers/apps/cluster/transformer_cluster_normalization.go +++ b/controllers/apps/cluster/transformer_cluster_normalization.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_normalization_test.go b/controllers/apps/cluster/transformer_cluster_normalization_test.go index e3a64049447..5ce90e2573d 100644 --- a/controllers/apps/cluster/transformer_cluster_normalization_test.go +++ b/controllers/apps/cluster/transformer_cluster_normalization_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_ownership.go b/controllers/apps/cluster/transformer_cluster_ownership.go index 04afb4325af..b3734d8ad74 100644 --- a/controllers/apps/cluster/transformer_cluster_ownership.go +++ b/controllers/apps/cluster/transformer_cluster_ownership.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_placement.go b/controllers/apps/cluster/transformer_cluster_placement.go index a4533b57e7e..7c164beae1d 100644 --- a/controllers/apps/cluster/transformer_cluster_placement.go +++ b/controllers/apps/cluster/transformer_cluster_placement.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_restore.go b/controllers/apps/cluster/transformer_cluster_restore.go index c333421f656..134618f9575 100644 --- a/controllers/apps/cluster/transformer_cluster_restore.go +++ b/controllers/apps/cluster/transformer_cluster_restore.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_service.go b/controllers/apps/cluster/transformer_cluster_service.go index e739ca1830b..b2bba726f64 100644 --- a/controllers/apps/cluster/transformer_cluster_service.go +++ b/controllers/apps/cluster/transformer_cluster_service.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_service_test.go b/controllers/apps/cluster/transformer_cluster_service_test.go index fcb4a6ea947..fb2f4333881 100644 --- a/controllers/apps/cluster/transformer_cluster_service_test.go +++ b/controllers/apps/cluster/transformer_cluster_service_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_sharding_account.go b/controllers/apps/cluster/transformer_cluster_sharding_account.go index 41488aeb250..c04c65ca153 100644 --- a/controllers/apps/cluster/transformer_cluster_sharding_account.go +++ b/controllers/apps/cluster/transformer_cluster_sharding_account.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_sharding_tls.go b/controllers/apps/cluster/transformer_cluster_sharding_tls.go index 96e3af8673e..35c783ef73d 100644 --- a/controllers/apps/cluster/transformer_cluster_sharding_tls.go +++ b/controllers/apps/cluster/transformer_cluster_sharding_tls.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_status.go b/controllers/apps/cluster/transformer_cluster_status.go index 8e02789328e..a11d35daa19 100644 --- a/controllers/apps/cluster/transformer_cluster_status.go +++ b/controllers/apps/cluster/transformer_cluster_status.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_validation.go b/controllers/apps/cluster/transformer_cluster_validation.go index 7afd4e72fa1..923cbaa0578 100644 --- a/controllers/apps/cluster/transformer_cluster_validation.go +++ b/controllers/apps/cluster/transformer_cluster_validation.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/transformer_cluster_validation_test.go b/controllers/apps/cluster/transformer_cluster_validation_test.go index 40e78f92d9f..e59febc4c45 100644 --- a/controllers/apps/cluster/transformer_cluster_validation_test.go +++ b/controllers/apps/cluster/transformer_cluster_validation_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/cluster/utils.go b/controllers/apps/cluster/utils.go index 94dd630fb53..5e024796614 100644 --- a/controllers/apps/cluster/utils.go +++ b/controllers/apps/cluster/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/clusterdefinition_controller.go b/controllers/apps/clusterdefinition_controller.go index 64a444f9058..fb2944564e3 100644 --- a/controllers/apps/clusterdefinition_controller.go +++ b/controllers/apps/clusterdefinition_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/clusterdefinition_controller_test.go b/controllers/apps/clusterdefinition_controller_test.go index 241bed304da..e12e10cb17f 100644 --- a/controllers/apps/clusterdefinition_controller_test.go +++ b/controllers/apps/clusterdefinition_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/component_controller.go b/controllers/apps/component/component_controller.go index e174e813171..0d8b3bec522 100644 --- a/controllers/apps/component/component_controller.go +++ b/controllers/apps/component/component_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/component_controller_test.go b/controllers/apps/component/component_controller_test.go index 807adcd9f8c..d3894638774 100644 --- a/controllers/apps/component/component_controller_test.go +++ b/controllers/apps/component/component_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/component_plan_builder.go b/controllers/apps/component/component_plan_builder.go index 67e65e29d1b..8c8aa304370 100644 --- a/controllers/apps/component/component_plan_builder.go +++ b/controllers/apps/component/component_plan_builder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/component_plan_builder_test.go b/controllers/apps/component/component_plan_builder_test.go index 4221f0bcf3a..040723782b0 100644 --- a/controllers/apps/component/component_plan_builder_test.go +++ b/controllers/apps/component/component_plan_builder_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/scheme.go b/controllers/apps/component/scheme.go index f263bbf3732..6987195a725 100644 --- a/controllers/apps/component/scheme.go +++ b/controllers/apps/component/scheme.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/suite_test.go b/controllers/apps/component/suite_test.go index 3b465956d5d..990a2a88e1f 100644 --- a/controllers/apps/component/suite_test.go +++ b/controllers/apps/component/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_account.go b/controllers/apps/component/transformer_component_account.go index 2dfa46a31df..d1e2e324322 100644 --- a/controllers/apps/component/transformer_component_account.go +++ b/controllers/apps/component/transformer_component_account.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_account_provision.go b/controllers/apps/component/transformer_component_account_provision.go index f530925c3b9..d4ea07e9024 100644 --- a/controllers/apps/component/transformer_component_account_provision.go +++ b/controllers/apps/component/transformer_component_account_provision.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_configuration.go b/controllers/apps/component/transformer_component_configuration.go index 84e441f9e85..f74a9ca25e0 100644 --- a/controllers/apps/component/transformer_component_configuration.go +++ b/controllers/apps/component/transformer_component_configuration.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_deletion.go b/controllers/apps/component/transformer_component_deletion.go index 1e30ff3a515..d2978c81ae8 100644 --- a/controllers/apps/component/transformer_component_deletion.go +++ b/controllers/apps/component/transformer_component_deletion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_hostnetwork.go b/controllers/apps/component/transformer_component_hostnetwork.go index c216f986c5a..b08f62e6a5d 100644 --- a/controllers/apps/component/transformer_component_hostnetwork.go +++ b/controllers/apps/component/transformer_component_hostnetwork.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_hostnetwork_test.go b/controllers/apps/component/transformer_component_hostnetwork_test.go index 2cf4053d2ad..7e8eb83bd97 100644 --- a/controllers/apps/component/transformer_component_hostnetwork_test.go +++ b/controllers/apps/component/transformer_component_hostnetwork_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_init.go b/controllers/apps/component/transformer_component_init.go index ce9c3ce23b7..7f2a32e1210 100644 --- a/controllers/apps/component/transformer_component_init.go +++ b/controllers/apps/component/transformer_component_init.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_load_resources.go b/controllers/apps/component/transformer_component_load_resources.go index 7d3f5c45b98..b8ddb5eb92a 100644 --- a/controllers/apps/component/transformer_component_load_resources.go +++ b/controllers/apps/component/transformer_component_load_resources.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_meta.go b/controllers/apps/component/transformer_component_meta.go index 7762928214f..9ae06222038 100644 --- a/controllers/apps/component/transformer_component_meta.go +++ b/controllers/apps/component/transformer_component_meta.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_monitor_transformer.go b/controllers/apps/component/transformer_component_monitor_transformer.go index 127a3d78c92..406c94a2093 100644 --- a/controllers/apps/component/transformer_component_monitor_transformer.go +++ b/controllers/apps/component/transformer_component_monitor_transformer.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/controllers/apps/component/transformer_component_parameters.go b/controllers/apps/component/transformer_component_parameters.go index d4b5f7c8531..6911082c12c 100644 --- a/controllers/apps/component/transformer_component_parameters.go +++ b/controllers/apps/component/transformer_component_parameters.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_post_provision.go b/controllers/apps/component/transformer_component_post_provision.go index 06e08b82f7a..3bc319f4257 100644 --- a/controllers/apps/component/transformer_component_post_provision.go +++ b/controllers/apps/component/transformer_component_post_provision.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_pre_terminate.go b/controllers/apps/component/transformer_component_pre_terminate.go index 79d86b08d97..8958dbfe2e7 100644 --- a/controllers/apps/component/transformer_component_pre_terminate.go +++ b/controllers/apps/component/transformer_component_pre_terminate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_rbac.go b/controllers/apps/component/transformer_component_rbac.go index b472e54a025..1478e6fedfc 100644 --- a/controllers/apps/component/transformer_component_rbac.go +++ b/controllers/apps/component/transformer_component_rbac.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_rbac_test.go b/controllers/apps/component/transformer_component_rbac_test.go index 3e692720fdb..ad214b33f9c 100644 --- a/controllers/apps/component/transformer_component_rbac_test.go +++ b/controllers/apps/component/transformer_component_rbac_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_restore.go b/controllers/apps/component/transformer_component_restore.go index 6e466c65b06..94049a259b8 100644 --- a/controllers/apps/component/transformer_component_restore.go +++ b/controllers/apps/component/transformer_component_restore.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_restore_test.go b/controllers/apps/component/transformer_component_restore_test.go index bdc42afaef6..4391b4f7cff 100644 --- a/controllers/apps/component/transformer_component_restore_test.go +++ b/controllers/apps/component/transformer_component_restore_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_service.go b/controllers/apps/component/transformer_component_service.go index d3d80a39d25..44ccfb16d57 100644 --- a/controllers/apps/component/transformer_component_service.go +++ b/controllers/apps/component/transformer_component_service.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_service_test.go b/controllers/apps/component/transformer_component_service_test.go index b668f86d395..c6213b1d4c1 100644 --- a/controllers/apps/component/transformer_component_service_test.go +++ b/controllers/apps/component/transformer_component_service_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_status.go b/controllers/apps/component/transformer_component_status.go index 60f166c4e97..ad58015631b 100644 --- a/controllers/apps/component/transformer_component_status.go +++ b/controllers/apps/component/transformer_component_status.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_tls.go b/controllers/apps/component/transformer_component_tls.go index 7b855eddaf4..efa0e004d08 100644 --- a/controllers/apps/component/transformer_component_tls.go +++ b/controllers/apps/component/transformer_component_tls.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_tls_test.go b/controllers/apps/component/transformer_component_tls_test.go index bb66c7bbf62..2e2c31ee239 100644 --- a/controllers/apps/component/transformer_component_tls_test.go +++ b/controllers/apps/component/transformer_component_tls_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_utils.go b/controllers/apps/component/transformer_component_utils.go index f23d4509ef5..47ddab6619c 100644 --- a/controllers/apps/component/transformer_component_utils.go +++ b/controllers/apps/component/transformer_component_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_validation.go b/controllers/apps/component/transformer_component_validation.go index a0cdc118120..d719c6d3989 100644 --- a/controllers/apps/component/transformer_component_validation.go +++ b/controllers/apps/component/transformer_component_validation.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_vars.go b/controllers/apps/component/transformer_component_vars.go index 9b6fea59844..c9e0fbf36e2 100644 --- a/controllers/apps/component/transformer_component_vars.go +++ b/controllers/apps/component/transformer_component_vars.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_workload.go b/controllers/apps/component/transformer_component_workload.go index 31df471df8d..13e5038487e 100644 --- a/controllers/apps/component/transformer_component_workload.go +++ b/controllers/apps/component/transformer_component_workload.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/component/transformer_component_workload_test.go b/controllers/apps/component/transformer_component_workload_test.go index a2e7463df75..3f727c91cfd 100644 --- a/controllers/apps/component/transformer_component_workload_test.go +++ b/controllers/apps/component/transformer_component_workload_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by diff --git a/controllers/apps/component/utils.go b/controllers/apps/component/utils.go index 94ac40ef5d2..085ca274928 100644 --- a/controllers/apps/component/utils.go +++ b/controllers/apps/component/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/componentdefinition_controller.go b/controllers/apps/componentdefinition_controller.go index ac8b1ff48b7..a0e2ac4c146 100644 --- a/controllers/apps/componentdefinition_controller.go +++ b/controllers/apps/componentdefinition_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/componentdefinition_controller_test.go b/controllers/apps/componentdefinition_controller_test.go index 6d20f406aa4..7b3638b5aab 100644 --- a/controllers/apps/componentdefinition_controller_test.go +++ b/controllers/apps/componentdefinition_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/componentversion_controller.go b/controllers/apps/componentversion_controller.go index a91ea2d23bc..b810cffd8aa 100644 --- a/controllers/apps/componentversion_controller.go +++ b/controllers/apps/componentversion_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/componentversion_controller_test.go b/controllers/apps/componentversion_controller_test.go index e27b1b3d633..c26e506937b 100644 --- a/controllers/apps/componentversion_controller_test.go +++ b/controllers/apps/componentversion_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/combine_upgrade_policy.go b/controllers/apps/configuration/combine_upgrade_policy.go index 2e6aef90a83..4249c9e4714 100644 --- a/controllers/apps/configuration/combine_upgrade_policy.go +++ b/controllers/apps/configuration/combine_upgrade_policy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/combine_upgrade_policy_test.go b/controllers/apps/configuration/combine_upgrade_policy_test.go index 88877c32fdd..981b3df461b 100644 --- a/controllers/apps/configuration/combine_upgrade_policy_test.go +++ b/controllers/apps/configuration/combine_upgrade_policy_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/config_annotation.go b/controllers/apps/configuration/config_annotation.go index baa0e307be2..fd2224e659e 100644 --- a/controllers/apps/configuration/config_annotation.go +++ b/controllers/apps/configuration/config_annotation.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/config_reconcile_wrapper.go b/controllers/apps/configuration/config_reconcile_wrapper.go index f5bc8993dc6..3a374c45046 100644 --- a/controllers/apps/configuration/config_reconcile_wrapper.go +++ b/controllers/apps/configuration/config_reconcile_wrapper.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/config_related_helper.go b/controllers/apps/configuration/config_related_helper.go index 3d3aa028568..5236b9ceb3b 100644 --- a/controllers/apps/configuration/config_related_helper.go +++ b/controllers/apps/configuration/config_related_helper.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/config_util.go b/controllers/apps/configuration/config_util.go index 8ccc268f8a7..b9f4f0fb3a8 100644 --- a/controllers/apps/configuration/config_util.go +++ b/controllers/apps/configuration/config_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/config_util_test.go b/controllers/apps/configuration/config_util_test.go index 56c8fd1c46e..2abbd5baa81 100644 --- a/controllers/apps/configuration/config_util_test.go +++ b/controllers/apps/configuration/config_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/configconstraint_controller.go b/controllers/apps/configuration/configconstraint_controller.go index 5fc10fac609..60904e4a867 100644 --- a/controllers/apps/configuration/configconstraint_controller.go +++ b/controllers/apps/configuration/configconstraint_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/configconstraint_controller_test.go b/controllers/apps/configuration/configconstraint_controller_test.go index e824c1758fc..07413066ba3 100644 --- a/controllers/apps/configuration/configconstraint_controller_test.go +++ b/controllers/apps/configuration/configconstraint_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/configuration_controller.go b/controllers/apps/configuration/configuration_controller.go index 67b6ef0ef25..a2f80a9fea6 100644 --- a/controllers/apps/configuration/configuration_controller.go +++ b/controllers/apps/configuration/configuration_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/configuration_controller_test.go b/controllers/apps/configuration/configuration_controller_test.go index 5abe8d366db..16ceee4c020 100644 --- a/controllers/apps/configuration/configuration_controller_test.go +++ b/controllers/apps/configuration/configuration_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/configuration_test.go b/controllers/apps/configuration/configuration_test.go index 0e83cc4c3f1..e2be161be1e 100644 --- a/controllers/apps/configuration/configuration_test.go +++ b/controllers/apps/configuration/configuration_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/parallel_upgrade_policy.go b/controllers/apps/configuration/parallel_upgrade_policy.go index 1be527a1e97..fd1fe941ddc 100644 --- a/controllers/apps/configuration/parallel_upgrade_policy.go +++ b/controllers/apps/configuration/parallel_upgrade_policy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/parallel_upgrade_policy_test.go b/controllers/apps/configuration/parallel_upgrade_policy_test.go index 0e82aae8f78..98b034f9028 100644 --- a/controllers/apps/configuration/parallel_upgrade_policy_test.go +++ b/controllers/apps/configuration/parallel_upgrade_policy_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/policy_util.go b/controllers/apps/configuration/policy_util.go index f142f4d74f7..3cd8370ef22 100644 --- a/controllers/apps/configuration/policy_util.go +++ b/controllers/apps/configuration/policy_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/policy_util_test.go b/controllers/apps/configuration/policy_util_test.go index 4859b8e1a4d..313b04f05ea 100644 --- a/controllers/apps/configuration/policy_util_test.go +++ b/controllers/apps/configuration/policy_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/reconcile_task.go b/controllers/apps/configuration/reconcile_task.go index 91481b3b767..682be10ff17 100644 --- a/controllers/apps/configuration/reconcile_task.go +++ b/controllers/apps/configuration/reconcile_task.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/reconfigure_controller.go b/controllers/apps/configuration/reconfigure_controller.go index 9e7d97c22f9..8463b998ea8 100644 --- a/controllers/apps/configuration/reconfigure_controller.go +++ b/controllers/apps/configuration/reconfigure_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/reconfigure_controller_test.go b/controllers/apps/configuration/reconfigure_controller_test.go index 1cea793d97e..fbc4b813918 100644 --- a/controllers/apps/configuration/reconfigure_controller_test.go +++ b/controllers/apps/configuration/reconfigure_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/reconfigure_policy.go b/controllers/apps/configuration/reconfigure_policy.go index b487051e5dc..46f41dd7034 100644 --- a/controllers/apps/configuration/reconfigure_policy.go +++ b/controllers/apps/configuration/reconfigure_policy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/relatedresource.go b/controllers/apps/configuration/relatedresource.go index 4a21591372d..3580c160ed1 100644 --- a/controllers/apps/configuration/relatedresource.go +++ b/controllers/apps/configuration/relatedresource.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/revision.go b/controllers/apps/configuration/revision.go index 1c4feb10791..c2bbcbb7ded 100644 --- a/controllers/apps/configuration/revision.go +++ b/controllers/apps/configuration/revision.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/revision_test.go b/controllers/apps/configuration/revision_test.go index a64e99cd4af..805b4630353 100644 --- a/controllers/apps/configuration/revision_test.go +++ b/controllers/apps/configuration/revision_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/rolling_upgrade_policy.go b/controllers/apps/configuration/rolling_upgrade_policy.go index 2d8165ffdca..288142c9d3c 100644 --- a/controllers/apps/configuration/rolling_upgrade_policy.go +++ b/controllers/apps/configuration/rolling_upgrade_policy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/simple_policy.go b/controllers/apps/configuration/simple_policy.go index 4459d2fbf51..093d7ce265f 100644 --- a/controllers/apps/configuration/simple_policy.go +++ b/controllers/apps/configuration/simple_policy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/simple_policy_test.go b/controllers/apps/configuration/simple_policy_test.go index 2ccf1daf065..9a433c69516 100644 --- a/controllers/apps/configuration/simple_policy_test.go +++ b/controllers/apps/configuration/simple_policy_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/suite_test.go b/controllers/apps/configuration/suite_test.go index dbaa76825cc..9621c8fe49c 100644 --- a/controllers/apps/configuration/suite_test.go +++ b/controllers/apps/configuration/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/sync_upgrade_policy.go b/controllers/apps/configuration/sync_upgrade_policy.go index 48e8f03feb1..9778429076b 100644 --- a/controllers/apps/configuration/sync_upgrade_policy.go +++ b/controllers/apps/configuration/sync_upgrade_policy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/sync_upgrade_policy_test.go b/controllers/apps/configuration/sync_upgrade_policy_test.go index 77368a683e9..e62668db9bc 100644 --- a/controllers/apps/configuration/sync_upgrade_policy_test.go +++ b/controllers/apps/configuration/sync_upgrade_policy_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/types.go b/controllers/apps/configuration/types.go index 0b730db20d3..1ddc63a9e5c 100644 --- a/controllers/apps/configuration/types.go +++ b/controllers/apps/configuration/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/configuration/utils.go b/controllers/apps/configuration/utils.go index d1d22240c42..8752ec5edb3 100644 --- a/controllers/apps/configuration/utils.go +++ b/controllers/apps/configuration/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/scheme.go b/controllers/apps/scheme.go index 9cd5337abff..5393148c3df 100644 --- a/controllers/apps/scheme.go +++ b/controllers/apps/scheme.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/servicedescriptor_controller.go b/controllers/apps/servicedescriptor_controller.go index 739147ee5b3..3263126dcd4 100644 --- a/controllers/apps/servicedescriptor_controller.go +++ b/controllers/apps/servicedescriptor_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/servicedescriptor_controller_test.go b/controllers/apps/servicedescriptor_controller_test.go index 81975e963b2..dba7d154ef9 100644 --- a/controllers/apps/servicedescriptor_controller_test.go +++ b/controllers/apps/servicedescriptor_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/shardingdefinition_controller.go b/controllers/apps/shardingdefinition_controller.go index ba1564bb3da..3c89cfa7c01 100644 --- a/controllers/apps/shardingdefinition_controller.go +++ b/controllers/apps/shardingdefinition_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/shardingdefinition_controller_test.go b/controllers/apps/shardingdefinition_controller_test.go index fb454d8ef69..b3410649fec 100644 --- a/controllers/apps/shardingdefinition_controller_test.go +++ b/controllers/apps/shardingdefinition_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/sidecardefinition_controller.go b/controllers/apps/sidecardefinition_controller.go index f8df7d466d6..8e6c60360e9 100644 --- a/controllers/apps/sidecardefinition_controller.go +++ b/controllers/apps/sidecardefinition_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/sidecardefinition_controller_test.go b/controllers/apps/sidecardefinition_controller_test.go index 9bff5fce450..974eb5003d8 100644 --- a/controllers/apps/sidecardefinition_controller_test.go +++ b/controllers/apps/sidecardefinition_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/suite_test.go b/controllers/apps/suite_test.go index 7ed16fe9abf..50f9ba9c411 100644 --- a/controllers/apps/suite_test.go +++ b/controllers/apps/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/util/mock_reader.go b/controllers/apps/util/mock_reader.go index 793a3c11c1a..f2fb2fcb90e 100644 --- a/controllers/apps/util/mock_reader.go +++ b/controllers/apps/util/mock_reader.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/util/multicluster.go b/controllers/apps/util/multicluster.go index c5d85a6862d..b4679c12bdd 100644 --- a/controllers/apps/util/multicluster.go +++ b/controllers/apps/util/multicluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/util/utils.go b/controllers/apps/util/utils.go index 634d70e4b0a..388043b8943 100644 --- a/controllers/apps/util/utils.go +++ b/controllers/apps/util/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/apps/util/utils_test.go b/controllers/apps/util/utils_test.go index 4c3a2d3ff00..f34d5fc6f41 100644 --- a/controllers/apps/util/utils_test.go +++ b/controllers/apps/util/utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/actionset_controller.go b/controllers/dataprotection/actionset_controller.go index 9ea55c2b4f6..4a518e13805 100644 --- a/controllers/dataprotection/actionset_controller.go +++ b/controllers/dataprotection/actionset_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/actionset_controller_test.go b/controllers/dataprotection/actionset_controller_test.go index 1697cd4e21d..82445f4f729 100644 --- a/controllers/dataprotection/actionset_controller_test.go +++ b/controllers/dataprotection/actionset_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/backup_controller.go b/controllers/dataprotection/backup_controller.go index 504048e39df..dfcf246e4b6 100644 --- a/controllers/dataprotection/backup_controller.go +++ b/controllers/dataprotection/backup_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/backup_controller_test.go b/controllers/dataprotection/backup_controller_test.go index 8bc41b64017..6283d45ed05 100644 --- a/controllers/dataprotection/backup_controller_test.go +++ b/controllers/dataprotection/backup_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/backuppolicy_controller.go b/controllers/dataprotection/backuppolicy_controller.go index ec93b3721fc..58e80e36723 100644 --- a/controllers/dataprotection/backuppolicy_controller.go +++ b/controllers/dataprotection/backuppolicy_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/backuppolicy_controller_test.go b/controllers/dataprotection/backuppolicy_controller_test.go index c9df090a4a6..092b1226033 100644 --- a/controllers/dataprotection/backuppolicy_controller_test.go +++ b/controllers/dataprotection/backuppolicy_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/backuppolicytemplate_controller.go b/controllers/dataprotection/backuppolicytemplate_controller.go index 45b33932d2d..532e8c82a24 100644 --- a/controllers/dataprotection/backuppolicytemplate_controller.go +++ b/controllers/dataprotection/backuppolicytemplate_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/controllers/dataprotection/backuppolicytemplate_controller_test.go b/controllers/dataprotection/backuppolicytemplate_controller_test.go index 9f4c35d2f23..93c001ca684 100644 --- a/controllers/dataprotection/backuppolicytemplate_controller_test.go +++ b/controllers/dataprotection/backuppolicytemplate_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/controllers/dataprotection/backuprepo_controller.go b/controllers/dataprotection/backuprepo_controller.go index b3dfd2966bc..957c6b60b5f 100644 --- a/controllers/dataprotection/backuprepo_controller.go +++ b/controllers/dataprotection/backuprepo_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/backuprepo_controller_test.go b/controllers/dataprotection/backuprepo_controller_test.go index 3d30d95c602..03d48b33bd3 100644 --- a/controllers/dataprotection/backuprepo_controller_test.go +++ b/controllers/dataprotection/backuprepo_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/backupschedule_controller.go b/controllers/dataprotection/backupschedule_controller.go index aaeb7ebfc71..6cac2cc837a 100644 --- a/controllers/dataprotection/backupschedule_controller.go +++ b/controllers/dataprotection/backupschedule_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/backupschedule_controller_test.go b/controllers/dataprotection/backupschedule_controller_test.go index bc7687c6983..ebc8ea6e9e6 100644 --- a/controllers/dataprotection/backupschedule_controller_test.go +++ b/controllers/dataprotection/backupschedule_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/gc_controller.go b/controllers/dataprotection/gc_controller.go index 153b52f5217..7bcea46fae0 100644 --- a/controllers/dataprotection/gc_controller.go +++ b/controllers/dataprotection/gc_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/gc_controller_test.go b/controllers/dataprotection/gc_controller_test.go index 6d8e07639e3..79c0ccf51c8 100644 --- a/controllers/dataprotection/gc_controller_test.go +++ b/controllers/dataprotection/gc_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/log_collection_controller.go b/controllers/dataprotection/log_collection_controller.go index 5f89c407ceb..0847ebab70b 100644 --- a/controllers/dataprotection/log_collection_controller.go +++ b/controllers/dataprotection/log_collection_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/log_collection_controller_test.go b/controllers/dataprotection/log_collection_controller_test.go index 5c93ae02de9..9ad82bd8a6c 100644 --- a/controllers/dataprotection/log_collection_controller_test.go +++ b/controllers/dataprotection/log_collection_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/restore_controller.go b/controllers/dataprotection/restore_controller.go index c9c54cac98d..9f8ad44efea 100644 --- a/controllers/dataprotection/restore_controller.go +++ b/controllers/dataprotection/restore_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/restore_controller_test.go b/controllers/dataprotection/restore_controller_test.go index e8c03eebd15..b5195af929b 100644 --- a/controllers/dataprotection/restore_controller_test.go +++ b/controllers/dataprotection/restore_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/storageprovider_controller.go b/controllers/dataprotection/storageprovider_controller.go index 03c31fa5fc9..5836a6879be 100644 --- a/controllers/dataprotection/storageprovider_controller.go +++ b/controllers/dataprotection/storageprovider_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/storageprovider_controller_test.go b/controllers/dataprotection/storageprovider_controller_test.go index a4f11ab1d59..25cb579a109 100644 --- a/controllers/dataprotection/storageprovider_controller_test.go +++ b/controllers/dataprotection/storageprovider_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/suite_test.go b/controllers/dataprotection/suite_test.go index 712f0008e99..ea484270760 100644 --- a/controllers/dataprotection/suite_test.go +++ b/controllers/dataprotection/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/types.go b/controllers/dataprotection/types.go index 9c5e769fd6c..eef3ec77ab5 100644 --- a/controllers/dataprotection/types.go +++ b/controllers/dataprotection/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/utils.go b/controllers/dataprotection/utils.go index 3ae0a2106d9..5b5fa39ef79 100644 --- a/controllers/dataprotection/utils.go +++ b/controllers/dataprotection/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/utils_test.go b/controllers/dataprotection/utils_test.go index 673bd3e42c5..c53369db024 100644 --- a/controllers/dataprotection/utils_test.go +++ b/controllers/dataprotection/utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/volumepopulator_controller.go b/controllers/dataprotection/volumepopulator_controller.go index be41bea4c4c..6b2c1547758 100644 --- a/controllers/dataprotection/volumepopulator_controller.go +++ b/controllers/dataprotection/volumepopulator_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/dataprotection/volumepopulator_controller_test.go b/controllers/dataprotection/volumepopulator_controller_test.go index 571ddd0038c..ecddcee7341 100644 --- a/controllers/dataprotection/volumepopulator_controller_test.go +++ b/controllers/dataprotection/volumepopulator_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/experimental/cluster_handler.go b/controllers/experimental/cluster_handler.go index 7b3aeae3224..556b20c160d 100644 --- a/controllers/experimental/cluster_handler.go +++ b/controllers/experimental/cluster_handler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/experimental/node_scaling_handler.go b/controllers/experimental/node_scaling_handler.go index 9e30d49842a..f22d18303ca 100644 --- a/controllers/experimental/node_scaling_handler.go +++ b/controllers/experimental/node_scaling_handler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/experimental/nodecountscaler_controller.go b/controllers/experimental/nodecountscaler_controller.go index f20e534a4c4..6416e61aa4a 100644 --- a/controllers/experimental/nodecountscaler_controller.go +++ b/controllers/experimental/nodecountscaler_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/experimental/reconciler_scale_target_cluster.go b/controllers/experimental/reconciler_scale_target_cluster.go index 1d166471620..e894e9d4223 100644 --- a/controllers/experimental/reconciler_scale_target_cluster.go +++ b/controllers/experimental/reconciler_scale_target_cluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/experimental/reconciler_scale_target_cluster_test.go b/controllers/experimental/reconciler_scale_target_cluster_test.go index a980fcb7a50..6ae03233bb1 100644 --- a/controllers/experimental/reconciler_scale_target_cluster_test.go +++ b/controllers/experimental/reconciler_scale_target_cluster_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/experimental/reconciler_update_status.go b/controllers/experimental/reconciler_update_status.go index dd1671a247f..75f8858a21e 100644 --- a/controllers/experimental/reconciler_update_status.go +++ b/controllers/experimental/reconciler_update_status.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/experimental/reconciler_update_status_test.go b/controllers/experimental/reconciler_update_status_test.go index b9661235f78..8f865c570dd 100644 --- a/controllers/experimental/reconciler_update_status_test.go +++ b/controllers/experimental/reconciler_update_status_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/experimental/suite_test.go b/controllers/experimental/suite_test.go index 53c2d89425f..354c884ed80 100644 --- a/controllers/experimental/suite_test.go +++ b/controllers/experimental/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/experimental/tree_loader.go b/controllers/experimental/tree_loader.go index ddcdb90fb3f..27b325544a3 100644 --- a/controllers/experimental/tree_loader.go +++ b/controllers/experimental/tree_loader.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/experimental/tree_loader_test.go b/controllers/experimental/tree_loader_test.go index 230fa4a6f69..a27da7876e1 100644 --- a/controllers/experimental/tree_loader_test.go +++ b/controllers/experimental/tree_loader_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/extensions/addon_controller.go b/controllers/extensions/addon_controller.go index a656e7b8805..eaaf80596a8 100644 --- a/controllers/extensions/addon_controller.go +++ b/controllers/extensions/addon_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/extensions/addon_controller_stages.go b/controllers/extensions/addon_controller_stages.go index 63c5998e7b8..68dfe02f849 100644 --- a/controllers/extensions/addon_controller_stages.go +++ b/controllers/extensions/addon_controller_stages.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/extensions/addon_controller_test.go b/controllers/extensions/addon_controller_test.go index 1a08ef1f196..8342406b0ef 100644 --- a/controllers/extensions/addon_controller_test.go +++ b/controllers/extensions/addon_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/extensions/const.go b/controllers/extensions/const.go index 46b6cac4a3c..01e3ca25b16 100644 --- a/controllers/extensions/const.go +++ b/controllers/extensions/const.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/extensions/suite_test.go b/controllers/extensions/suite_test.go index 7346407349f..1a44cede5c9 100644 --- a/controllers/extensions/suite_test.go +++ b/controllers/extensions/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/k8score/event_controller.go b/controllers/k8score/event_controller.go index 5bf2a295dda..5b582fd39a1 100644 --- a/controllers/k8score/event_controller.go +++ b/controllers/k8score/event_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/k8score/event_controller_test.go b/controllers/k8score/event_controller_test.go index bdcc45515e0..7552c87a26d 100644 --- a/controllers/k8score/event_controller_test.go +++ b/controllers/k8score/event_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/k8score/suite_test.go b/controllers/k8score/suite_test.go index 64d229938b8..2bf48074f57 100644 --- a/controllers/k8score/suite_test.go +++ b/controllers/k8score/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/operations/constant.go b/controllers/operations/constant.go index 81e3e692d79..9b193fbcba8 100644 --- a/controllers/operations/constant.go +++ b/controllers/operations/constant.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd # This file is part of KubeBlocks project diff --git a/controllers/operations/opsdefinition_controller.go b/controllers/operations/opsdefinition_controller.go index 42b0f17bf38..7d70732a289 100644 --- a/controllers/operations/opsdefinition_controller.go +++ b/controllers/operations/opsdefinition_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/operations/opsdefinition_controller_test.go b/controllers/operations/opsdefinition_controller_test.go index b8655b88f96..5a1d8535a04 100644 --- a/controllers/operations/opsdefinition_controller_test.go +++ b/controllers/operations/opsdefinition_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/operations/opsrequest_controller.go b/controllers/operations/opsrequest_controller.go index 032b380e2e5..14f3574dc14 100644 --- a/controllers/operations/opsrequest_controller.go +++ b/controllers/operations/opsrequest_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/operations/opsrequest_controller_test.go b/controllers/operations/opsrequest_controller_test.go index e209c9c9b03..93a2aaaef4a 100644 --- a/controllers/operations/opsrequest_controller_test.go +++ b/controllers/operations/opsrequest_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/operations/suite_test.go b/controllers/operations/suite_test.go index c3a3ca269c7..cd0a9a5747c 100644 --- a/controllers/operations/suite_test.go +++ b/controllers/operations/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/change_capture_store.go b/controllers/trace/change_capture_store.go index fdd8af2e61c..0fdf1427a06 100644 --- a/controllers/trace/change_capture_store.go +++ b/controllers/trace/change_capture_store.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/change_capture_store_test.go b/controllers/trace/change_capture_store_test.go index 34e4f2777ae..cee6b52e44e 100644 --- a/controllers/trace/change_capture_store_test.go +++ b/controllers/trace/change_capture_store_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/current_state_handler.go b/controllers/trace/current_state_handler.go index 8d49c1bdf45..dfef50cb671 100644 --- a/controllers/trace/current_state_handler.go +++ b/controllers/trace/current_state_handler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/current_state_handler_test.go b/controllers/trace/current_state_handler_test.go index 03a1490c21b..c2816ca6f4b 100644 --- a/controllers/trace/current_state_handler_test.go +++ b/controllers/trace/current_state_handler_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/deletion_handler.go b/controllers/trace/deletion_handler.go index c5f4bf1a588..8fe2026e336 100644 --- a/controllers/trace/deletion_handler.go +++ b/controllers/trace/deletion_handler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/deletion_handler_test.go b/controllers/trace/deletion_handler_test.go index 2095b371fc6..f865d81230c 100644 --- a/controllers/trace/deletion_handler_test.go +++ b/controllers/trace/deletion_handler_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/desired_state_handler.go b/controllers/trace/desired_state_handler.go index 37c2b39c5d5..c8d79e47ee5 100644 --- a/controllers/trace/desired_state_handler.go +++ b/controllers/trace/desired_state_handler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/desired_state_handler_test.go b/controllers/trace/desired_state_handler_test.go index 44f24b36b3b..583e7563764 100644 --- a/controllers/trace/desired_state_handler_test.go +++ b/controllers/trace/desired_state_handler_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/dry_run_handler.go b/controllers/trace/dry_run_handler.go index 3b4bacd50bf..340b4425e07 100644 --- a/controllers/trace/dry_run_handler.go +++ b/controllers/trace/dry_run_handler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/dry_run_handler_test.go b/controllers/trace/dry_run_handler_test.go index 120a3cdf33b..cf17df234d5 100644 --- a/controllers/trace/dry_run_handler_test.go +++ b/controllers/trace/dry_run_handler_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/finalizer_handler.go b/controllers/trace/finalizer_handler.go index 2d4324a1aae..1e3ab9c0477 100644 --- a/controllers/trace/finalizer_handler.go +++ b/controllers/trace/finalizer_handler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/finalizer_handler_test.go b/controllers/trace/finalizer_handler_test.go index 99f8d9683ca..7744f674cd5 100644 --- a/controllers/trace/finalizer_handler_test.go +++ b/controllers/trace/finalizer_handler_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/i18n_resources_manager.go b/controllers/trace/i18n_resources_manager.go index 2d125b4d101..4c64a3f7025 100644 --- a/controllers/trace/i18n_resources_manager.go +++ b/controllers/trace/i18n_resources_manager.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/informer_manager.go b/controllers/trace/informer_manager.go index 4af40ae7adc..3d69b4d1186 100644 --- a/controllers/trace/informer_manager.go +++ b/controllers/trace/informer_manager.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/mock_client.go b/controllers/trace/mock_client.go index 1e2a100f2fc..431e35acaca 100644 --- a/controllers/trace/mock_client.go +++ b/controllers/trace/mock_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/mock_event_recorder.go b/controllers/trace/mock_event_recorder.go index 0f150b7ae12..512c7f40a6e 100644 --- a/controllers/trace/mock_event_recorder.go +++ b/controllers/trace/mock_event_recorder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/object_revision_store.go b/controllers/trace/object_revision_store.go index 7c5dbf03b7e..4c560d71de8 100644 --- a/controllers/trace/object_revision_store.go +++ b/controllers/trace/object_revision_store.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/object_revision_store_test.go b/controllers/trace/object_revision_store_test.go index 4b591e67771..57b0421cedd 100644 --- a/controllers/trace/object_revision_store_test.go +++ b/controllers/trace/object_revision_store_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/object_tree_root_finder.go b/controllers/trace/object_tree_root_finder.go index f975b76b390..6f5ed6e14f1 100644 --- a/controllers/trace/object_tree_root_finder.go +++ b/controllers/trace/object_tree_root_finder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/object_tree_root_finder_test.go b/controllers/trace/object_tree_root_finder_test.go index a9e8a7a4765..24cc6b89249 100644 --- a/controllers/trace/object_tree_root_finder_test.go +++ b/controllers/trace/object_tree_root_finder_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/plan_generator.go b/controllers/trace/plan_generator.go index d59844da977..ca683051945 100644 --- a/controllers/trace/plan_generator.go +++ b/controllers/trace/plan_generator.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/reconciler_tree.go b/controllers/trace/reconciler_tree.go index 50da88bd816..e9777a4c99c 100644 --- a/controllers/trace/reconciler_tree.go +++ b/controllers/trace/reconciler_tree.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/reconciler_tree_test.go b/controllers/trace/reconciler_tree_test.go index 3f487a82136..acbb9e4749a 100644 --- a/controllers/trace/reconciler_tree_test.go +++ b/controllers/trace/reconciler_tree_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/reconciliationtrace_controller.go b/controllers/trace/reconciliationtrace_controller.go index 1925ba00331..bbd2513a98b 100644 --- a/controllers/trace/reconciliationtrace_controller.go +++ b/controllers/trace/reconciliationtrace_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/resources_loader.go b/controllers/trace/resources_loader.go index 899b25bed81..1b0ee1078a5 100644 --- a/controllers/trace/resources_loader.go +++ b/controllers/trace/resources_loader.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/resources_loader_test.go b/controllers/trace/resources_loader_test.go index b9f3718c53c..2a265972485 100644 --- a/controllers/trace/resources_loader_test.go +++ b/controllers/trace/resources_loader_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/resources_validator.go b/controllers/trace/resources_validator.go index 411d3b32816..0a106a9a89c 100644 --- a/controllers/trace/resources_validator.go +++ b/controllers/trace/resources_validator.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/resources_validator_test.go b/controllers/trace/resources_validator_test.go index 3ee740949b8..7c3ce5e39e8 100644 --- a/controllers/trace/resources_validator_test.go +++ b/controllers/trace/resources_validator_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/suite_test.go b/controllers/trace/suite_test.go index 35023e8c896..4562bfc9ed6 100644 --- a/controllers/trace/suite_test.go +++ b/controllers/trace/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/type.go b/controllers/trace/type.go index 146bdc618f6..83278f9738b 100644 --- a/controllers/trace/type.go +++ b/controllers/trace/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/util.go b/controllers/trace/util.go index d225249c736..f240d8611aa 100644 --- a/controllers/trace/util.go +++ b/controllers/trace/util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/trace/util_test.go b/controllers/trace/util_test.go index 3e22653e83d..bb4c8cbb2d1 100644 --- a/controllers/trace/util_test.go +++ b/controllers/trace/util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/workloads/instanceset_controller.go b/controllers/workloads/instanceset_controller.go index 7b5fc9e8d2c..e7279e38ca1 100644 --- a/controllers/workloads/instanceset_controller.go +++ b/controllers/workloads/instanceset_controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/workloads/instanceset_controller_test.go b/controllers/workloads/instanceset_controller_test.go index 7138b89e9db..be4479c8629 100644 --- a/controllers/workloads/instanceset_controller_test.go +++ b/controllers/workloads/instanceset_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/controllers/workloads/suite_test.go b/controllers/workloads/suite_test.go index 540b798b7a9..2f9ba5131cb 100644 --- a/controllers/workloads/suite_test.go +++ b/controllers/workloads/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/docker/docker.mk b/docker/docker.mk index 80c02bf5836..e2624765b39 100644 --- a/docker/docker.mk +++ b/docker/docker.mk @@ -1,5 +1,5 @@ # -#Copyright (C) 2022-2024 ApeCloud Co., Ltd +#Copyright (C) 2022-2025 ApeCloud Co., Ltd # #This file is part of KubeBlocks project # diff --git a/externalapis/preflight/v1beta2/groupversion_info.go b/externalapis/preflight/v1beta2/groupversion_info.go index 3fe46c802eb..1903e9bd9fb 100644 --- a/externalapis/preflight/v1beta2/groupversion_info.go +++ b/externalapis/preflight/v1beta2/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/externalapis/preflight/v1beta2/hostpreflight_types.go b/externalapis/preflight/v1beta2/hostpreflight_types.go index b306cb96da0..b67773f6fd5 100644 --- a/externalapis/preflight/v1beta2/hostpreflight_types.go +++ b/externalapis/preflight/v1beta2/hostpreflight_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/externalapis/preflight/v1beta2/preflight_types.go b/externalapis/preflight/v1beta2/preflight_types.go index 4ed88428d04..4008f1e4101 100644 --- a/externalapis/preflight/v1beta2/preflight_types.go +++ b/externalapis/preflight/v1beta2/preflight_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/externalapis/preflight/v1beta2/type.go b/externalapis/preflight/v1beta2/type.go index bfdc7da1942..75da38a295d 100644 --- a/externalapis/preflight/v1beta2/type.go +++ b/externalapis/preflight/v1beta2/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/externalapis/preflight/v1beta2/zz_generated.deepcopy.go b/externalapis/preflight/v1beta2/zz_generated.deepcopy.go index 71b21053440..e8764491a98 100644 --- a/externalapis/preflight/v1beta2/zz_generated.deepcopy.go +++ b/externalapis/preflight/v1beta2/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/hack/boilerplate.cue.txt b/hack/boilerplate.cue.txt index c99f1aae279..8ae176ea235 100644 --- a/hack/boilerplate.cue.txt +++ b/hack/boilerplate.cue.txt @@ -1,4 +1,4 @@ -// Copyright (C) 2022-2024 ApeCloud Co., Ltd +// Copyright (C) 2022-2025 ApeCloud Co., Ltd // // This file is part of KubeBlocks project // diff --git a/hack/boilerplate.go.txt b/hack/boilerplate.go.txt index 97d74842ed8..8e68bb727e4 100644 --- a/hack/boilerplate.go.txt +++ b/hack/boilerplate.go.txt @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/hack/boilerplate_apache2.go.txt b/hack/boilerplate_apache2.go.txt index 94b7f183102..f5e04483f02 100644 --- a/hack/boilerplate_apache2.go.txt +++ b/hack/boilerplate_apache2.go.txt @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/hack/client-sdk-gen.sh b/hack/client-sdk-gen.sh index dfa60469949..4698f1b2d85 100755 --- a/hack/client-sdk-gen.sh +++ b/hack/client-sdk-gen.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (C) 2022-2024 ApeCloud Co., Ltd +# Copyright (C) 2022-2025 ApeCloud Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/hack/docgen/api/main.go b/hack/docgen/api/main.go index c4481c901c8..0e98ec39978 100644 --- a/hack/docgen/api/main.go +++ b/hack/docgen/api/main.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/hack/docgen/api/template/placeholder.go b/hack/docgen/api/template/placeholder.go index 02ef3b4a27c..fb18eddb085 100644 --- a/hack/docgen/api/template/placeholder.go +++ b/hack/docgen/api/template/placeholder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/hack/license/header-check.sh b/hack/license/header-check.sh index 8861629b231..ffa8e1ea7e5 100755 --- a/hack/license/header-check.sh +++ b/hack/license/header-check.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (C) 2022-2024 ApeCloud Co., Ltd +# Copyright (C) 2022-2025 ApeCloud Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ APACHE2_DIRS="apis/\|externalapis/" for file in $(git ls-files | grep '\.cue\|\.go$' | grep -v ${EXCLUDES_DIRS}); do echo -n "Header check: $file... " - if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2024 ApeCloud Co., Ltd\|Code generated by") ]]; then + if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2025 ApeCloud Co., Ltd\|Code generated by") ]]; then ERR=true fi if [ $ERR == true ]; then @@ -52,7 +52,7 @@ done for file in $(git ls-files | grep '\.go$' | grep ${APACHE2_DIRS}); do echo -n "Header check: $file... " - if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2024 ApeCloud Co., Ltd\|Code generated by") ]]; then + if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2025 ApeCloud Co., Ltd\|Code generated by") ]]; then ERR=true fi if [ $ERR == true ]; then diff --git a/pkg/apiutil/hostnetwork.go b/pkg/apiutil/hostnetwork.go index 26cebb3b737..12d631149d5 100644 --- a/pkg/apiutil/hostnetwork.go +++ b/pkg/apiutil/hostnetwork.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/client/clientset/versioned/clientset.go b/pkg/client/clientset/versioned/clientset.go index b48727faa5e..47f5b3b0e21 100644 --- a/pkg/client/clientset/versioned/clientset.go +++ b/pkg/client/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/fake/clientset_generated.go b/pkg/client/clientset/versioned/fake/clientset_generated.go index d2dd12dfdc1..e8505213c49 100644 --- a/pkg/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/client/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/fake/doc.go b/pkg/client/clientset/versioned/fake/doc.go index aa6aba51450..b6dce3e6edd 100644 --- a/pkg/client/clientset/versioned/fake/doc.go +++ b/pkg/client/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/fake/register.go b/pkg/client/clientset/versioned/fake/register.go index ce56bb3d1e1..a063a9b98db 100644 --- a/pkg/client/clientset/versioned/fake/register.go +++ b/pkg/client/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/scheme/doc.go b/pkg/client/clientset/versioned/scheme/doc.go index 3d12bbe5c06..ac7475747c0 100644 --- a/pkg/client/clientset/versioned/scheme/doc.go +++ b/pkg/client/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/scheme/register.go b/pkg/client/clientset/versioned/scheme/register.go index edb84523013..8c01a1631c8 100644 --- a/pkg/client/clientset/versioned/scheme/register.go +++ b/pkg/client/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/apps_client.go b/pkg/client/clientset/versioned/typed/apps/v1/apps_client.go index 03fd7f0dabe..ec468a4b13b 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/apps_client.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/apps_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/cluster.go b/pkg/client/clientset/versioned/typed/apps/v1/cluster.go index 09a8dc02796..580788ddc78 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/cluster.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/cluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/clusterdefinition.go b/pkg/client/clientset/versioned/typed/apps/v1/clusterdefinition.go index 91e490a5388..9b12fff777a 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/clusterdefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/clusterdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/component.go b/pkg/client/clientset/versioned/typed/apps/v1/component.go index 9a0936600eb..dec4769213e 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/component.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/componentdefinition.go b/pkg/client/clientset/versioned/typed/apps/v1/componentdefinition.go index 528ce41c8c8..1e682d3f053 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/componentdefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/componentdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/componentversion.go b/pkg/client/clientset/versioned/typed/apps/v1/componentversion.go index e2be9b02cdd..b5f9d6ed55e 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/componentversion.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/componentversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/doc.go b/pkg/client/clientset/versioned/typed/apps/v1/doc.go index 8a483cc3601..45c43d2dcfe 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/doc.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/fake/doc.go b/pkg/client/clientset/versioned/typed/apps/v1/fake/doc.go index a68eddec4bb..679d123c016 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_apps_client.go b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_apps_client.go index 997fad644b8..d85ca0f26c0 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_apps_client.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_apps_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_cluster.go b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_cluster.go index 990cf3573c4..86f58840bf1 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_cluster.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_cluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_clusterdefinition.go b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_clusterdefinition.go index afd0d57934e..b161107464b 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_clusterdefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_clusterdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_component.go b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_component.go index cbf51312c1a..89dc33110c9 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_component.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_componentdefinition.go b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_componentdefinition.go index c8780b8ef7e..9265b741ac1 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_componentdefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_componentdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_componentversion.go b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_componentversion.go index 5b25194aaa3..50dff1ba83a 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_componentversion.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_componentversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_servicedescriptor.go b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_servicedescriptor.go index cb09fb3b526..03e978f5f5d 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_servicedescriptor.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_servicedescriptor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_shardingdefinition.go b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_shardingdefinition.go index 07041430c1b..5d039555994 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_shardingdefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_shardingdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_sidecardefinition.go b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_sidecardefinition.go index d337beb4f5d..f6202d0ff01 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_sidecardefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/fake/fake_sidecardefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/generated_expansion.go b/pkg/client/clientset/versioned/typed/apps/v1/generated_expansion.go index 17b50ed4aa8..89bb8fc0357 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/servicedescriptor.go b/pkg/client/clientset/versioned/typed/apps/v1/servicedescriptor.go index 9b41a5300e2..b5c43565aae 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/servicedescriptor.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/servicedescriptor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/shardingdefinition.go b/pkg/client/clientset/versioned/typed/apps/v1/shardingdefinition.go index 0a89a577a43..2522e97e782 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/shardingdefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/shardingdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1/sidecardefinition.go b/pkg/client/clientset/versioned/typed/apps/v1/sidecardefinition.go index cc56f4141f6..9bc567374f8 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1/sidecardefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1/sidecardefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/apps_client.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/apps_client.go index d64daf4e9ba..a9a515a9bcf 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/apps_client.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/apps_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/cluster.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/cluster.go index 8c3cda65490..661f78894f4 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/cluster.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/cluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/clusterdefinition.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/clusterdefinition.go index 068173c196d..35dc4b3ecb6 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/clusterdefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/clusterdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/component.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/component.go index 8c16c299111..ec29ba3c105 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/component.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/componentdefinition.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/componentdefinition.go index 12d01c81753..f07975ed6f2 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/componentdefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/componentdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/componentversion.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/componentversion.go index 280b49cd712..ab8bf59aa1b 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/componentversion.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/componentversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/configconstraint.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/configconstraint.go index 613c09294b4..92bc05337be 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/configconstraint.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/configconstraint.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/doc.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/doc.go index 2023f045999..dafb40efda4 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/doc.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/doc.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/doc.go index a68eddec4bb..679d123c016 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_apps_client.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_apps_client.go index 684c0bb0ca8..d597da2cd23 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_apps_client.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_apps_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_cluster.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_cluster.go index e44167ec46a..bf18bab3083 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_cluster.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_cluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_clusterdefinition.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_clusterdefinition.go index 2338894f340..6fd3a94b6ce 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_clusterdefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_clusterdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_component.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_component.go index c298742d283..dfd89b24760 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_component.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_componentdefinition.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_componentdefinition.go index 0eb370f361f..80648c3dc0d 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_componentdefinition.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_componentdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_componentversion.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_componentversion.go index e2bc38b4601..5a8f94e749b 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_componentversion.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_componentversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_configconstraint.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_configconstraint.go index 938a449a506..7b1deae853b 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_configconstraint.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_configconstraint.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_servicedescriptor.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_servicedescriptor.go index 05593375292..61be23e8773 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_servicedescriptor.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_servicedescriptor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/generated_expansion.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/generated_expansion.go index 048190da4fd..9a15bbecd38 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/servicedescriptor.go b/pkg/client/clientset/versioned/typed/apps/v1alpha1/servicedescriptor.go index 83eb0863738..b134090bc1d 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/servicedescriptor.go +++ b/pkg/client/clientset/versioned/typed/apps/v1alpha1/servicedescriptor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1beta1/apps_client.go b/pkg/client/clientset/versioned/typed/apps/v1beta1/apps_client.go index a9a1c0b05f1..bb26bdd3cb9 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1beta1/apps_client.go +++ b/pkg/client/clientset/versioned/typed/apps/v1beta1/apps_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1beta1/configconstraint.go b/pkg/client/clientset/versioned/typed/apps/v1beta1/configconstraint.go index c5aca57230c..85ec2a89021 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1beta1/configconstraint.go +++ b/pkg/client/clientset/versioned/typed/apps/v1beta1/configconstraint.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1beta1/doc.go b/pkg/client/clientset/versioned/typed/apps/v1beta1/doc.go index bfdad32dbf3..a3be951834c 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1beta1/doc.go +++ b/pkg/client/clientset/versioned/typed/apps/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/doc.go b/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/doc.go index a68eddec4bb..679d123c016 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/fake_apps_client.go b/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/fake_apps_client.go index 24064e1a7d6..2dd7c31dc89 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/fake_apps_client.go +++ b/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/fake_apps_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/fake_configconstraint.go b/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/fake_configconstraint.go index dec6fae0e15..7eb6d53042b 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/fake_configconstraint.go +++ b/pkg/client/clientset/versioned/typed/apps/v1beta1/fake/fake_configconstraint.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/apps/v1beta1/generated_expansion.go b/pkg/client/clientset/versioned/typed/apps/v1beta1/generated_expansion.go index c9142613f0d..5b245e829e3 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1beta1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/apps/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/actionset.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/actionset.go index 59c860d145d..5dd29ffef94 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/actionset.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/actionset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backup.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backup.go index 7738989a99b..035e822ee6e 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backup.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backup.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuppolicy.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuppolicy.go index 8d601616544..d3d6753ae70 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuppolicy.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuppolicy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuppolicytemplate.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuppolicytemplate.go index 5105a189748..8787c0bd184 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuppolicytemplate.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuppolicytemplate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuprepo.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuprepo.go index 63fa543e820..de044e0dba8 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuprepo.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backuprepo.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backupschedule.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backupschedule.go index 4e1799f4939..b30a6d10aee 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backupschedule.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/backupschedule.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/dataprotection_client.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/dataprotection_client.go index 01bab089e84..32b123a6d54 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/dataprotection_client.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/dataprotection_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/doc.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/doc.go index 2023f045999..dafb40efda4 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/doc.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/doc.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/doc.go index a68eddec4bb..679d123c016 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_actionset.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_actionset.go index c47decbd6d5..783ed3763f7 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_actionset.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_actionset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backup.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backup.go index 859fae93c17..0ac5f09e45a 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backup.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backup.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuppolicy.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuppolicy.go index 66c2b1f6733..14c1026d2ed 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuppolicy.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuppolicy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuppolicytemplate.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuppolicytemplate.go index 1bfd701919e..d2b6e0436a9 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuppolicytemplate.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuppolicytemplate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuprepo.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuprepo.go index e486444a874..5a352089954 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuprepo.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backuprepo.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backupschedule.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backupschedule.go index 9e5b81a4dc9..98b45a9b67f 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backupschedule.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_backupschedule.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_dataprotection_client.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_dataprotection_client.go index 705228b0a46..32950e045e4 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_dataprotection_client.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_dataprotection_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_restore.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_restore.go index 3a461e63846..678b0216a45 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_restore.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_restore.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_storageprovider.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_storageprovider.go index 669c98dab01..d4ba1702ed9 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_storageprovider.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/fake/fake_storageprovider.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/generated_expansion.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/generated_expansion.go index 5d8ce76f304..f676efb1130 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/restore.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/restore.go index dd0dd21f2a0..8bde0fd3dc8 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/restore.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/restore.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/storageprovider.go b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/storageprovider.go index cdcfca44ae1..5601881a11b 100644 --- a/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/storageprovider.go +++ b/pkg/client/clientset/versioned/typed/dataprotection/v1alpha1/storageprovider.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/addon.go b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/addon.go index a537098b0f4..96e0f1bf7ca 100644 --- a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/addon.go +++ b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/addon.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/doc.go b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/doc.go index 2023f045999..dafb40efda4 100644 --- a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/doc.go +++ b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/extensions_client.go b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/extensions_client.go index fe8617aae5b..5962d79cf16 100644 --- a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/extensions_client.go +++ b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/extensions_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/doc.go b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/doc.go index a68eddec4bb..679d123c016 100644 --- a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/fake_addon.go b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/fake_addon.go index 5d09f1fb932..071b8d751a0 100644 --- a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/fake_addon.go +++ b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/fake_addon.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/fake_extensions_client.go b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/fake_extensions_client.go index 46aa8c55e33..220bc87a7da 100644 --- a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/fake_extensions_client.go +++ b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/fake/fake_extensions_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/generated_expansion.go b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/generated_expansion.go index 05eaa6b846e..13cec216b21 100644 --- a/pkg/client/clientset/versioned/typed/extensions/v1alpha1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/extensions/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/doc.go b/pkg/client/clientset/versioned/typed/operations/v1alpha1/doc.go index 2023f045999..dafb40efda4 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/doc.go +++ b/pkg/client/clientset/versioned/typed/operations/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/doc.go b/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/doc.go index a68eddec4bb..679d123c016 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_operations_client.go b/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_operations_client.go index 0f2b1db3b77..69f331d2d6b 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_operations_client.go +++ b/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_operations_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_opsdefinition.go b/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_opsdefinition.go index a9310129db5..859a3d753d2 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_opsdefinition.go +++ b/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_opsdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_opsrequest.go b/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_opsrequest.go index 276e1989e09..ae188c39f37 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_opsrequest.go +++ b/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_opsrequest.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/generated_expansion.go b/pkg/client/clientset/versioned/typed/operations/v1alpha1/generated_expansion.go index 8c23e83cc3b..b5247ff991e 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/operations/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/operations_client.go b/pkg/client/clientset/versioned/typed/operations/v1alpha1/operations_client.go index 356f65da945..47d663dbd9f 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/operations_client.go +++ b/pkg/client/clientset/versioned/typed/operations/v1alpha1/operations_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/opsdefinition.go b/pkg/client/clientset/versioned/typed/operations/v1alpha1/opsdefinition.go index b62c96b15b8..5f562c76668 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/opsdefinition.go +++ b/pkg/client/clientset/versioned/typed/operations/v1alpha1/opsdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/opsrequest.go b/pkg/client/clientset/versioned/typed/operations/v1alpha1/opsrequest.go index a8a1f04e40f..2af052ef3fb 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/opsrequest.go +++ b/pkg/client/clientset/versioned/typed/operations/v1alpha1/opsrequest.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1/doc.go b/pkg/client/clientset/versioned/typed/workloads/v1/doc.go index 8a483cc3601..45c43d2dcfe 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1/doc.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1/fake/doc.go b/pkg/client/clientset/versioned/typed/workloads/v1/fake/doc.go index a68eddec4bb..679d123c016 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1/fake/fake_instanceset.go b/pkg/client/clientset/versioned/typed/workloads/v1/fake/fake_instanceset.go index 063ab796a9e..b3d327fc024 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1/fake/fake_instanceset.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1/fake/fake_instanceset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1/fake/fake_workloads_client.go b/pkg/client/clientset/versioned/typed/workloads/v1/fake/fake_workloads_client.go index afbfc458495..36a109ac8ba 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1/fake/fake_workloads_client.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1/fake/fake_workloads_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1/generated_expansion.go b/pkg/client/clientset/versioned/typed/workloads/v1/generated_expansion.go index 6694e8e5dfd..4f4f267593d 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1/instanceset.go b/pkg/client/clientset/versioned/typed/workloads/v1/instanceset.go index 7b53982d822..6aa06641a8f 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1/instanceset.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1/instanceset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1/workloads_client.go b/pkg/client/clientset/versioned/typed/workloads/v1/workloads_client.go index 7f39eb6afcf..00140d3225f 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1/workloads_client.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1/workloads_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/doc.go b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/doc.go index 2023f045999..dafb40efda4 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/doc.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/doc.go b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/doc.go index a68eddec4bb..679d123c016 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/fake_instanceset.go b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/fake_instanceset.go index 7c5e74e76d8..decb51e1f25 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/fake_instanceset.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/fake_instanceset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/fake_workloads_client.go b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/fake_workloads_client.go index 22ecfe337a2..d97f9f0f023 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/fake_workloads_client.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/fake/fake_workloads_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/generated_expansion.go b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/generated_expansion.go index 0951d90426f..6d527743273 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/instanceset.go b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/instanceset.go index 3bf4a04a03a..36209bed7e5 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/instanceset.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/instanceset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/workloads_client.go b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/workloads_client.go index f53afd8e127..bff80492916 100644 --- a/pkg/client/clientset/versioned/typed/workloads/v1alpha1/workloads_client.go +++ b/pkg/client/clientset/versioned/typed/workloads/v1alpha1/workloads_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/interface.go b/pkg/client/informers/externalversions/apps/interface.go index 6afe6cb30f7..00e485bbc6a 100644 --- a/pkg/client/informers/externalversions/apps/interface.go +++ b/pkg/client/informers/externalversions/apps/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1/cluster.go b/pkg/client/informers/externalversions/apps/v1/cluster.go index f1dcfd52931..109e8309915 100644 --- a/pkg/client/informers/externalversions/apps/v1/cluster.go +++ b/pkg/client/informers/externalversions/apps/v1/cluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1/clusterdefinition.go b/pkg/client/informers/externalversions/apps/v1/clusterdefinition.go index 4bf604e184d..7aae621103f 100644 --- a/pkg/client/informers/externalversions/apps/v1/clusterdefinition.go +++ b/pkg/client/informers/externalversions/apps/v1/clusterdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1/component.go b/pkg/client/informers/externalversions/apps/v1/component.go index d15ec715479..bbaba55d799 100644 --- a/pkg/client/informers/externalversions/apps/v1/component.go +++ b/pkg/client/informers/externalversions/apps/v1/component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1/componentdefinition.go b/pkg/client/informers/externalversions/apps/v1/componentdefinition.go index 33e565453d3..8eb48acc666 100644 --- a/pkg/client/informers/externalversions/apps/v1/componentdefinition.go +++ b/pkg/client/informers/externalversions/apps/v1/componentdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1/componentversion.go b/pkg/client/informers/externalversions/apps/v1/componentversion.go index 401ce4ce252..9caa99ed2c2 100644 --- a/pkg/client/informers/externalversions/apps/v1/componentversion.go +++ b/pkg/client/informers/externalversions/apps/v1/componentversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1/interface.go b/pkg/client/informers/externalversions/apps/v1/interface.go index 7928f9de710..04a55979d48 100644 --- a/pkg/client/informers/externalversions/apps/v1/interface.go +++ b/pkg/client/informers/externalversions/apps/v1/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1/servicedescriptor.go b/pkg/client/informers/externalversions/apps/v1/servicedescriptor.go index 70df06cd11e..28a7bdea370 100644 --- a/pkg/client/informers/externalversions/apps/v1/servicedescriptor.go +++ b/pkg/client/informers/externalversions/apps/v1/servicedescriptor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1/shardingdefinition.go b/pkg/client/informers/externalversions/apps/v1/shardingdefinition.go index 5e7c6333228..90ae418e16f 100644 --- a/pkg/client/informers/externalversions/apps/v1/shardingdefinition.go +++ b/pkg/client/informers/externalversions/apps/v1/shardingdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1/sidecardefinition.go b/pkg/client/informers/externalversions/apps/v1/sidecardefinition.go index 64b6abc90f9..c3755575b51 100644 --- a/pkg/client/informers/externalversions/apps/v1/sidecardefinition.go +++ b/pkg/client/informers/externalversions/apps/v1/sidecardefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/cluster.go b/pkg/client/informers/externalversions/apps/v1alpha1/cluster.go index 5a4650e1bcc..18095c8147e 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/cluster.go +++ b/pkg/client/informers/externalversions/apps/v1alpha1/cluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/clusterdefinition.go b/pkg/client/informers/externalversions/apps/v1alpha1/clusterdefinition.go index a25b12159a4..c54a067454a 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/clusterdefinition.go +++ b/pkg/client/informers/externalversions/apps/v1alpha1/clusterdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/component.go b/pkg/client/informers/externalversions/apps/v1alpha1/component.go index b9608a35261..2423f8723e0 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/component.go +++ b/pkg/client/informers/externalversions/apps/v1alpha1/component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/componentdefinition.go b/pkg/client/informers/externalversions/apps/v1alpha1/componentdefinition.go index d3fb348b6de..a99d7c916f6 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/componentdefinition.go +++ b/pkg/client/informers/externalversions/apps/v1alpha1/componentdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/componentversion.go b/pkg/client/informers/externalversions/apps/v1alpha1/componentversion.go index 38abecb4086..40a9b47b0ec 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/componentversion.go +++ b/pkg/client/informers/externalversions/apps/v1alpha1/componentversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/configconstraint.go b/pkg/client/informers/externalversions/apps/v1alpha1/configconstraint.go index bb53984edc7..266c861c020 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/configconstraint.go +++ b/pkg/client/informers/externalversions/apps/v1alpha1/configconstraint.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/interface.go b/pkg/client/informers/externalversions/apps/v1alpha1/interface.go index 9a6e1d50a71..91713b5604e 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/interface.go +++ b/pkg/client/informers/externalversions/apps/v1alpha1/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/servicedescriptor.go b/pkg/client/informers/externalversions/apps/v1alpha1/servicedescriptor.go index 3f5417a70d1..b82bc14dfe1 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/servicedescriptor.go +++ b/pkg/client/informers/externalversions/apps/v1alpha1/servicedescriptor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1beta1/configconstraint.go b/pkg/client/informers/externalversions/apps/v1beta1/configconstraint.go index f20a6ddfea2..a41338129ba 100644 --- a/pkg/client/informers/externalversions/apps/v1beta1/configconstraint.go +++ b/pkg/client/informers/externalversions/apps/v1beta1/configconstraint.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/apps/v1beta1/interface.go b/pkg/client/informers/externalversions/apps/v1beta1/interface.go index 12d3a6ebe8b..598338211be 100644 --- a/pkg/client/informers/externalversions/apps/v1beta1/interface.go +++ b/pkg/client/informers/externalversions/apps/v1beta1/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/dataprotection/interface.go b/pkg/client/informers/externalversions/dataprotection/interface.go index 0bf7182b563..d140574564b 100644 --- a/pkg/client/informers/externalversions/dataprotection/interface.go +++ b/pkg/client/informers/externalversions/dataprotection/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/dataprotection/v1alpha1/actionset.go b/pkg/client/informers/externalversions/dataprotection/v1alpha1/actionset.go index c6dce28907f..53b59630ab1 100644 --- a/pkg/client/informers/externalversions/dataprotection/v1alpha1/actionset.go +++ b/pkg/client/informers/externalversions/dataprotection/v1alpha1/actionset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/dataprotection/v1alpha1/backup.go b/pkg/client/informers/externalversions/dataprotection/v1alpha1/backup.go index d97b6bd7bf5..8894c27e58f 100644 --- a/pkg/client/informers/externalversions/dataprotection/v1alpha1/backup.go +++ b/pkg/client/informers/externalversions/dataprotection/v1alpha1/backup.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuppolicy.go b/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuppolicy.go index e2b75f0f9e1..3db55c4c66e 100644 --- a/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuppolicy.go +++ b/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuppolicy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuppolicytemplate.go b/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuppolicytemplate.go index 5f169a25fc5..10c1b8fbe4c 100644 --- a/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuppolicytemplate.go +++ b/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuppolicytemplate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuprepo.go b/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuprepo.go index 901cd4ba3c8..1bbbbaab101 100644 --- a/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuprepo.go +++ b/pkg/client/informers/externalversions/dataprotection/v1alpha1/backuprepo.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/dataprotection/v1alpha1/backupschedule.go b/pkg/client/informers/externalversions/dataprotection/v1alpha1/backupschedule.go index 7e300e935cc..cd45e1ac386 100644 --- a/pkg/client/informers/externalversions/dataprotection/v1alpha1/backupschedule.go +++ b/pkg/client/informers/externalversions/dataprotection/v1alpha1/backupschedule.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/dataprotection/v1alpha1/interface.go b/pkg/client/informers/externalversions/dataprotection/v1alpha1/interface.go index e7b4762591f..7d9ea3b8f30 100644 --- a/pkg/client/informers/externalversions/dataprotection/v1alpha1/interface.go +++ b/pkg/client/informers/externalversions/dataprotection/v1alpha1/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/dataprotection/v1alpha1/restore.go b/pkg/client/informers/externalversions/dataprotection/v1alpha1/restore.go index 639b092ef6c..ba979725fd4 100644 --- a/pkg/client/informers/externalversions/dataprotection/v1alpha1/restore.go +++ b/pkg/client/informers/externalversions/dataprotection/v1alpha1/restore.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/dataprotection/v1alpha1/storageprovider.go b/pkg/client/informers/externalversions/dataprotection/v1alpha1/storageprovider.go index db020b84dcb..7adb6a14378 100644 --- a/pkg/client/informers/externalversions/dataprotection/v1alpha1/storageprovider.go +++ b/pkg/client/informers/externalversions/dataprotection/v1alpha1/storageprovider.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/extensions/interface.go b/pkg/client/informers/externalversions/extensions/interface.go index 8c4f68d3609..6113796e7d7 100644 --- a/pkg/client/informers/externalversions/extensions/interface.go +++ b/pkg/client/informers/externalversions/extensions/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/extensions/v1alpha1/addon.go b/pkg/client/informers/externalversions/extensions/v1alpha1/addon.go index 2813cbf5436..68ec991ec18 100644 --- a/pkg/client/informers/externalversions/extensions/v1alpha1/addon.go +++ b/pkg/client/informers/externalversions/extensions/v1alpha1/addon.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/extensions/v1alpha1/interface.go b/pkg/client/informers/externalversions/extensions/v1alpha1/interface.go index 26b97fa74ad..8930b159c35 100644 --- a/pkg/client/informers/externalversions/extensions/v1alpha1/interface.go +++ b/pkg/client/informers/externalversions/extensions/v1alpha1/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/factory.go b/pkg/client/informers/externalversions/factory.go index 63f3f278254..e8219ee9bf2 100644 --- a/pkg/client/informers/externalversions/factory.go +++ b/pkg/client/informers/externalversions/factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/generic.go b/pkg/client/informers/externalversions/generic.go index 252816da30a..b77fcc24a2a 100644 --- a/pkg/client/informers/externalversions/generic.go +++ b/pkg/client/informers/externalversions/generic.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 62ef87597db..c7b727aa756 100644 --- a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/operations/interface.go b/pkg/client/informers/externalversions/operations/interface.go index b8b9ade7e6b..df319ff3734 100644 --- a/pkg/client/informers/externalversions/operations/interface.go +++ b/pkg/client/informers/externalversions/operations/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/operations/v1alpha1/interface.go b/pkg/client/informers/externalversions/operations/v1alpha1/interface.go index d9d7ee748aa..7eab478295d 100644 --- a/pkg/client/informers/externalversions/operations/v1alpha1/interface.go +++ b/pkg/client/informers/externalversions/operations/v1alpha1/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/operations/v1alpha1/opsdefinition.go b/pkg/client/informers/externalversions/operations/v1alpha1/opsdefinition.go index e04fc5cf36e..1fa97303efa 100644 --- a/pkg/client/informers/externalversions/operations/v1alpha1/opsdefinition.go +++ b/pkg/client/informers/externalversions/operations/v1alpha1/opsdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/operations/v1alpha1/opsrequest.go b/pkg/client/informers/externalversions/operations/v1alpha1/opsrequest.go index 84c6f84e0e2..e5feb13aa7d 100644 --- a/pkg/client/informers/externalversions/operations/v1alpha1/opsrequest.go +++ b/pkg/client/informers/externalversions/operations/v1alpha1/opsrequest.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/workloads/interface.go b/pkg/client/informers/externalversions/workloads/interface.go index 0cddbd504a1..cafb280a64e 100644 --- a/pkg/client/informers/externalversions/workloads/interface.go +++ b/pkg/client/informers/externalversions/workloads/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/workloads/v1/instanceset.go b/pkg/client/informers/externalversions/workloads/v1/instanceset.go index c84bc24e168..0beeb5ab58e 100644 --- a/pkg/client/informers/externalversions/workloads/v1/instanceset.go +++ b/pkg/client/informers/externalversions/workloads/v1/instanceset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/workloads/v1/interface.go b/pkg/client/informers/externalversions/workloads/v1/interface.go index b35825ba49b..baed02de1b4 100644 --- a/pkg/client/informers/externalversions/workloads/v1/interface.go +++ b/pkg/client/informers/externalversions/workloads/v1/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/workloads/v1alpha1/instanceset.go b/pkg/client/informers/externalversions/workloads/v1alpha1/instanceset.go index 4092008e663..370441920e0 100644 --- a/pkg/client/informers/externalversions/workloads/v1alpha1/instanceset.go +++ b/pkg/client/informers/externalversions/workloads/v1alpha1/instanceset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/workloads/v1alpha1/interface.go b/pkg/client/informers/externalversions/workloads/v1alpha1/interface.go index ff9b8134595..6513bda412e 100644 --- a/pkg/client/informers/externalversions/workloads/v1alpha1/interface.go +++ b/pkg/client/informers/externalversions/workloads/v1alpha1/interface.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1/cluster.go b/pkg/client/listers/apps/v1/cluster.go index 277977459b6..d26b873c991 100644 --- a/pkg/client/listers/apps/v1/cluster.go +++ b/pkg/client/listers/apps/v1/cluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1/clusterdefinition.go b/pkg/client/listers/apps/v1/clusterdefinition.go index 31c11eaf080..3eba5240b3d 100644 --- a/pkg/client/listers/apps/v1/clusterdefinition.go +++ b/pkg/client/listers/apps/v1/clusterdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1/component.go b/pkg/client/listers/apps/v1/component.go index 310a50e2743..a936852d0a4 100644 --- a/pkg/client/listers/apps/v1/component.go +++ b/pkg/client/listers/apps/v1/component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1/componentdefinition.go b/pkg/client/listers/apps/v1/componentdefinition.go index d8b0f7cd5a3..69fdaa7d2fa 100644 --- a/pkg/client/listers/apps/v1/componentdefinition.go +++ b/pkg/client/listers/apps/v1/componentdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1/componentversion.go b/pkg/client/listers/apps/v1/componentversion.go index e96a2243009..9350014041c 100644 --- a/pkg/client/listers/apps/v1/componentversion.go +++ b/pkg/client/listers/apps/v1/componentversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1/expansion_generated.go b/pkg/client/listers/apps/v1/expansion_generated.go index 5185a9eff43..eff78bb0273 100644 --- a/pkg/client/listers/apps/v1/expansion_generated.go +++ b/pkg/client/listers/apps/v1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1/servicedescriptor.go b/pkg/client/listers/apps/v1/servicedescriptor.go index 38bb7dd6669..d5a167094ae 100644 --- a/pkg/client/listers/apps/v1/servicedescriptor.go +++ b/pkg/client/listers/apps/v1/servicedescriptor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1/shardingdefinition.go b/pkg/client/listers/apps/v1/shardingdefinition.go index 191def35902..bcca80b5ec9 100644 --- a/pkg/client/listers/apps/v1/shardingdefinition.go +++ b/pkg/client/listers/apps/v1/shardingdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1/sidecardefinition.go b/pkg/client/listers/apps/v1/sidecardefinition.go index 399f6d4ff37..2560c24441d 100644 --- a/pkg/client/listers/apps/v1/sidecardefinition.go +++ b/pkg/client/listers/apps/v1/sidecardefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1alpha1/cluster.go b/pkg/client/listers/apps/v1alpha1/cluster.go index 21c0605846d..499e4470b48 100644 --- a/pkg/client/listers/apps/v1alpha1/cluster.go +++ b/pkg/client/listers/apps/v1alpha1/cluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1alpha1/clusterdefinition.go b/pkg/client/listers/apps/v1alpha1/clusterdefinition.go index b51f268edee..756fce49cd4 100644 --- a/pkg/client/listers/apps/v1alpha1/clusterdefinition.go +++ b/pkg/client/listers/apps/v1alpha1/clusterdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1alpha1/component.go b/pkg/client/listers/apps/v1alpha1/component.go index 78957a1564b..3d6bda795d5 100644 --- a/pkg/client/listers/apps/v1alpha1/component.go +++ b/pkg/client/listers/apps/v1alpha1/component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1alpha1/componentdefinition.go b/pkg/client/listers/apps/v1alpha1/componentdefinition.go index bfcb90d98e7..b0f0e9fcdb7 100644 --- a/pkg/client/listers/apps/v1alpha1/componentdefinition.go +++ b/pkg/client/listers/apps/v1alpha1/componentdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1alpha1/componentversion.go b/pkg/client/listers/apps/v1alpha1/componentversion.go index 7a03abf60ab..68268e4baa3 100644 --- a/pkg/client/listers/apps/v1alpha1/componentversion.go +++ b/pkg/client/listers/apps/v1alpha1/componentversion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1alpha1/configconstraint.go b/pkg/client/listers/apps/v1alpha1/configconstraint.go index e44352e1785..f5e7f9a2c20 100644 --- a/pkg/client/listers/apps/v1alpha1/configconstraint.go +++ b/pkg/client/listers/apps/v1alpha1/configconstraint.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1alpha1/expansion_generated.go b/pkg/client/listers/apps/v1alpha1/expansion_generated.go index 6e511be1e2d..8b4066883ff 100644 --- a/pkg/client/listers/apps/v1alpha1/expansion_generated.go +++ b/pkg/client/listers/apps/v1alpha1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1alpha1/servicedescriptor.go b/pkg/client/listers/apps/v1alpha1/servicedescriptor.go index 7b749849400..1473de1e4f9 100644 --- a/pkg/client/listers/apps/v1alpha1/servicedescriptor.go +++ b/pkg/client/listers/apps/v1alpha1/servicedescriptor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1beta1/configconstraint.go b/pkg/client/listers/apps/v1beta1/configconstraint.go index a8e76d8fd9c..3386b81a371 100644 --- a/pkg/client/listers/apps/v1beta1/configconstraint.go +++ b/pkg/client/listers/apps/v1beta1/configconstraint.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/apps/v1beta1/expansion_generated.go b/pkg/client/listers/apps/v1beta1/expansion_generated.go index ca546cfc90a..7acf6e565b9 100644 --- a/pkg/client/listers/apps/v1beta1/expansion_generated.go +++ b/pkg/client/listers/apps/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/dataprotection/v1alpha1/actionset.go b/pkg/client/listers/dataprotection/v1alpha1/actionset.go index ce9abfb7f23..80e45febba1 100644 --- a/pkg/client/listers/dataprotection/v1alpha1/actionset.go +++ b/pkg/client/listers/dataprotection/v1alpha1/actionset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/dataprotection/v1alpha1/backup.go b/pkg/client/listers/dataprotection/v1alpha1/backup.go index 7005e35ce34..94129216ee1 100644 --- a/pkg/client/listers/dataprotection/v1alpha1/backup.go +++ b/pkg/client/listers/dataprotection/v1alpha1/backup.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/dataprotection/v1alpha1/backuppolicy.go b/pkg/client/listers/dataprotection/v1alpha1/backuppolicy.go index c29be80bb4a..4f0a99c30fb 100644 --- a/pkg/client/listers/dataprotection/v1alpha1/backuppolicy.go +++ b/pkg/client/listers/dataprotection/v1alpha1/backuppolicy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/dataprotection/v1alpha1/backuppolicytemplate.go b/pkg/client/listers/dataprotection/v1alpha1/backuppolicytemplate.go index 3aeb3e189a5..b6efb662c63 100644 --- a/pkg/client/listers/dataprotection/v1alpha1/backuppolicytemplate.go +++ b/pkg/client/listers/dataprotection/v1alpha1/backuppolicytemplate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/dataprotection/v1alpha1/backuprepo.go b/pkg/client/listers/dataprotection/v1alpha1/backuprepo.go index 0b2fc7529cc..983cd4c3efd 100644 --- a/pkg/client/listers/dataprotection/v1alpha1/backuprepo.go +++ b/pkg/client/listers/dataprotection/v1alpha1/backuprepo.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/dataprotection/v1alpha1/backupschedule.go b/pkg/client/listers/dataprotection/v1alpha1/backupschedule.go index dd0dc376087..66fe258dff7 100644 --- a/pkg/client/listers/dataprotection/v1alpha1/backupschedule.go +++ b/pkg/client/listers/dataprotection/v1alpha1/backupschedule.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/dataprotection/v1alpha1/expansion_generated.go b/pkg/client/listers/dataprotection/v1alpha1/expansion_generated.go index 5d9ea21aaad..1d40e1cb396 100644 --- a/pkg/client/listers/dataprotection/v1alpha1/expansion_generated.go +++ b/pkg/client/listers/dataprotection/v1alpha1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/dataprotection/v1alpha1/restore.go b/pkg/client/listers/dataprotection/v1alpha1/restore.go index 8f9fbff17fb..83c4ed24167 100644 --- a/pkg/client/listers/dataprotection/v1alpha1/restore.go +++ b/pkg/client/listers/dataprotection/v1alpha1/restore.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/dataprotection/v1alpha1/storageprovider.go b/pkg/client/listers/dataprotection/v1alpha1/storageprovider.go index 3b0212d17c9..30c47a52fec 100644 --- a/pkg/client/listers/dataprotection/v1alpha1/storageprovider.go +++ b/pkg/client/listers/dataprotection/v1alpha1/storageprovider.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/extensions/v1alpha1/addon.go b/pkg/client/listers/extensions/v1alpha1/addon.go index 7415e04c5bc..a4ceb4e01e3 100644 --- a/pkg/client/listers/extensions/v1alpha1/addon.go +++ b/pkg/client/listers/extensions/v1alpha1/addon.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/extensions/v1alpha1/expansion_generated.go b/pkg/client/listers/extensions/v1alpha1/expansion_generated.go index 90068466bc4..c858ed67785 100644 --- a/pkg/client/listers/extensions/v1alpha1/expansion_generated.go +++ b/pkg/client/listers/extensions/v1alpha1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/operations/v1alpha1/expansion_generated.go b/pkg/client/listers/operations/v1alpha1/expansion_generated.go index e476708a91c..03d87407c30 100644 --- a/pkg/client/listers/operations/v1alpha1/expansion_generated.go +++ b/pkg/client/listers/operations/v1alpha1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/operations/v1alpha1/opsdefinition.go b/pkg/client/listers/operations/v1alpha1/opsdefinition.go index 0526ee2c65c..867945e868c 100644 --- a/pkg/client/listers/operations/v1alpha1/opsdefinition.go +++ b/pkg/client/listers/operations/v1alpha1/opsdefinition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/operations/v1alpha1/opsrequest.go b/pkg/client/listers/operations/v1alpha1/opsrequest.go index d2816bc9ba1..1021209a023 100644 --- a/pkg/client/listers/operations/v1alpha1/opsrequest.go +++ b/pkg/client/listers/operations/v1alpha1/opsrequest.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/workloads/v1/expansion_generated.go b/pkg/client/listers/workloads/v1/expansion_generated.go index 99daeb5158c..c263ca1a64c 100644 --- a/pkg/client/listers/workloads/v1/expansion_generated.go +++ b/pkg/client/listers/workloads/v1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/workloads/v1/instanceset.go b/pkg/client/listers/workloads/v1/instanceset.go index 9adad56ad56..c0a668cb0be 100644 --- a/pkg/client/listers/workloads/v1/instanceset.go +++ b/pkg/client/listers/workloads/v1/instanceset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/workloads/v1alpha1/expansion_generated.go b/pkg/client/listers/workloads/v1alpha1/expansion_generated.go index 848f870e8e6..e61fb0c457d 100644 --- a/pkg/client/listers/workloads/v1alpha1/expansion_generated.go +++ b/pkg/client/listers/workloads/v1alpha1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/workloads/v1alpha1/instanceset.go b/pkg/client/listers/workloads/v1alpha1/instanceset.go index f5341343d4f..d1ac6941ae0 100644 --- a/pkg/client/listers/workloads/v1alpha1/instanceset.go +++ b/pkg/client/listers/workloads/v1alpha1/instanceset.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/common/doc.go b/pkg/common/doc.go index 67b49f75ee4..d81f8d0ea7c 100644 --- a/pkg/common/doc.go +++ b/pkg/common/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/common/env_resolve.go b/pkg/common/env_resolve.go index 6e4e7d57bc5..a1384b5fd63 100644 --- a/pkg/common/env_resolve.go +++ b/pkg/common/env_resolve.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/common/expand.go b/pkg/common/expand.go index 3ff33c06c8c..109e8134575 100644 --- a/pkg/common/expand.go +++ b/pkg/common/expand.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/common/expand_test.go b/pkg/common/expand_test.go index b0a493c2964..2e296679162 100644 --- a/pkg/common/expand_test.go +++ b/pkg/common/expand_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/common/monitor.go b/pkg/common/monitor.go index b455d4041df..7de06cbe261 100644 --- a/pkg/common/monitor.go +++ b/pkg/common/monitor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/common/monitor_test.go b/pkg/common/monitor_test.go index 7c990d734ea..fb2905de410 100644 --- a/pkg/common/monitor_test.go +++ b/pkg/common/monitor_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/common/openapiv3schema.go b/pkg/common/openapiv3schema.go index f684c63739f..bbd04ef37fc 100644 --- a/pkg/common/openapiv3schema.go +++ b/pkg/common/openapiv3schema.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/common/password.go b/pkg/common/password.go index 9b9d5428a8f..1b169d84084 100644 --- a/pkg/common/password.go +++ b/pkg/common/password.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/common/password_test.go b/pkg/common/password_test.go index 06c806a062b..6cbd1f3a65b 100644 --- a/pkg/common/password_test.go +++ b/pkg/common/password_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/common/types.go b/pkg/common/types.go index 9b717fa6c2b..6bbb506a671 100644 --- a/pkg/common/types.go +++ b/pkg/common/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/common/utils.go b/pkg/common/utils.go index b0dfb733139..aadb8109eaf 100644 --- a/pkg/common/utils.go +++ b/pkg/common/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/builder.go b/pkg/configuration/config_manager/builder.go index 383a9f4fdab..0df468a239d 100644 --- a/pkg/configuration/config_manager/builder.go +++ b/pkg/configuration/config_manager/builder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/builder_test.go b/pkg/configuration/config_manager/builder_test.go index ade5da8b0dc..d53bbb20f4f 100644 --- a/pkg/configuration/config_manager/builder_test.go +++ b/pkg/configuration/config_manager/builder_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/config_handler.go b/pkg/configuration/config_manager/config_handler.go index 2fb9c1665eb..cd1fb775b03 100644 --- a/pkg/configuration/config_manager/config_handler.go +++ b/pkg/configuration/config_manager/config_handler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/config_handler_test.go b/pkg/configuration/config_manager/config_handler_test.go index 37d86851352..c91df2320c2 100644 --- a/pkg/configuration/config_manager/config_handler_test.go +++ b/pkg/configuration/config_manager/config_handler_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/files.go b/pkg/configuration/config_manager/files.go index af69b349273..102141f42ff 100644 --- a/pkg/configuration/config_manager/files.go +++ b/pkg/configuration/config_manager/files.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/files_test.go b/pkg/configuration/config_manager/files_test.go index 43f930a56bb..c24804d36a4 100644 --- a/pkg/configuration/config_manager/files_test.go +++ b/pkg/configuration/config_manager/files_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/handler_util.go b/pkg/configuration/config_manager/handler_util.go index 5fe21f070fb..beb9b58dfc1 100644 --- a/pkg/configuration/config_manager/handler_util.go +++ b/pkg/configuration/config_manager/handler_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/handler_util_test.go b/pkg/configuration/config_manager/handler_util_test.go index 81320ee0310..e567e8489a9 100644 --- a/pkg/configuration/config_manager/handler_util_test.go +++ b/pkg/configuration/config_manager/handler_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/logger.go b/pkg/configuration/config_manager/logger.go index e649253ec2b..0d93dc1b559 100644 --- a/pkg/configuration/config_manager/logger.go +++ b/pkg/configuration/config_manager/logger.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/proc_util.go b/pkg/configuration/config_manager/proc_util.go index ec972dd0f72..602728c2ce7 100644 --- a/pkg/configuration/config_manager/proc_util.go +++ b/pkg/configuration/config_manager/proc_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/proc_util_test.go b/pkg/configuration/config_manager/proc_util_test.go index 508dabc8f53..dc1e50e8a3e 100644 --- a/pkg/configuration/config_manager/proc_util_test.go +++ b/pkg/configuration/config_manager/proc_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/reconfiguring_wrapper.go b/pkg/configuration/config_manager/reconfiguring_wrapper.go index 62b29ee6854..515df1cc617 100644 --- a/pkg/configuration/config_manager/reconfiguring_wrapper.go +++ b/pkg/configuration/config_manager/reconfiguring_wrapper.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/reconfiguring_wrapper_test.go b/pkg/configuration/config_manager/reconfiguring_wrapper_test.go index 6b2fc62ab6d..80e8ef8d200 100644 --- a/pkg/configuration/config_manager/reconfiguring_wrapper_test.go +++ b/pkg/configuration/config_manager/reconfiguring_wrapper_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/reload_util.go b/pkg/configuration/config_manager/reload_util.go index 83f718532be..91fd635c782 100644 --- a/pkg/configuration/config_manager/reload_util.go +++ b/pkg/configuration/config_manager/reload_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/reload_util_test.go b/pkg/configuration/config_manager/reload_util_test.go index 8e1bda2f461..dd198c7dadc 100644 --- a/pkg/configuration/config_manager/reload_util_test.go +++ b/pkg/configuration/config_manager/reload_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/signal.go b/pkg/configuration/config_manager/signal.go index e7e58b0e57e..08c065d64b5 100644 --- a/pkg/configuration/config_manager/signal.go +++ b/pkg/configuration/config_manager/signal.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/signal_darwin.go b/pkg/configuration/config_manager/signal_darwin.go index bfe8c48463d..2417cedca95 100644 --- a/pkg/configuration/config_manager/signal_darwin.go +++ b/pkg/configuration/config_manager/signal_darwin.go @@ -1,7 +1,7 @@ //go:build darwin /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/signal_linux.go b/pkg/configuration/config_manager/signal_linux.go index df1ad1da5b1..ce038081562 100644 --- a/pkg/configuration/config_manager/signal_linux.go +++ b/pkg/configuration/config_manager/signal_linux.go @@ -1,7 +1,7 @@ //go:build linux /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/signal_test.go b/pkg/configuration/config_manager/signal_test.go index 9b3fdeae6e0..411c08076c9 100644 --- a/pkg/configuration/config_manager/signal_test.go +++ b/pkg/configuration/config_manager/signal_test.go @@ -1,7 +1,7 @@ //go:build linux || darwin /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/signal_windows.go b/pkg/configuration/config_manager/signal_windows.go index 10fdd2f30f8..1956d2f4bc1 100644 --- a/pkg/configuration/config_manager/signal_windows.go +++ b/pkg/configuration/config_manager/signal_windows.go @@ -1,7 +1,7 @@ //go:build windows /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/suite_test.go b/pkg/configuration/config_manager/suite_test.go index cd858df800e..df7c27b0777 100644 --- a/pkg/configuration/config_manager/suite_test.go +++ b/pkg/configuration/config_manager/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/type.go b/pkg/configuration/config_manager/type.go index 7ef426b01b6..f3022f06bb1 100644 --- a/pkg/configuration/config_manager/type.go +++ b/pkg/configuration/config_manager/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/volume_watcher.go b/pkg/configuration/config_manager/volume_watcher.go index 6972e0c5c3b..35e8f0c7630 100644 --- a/pkg/configuration/config_manager/volume_watcher.go +++ b/pkg/configuration/config_manager/volume_watcher.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/config_manager/volume_watcher_test.go b/pkg/configuration/config_manager/volume_watcher_test.go index b68679d8290..a9b5a61e84f 100644 --- a/pkg/configuration/config_manager/volume_watcher_test.go +++ b/pkg/configuration/config_manager/volume_watcher_test.go @@ -1,7 +1,7 @@ //go:build linux || darwin /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/container/container_kill.go b/pkg/configuration/container/container_kill.go index b0a26f78012..6b4c92e7708 100644 --- a/pkg/configuration/container/container_kill.go +++ b/pkg/configuration/container/container_kill.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/container/container_kill_test.go b/pkg/configuration/container/container_kill_test.go index 80195b988d2..dfd22c0aaee 100644 --- a/pkg/configuration/container/container_kill_test.go +++ b/pkg/configuration/container/container_kill_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/container/container_util.go b/pkg/configuration/container/container_util.go index a452b608e74..72a8049f97d 100644 --- a/pkg/configuration/container/container_util.go +++ b/pkg/configuration/container/container_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/container/container_util_test.go b/pkg/configuration/container/container_util_test.go index f7ca7853113..de2cfec523e 100644 --- a/pkg/configuration/container/container_util_test.go +++ b/pkg/configuration/container/container_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/container/mocks/generate.go b/pkg/configuration/container/mocks/generate.go index 995c0e03211..2bfc7c34694 100644 --- a/pkg/configuration/container/mocks/generate.go +++ b/pkg/configuration/container/mocks/generate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/container/type.go b/pkg/configuration/container/type.go index f98fee77e5c..0df3110c36c 100644 --- a/pkg/configuration/container/type.go +++ b/pkg/configuration/container/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config.go b/pkg/configuration/core/config.go index 7cf55abd4ff..0e65bb95801 100644 --- a/pkg/configuration/core/config.go +++ b/pkg/configuration/core/config.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_patch.go b/pkg/configuration/core/config_patch.go index e633c4d93f0..952e75b5bec 100644 --- a/pkg/configuration/core/config_patch.go +++ b/pkg/configuration/core/config_patch.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_patch_option.go b/pkg/configuration/core/config_patch_option.go index 6bb5ae6b0eb..f53eb1136bb 100644 --- a/pkg/configuration/core/config_patch_option.go +++ b/pkg/configuration/core/config_patch_option.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_patch_option_test.go b/pkg/configuration/core/config_patch_option_test.go index 591c8083adc..58f4f776ae6 100644 --- a/pkg/configuration/core/config_patch_option_test.go +++ b/pkg/configuration/core/config_patch_option_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_patch_test.go b/pkg/configuration/core/config_patch_test.go index 21ea978dc65..887a228e384 100644 --- a/pkg/configuration/core/config_patch_test.go +++ b/pkg/configuration/core/config_patch_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_patch_util.go b/pkg/configuration/core/config_patch_util.go index df69bcdb067..349e2de960a 100644 --- a/pkg/configuration/core/config_patch_util.go +++ b/pkg/configuration/core/config_patch_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_patch_util_test.go b/pkg/configuration/core/config_patch_util_test.go index e6d50786f6a..331f8a9a262 100644 --- a/pkg/configuration/core/config_patch_util_test.go +++ b/pkg/configuration/core/config_patch_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_query.go b/pkg/configuration/core/config_query.go index 46f3369c9a6..384548812cb 100644 --- a/pkg/configuration/core/config_query.go +++ b/pkg/configuration/core/config_query.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_query_test.go b/pkg/configuration/core/config_query_test.go index 5eac6bacdeb..6fc20099c34 100644 --- a/pkg/configuration/core/config_query_test.go +++ b/pkg/configuration/core/config_query_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_test.go b/pkg/configuration/core/config_test.go index fb77c15ee0d..924e6e443f0 100644 --- a/pkg/configuration/core/config_test.go +++ b/pkg/configuration/core/config_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_util.go b/pkg/configuration/core/config_util.go index 54cc6dfceac..27bff5a532d 100644 --- a/pkg/configuration/core/config_util.go +++ b/pkg/configuration/core/config_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/config_util_test.go b/pkg/configuration/core/config_util_test.go index dc5674bec33..88f35fafdff 100644 --- a/pkg/configuration/core/config_util_test.go +++ b/pkg/configuration/core/config_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/constraint.go b/pkg/configuration/core/constraint.go index c55fc5812f6..112d2a2b30d 100644 --- a/pkg/configuration/core/constraint.go +++ b/pkg/configuration/core/constraint.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/error.go b/pkg/configuration/core/error.go index 710219b73ac..d2b10ceb736 100644 --- a/pkg/configuration/core/error.go +++ b/pkg/configuration/core/error.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/reconfigure_util.go b/pkg/configuration/core/reconfigure_util.go index ae294f109e6..b267afd0c30 100644 --- a/pkg/configuration/core/reconfigure_util.go +++ b/pkg/configuration/core/reconfigure_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/reconfigure_util_test.go b/pkg/configuration/core/reconfigure_util_test.go index 8cd97559ea3..a8b7e27fd0d 100644 --- a/pkg/configuration/core/reconfigure_util_test.go +++ b/pkg/configuration/core/reconfigure_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/suite_test.go b/pkg/configuration/core/suite_test.go index 2512f445d58..07f9e5ec401 100644 --- a/pkg/configuration/core/suite_test.go +++ b/pkg/configuration/core/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/type.go b/pkg/configuration/core/type.go index 795923b9216..c520ce5053d 100644 --- a/pkg/configuration/core/type.go +++ b/pkg/configuration/core/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/core/type_test.go b/pkg/configuration/core/type_test.go index 6a84c588df5..78b37436f6c 100644 --- a/pkg/configuration/core/type_test.go +++ b/pkg/configuration/core/type_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/openapi/cue_gen_openapi.go b/pkg/configuration/openapi/cue_gen_openapi.go index 2c98e27261b..6ab8fc53e23 100644 --- a/pkg/configuration/openapi/cue_gen_openapi.go +++ b/pkg/configuration/openapi/cue_gen_openapi.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/openapi/cue_gen_openapi_test.go b/pkg/configuration/openapi/cue_gen_openapi_test.go index eb126cf21eb..1bd6ce07698 100644 --- a/pkg/configuration/openapi/cue_gen_openapi_test.go +++ b/pkg/configuration/openapi/cue_gen_openapi_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/openapi/flatten.go b/pkg/configuration/openapi/flatten.go index d27030616a3..0c22b4442ff 100644 --- a/pkg/configuration/openapi/flatten.go +++ b/pkg/configuration/openapi/flatten.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/openapi/flatten_test.go b/pkg/configuration/openapi/flatten_test.go index 82ccd452b6e..47756e0ead9 100644 --- a/pkg/configuration/openapi/flatten_test.go +++ b/pkg/configuration/openapi/flatten_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/openapi/runtime.go b/pkg/configuration/openapi/runtime.go index ad49463eee4..2953b299e18 100644 --- a/pkg/configuration/openapi/runtime.go +++ b/pkg/configuration/openapi/runtime.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/openapi/runtime_test.go b/pkg/configuration/openapi/runtime_test.go index 1c4c1b3f52e..560719d072a 100644 --- a/pkg/configuration/openapi/runtime_test.go +++ b/pkg/configuration/openapi/runtime_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/openapi/utils.go b/pkg/configuration/openapi/utils.go index 4a4151050d3..57a7db0e784 100644 --- a/pkg/configuration/openapi/utils.go +++ b/pkg/configuration/openapi/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/openapi/utils_test.go b/pkg/configuration/openapi/utils_test.go index b22675f9d56..c3c5b9c50d2 100644 --- a/pkg/configuration/openapi/utils_test.go +++ b/pkg/configuration/openapi/utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/proto/generate.go b/pkg/configuration/proto/generate.go index cfebc85a942..45b07382e95 100644 --- a/pkg/configuration/proto/generate.go +++ b/pkg/configuration/proto/generate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/proto/mocks/generate.go b/pkg/configuration/proto/mocks/generate.go index 771547859bf..ef0d9bb969e 100644 --- a/pkg/configuration/proto/mocks/generate.go +++ b/pkg/configuration/proto/mocks/generate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/file_util.go b/pkg/configuration/util/file_util.go index f35df263bc3..aa1adf3cd67 100644 --- a/pkg/configuration/util/file_util.go +++ b/pkg/configuration/util/file_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/file_util_test.go b/pkg/configuration/util/file_util_test.go index 2635bae2a4f..1eaaae95122 100644 --- a/pkg/configuration/util/file_util_test.go +++ b/pkg/configuration/util/file_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/hash.go b/pkg/configuration/util/hash.go index 21f9a1d9109..ec7510305fd 100644 --- a/pkg/configuration/util/hash.go +++ b/pkg/configuration/util/hash.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/hash_test.go b/pkg/configuration/util/hash_test.go index cd67fd59b1e..0934a818a5b 100644 --- a/pkg/configuration/util/hash_test.go +++ b/pkg/configuration/util/hash_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/jsonpath.go b/pkg/configuration/util/jsonpath.go index d6b37f05672..27487553ad5 100644 --- a/pkg/configuration/util/jsonpath.go +++ b/pkg/configuration/util/jsonpath.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/jsonpath_test.go b/pkg/configuration/util/jsonpath_test.go index 6bfb061fe85..ee81d6b3ac9 100644 --- a/pkg/configuration/util/jsonpath_test.go +++ b/pkg/configuration/util/jsonpath_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/math.go b/pkg/configuration/util/math.go index 23736da8ac4..dbe629c1ba6 100644 --- a/pkg/configuration/util/math.go +++ b/pkg/configuration/util/math.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/math_test.go b/pkg/configuration/util/math_test.go index b78af5e3c3f..34f92f4f4a1 100644 --- a/pkg/configuration/util/math_test.go +++ b/pkg/configuration/util/math_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/pointer.go b/pkg/configuration/util/pointer.go index 61bcbe6ed22..b3120601bb5 100644 --- a/pkg/configuration/util/pointer.go +++ b/pkg/configuration/util/pointer.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/pointer_test.go b/pkg/configuration/util/pointer_test.go index 5efd5660c9d..38d0a7dba93 100644 --- a/pkg/configuration/util/pointer_test.go +++ b/pkg/configuration/util/pointer_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/set.go b/pkg/configuration/util/set.go index 6cf02361de6..97fe811000d 100644 --- a/pkg/configuration/util/set.go +++ b/pkg/configuration/util/set.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/set_test.go b/pkg/configuration/util/set_test.go index 49c14a17212..ce69400a4a7 100644 --- a/pkg/configuration/util/set_test.go +++ b/pkg/configuration/util/set_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/shell_util.go b/pkg/configuration/util/shell_util.go index 2febb15aa72..80761084deb 100644 --- a/pkg/configuration/util/shell_util.go +++ b/pkg/configuration/util/shell_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/shell_util_test.go b/pkg/configuration/util/shell_util_test.go index d72f695bfc9..4c071b80e37 100644 --- a/pkg/configuration/util/shell_util_test.go +++ b/pkg/configuration/util/shell_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/unstructured.go b/pkg/configuration/util/unstructured.go index 398b7de688b..2daa6f1d792 100644 --- a/pkg/configuration/util/unstructured.go +++ b/pkg/configuration/util/unstructured.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/util/unstructured_test.go b/pkg/configuration/util/unstructured_test.go index ecf2d9ac10a..730d9bed8c7 100644 --- a/pkg/configuration/util/unstructured_test.go +++ b/pkg/configuration/util/unstructured_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/validate/config_validate.go b/pkg/configuration/validate/config_validate.go index 957b7a3effd..c28717caeac 100644 --- a/pkg/configuration/validate/config_validate.go +++ b/pkg/configuration/validate/config_validate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/validate/config_validate_test.go b/pkg/configuration/validate/config_validate_test.go index 06b21aaa59e..6ef6ead3cc2 100644 --- a/pkg/configuration/validate/config_validate_test.go +++ b/pkg/configuration/validate/config_validate_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/validate/cue_util.go b/pkg/configuration/validate/cue_util.go index 23cedb6c713..5d3dc9d2088 100644 --- a/pkg/configuration/validate/cue_util.go +++ b/pkg/configuration/validate/cue_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/validate/cue_util_test.go b/pkg/configuration/validate/cue_util_test.go index c7a1b4b6961..1806bee5518 100644 --- a/pkg/configuration/validate/cue_util_test.go +++ b/pkg/configuration/validate/cue_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/validate/cue_visitor.go b/pkg/configuration/validate/cue_visitor.go index 88908f82339..cafeb454c18 100644 --- a/pkg/configuration/validate/cue_visitor.go +++ b/pkg/configuration/validate/cue_visitor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/validate/cue_visitor_test.go b/pkg/configuration/validate/cue_visitor_test.go index 04f0bd6d380..def4d31730f 100644 --- a/pkg/configuration/validate/cue_visitor_test.go +++ b/pkg/configuration/validate/cue_visitor_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/validate/cuelang_expansion.go b/pkg/configuration/validate/cuelang_expansion.go index b5a13e3392c..b4d2c2d8088 100644 --- a/pkg/configuration/validate/cuelang_expansion.go +++ b/pkg/configuration/validate/cuelang_expansion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/validate/utils.go b/pkg/configuration/validate/utils.go index e02408f2664..add090d2dfe 100644 --- a/pkg/configuration/validate/utils.go +++ b/pkg/configuration/validate/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/configuration/validate/utils_test.go b/pkg/configuration/validate/utils_test.go index 24d4ddfc022..9d8116b7cf6 100644 --- a/pkg/configuration/validate/utils_test.go +++ b/pkg/configuration/validate/utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/annotations.go b/pkg/constant/annotations.go index 2bf81392069..025fbf56a70 100644 --- a/pkg/constant/annotations.go +++ b/pkg/constant/annotations.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/backup.go b/pkg/constant/backup.go index 9ded2714778..4ab6d5032bc 100755 --- a/pkg/constant/backup.go +++ b/pkg/constant/backup.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/config.go b/pkg/constant/config.go index cfc81b2fa32..35004462884 100644 --- a/pkg/constant/config.go +++ b/pkg/constant/config.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/constant/const.go b/pkg/constant/const.go index ee517475f19..0e1f93428cb 100644 --- a/pkg/constant/const.go +++ b/pkg/constant/const.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/env.go b/pkg/constant/env.go index d59975c146a..69820fe04e9 100644 --- a/pkg/constant/env.go +++ b/pkg/constant/env.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/errors.go b/pkg/constant/errors.go index 0cff83e73e0..54e11b3e243 100644 --- a/pkg/constant/errors.go +++ b/pkg/constant/errors.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/finalizer.go b/pkg/constant/finalizer.go index 904f6e0dd98..671944f2960 100644 --- a/pkg/constant/finalizer.go +++ b/pkg/constant/finalizer.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/flag.go b/pkg/constant/flag.go index aafd5c1c5f4..a0ed694285b 100644 --- a/pkg/constant/flag.go +++ b/pkg/constant/flag.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/labels.go b/pkg/constant/labels.go index 3a5b3801f97..3c550fec371 100644 --- a/pkg/constant/labels.go +++ b/pkg/constant/labels.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/ops.go b/pkg/constant/ops.go index da1a62d8cac..a1836939430 100644 --- a/pkg/constant/ops.go +++ b/pkg/constant/ops.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/pattern.go b/pkg/constant/pattern.go index e31d3c0604c..c9c2067f6a1 100644 --- a/pkg/constant/pattern.go +++ b/pkg/constant/pattern.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/payload.go b/pkg/constant/payload.go index 8de78bfb441..e93f296c727 100644 --- a/pkg/constant/payload.go +++ b/pkg/constant/payload.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/role.go b/pkg/constant/role.go index 82cfa46d1c2..ce9bdc97230 100644 --- a/pkg/constant/role.go +++ b/pkg/constant/role.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/service_descriptor.go b/pkg/constant/service_descriptor.go index 76805dee6e6..fbfc686e986 100644 --- a/pkg/constant/service_descriptor.go +++ b/pkg/constant/service_descriptor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/service_kind.go b/pkg/constant/service_kind.go index 9b0ddf09e11..622b99b8c62 100644 --- a/pkg/constant/service_kind.go +++ b/pkg/constant/service_kind.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/constant/viper_config.go b/pkg/constant/viper_config.go index 7bfd2590c72..022d7f7c725 100644 --- a/pkg/constant/viper_config.go +++ b/pkg/constant/viper_config.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_backup.go b/pkg/controller/builder/builder_backup.go index 62d97cd8c13..04ad4365f73 100644 --- a/pkg/controller/builder/builder_backup.go +++ b/pkg/controller/builder/builder_backup.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_backup_test.go b/pkg/controller/builder/builder_backup_test.go index 6688eec1a19..c021a69e3a4 100644 --- a/pkg/controller/builder/builder_backup_test.go +++ b/pkg/controller/builder/builder_backup_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_base.go b/pkg/controller/builder/builder_base.go index e85e787fe82..424463855f6 100644 --- a/pkg/controller/builder/builder_base.go +++ b/pkg/controller/builder/builder_base.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_base_test.go b/pkg/controller/builder/builder_base_test.go index 8dff9c8854a..011603293f1 100644 --- a/pkg/controller/builder/builder_base_test.go +++ b/pkg/controller/builder/builder_base_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_cluster.go b/pkg/controller/builder/builder_cluster.go index e0e061718b3..7a65e535ff9 100644 --- a/pkg/controller/builder/builder_cluster.go +++ b/pkg/controller/builder/builder_cluster.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_cluster_test.go b/pkg/controller/builder/builder_cluster_test.go index 1ef9410b593..289be05291c 100644 --- a/pkg/controller/builder/builder_cluster_test.go +++ b/pkg/controller/builder/builder_cluster_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_component.go b/pkg/controller/builder/builder_component.go index 3b67c7a382d..0dca6ce9b92 100644 --- a/pkg/controller/builder/builder_component.go +++ b/pkg/controller/builder/builder_component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_component_definition.go b/pkg/controller/builder/builder_component_definition.go index e845e632c4f..84f09963db9 100644 --- a/pkg/controller/builder/builder_component_definition.go +++ b/pkg/controller/builder/builder_component_definition.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_configmap.go b/pkg/controller/builder/builder_configmap.go index 2147db82ed3..b0081156981 100644 --- a/pkg/controller/builder/builder_configmap.go +++ b/pkg/controller/builder/builder_configmap.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_configmap_test.go b/pkg/controller/builder/builder_configmap_test.go index 3a9fd4366f4..a5f1744cd47 100644 --- a/pkg/controller/builder/builder_configmap_test.go +++ b/pkg/controller/builder/builder_configmap_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_configuration.go b/pkg/controller/builder/builder_configuration.go index da28ba167a6..4f25500353d 100644 --- a/pkg/controller/builder/builder_configuration.go +++ b/pkg/controller/builder/builder_configuration.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_configuration_test.go b/pkg/controller/builder/builder_configuration_test.go index 2f66f308483..26a6954e657 100644 --- a/pkg/controller/builder/builder_configuration_test.go +++ b/pkg/controller/builder/builder_configuration_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_container.go b/pkg/controller/builder/builder_container.go index 79757d3b8e4..e191d791319 100644 --- a/pkg/controller/builder/builder_container.go +++ b/pkg/controller/builder/builder_container.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_container_test.go b/pkg/controller/builder/builder_container_test.go index a83d987098f..6d4cbd70bdb 100644 --- a/pkg/controller/builder/builder_container_test.go +++ b/pkg/controller/builder/builder_container_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_event.go b/pkg/controller/builder/builder_event.go index 773a6f220b7..23a07aca45d 100644 --- a/pkg/controller/builder/builder_event.go +++ b/pkg/controller/builder/builder_event.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_event_test.go b/pkg/controller/builder/builder_event_test.go index 801fd5b6ce3..b5e8d774d07 100644 --- a/pkg/controller/builder/builder_event_test.go +++ b/pkg/controller/builder/builder_event_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_instance_set.go b/pkg/controller/builder/builder_instance_set.go index 6afc1a06e2d..8a13fa87631 100644 --- a/pkg/controller/builder/builder_instance_set.go +++ b/pkg/controller/builder/builder_instance_set.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_instance_set_test.go b/pkg/controller/builder/builder_instance_set_test.go index 85aa5289d77..06de70a57be 100644 --- a/pkg/controller/builder/builder_instance_set_test.go +++ b/pkg/controller/builder/builder_instance_set_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_job.go b/pkg/controller/builder/builder_job.go index e4603571f17..d81fa8626a6 100644 --- a/pkg/controller/builder/builder_job.go +++ b/pkg/controller/builder/builder_job.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_job_test.go b/pkg/controller/builder/builder_job_test.go index 9a8753ff66a..02f221f82f9 100644 --- a/pkg/controller/builder/builder_job_test.go +++ b/pkg/controller/builder/builder_job_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_node_count_scaler.go b/pkg/controller/builder/builder_node_count_scaler.go index b5b2e208113..c7fcf2447fd 100644 --- a/pkg/controller/builder/builder_node_count_scaler.go +++ b/pkg/controller/builder/builder_node_count_scaler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_node_count_scaler_test.go b/pkg/controller/builder/builder_node_count_scaler_test.go index 45bbc2d48d6..b296638ffaf 100644 --- a/pkg/controller/builder/builder_node_count_scaler_test.go +++ b/pkg/controller/builder/builder_node_count_scaler_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_pod.go b/pkg/controller/builder/builder_pod.go index 192e3d196c1..3f3c024f24a 100644 --- a/pkg/controller/builder/builder_pod.go +++ b/pkg/controller/builder/builder_pod.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_pod_test.go b/pkg/controller/builder/builder_pod_test.go index da4d9e6cbf1..12331ba6ec2 100644 --- a/pkg/controller/builder/builder_pod_test.go +++ b/pkg/controller/builder/builder_pod_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_pvc.go b/pkg/controller/builder/builder_pvc.go index 8512deb3cce..f24dc4a6d72 100644 --- a/pkg/controller/builder/builder_pvc.go +++ b/pkg/controller/builder/builder_pvc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_pvc_test.go b/pkg/controller/builder/builder_pvc_test.go index 7edd015cf2d..54b70751be0 100644 --- a/pkg/controller/builder/builder_pvc_test.go +++ b/pkg/controller/builder/builder_pvc_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_role.go b/pkg/controller/builder/builder_role.go index dfacc0df388..7273b84a75f 100644 --- a/pkg/controller/builder/builder_role.go +++ b/pkg/controller/builder/builder_role.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_role_binding.go b/pkg/controller/builder/builder_role_binding.go index 7f0af8fce56..5f27aa09614 100644 --- a/pkg/controller/builder/builder_role_binding.go +++ b/pkg/controller/builder/builder_role_binding.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_role_binding_test.go b/pkg/controller/builder/builder_role_binding_test.go index 6c4dc217437..03b2c63c5de 100644 --- a/pkg/controller/builder/builder_role_binding_test.go +++ b/pkg/controller/builder/builder_role_binding_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_role_test.go b/pkg/controller/builder/builder_role_test.go index 95fe8544d85..a5ab2abf63b 100644 --- a/pkg/controller/builder/builder_role_test.go +++ b/pkg/controller/builder/builder_role_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_secret.go b/pkg/controller/builder/builder_secret.go index f60971992ff..d2b3f1bcc83 100644 --- a/pkg/controller/builder/builder_secret.go +++ b/pkg/controller/builder/builder_secret.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_secret_test.go b/pkg/controller/builder/builder_secret_test.go index f67931ce7f5..dfd21a91eed 100644 --- a/pkg/controller/builder/builder_secret_test.go +++ b/pkg/controller/builder/builder_secret_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_service.go b/pkg/controller/builder/builder_service.go index 87689bd5eac..9797c72de1f 100644 --- a/pkg/controller/builder/builder_service.go +++ b/pkg/controller/builder/builder_service.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_service_account.go b/pkg/controller/builder/builder_service_account.go index 17d6d756d60..9c37ec02f17 100644 --- a/pkg/controller/builder/builder_service_account.go +++ b/pkg/controller/builder/builder_service_account.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_service_account_test.go b/pkg/controller/builder/builder_service_account_test.go index 33d13916982..ab0390362ba 100644 --- a/pkg/controller/builder/builder_service_account_test.go +++ b/pkg/controller/builder/builder_service_account_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_service_descriptor.go b/pkg/controller/builder/builder_service_descriptor.go index af79d03aadc..086b319b348 100644 --- a/pkg/controller/builder/builder_service_descriptor.go +++ b/pkg/controller/builder/builder_service_descriptor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_service_descriptor_test.go b/pkg/controller/builder/builder_service_descriptor_test.go index 46a0c0db8c6..dd0537425f5 100644 --- a/pkg/controller/builder/builder_service_descriptor_test.go +++ b/pkg/controller/builder/builder_service_descriptor_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_service_test.go b/pkg/controller/builder/builder_service_test.go index 532c20f24b2..84da732b1ba 100644 --- a/pkg/controller/builder/builder_service_test.go +++ b/pkg/controller/builder/builder_service_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_volume.go b/pkg/controller/builder/builder_volume.go index 4c533c83200..d2b46c467c5 100644 --- a/pkg/controller/builder/builder_volume.go +++ b/pkg/controller/builder/builder_volume.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/builder_volume_test.go b/pkg/controller/builder/builder_volume_test.go index 6abfe2fa4a9..fd421ff983e 100644 --- a/pkg/controller/builder/builder_volume_test.go +++ b/pkg/controller/builder/builder_volume_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/builder/suite_test.go b/pkg/controller/builder/suite_test.go index 2cf32438f14..9f14a2dc946 100644 --- a/pkg/controller/builder/suite_test.go +++ b/pkg/controller/builder/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/available.go b/pkg/controller/component/available.go index f7ff2764a4d..b582d209810 100644 --- a/pkg/controller/component/available.go +++ b/pkg/controller/component/available.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/available_test.go b/pkg/controller/component/available_test.go index 0d170a4dad1..7edbbaef954 100644 --- a/pkg/controller/component/available_test.go +++ b/pkg/controller/component/available_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/component.go b/pkg/controller/component/component.go index a16d619aafa..ab4b34d44d9 100644 --- a/pkg/controller/component/component.go +++ b/pkg/controller/component/component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/component_test.go b/pkg/controller/component/component_test.go index a375f62ac1e..25798390e07 100644 --- a/pkg/controller/component/component_test.go +++ b/pkg/controller/component/component_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/component_version.go b/pkg/controller/component/component_version.go index 16d642d23df..4c1ccf6c9fb 100644 --- a/pkg/controller/component/component_version.go +++ b/pkg/controller/component/component_version.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/component_version_test.go b/pkg/controller/component/component_version_test.go index 8524a78dcd4..592b5e6dcfc 100644 --- a/pkg/controller/component/component_version_test.go +++ b/pkg/controller/component/component_version_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/convertor.go b/pkg/controller/component/convertor.go index 2ba41209ce0..77527010644 100644 --- a/pkg/controller/component/convertor.go +++ b/pkg/controller/component/convertor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/convertor_test.go b/pkg/controller/component/convertor_test.go index b9cf88db98b..741399ca193 100644 --- a/pkg/controller/component/convertor_test.go +++ b/pkg/controller/component/convertor_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/its_convertor.go b/pkg/controller/component/its_convertor.go index f7a24c65b02..c0774c82371 100644 --- a/pkg/controller/component/its_convertor.go +++ b/pkg/controller/component/its_convertor.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/kbagent.go b/pkg/controller/component/kbagent.go index 22a2a47ebd4..0585c57f752 100644 --- a/pkg/controller/component/kbagent.go +++ b/pkg/controller/component/kbagent.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/kbagent_task_event.go b/pkg/controller/component/kbagent_task_event.go index 12b5b6f1804..d48e576c3d0 100644 --- a/pkg/controller/component/kbagent_task_event.go +++ b/pkg/controller/component/kbagent_task_event.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/kbagent_test.go b/pkg/controller/component/kbagent_test.go index 5664f7e68ff..8a9ffa886c6 100644 --- a/pkg/controller/component/kbagent_test.go +++ b/pkg/controller/component/kbagent_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/mock_reader.go b/pkg/controller/component/mock_reader.go index 97481fd9276..0f5bff48b28 100644 --- a/pkg/controller/component/mock_reader.go +++ b/pkg/controller/component/mock_reader.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/replicas.go b/pkg/controller/component/replicas.go index 041038deb98..eb36d2084d9 100644 --- a/pkg/controller/component/replicas.go +++ b/pkg/controller/component/replicas.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/replicas_test.go b/pkg/controller/component/replicas_test.go index 473ea295794..8841f564f0b 100644 --- a/pkg/controller/component/replicas_test.go +++ b/pkg/controller/component/replicas_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/service_reference.go b/pkg/controller/component/service_reference.go index 0c91fba8764..3fc3626308f 100644 --- a/pkg/controller/component/service_reference.go +++ b/pkg/controller/component/service_reference.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/service_reference_test.go b/pkg/controller/component/service_reference_test.go index 088a8001f26..ec2c375b1cf 100644 --- a/pkg/controller/component/service_reference_test.go +++ b/pkg/controller/component/service_reference_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/sidecar.go b/pkg/controller/component/sidecar.go index 6dde9d62464..c175ce2fe78 100644 --- a/pkg/controller/component/sidecar.go +++ b/pkg/controller/component/sidecar.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/suite_test.go b/pkg/controller/component/suite_test.go index 266ac2ecb36..889ee85b710 100644 --- a/pkg/controller/component/suite_test.go +++ b/pkg/controller/component/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/synthesize_component.go b/pkg/controller/component/synthesize_component.go index aaba8312fb6..4a127c178bc 100644 --- a/pkg/controller/component/synthesize_component.go +++ b/pkg/controller/component/synthesize_component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/synthesize_component_test.go b/pkg/controller/component/synthesize_component_test.go index 3e4dee56732..c6b9aa43b97 100644 --- a/pkg/controller/component/synthesize_component_test.go +++ b/pkg/controller/component/synthesize_component_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/type.go b/pkg/controller/component/type.go index b0225b599e5..6bf31ef6440 100644 --- a/pkg/controller/component/type.go +++ b/pkg/controller/component/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/utils.go b/pkg/controller/component/utils.go index 06a6f66f259..36cc40f66e9 100644 --- a/pkg/controller/component/utils.go +++ b/pkg/controller/component/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/utils_test.go b/pkg/controller/component/utils_test.go index 2a464d150ff..180dfa307d0 100644 --- a/pkg/controller/component/utils_test.go +++ b/pkg/controller/component/utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/vars.go b/pkg/controller/component/vars.go index 2b7f42d6efb..f51ad033dca 100644 --- a/pkg/controller/component/vars.go +++ b/pkg/controller/component/vars.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/vars_test.go b/pkg/controller/component/vars_test.go index e13f021aa89..c99f6cd7365 100644 --- a/pkg/controller/component/vars_test.go +++ b/pkg/controller/component/vars_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/component/workload_utils.go b/pkg/controller/component/workload_utils.go index 6df8c6c3c5e..fcf51af5a74 100644 --- a/pkg/controller/component/workload_utils.go +++ b/pkg/controller/component/workload_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/annotation_utils.go b/pkg/controller/configuration/annotation_utils.go index a014293cb63..066ddedec0c 100644 --- a/pkg/controller/configuration/annotation_utils.go +++ b/pkg/controller/configuration/annotation_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controller/configuration/config_utils.go b/pkg/controller/configuration/config_utils.go index b287d6e6579..cb640db6aac 100644 --- a/pkg/controller/configuration/config_utils.go +++ b/pkg/controller/configuration/config_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/configuration_test.go b/pkg/controller/configuration/configuration_test.go index ee40eff7a6e..a5c2fa99abc 100644 --- a/pkg/controller/configuration/configuration_test.go +++ b/pkg/controller/configuration/configuration_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/envfrom_utils.go b/pkg/controller/configuration/envfrom_utils.go index 1fd30c76ae5..14dc21b4613 100644 --- a/pkg/controller/configuration/envfrom_utils.go +++ b/pkg/controller/configuration/envfrom_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/envfrom_utils_test.go b/pkg/controller/configuration/envfrom_utils_test.go index e5a35fbb3ab..67de6d1a72c 100644 --- a/pkg/controller/configuration/envfrom_utils_test.go +++ b/pkg/controller/configuration/envfrom_utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/operator.go b/pkg/controller/configuration/operator.go index 5e0e7e9a733..f86470857fb 100644 --- a/pkg/controller/configuration/operator.go +++ b/pkg/controller/configuration/operator.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/operator_test.go b/pkg/controller/configuration/operator_test.go index 996aef1b51d..93ece473158 100644 --- a/pkg/controller/configuration/operator_test.go +++ b/pkg/controller/configuration/operator_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/patch_merger.go b/pkg/controller/configuration/patch_merger.go index d71e94f8396..bb7cf06be73 100644 --- a/pkg/controller/configuration/patch_merger.go +++ b/pkg/controller/configuration/patch_merger.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/pipeline.go b/pkg/controller/configuration/pipeline.go index cc93e65166c..1ee7d345336 100644 --- a/pkg/controller/configuration/pipeline.go +++ b/pkg/controller/configuration/pipeline.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/pipeline_test.go b/pkg/controller/configuration/pipeline_test.go index b037cf77e41..f3ed2d7a892 100644 --- a/pkg/controller/configuration/pipeline_test.go +++ b/pkg/controller/configuration/pipeline_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/resource_wrapper.go b/pkg/controller/configuration/resource_wrapper.go index 240e33c3b64..4a892e909c5 100644 --- a/pkg/controller/configuration/resource_wrapper.go +++ b/pkg/controller/configuration/resource_wrapper.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/resource_wrapper_test.go b/pkg/controller/configuration/resource_wrapper_test.go index 25435694ede..f454cf117ea 100644 --- a/pkg/controller/configuration/resource_wrapper_test.go +++ b/pkg/controller/configuration/resource_wrapper_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/suite_test.go b/pkg/controller/configuration/suite_test.go index f76029f5864..0cad6d4f273 100644 --- a/pkg/controller/configuration/suite_test.go +++ b/pkg/controller/configuration/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/template_merger.go b/pkg/controller/configuration/template_merger.go index 3ba346e6085..e0a11d05671 100644 --- a/pkg/controller/configuration/template_merger.go +++ b/pkg/controller/configuration/template_merger.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/template_merger_test.go b/pkg/controller/configuration/template_merger_test.go index 332fae7bc9b..34ea507a8d6 100644 --- a/pkg/controller/configuration/template_merger_test.go +++ b/pkg/controller/configuration/template_merger_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/template_wrapper.go b/pkg/controller/configuration/template_wrapper.go index f3bde360380..d54ed01c321 100644 --- a/pkg/controller/configuration/template_wrapper.go +++ b/pkg/controller/configuration/template_wrapper.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/tool_image_builder.go b/pkg/controller/configuration/tool_image_builder.go index 410665409e0..4529e640031 100644 --- a/pkg/controller/configuration/tool_image_builder.go +++ b/pkg/controller/configuration/tool_image_builder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/tool_image_builder_test.go b/pkg/controller/configuration/tool_image_builder_test.go index 8ae252fb8d2..ea8cff72aff 100644 --- a/pkg/controller/configuration/tool_image_builder_test.go +++ b/pkg/controller/configuration/tool_image_builder_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/configuration/utils.go b/pkg/controller/configuration/utils.go index 291637c047d..9f61fab0914 100644 --- a/pkg/controller/configuration/utils.go +++ b/pkg/controller/configuration/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/factory/builder.go b/pkg/controller/factory/builder.go index c0336a92cb5..ece4d757e53 100644 --- a/pkg/controller/factory/builder.go +++ b/pkg/controller/factory/builder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/factory/builder_test.go b/pkg/controller/factory/builder_test.go index 4b7ba0e884d..c08d3449107 100644 --- a/pkg/controller/factory/builder_test.go +++ b/pkg/controller/factory/builder_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/factory/suite_test.go b/pkg/controller/factory/suite_test.go index 0c73c77625f..587a81f8283 100644 --- a/pkg/controller/factory/suite_test.go +++ b/pkg/controller/factory/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/graph/dag.go b/pkg/controller/graph/dag.go index 736c86944f3..de5b1b77e8e 100644 --- a/pkg/controller/graph/dag.go +++ b/pkg/controller/graph/dag.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/graph/dag_test.go b/pkg/controller/graph/dag_test.go index 4003372d7a8..fecccd9732a 100644 --- a/pkg/controller/graph/dag_test.go +++ b/pkg/controller/graph/dag_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/graph/doc.go b/pkg/controller/graph/doc.go index 0df8f8e984b..ee103f112e6 100644 --- a/pkg/controller/graph/doc.go +++ b/pkg/controller/graph/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/graph/plan_builder.go b/pkg/controller/graph/plan_builder.go index 47db0782b66..9d61a108e09 100644 --- a/pkg/controller/graph/plan_builder.go +++ b/pkg/controller/graph/plan_builder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/graph/transformer.go b/pkg/controller/graph/transformer.go index e7e0084d0d7..5cccd755997 100644 --- a/pkg/controller/graph/transformer.go +++ b/pkg/controller/graph/transformer.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/handler/delegator_finder.go b/pkg/controller/handler/delegator_finder.go index d3e83a1c256..c53a9518dac 100644 --- a/pkg/controller/handler/delegator_finder.go +++ b/pkg/controller/handler/delegator_finder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/handler/doc.go b/pkg/controller/handler/doc.go index 77002fbe006..b7d02e5d186 100644 --- a/pkg/controller/handler/doc.go +++ b/pkg/controller/handler/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/handler/finder.go b/pkg/controller/handler/finder.go index b87deffe987..d307aea6e66 100644 --- a/pkg/controller/handler/finder.go +++ b/pkg/controller/handler/finder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/handler/handler_builder.go b/pkg/controller/handler/handler_builder.go index c058b7926e8..4ed950f5f88 100644 --- a/pkg/controller/handler/handler_builder.go +++ b/pkg/controller/handler/handler_builder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/handler/handler_builder_test.go b/pkg/controller/handler/handler_builder_test.go index 1c9bd60a041..ffe7fbb456c 100644 --- a/pkg/controller/handler/handler_builder_test.go +++ b/pkg/controller/handler/handler_builder_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/handler/involved_object_finder.go b/pkg/controller/handler/involved_object_finder.go index 344080a8cbe..0d0d79932db 100644 --- a/pkg/controller/handler/involved_object_finder.go +++ b/pkg/controller/handler/involved_object_finder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/handler/label_finder.go b/pkg/controller/handler/label_finder.go index 5eff70da53b..e77cc4db963 100644 --- a/pkg/controller/handler/label_finder.go +++ b/pkg/controller/handler/label_finder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/handler/owner_finder.go b/pkg/controller/handler/owner_finder.go index d43558955e6..6dcf874025b 100644 --- a/pkg/controller/handler/owner_finder.go +++ b/pkg/controller/handler/owner_finder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/handler/suite_test.go b/pkg/controller/handler/suite_test.go index 37ba635b995..1c94e757dd8 100644 --- a/pkg/controller/handler/suite_test.go +++ b/pkg/controller/handler/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/doc.go b/pkg/controller/instanceset/doc.go index 0d5a866d762..9d296246580 100644 --- a/pkg/controller/instanceset/doc.go +++ b/pkg/controller/instanceset/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/in_place_update_util.go b/pkg/controller/instanceset/in_place_update_util.go index 2bf9d0d49a1..5b824079fab 100644 --- a/pkg/controller/instanceset/in_place_update_util.go +++ b/pkg/controller/instanceset/in_place_update_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/in_place_update_util_test.go b/pkg/controller/instanceset/in_place_update_util_test.go index 1391c08bbca..695878090b1 100644 --- a/pkg/controller/instanceset/in_place_update_util_test.go +++ b/pkg/controller/instanceset/in_place_update_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/instance_template_util.go b/pkg/controller/instanceset/instance_template_util.go index ebf694978da..b173da3d7f3 100644 --- a/pkg/controller/instanceset/instance_template_util.go +++ b/pkg/controller/instanceset/instance_template_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/instance_util.go b/pkg/controller/instanceset/instance_util.go index 11a5432e33a..8a4219d3dbb 100644 --- a/pkg/controller/instanceset/instance_util.go +++ b/pkg/controller/instanceset/instance_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/instance_util_test.go b/pkg/controller/instanceset/instance_util_test.go index 7b92a354680..fc791d05bf0 100644 --- a/pkg/controller/instanceset/instance_util_test.go +++ b/pkg/controller/instanceset/instance_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/object_builder.go b/pkg/controller/instanceset/object_builder.go index 45bb841b13e..56805939556 100644 --- a/pkg/controller/instanceset/object_builder.go +++ b/pkg/controller/instanceset/object_builder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/object_builder_test.go b/pkg/controller/instanceset/object_builder_test.go index a47d7304d4c..e28333d0f9c 100644 --- a/pkg/controller/instanceset/object_builder_test.go +++ b/pkg/controller/instanceset/object_builder_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/pod_role_event_handler.go b/pkg/controller/instanceset/pod_role_event_handler.go index 2e329202bdd..237e755708c 100644 --- a/pkg/controller/instanceset/pod_role_event_handler.go +++ b/pkg/controller/instanceset/pod_role_event_handler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/pod_role_event_handler_test.go b/pkg/controller/instanceset/pod_role_event_handler_test.go index acc462e7e0f..b51427613f8 100644 --- a/pkg/controller/instanceset/pod_role_event_handler_test.go +++ b/pkg/controller/instanceset/pod_role_event_handler_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_api_version.go b/pkg/controller/instanceset/reconciler_api_version.go index e8c78b0098a..3386812ec77 100644 --- a/pkg/controller/instanceset/reconciler_api_version.go +++ b/pkg/controller/instanceset/reconciler_api_version.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_api_version_test.go b/pkg/controller/instanceset/reconciler_api_version_test.go index 09957e4dd7e..60063a710a0 100644 --- a/pkg/controller/instanceset/reconciler_api_version_test.go +++ b/pkg/controller/instanceset/reconciler_api_version_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_assistant_object.go b/pkg/controller/instanceset/reconciler_assistant_object.go index dcce7f978bb..b0628cc2654 100644 --- a/pkg/controller/instanceset/reconciler_assistant_object.go +++ b/pkg/controller/instanceset/reconciler_assistant_object.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_assistant_object_test.go b/pkg/controller/instanceset/reconciler_assistant_object_test.go index f70ea66c40e..d270b1d4831 100644 --- a/pkg/controller/instanceset/reconciler_assistant_object_test.go +++ b/pkg/controller/instanceset/reconciler_assistant_object_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_deletion.go b/pkg/controller/instanceset/reconciler_deletion.go index a6373720484..fca8e1459ee 100644 --- a/pkg/controller/instanceset/reconciler_deletion.go +++ b/pkg/controller/instanceset/reconciler_deletion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_deletion_test.go b/pkg/controller/instanceset/reconciler_deletion_test.go index a8ee7f2bc1f..a93f0ac1ce0 100644 --- a/pkg/controller/instanceset/reconciler_deletion_test.go +++ b/pkg/controller/instanceset/reconciler_deletion_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_fix_meta.go b/pkg/controller/instanceset/reconciler_fix_meta.go index db057b23f03..ce4d9689e7a 100644 --- a/pkg/controller/instanceset/reconciler_fix_meta.go +++ b/pkg/controller/instanceset/reconciler_fix_meta.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_fix_meta_test.go b/pkg/controller/instanceset/reconciler_fix_meta_test.go index 6801c3abfef..0b5f27d3592 100644 --- a/pkg/controller/instanceset/reconciler_fix_meta_test.go +++ b/pkg/controller/instanceset/reconciler_fix_meta_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_instance_alignment.go b/pkg/controller/instanceset/reconciler_instance_alignment.go index a80848dc7d4..6eefc621477 100644 --- a/pkg/controller/instanceset/reconciler_instance_alignment.go +++ b/pkg/controller/instanceset/reconciler_instance_alignment.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_instance_alignment_test.go b/pkg/controller/instanceset/reconciler_instance_alignment_test.go index e00e8696f45..f23e281aeba 100644 --- a/pkg/controller/instanceset/reconciler_instance_alignment_test.go +++ b/pkg/controller/instanceset/reconciler_instance_alignment_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_revision_update.go b/pkg/controller/instanceset/reconciler_revision_update.go index 29482207810..43254aed8e5 100644 --- a/pkg/controller/instanceset/reconciler_revision_update.go +++ b/pkg/controller/instanceset/reconciler_revision_update.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_revision_update_test.go b/pkg/controller/instanceset/reconciler_revision_update_test.go index cac8f9b8007..73de6994444 100644 --- a/pkg/controller/instanceset/reconciler_revision_update_test.go +++ b/pkg/controller/instanceset/reconciler_revision_update_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_status.go b/pkg/controller/instanceset/reconciler_status.go index bb8a302f539..640d21b40c4 100644 --- a/pkg/controller/instanceset/reconciler_status.go +++ b/pkg/controller/instanceset/reconciler_status.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_status_test.go b/pkg/controller/instanceset/reconciler_status_test.go index 928c6a0d2ef..4799f5bf638 100644 --- a/pkg/controller/instanceset/reconciler_status_test.go +++ b/pkg/controller/instanceset/reconciler_status_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_update.go b/pkg/controller/instanceset/reconciler_update.go index efea730f60e..558b28708c1 100644 --- a/pkg/controller/instanceset/reconciler_update.go +++ b/pkg/controller/instanceset/reconciler_update.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/reconciler_update_test.go b/pkg/controller/instanceset/reconciler_update_test.go index feb067449e7..9a2c3b1a607 100644 --- a/pkg/controller/instanceset/reconciler_update_test.go +++ b/pkg/controller/instanceset/reconciler_update_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/revision_util.go b/pkg/controller/instanceset/revision_util.go index 6f9ea5c2193..b162242c672 100644 --- a/pkg/controller/instanceset/revision_util.go +++ b/pkg/controller/instanceset/revision_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/revision_util_test.go b/pkg/controller/instanceset/revision_util_test.go index 334173c8a02..eb8f407989a 100644 --- a/pkg/controller/instanceset/revision_util_test.go +++ b/pkg/controller/instanceset/revision_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/suite_test.go b/pkg/controller/instanceset/suite_test.go index d98c9aeadcf..f7cf94cbcaa 100644 --- a/pkg/controller/instanceset/suite_test.go +++ b/pkg/controller/instanceset/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/tree_loader.go b/pkg/controller/instanceset/tree_loader.go index 78a25b30ca3..57cc302db26 100644 --- a/pkg/controller/instanceset/tree_loader.go +++ b/pkg/controller/instanceset/tree_loader.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/tree_loader_test.go b/pkg/controller/instanceset/tree_loader_test.go index d539917bd21..5ce0c1acf22 100644 --- a/pkg/controller/instanceset/tree_loader_test.go +++ b/pkg/controller/instanceset/tree_loader_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/types.go b/pkg/controller/instanceset/types.go index 76c42488e8b..81cf109adbf 100644 --- a/pkg/controller/instanceset/types.go +++ b/pkg/controller/instanceset/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/update_plan.go b/pkg/controller/instanceset/update_plan.go index 432cc193add..11f8bbd470a 100644 --- a/pkg/controller/instanceset/update_plan.go +++ b/pkg/controller/instanceset/update_plan.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/update_plan_test.go b/pkg/controller/instanceset/update_plan_test.go index 9cbf0e58cc4..a599a3745a8 100644 --- a/pkg/controller/instanceset/update_plan_test.go +++ b/pkg/controller/instanceset/update_plan_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/utils.go b/pkg/controller/instanceset/utils.go index 7996e42b268..ca71494610a 100644 --- a/pkg/controller/instanceset/utils.go +++ b/pkg/controller/instanceset/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/instanceset/utils_test.go b/pkg/controller/instanceset/utils_test.go index 891f8d9884d..03e9a6156f6 100644 --- a/pkg/controller/instanceset/utils_test.go +++ b/pkg/controller/instanceset/utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/kubebuilderx/controller.go b/pkg/controller/kubebuilderx/controller.go index 938292b6e8d..d1597044ef2 100644 --- a/pkg/controller/kubebuilderx/controller.go +++ b/pkg/controller/kubebuilderx/controller.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/kubebuilderx/controller_test.go b/pkg/controller/kubebuilderx/controller_test.go index 98be22c723d..49d6b428624 100644 --- a/pkg/controller/kubebuilderx/controller_test.go +++ b/pkg/controller/kubebuilderx/controller_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/kubebuilderx/doc.go b/pkg/controller/kubebuilderx/doc.go index ad467fadb5e..953b8633a23 100644 --- a/pkg/controller/kubebuilderx/doc.go +++ b/pkg/controller/kubebuilderx/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/kubebuilderx/plan_builder.go b/pkg/controller/kubebuilderx/plan_builder.go index 1a324689c1e..d3737ca8e26 100644 --- a/pkg/controller/kubebuilderx/plan_builder.go +++ b/pkg/controller/kubebuilderx/plan_builder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/kubebuilderx/plan_builder_test.go b/pkg/controller/kubebuilderx/plan_builder_test.go index 31033c649dd..999d92a612e 100644 --- a/pkg/controller/kubebuilderx/plan_builder_test.go +++ b/pkg/controller/kubebuilderx/plan_builder_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/kubebuilderx/reconciler.go b/pkg/controller/kubebuilderx/reconciler.go index c939338b1ae..1053159b6fe 100644 --- a/pkg/controller/kubebuilderx/reconciler.go +++ b/pkg/controller/kubebuilderx/reconciler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/kubebuilderx/reconciler_test.go b/pkg/controller/kubebuilderx/reconciler_test.go index c9aa8400ed5..e6c00f2cd25 100644 --- a/pkg/controller/kubebuilderx/reconciler_test.go +++ b/pkg/controller/kubebuilderx/reconciler_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/kubebuilderx/suite_test.go b/pkg/controller/kubebuilderx/suite_test.go index 6be3b58f747..8bf390e46f5 100644 --- a/pkg/controller/kubebuilderx/suite_test.go +++ b/pkg/controller/kubebuilderx/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/kubebuilderx/utils.go b/pkg/controller/kubebuilderx/utils.go index fd4469e1e47..13965f85b5c 100644 --- a/pkg/controller/kubebuilderx/utils.go +++ b/pkg/controller/kubebuilderx/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/kubebuilderx/utils_test.go b/pkg/controller/kubebuilderx/utils_test.go index 757ead0e9f0..e26e5c8fd30 100644 --- a/pkg/controller/kubebuilderx/utils_test.go +++ b/pkg/controller/kubebuilderx/utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/lifecycle/errors.go b/pkg/controller/lifecycle/errors.go index c4ae50a6fe1..10c5a9ef90c 100644 --- a/pkg/controller/lifecycle/errors.go +++ b/pkg/controller/lifecycle/errors.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/lifecycle/kbagent.go b/pkg/controller/lifecycle/kbagent.go index 1b4a9f69637..36ca90f6beb 100644 --- a/pkg/controller/lifecycle/kbagent.go +++ b/pkg/controller/lifecycle/kbagent.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/lifecycle/lfa_account.go b/pkg/controller/lifecycle/lfa_account.go index a70b9893ca1..02911f4ba03 100644 --- a/pkg/controller/lifecycle/lfa_account.go +++ b/pkg/controller/lifecycle/lfa_account.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/lifecycle/lfa_component.go b/pkg/controller/lifecycle/lfa_component.go index eb5a6baf4b6..463cfdcdf58 100644 --- a/pkg/controller/lifecycle/lfa_component.go +++ b/pkg/controller/lifecycle/lfa_component.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/lifecycle/lfa_member.go b/pkg/controller/lifecycle/lfa_member.go index 445381a85ab..fa035ebf451 100644 --- a/pkg/controller/lifecycle/lfa_member.go +++ b/pkg/controller/lifecycle/lfa_member.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/lifecycle/lifecycle.go b/pkg/controller/lifecycle/lifecycle.go index 18253406aa1..19b1a5854f2 100644 --- a/pkg/controller/lifecycle/lifecycle.go +++ b/pkg/controller/lifecycle/lifecycle.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/lifecycle/lifecycle_test.go b/pkg/controller/lifecycle/lifecycle_test.go index f6d64108149..7323a4b9d5a 100644 --- a/pkg/controller/lifecycle/lifecycle_test.go +++ b/pkg/controller/lifecycle/lifecycle_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/lifecycle/suite_test.go b/pkg/controller/lifecycle/suite_test.go index 2d1dd2cb62b..2474e996031 100644 --- a/pkg/controller/lifecycle/suite_test.go +++ b/pkg/controller/lifecycle/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/model/graph_client.go b/pkg/controller/model/graph_client.go index 4b05950d499..848eed2424c 100644 --- a/pkg/controller/model/graph_client.go +++ b/pkg/controller/model/graph_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/model/graph_client_test.go b/pkg/controller/model/graph_client_test.go index e96a925410a..f8280a72592 100644 --- a/pkg/controller/model/graph_client_test.go +++ b/pkg/controller/model/graph_client_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/model/graph_options.go b/pkg/controller/model/graph_options.go index 60875edbf88..912108a9de5 100644 --- a/pkg/controller/model/graph_options.go +++ b/pkg/controller/model/graph_options.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/model/suite_test.go b/pkg/controller/model/suite_test.go index 9e2daaf40d5..952c6c3c9b9 100644 --- a/pkg/controller/model/suite_test.go +++ b/pkg/controller/model/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/model/transform_types.go b/pkg/controller/model/transform_types.go index 22dc91ab6bc..aa41dd598b3 100644 --- a/pkg/controller/model/transform_types.go +++ b/pkg/controller/model/transform_types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/model/transform_types_test.go b/pkg/controller/model/transform_types_test.go index f79892303e8..a145d95749c 100644 --- a/pkg/controller/model/transform_types_test.go +++ b/pkg/controller/model/transform_types_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/model/transform_utils.go b/pkg/controller/model/transform_utils.go index 696dbaaba55..55256e58c42 100644 --- a/pkg/controller/model/transform_utils.go +++ b/pkg/controller/model/transform_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/model/transform_utils_test.go b/pkg/controller/model/transform_utils_test.go index 22b804374b4..bc315edbe3d 100644 --- a/pkg/controller/model/transform_utils_test.go +++ b/pkg/controller/model/transform_utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/multicluster/client.go b/pkg/controller/multicluster/client.go index e6534d17d1f..e3e4cd92336 100644 --- a/pkg/controller/multicluster/client.go +++ b/pkg/controller/multicluster/client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/multicluster/client_unavailable.go b/pkg/controller/multicluster/client_unavailable.go index 139ce0ec375..e3d654d798a 100644 --- a/pkg/controller/multicluster/client_unavailable.go +++ b/pkg/controller/multicluster/client_unavailable.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/multicluster/error.go b/pkg/controller/multicluster/error.go index 53673de2b18..c6f6b6f3a4b 100644 --- a/pkg/controller/multicluster/error.go +++ b/pkg/controller/multicluster/error.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/multicluster/manager.go b/pkg/controller/multicluster/manager.go index b519cfdb6c4..f566ea41860 100644 --- a/pkg/controller/multicluster/manager.go +++ b/pkg/controller/multicluster/manager.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/multicluster/options.go b/pkg/controller/multicluster/options.go index 3b78adb6a66..d4700965591 100644 --- a/pkg/controller/multicluster/options.go +++ b/pkg/controller/multicluster/options.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/multicluster/placement.go b/pkg/controller/multicluster/placement.go index e1101bd5a15..5d70f4874a5 100644 --- a/pkg/controller/multicluster/placement.go +++ b/pkg/controller/multicluster/placement.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/multicluster/setup.go b/pkg/controller/multicluster/setup.go index 74957ec4d72..e58775564a8 100644 --- a/pkg/controller/multicluster/setup.go +++ b/pkg/controller/multicluster/setup.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/multicluster/types.go b/pkg/controller/multicluster/types.go index b2216c6fe09..af2de1ad3c7 100644 --- a/pkg/controller/multicluster/types.go +++ b/pkg/controller/multicluster/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/plan/prepare.go b/pkg/controller/plan/prepare.go index 143ec886931..8dc37fcc008 100644 --- a/pkg/controller/plan/prepare.go +++ b/pkg/controller/plan/prepare.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/plan/prepare_test.go b/pkg/controller/plan/prepare_test.go index da2df4f9612..1525de0938f 100644 --- a/pkg/controller/plan/prepare_test.go +++ b/pkg/controller/plan/prepare_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/plan/restore.go b/pkg/controller/plan/restore.go index 88dc9073c82..1aa756b8b0a 100644 --- a/pkg/controller/plan/restore.go +++ b/pkg/controller/plan/restore.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/plan/restore_test.go b/pkg/controller/plan/restore_test.go index 2198000128e..29445b73f4d 100644 --- a/pkg/controller/plan/restore_test.go +++ b/pkg/controller/plan/restore_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/plan/suite_test.go b/pkg/controller/plan/suite_test.go index af72c0ff9a3..13a105a3438 100644 --- a/pkg/controller/plan/suite_test.go +++ b/pkg/controller/plan/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/plan/tls.go b/pkg/controller/plan/tls.go index 0730327d972..4b8714e0139 100644 --- a/pkg/controller/plan/tls.go +++ b/pkg/controller/plan/tls.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/plan/tls_test.go b/pkg/controller/plan/tls_test.go index db9dda34a8f..685f5671028 100644 --- a/pkg/controller/plan/tls_test.go +++ b/pkg/controller/plan/tls_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/render/builtin_env.go b/pkg/controller/render/builtin_env.go index ef214644859..5b70f76934b 100644 --- a/pkg/controller/render/builtin_env.go +++ b/pkg/controller/render/builtin_env.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/render/builtin_env_test.go b/pkg/controller/render/builtin_env_test.go index 5ddf919ea82..76f34c0700a 100644 --- a/pkg/controller/render/builtin_env_test.go +++ b/pkg/controller/render/builtin_env_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/render/builtin_functions.go b/pkg/controller/render/builtin_functions.go index 7028022d682..53231aba491 100644 --- a/pkg/controller/render/builtin_functions.go +++ b/pkg/controller/render/builtin_functions.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/render/builtin_functions_test.go b/pkg/controller/render/builtin_functions_test.go index 068c7dff616..424a365c231 100644 --- a/pkg/controller/render/builtin_functions_test.go +++ b/pkg/controller/render/builtin_functions_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/render/builtin_objects.go b/pkg/controller/render/builtin_objects.go index 120d54c7794..d0642f08a40 100644 --- a/pkg/controller/render/builtin_objects.go +++ b/pkg/controller/render/builtin_objects.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/render/suite_test.go b/pkg/controller/render/suite_test.go index d5da08a252b..5d1508afe98 100644 --- a/pkg/controller/render/suite_test.go +++ b/pkg/controller/render/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controller/render/template_render.go b/pkg/controller/render/template_render.go index 4273404baad..2d3738aca9f 100644 --- a/pkg/controller/render/template_render.go +++ b/pkg/controller/render/template_render.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controller/render/types.go b/pkg/controller/render/types.go index 0e697fa8ed1..15f266122ca 100644 --- a/pkg/controller/render/types.go +++ b/pkg/controller/render/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controller/scheduling/scheduling_utils.go b/pkg/controller/scheduling/scheduling_utils.go index b86d2a4d210..e11a4f1077e 100644 --- a/pkg/controller/scheduling/scheduling_utils.go +++ b/pkg/controller/scheduling/scheduling_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/cluster_utils.go b/pkg/controllerutil/cluster_utils.go index ff779d1daf2..bd899ab9db1 100644 --- a/pkg/controllerutil/cluster_utils.go +++ b/pkg/controllerutil/cluster_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/cluster_utils_test.go b/pkg/controllerutil/cluster_utils_test.go index 6727024e704..d15c8e8f283 100644 --- a/pkg/controllerutil/cluster_utils_test.go +++ b/pkg/controllerutil/cluster_utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/config_util.go b/pkg/controllerutil/config_util.go index 11359d12bad..f05211084d8 100644 --- a/pkg/controllerutil/config_util.go +++ b/pkg/controllerutil/config_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/config_util_test.go b/pkg/controllerutil/config_util_test.go index 0dfdd6b203e..36e1b1506a9 100644 --- a/pkg/controllerutil/config_util_test.go +++ b/pkg/controllerutil/config_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/container_util.go b/pkg/controllerutil/container_util.go index 30b88084a5c..06243c2b5af 100644 --- a/pkg/controllerutil/container_util.go +++ b/pkg/controllerutil/container_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/container_util_test.go b/pkg/controllerutil/container_util_test.go index 3ed844119c2..cc56e338d18 100644 --- a/pkg/controllerutil/container_util_test.go +++ b/pkg/controllerutil/container_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/controller_common.go b/pkg/controllerutil/controller_common.go index 450c8a6010e..5e23bcb2ddb 100644 --- a/pkg/controllerutil/controller_common.go +++ b/pkg/controllerutil/controller_common.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/controller_common_test.go b/pkg/controllerutil/controller_common_test.go index 925a6c06868..230b6b0123d 100644 --- a/pkg/controllerutil/controller_common_test.go +++ b/pkg/controllerutil/controller_common_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/encryption.go b/pkg/controllerutil/encryption.go index 6beae316e3d..c72ace3a49d 100644 --- a/pkg/controllerutil/encryption.go +++ b/pkg/controllerutil/encryption.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/encryption_test.go b/pkg/controllerutil/encryption_test.go index 5f493df5600..51d01c407de 100644 --- a/pkg/controllerutil/encryption_test.go +++ b/pkg/controllerutil/encryption_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/errors.go b/pkg/controllerutil/errors.go index eeea0a17a3d..45a12c9886f 100644 --- a/pkg/controllerutil/errors.go +++ b/pkg/controllerutil/errors.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/errors_test.go b/pkg/controllerutil/errors_test.go index dc659594c2a..1fe826481a6 100644 --- a/pkg/controllerutil/errors_test.go +++ b/pkg/controllerutil/errors_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/image_util.go b/pkg/controllerutil/image_util.go index 7b4707c793b..eb920f5fd28 100644 --- a/pkg/controllerutil/image_util.go +++ b/pkg/controllerutil/image_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/image_util_test.go b/pkg/controllerutil/image_util_test.go index 94a1b526506..4dac465b3b0 100644 --- a/pkg/controllerutil/image_util_test.go +++ b/pkg/controllerutil/image_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/instance_set_utils.go b/pkg/controllerutil/instance_set_utils.go index 399f3e0e315..9ef0bb0ae96 100644 --- a/pkg/controllerutil/instance_set_utils.go +++ b/pkg/controllerutil/instance_set_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/metrics.go b/pkg/controllerutil/metrics.go index 997c524544f..a0012d01eac 100644 --- a/pkg/controllerutil/metrics.go +++ b/pkg/controllerutil/metrics.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/pod_utils.go b/pkg/controllerutil/pod_utils.go index 59cebfefa93..973a162141d 100644 --- a/pkg/controllerutil/pod_utils.go +++ b/pkg/controllerutil/pod_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/pod_utils_test.go b/pkg/controllerutil/pod_utils_test.go index 89686f6dfa2..1f3a0d56c3a 100644 --- a/pkg/controllerutil/pod_utils_test.go +++ b/pkg/controllerutil/pod_utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/predicate.go b/pkg/controllerutil/predicate.go index 90e0494e258..b6e87e45975 100644 --- a/pkg/controllerutil/predicate.go +++ b/pkg/controllerutil/predicate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/requeue_errors.go b/pkg/controllerutil/requeue_errors.go index 8350d3b1a04..f4c629c41fc 100644 --- a/pkg/controllerutil/requeue_errors.go +++ b/pkg/controllerutil/requeue_errors.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/requeue_errors_test.go b/pkg/controllerutil/requeue_errors_test.go index 03171fb5abe..374f8a65d93 100644 --- a/pkg/controllerutil/requeue_errors_test.go +++ b/pkg/controllerutil/requeue_errors_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/sharding_utils.go b/pkg/controllerutil/sharding_utils.go index c42a59d7124..e57e10b836c 100644 --- a/pkg/controllerutil/sharding_utils.go +++ b/pkg/controllerutil/sharding_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/sharding_utils_test.go b/pkg/controllerutil/sharding_utils_test.go index 30455960d38..f8b67e19be3 100644 --- a/pkg/controllerutil/sharding_utils_test.go +++ b/pkg/controllerutil/sharding_utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/suite_test.go b/pkg/controllerutil/suite_test.go index f316d92e526..cda571eae21 100644 --- a/pkg/controllerutil/suite_test.go +++ b/pkg/controllerutil/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/type.go b/pkg/controllerutil/type.go index d55735dc70a..ddca77a2d11 100644 --- a/pkg/controllerutil/type.go +++ b/pkg/controllerutil/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/util.go b/pkg/controllerutil/util.go index ebeb8717320..820eda013b3 100644 --- a/pkg/controllerutil/util.go +++ b/pkg/controllerutil/util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/util_test.go b/pkg/controllerutil/util_test.go index 725e8888c5a..08c148ad7c4 100644 --- a/pkg/controllerutil/util_test.go +++ b/pkg/controllerutil/util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/volume_util.go b/pkg/controllerutil/volume_util.go index d6da6a5fc8c..03e558612af 100644 --- a/pkg/controllerutil/volume_util.go +++ b/pkg/controllerutil/volume_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/volume_util_test.go b/pkg/controllerutil/volume_util_test.go index 64972cb10fa..a654f0ab412 100644 --- a/pkg/controllerutil/volume_util_test.go +++ b/pkg/controllerutil/volume_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/controllerutil/workload_utils.go b/pkg/controllerutil/workload_utils.go index c9f53868d1a..717cf17eba0 100644 --- a/pkg/controllerutil/workload_utils.go +++ b/pkg/controllerutil/workload_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/action.go b/pkg/dataprotection/action/action.go index 539676fca6a..13f7e676f7b 100644 --- a/pkg/dataprotection/action/action.go +++ b/pkg/dataprotection/action/action.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/action_create_vs.go b/pkg/dataprotection/action/action_create_vs.go index fbcffea986d..63f053e7b04 100644 --- a/pkg/dataprotection/action/action_create_vs.go +++ b/pkg/dataprotection/action/action_create_vs.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/action_create_vs_test.go b/pkg/dataprotection/action/action_create_vs_test.go index 48e27dd80ad..a019ac3a0d8 100644 --- a/pkg/dataprotection/action/action_create_vs_test.go +++ b/pkg/dataprotection/action/action_create_vs_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/action_exec.go b/pkg/dataprotection/action/action_exec.go index 5944dcf5356..c01a6ed3a24 100644 --- a/pkg/dataprotection/action/action_exec.go +++ b/pkg/dataprotection/action/action_exec.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/action_exec_test.go b/pkg/dataprotection/action/action_exec_test.go index bacd36ed926..c148246ef75 100644 --- a/pkg/dataprotection/action/action_exec_test.go +++ b/pkg/dataprotection/action/action_exec_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/action_job.go b/pkg/dataprotection/action/action_job.go index 62ddd91e506..c696f535279 100644 --- a/pkg/dataprotection/action/action_job.go +++ b/pkg/dataprotection/action/action_job.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/action_job_test.go b/pkg/dataprotection/action/action_job_test.go index 564eaa09a02..a6fbb710b80 100644 --- a/pkg/dataprotection/action/action_job_test.go +++ b/pkg/dataprotection/action/action_job_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/action_stateful.go b/pkg/dataprotection/action/action_stateful.go index fed99ab231b..eea09bd8891 100644 --- a/pkg/dataprotection/action/action_stateful.go +++ b/pkg/dataprotection/action/action_stateful.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/builder_status.go b/pkg/dataprotection/action/builder_status.go index 6b0c19043cb..4669b853c51 100644 --- a/pkg/dataprotection/action/builder_status.go +++ b/pkg/dataprotection/action/builder_status.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/suite_test.go b/pkg/dataprotection/action/suite_test.go index 95c691a95b8..602407de825 100644 --- a/pkg/dataprotection/action/suite_test.go +++ b/pkg/dataprotection/action/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/action/types.go b/pkg/dataprotection/action/types.go index 158272c593a..90b902910d3 100644 --- a/pkg/dataprotection/action/types.go +++ b/pkg/dataprotection/action/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/backup/deleter.go b/pkg/dataprotection/backup/deleter.go index e3bd15785e8..68c1808b60f 100644 --- a/pkg/dataprotection/backup/deleter.go +++ b/pkg/dataprotection/backup/deleter.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/backup/deleter_test.go b/pkg/dataprotection/backup/deleter_test.go index 8aa18e3e75e..410d415057d 100644 --- a/pkg/dataprotection/backup/deleter_test.go +++ b/pkg/dataprotection/backup/deleter_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/backup/request.go b/pkg/dataprotection/backup/request.go index 2b910a89fc1..84e70323540 100644 --- a/pkg/dataprotection/backup/request.go +++ b/pkg/dataprotection/backup/request.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/backup/request_test.go b/pkg/dataprotection/backup/request_test.go index fa042927e33..292226d1509 100644 --- a/pkg/dataprotection/backup/request_test.go +++ b/pkg/dataprotection/backup/request_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/backup/scheduler.go b/pkg/dataprotection/backup/scheduler.go index a6a5208df94..e3e896e1a3c 100644 --- a/pkg/dataprotection/backup/scheduler.go +++ b/pkg/dataprotection/backup/scheduler.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/backup/scheduler_test.go b/pkg/dataprotection/backup/scheduler_test.go index f925c42241f..2f8728c58dc 100644 --- a/pkg/dataprotection/backup/scheduler_test.go +++ b/pkg/dataprotection/backup/scheduler_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/backup/suite_test.go b/pkg/dataprotection/backup/suite_test.go index 128d4a89971..61f96049c61 100644 --- a/pkg/dataprotection/backup/suite_test.go +++ b/pkg/dataprotection/backup/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/backup/types.go b/pkg/dataprotection/backup/types.go index e81b51eed29..0ff580b1d83 100644 --- a/pkg/dataprotection/backup/types.go +++ b/pkg/dataprotection/backup/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/backup/utils.go b/pkg/dataprotection/backup/utils.go index 2458b68c6ab..acc7c0bd375 100644 --- a/pkg/dataprotection/backup/utils.go +++ b/pkg/dataprotection/backup/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/backup/utils_test.go b/pkg/dataprotection/backup/utils_test.go index 6b845857661..5f6fe25d21a 100644 --- a/pkg/dataprotection/backup/utils_test.go +++ b/pkg/dataprotection/backup/utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/errors/errors.go b/pkg/dataprotection/errors/errors.go index 936f8ceffc6..f3a86fe35e4 100644 --- a/pkg/dataprotection/errors/errors.go +++ b/pkg/dataprotection/errors/errors.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/errors/errors_test.go b/pkg/dataprotection/errors/errors_test.go index 91437062442..9cf685b28f9 100644 --- a/pkg/dataprotection/errors/errors_test.go +++ b/pkg/dataprotection/errors/errors_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/restore/builder.go b/pkg/dataprotection/restore/builder.go index adfdf9dd1f4..8aa2166fd25 100644 --- a/pkg/dataprotection/restore/builder.go +++ b/pkg/dataprotection/restore/builder.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/restore/manager.go b/pkg/dataprotection/restore/manager.go index afbd4b4e386..5479ad63b9a 100644 --- a/pkg/dataprotection/restore/manager.go +++ b/pkg/dataprotection/restore/manager.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/restore/manager_test.go b/pkg/dataprotection/restore/manager_test.go index 52b37ee8895..ace16a0eb4d 100644 --- a/pkg/dataprotection/restore/manager_test.go +++ b/pkg/dataprotection/restore/manager_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/restore/suite_test.go b/pkg/dataprotection/restore/suite_test.go index cf7840d660f..bbf6e2e6de8 100644 --- a/pkg/dataprotection/restore/suite_test.go +++ b/pkg/dataprotection/restore/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/restore/types.go b/pkg/dataprotection/restore/types.go index 752cfb12495..7e52e02e9a1 100644 --- a/pkg/dataprotection/restore/types.go +++ b/pkg/dataprotection/restore/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/restore/utils.go b/pkg/dataprotection/restore/utils.go index db37ee2edec..92ca0494a24 100644 --- a/pkg/dataprotection/restore/utils.go +++ b/pkg/dataprotection/restore/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/types/constant.go b/pkg/dataprotection/types/constant.go index 558bba53a84..e939242fa2d 100644 --- a/pkg/dataprotection/types/constant.go +++ b/pkg/dataprotection/types/constant.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/types/types.go b/pkg/dataprotection/types/types.go index 035e9ec1895..60a66be1f10 100644 --- a/pkg/dataprotection/types/types.go +++ b/pkg/dataprotection/types/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/backup.go b/pkg/dataprotection/utils/backup.go index 3c5e7202b60..d752c6abe60 100644 --- a/pkg/dataprotection/utils/backup.go +++ b/pkg/dataprotection/utils/backup.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/backuprepo.go b/pkg/dataprotection/utils/backuprepo.go index a79b77336f1..22c942fc0ed 100644 --- a/pkg/dataprotection/utils/backuprepo.go +++ b/pkg/dataprotection/utils/backuprepo.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/boolptr/boolptr.go b/pkg/dataprotection/utils/boolptr/boolptr.go index 6a09ebff553..e0116191422 100644 --- a/pkg/dataprotection/utils/boolptr/boolptr.go +++ b/pkg/dataprotection/utils/boolptr/boolptr.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/boolptr/boolptr_test.go b/pkg/dataprotection/utils/boolptr/boolptr_test.go index a5259ffe0c5..688ede304e8 100644 --- a/pkg/dataprotection/utils/boolptr/boolptr_test.go +++ b/pkg/dataprotection/utils/boolptr/boolptr_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/compat_client.go b/pkg/dataprotection/utils/compat_client.go index 8389d037341..1886697ab9f 100644 --- a/pkg/dataprotection/utils/compat_client.go +++ b/pkg/dataprotection/utils/compat_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/compat_client_test.go b/pkg/dataprotection/utils/compat_client_test.go index 5586ace427f..52f53dbbd6c 100644 --- a/pkg/dataprotection/utils/compat_client_test.go +++ b/pkg/dataprotection/utils/compat_client_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/envvar.go b/pkg/dataprotection/utils/envvar.go index f43070a3d54..8e42c169e93 100644 --- a/pkg/dataprotection/utils/envvar.go +++ b/pkg/dataprotection/utils/envvar.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/events.go b/pkg/dataprotection/utils/events.go index fe21d774280..40bc620ac79 100644 --- a/pkg/dataprotection/utils/events.go +++ b/pkg/dataprotection/utils/events.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/periodical_enqueue_source.go b/pkg/dataprotection/utils/periodical_enqueue_source.go index e3d2a9c061f..ec786b3a7ba 100644 --- a/pkg/dataprotection/utils/periodical_enqueue_source.go +++ b/pkg/dataprotection/utils/periodical_enqueue_source.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/periodical_enqueue_source_test.go b/pkg/dataprotection/utils/periodical_enqueue_source_test.go index 6fe76dbd6c9..caea5437190 100644 --- a/pkg/dataprotection/utils/periodical_enqueue_source_test.go +++ b/pkg/dataprotection/utils/periodical_enqueue_source_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/suit_test.go b/pkg/dataprotection/utils/suit_test.go index a625f24a06b..e64eaa2ff72 100644 --- a/pkg/dataprotection/utils/suit_test.go +++ b/pkg/dataprotection/utils/suit_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/utils.go b/pkg/dataprotection/utils/utils.go index 1e04e1fac66..ce6e4af8f97 100644 --- a/pkg/dataprotection/utils/utils.go +++ b/pkg/dataprotection/utils/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/utils_test.go b/pkg/dataprotection/utils/utils_test.go index 2171fc39d6a..40ac30d689d 100644 --- a/pkg/dataprotection/utils/utils_test.go +++ b/pkg/dataprotection/utils/utils_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/dataprotection/utils/volumesnapshot.go b/pkg/dataprotection/utils/volumesnapshot.go index 3462f813d27..894d4cc1503 100644 --- a/pkg/dataprotection/utils/volumesnapshot.go +++ b/pkg/dataprotection/utils/volumesnapshot.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/generics/slices.go b/pkg/generics/slices.go index c7ec0e6e96b..1e15559bec0 100644 --- a/pkg/generics/slices.go +++ b/pkg/generics/slices.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/generics/type.go b/pkg/generics/type.go index e51fef26916..d082affb566 100644 --- a/pkg/generics/type.go +++ b/pkg/generics/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/gotemplate/functional.go b/pkg/gotemplate/functional.go index 191d4edbc3c..0f96ce13d4b 100644 --- a/pkg/gotemplate/functional.go +++ b/pkg/gotemplate/functional.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/gotemplate/functional_test.go b/pkg/gotemplate/functional_test.go index 9dcbf0972f8..efdff926ac8 100644 --- a/pkg/gotemplate/functional_test.go +++ b/pkg/gotemplate/functional_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/gotemplate/suite_test.go b/pkg/gotemplate/suite_test.go index a96e62e1192..acef5cab07f 100644 --- a/pkg/gotemplate/suite_test.go +++ b/pkg/gotemplate/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/gotemplate/tpl_engine.go b/pkg/gotemplate/tpl_engine.go index 050dc33ebbd..3dede5b9fed 100644 --- a/pkg/gotemplate/tpl_engine.go +++ b/pkg/gotemplate/tpl_engine.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/gotemplate/tpl_engine_test.go b/pkg/gotemplate/tpl_engine_test.go index a7a5bc960cc..3dd9e714825 100644 --- a/pkg/gotemplate/tpl_engine_test.go +++ b/pkg/gotemplate/tpl_engine_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/client/client.go b/pkg/kbagent/client/client.go index 5e6eb28c186..350d3bab7cc 100644 --- a/pkg/kbagent/client/client.go +++ b/pkg/kbagent/client/client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/client/client_mock.go b/pkg/kbagent/client/client_mock.go index 48d2a55b209..11156ea78ff 100644 --- a/pkg/kbagent/client/client_mock.go +++ b/pkg/kbagent/client/client_mock.go @@ -1,5 +1,5 @@ // /* -// Copyright (C) 2022-2024 ApeCloud Co., Ltd +// Copyright (C) 2022-2025 ApeCloud Co., Ltd // // This file is part of KubeBlocks project // diff --git a/pkg/kbagent/client/generate.go b/pkg/kbagent/client/generate.go index 0d6537069d2..fbec3e8a68b 100644 --- a/pkg/kbagent/client/generate.go +++ b/pkg/kbagent/client/generate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/client/http_client.go b/pkg/kbagent/client/http_client.go index c7d135a771e..96fbb730651 100644 --- a/pkg/kbagent/client/http_client.go +++ b/pkg/kbagent/client/http_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/client/portforward_client.go b/pkg/kbagent/client/portforward_client.go index b32ab421344..3ac6baf99e0 100644 --- a/pkg/kbagent/client/portforward_client.go +++ b/pkg/kbagent/client/portforward_client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/proto/errors.go b/pkg/kbagent/proto/errors.go index 7f1606caa1b..5b0d0be25cb 100644 --- a/pkg/kbagent/proto/errors.go +++ b/pkg/kbagent/proto/errors.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd # This file is part of KubeBlocks project diff --git a/pkg/kbagent/proto/proto.go b/pkg/kbagent/proto/proto.go index 546b05473e6..c0778352946 100644 --- a/pkg/kbagent/proto/proto.go +++ b/pkg/kbagent/proto/proto.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/proto/service.go b/pkg/kbagent/proto/service.go index fe6be59e7cb..df0c7b7929e 100644 --- a/pkg/kbagent/proto/service.go +++ b/pkg/kbagent/proto/service.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/server/http_server.go b/pkg/kbagent/server/http_server.go index ad67fc5af89..9616ff2fc7d 100644 --- a/pkg/kbagent/server/http_server.go +++ b/pkg/kbagent/server/http_server.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/server/server.go b/pkg/kbagent/server/server.go index 1e36dc7f793..114ef60f4c1 100644 --- a/pkg/kbagent/server/server.go +++ b/pkg/kbagent/server/server.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/server/streaming_server.go b/pkg/kbagent/server/streaming_server.go index 7f7153a310a..00bafdeb943 100644 --- a/pkg/kbagent/server/streaming_server.go +++ b/pkg/kbagent/server/streaming_server.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/action.go b/pkg/kbagent/service/action.go index f9881f3d4c3..88e90b536db 100644 --- a/pkg/kbagent/service/action.go +++ b/pkg/kbagent/service/action.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/action_test.go b/pkg/kbagent/service/action_test.go index 3a57a19a1ba..3a2eb28b6cd 100644 --- a/pkg/kbagent/service/action_test.go +++ b/pkg/kbagent/service/action_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/command.go b/pkg/kbagent/service/command.go index a9f69fbc2c0..216cf525be1 100644 --- a/pkg/kbagent/service/command.go +++ b/pkg/kbagent/service/command.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/command_test.go b/pkg/kbagent/service/command_test.go index 55fa148af66..2307a2cecab 100644 --- a/pkg/kbagent/service/command_test.go +++ b/pkg/kbagent/service/command_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/probe.go b/pkg/kbagent/service/probe.go index e10b8d71192..d8aafc66aa3 100644 --- a/pkg/kbagent/service/probe.go +++ b/pkg/kbagent/service/probe.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/probe_test.go b/pkg/kbagent/service/probe_test.go index 04784fe9b1d..cb69fd27463 100644 --- a/pkg/kbagent/service/probe_test.go +++ b/pkg/kbagent/service/probe_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/service.go b/pkg/kbagent/service/service.go index 9b32301b7f1..0ab37de352b 100644 --- a/pkg/kbagent/service/service.go +++ b/pkg/kbagent/service/service.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/service_test.go b/pkg/kbagent/service/service_test.go index 151d73f5e72..16fce89507f 100644 --- a/pkg/kbagent/service/service_test.go +++ b/pkg/kbagent/service/service_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/streaming.go b/pkg/kbagent/service/streaming.go index 5938248c05d..a1245cd9cb3 100644 --- a/pkg/kbagent/service/streaming.go +++ b/pkg/kbagent/service/streaming.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/suite_test.go b/pkg/kbagent/service/suite_test.go index af1488fa324..76141d7d3e4 100644 --- a/pkg/kbagent/service/suite_test.go +++ b/pkg/kbagent/service/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/task.go b/pkg/kbagent/service/task.go index abe533dcf0e..063e3ec5030 100644 --- a/pkg/kbagent/service/task.go +++ b/pkg/kbagent/service/task.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/service/task_new_replica.go b/pkg/kbagent/service/task_new_replica.go index 3de97c7d3c1..6786b25f6df 100644 --- a/pkg/kbagent/service/task_new_replica.go +++ b/pkg/kbagent/service/task_new_replica.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/setup.go b/pkg/kbagent/setup.go index 2554addb247..a20aa27394b 100644 --- a/pkg/kbagent/setup.go +++ b/pkg/kbagent/setup.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/util/env.go b/pkg/kbagent/util/env.go index 7c99fae50d3..38b6a76a8d3 100644 --- a/pkg/kbagent/util/env.go +++ b/pkg/kbagent/util/env.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/kbagent/util/event.go b/pkg/kbagent/util/event.go index 3e7742ff347..aaffd8a431a 100644 --- a/pkg/kbagent/util/event.go +++ b/pkg/kbagent/util/event.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/lru/cache.go b/pkg/lru/cache.go index d118bab9dce..aa148f24c0a 100644 --- a/pkg/lru/cache.go +++ b/pkg/lru/cache.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/metrics/runtime.go b/pkg/metrics/runtime.go index 4c399e9fc52..65ed088a14c 100644 --- a/pkg/metrics/runtime.go +++ b/pkg/metrics/runtime.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/backup.go b/pkg/operations/backup.go index 0ce281eb221..f955f3ff014 100644 --- a/pkg/operations/backup.go +++ b/pkg/operations/backup.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/backup_test.go b/pkg/operations/backup_test.go index 78d2f0a9aef..337093fa71e 100644 --- a/pkg/operations/backup_test.go +++ b/pkg/operations/backup_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/custom.go b/pkg/operations/custom.go index 29fc7849b23..afe64eb2caa 100644 --- a/pkg/operations/custom.go +++ b/pkg/operations/custom.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/custom/action.go b/pkg/operations/custom/action.go index 04579c36f9c..43f236a2f2d 100644 --- a/pkg/operations/custom/action.go +++ b/pkg/operations/custom/action.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/custom/action_exec.go b/pkg/operations/custom/action_exec.go index 4989c79322c..b3b4cd0ebab 100644 --- a/pkg/operations/custom/action_exec.go +++ b/pkg/operations/custom/action_exec.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/custom/action_workload.go b/pkg/operations/custom/action_workload.go index 4a8cacb7222..0b79170de91 100644 --- a/pkg/operations/custom/action_workload.go +++ b/pkg/operations/custom/action_workload.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/custom/utils.go b/pkg/operations/custom/utils.go index 978d3a7c6a6..20943037cbd 100644 --- a/pkg/operations/custom/utils.go +++ b/pkg/operations/custom/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/custom/workload_job.go b/pkg/operations/custom/workload_job.go index 0f21a473dfb..4c224048a77 100644 --- a/pkg/operations/custom/workload_job.go +++ b/pkg/operations/custom/workload_job.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/custom/workload_pod.go b/pkg/operations/custom/workload_pod.go index 77be0e813ea..3ce7506f919 100644 --- a/pkg/operations/custom/workload_pod.go +++ b/pkg/operations/custom/workload_pod.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/custom_test.go b/pkg/operations/custom_test.go index 808f63f95fc..c4a05db6b75 100644 --- a/pkg/operations/custom_test.go +++ b/pkg/operations/custom_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/custom_workflow.go b/pkg/operations/custom_workflow.go index 74b5c503c29..84367e0d68d 100644 --- a/pkg/operations/custom_workflow.go +++ b/pkg/operations/custom_workflow.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/expose.go b/pkg/operations/expose.go index 50383ebe978..5b0cda26dbd 100644 --- a/pkg/operations/expose.go +++ b/pkg/operations/expose.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/expose_test.go b/pkg/operations/expose_test.go index a29b4bdb9c1..b9f3583dcdd 100644 --- a/pkg/operations/expose_test.go +++ b/pkg/operations/expose_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/horizontal_scaling.go b/pkg/operations/horizontal_scaling.go index f0d8316cf21..cceaa220009 100644 --- a/pkg/operations/horizontal_scaling.go +++ b/pkg/operations/horizontal_scaling.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/horizontal_scaling_test.go b/pkg/operations/horizontal_scaling_test.go index 66d5409c093..ee9d4120773 100644 --- a/pkg/operations/horizontal_scaling_test.go +++ b/pkg/operations/horizontal_scaling_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/ops_comp_helper.go b/pkg/operations/ops_comp_helper.go index cf763a92206..e3904cceace 100644 --- a/pkg/operations/ops_comp_helper.go +++ b/pkg/operations/ops_comp_helper.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd # This file is part of KubeBlocks project diff --git a/pkg/operations/ops_manager.go b/pkg/operations/ops_manager.go index 8b48316a1b2..a29ef08bedd 100644 --- a/pkg/operations/ops_manager.go +++ b/pkg/operations/ops_manager.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/ops_progress_util.go b/pkg/operations/ops_progress_util.go index cf7967a19a6..4a20ec26cfc 100644 --- a/pkg/operations/ops_progress_util.go +++ b/pkg/operations/ops_progress_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/ops_progress_util_test.go b/pkg/operations/ops_progress_util_test.go index f27f722b6fd..6b6b6ace7b3 100644 --- a/pkg/operations/ops_progress_util_test.go +++ b/pkg/operations/ops_progress_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/ops_util.go b/pkg/operations/ops_util.go index ee4133a3c8b..e6f4ab90f4d 100644 --- a/pkg/operations/ops_util.go +++ b/pkg/operations/ops_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/ops_util_test.go b/pkg/operations/ops_util_test.go index b0201d474c9..23644e4f4ed 100644 --- a/pkg/operations/ops_util_test.go +++ b/pkg/operations/ops_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/queue_util.go b/pkg/operations/queue_util.go index d4a51b40f6d..b608a6152a4 100644 --- a/pkg/operations/queue_util.go +++ b/pkg/operations/queue_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/rebuild_instance.go b/pkg/operations/rebuild_instance.go index dc17f8fe6ba..6f9c2b89328 100644 --- a/pkg/operations/rebuild_instance.go +++ b/pkg/operations/rebuild_instance.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/rebuild_instance_inplace.go b/pkg/operations/rebuild_instance_inplace.go index 5a6462d3a49..328a923fb3f 100644 --- a/pkg/operations/rebuild_instance_inplace.go +++ b/pkg/operations/rebuild_instance_inplace.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/rebuild_instance_test.go b/pkg/operations/rebuild_instance_test.go index c4d642fd03b..0f6a1dfd8d6 100644 --- a/pkg/operations/rebuild_instance_test.go +++ b/pkg/operations/rebuild_instance_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/reconfigure.go b/pkg/operations/reconfigure.go index 399b81f228f..d84ecb3f9dd 100644 --- a/pkg/operations/reconfigure.go +++ b/pkg/operations/reconfigure.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/reconfigure_pipeline.go b/pkg/operations/reconfigure_pipeline.go index 40f3dbd0a57..1eaa4b3c2d3 100644 --- a/pkg/operations/reconfigure_pipeline.go +++ b/pkg/operations/reconfigure_pipeline.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/reconfigure_pipeline_test.go b/pkg/operations/reconfigure_pipeline_test.go index 96d6150c471..94f13fb3b3d 100644 --- a/pkg/operations/reconfigure_pipeline_test.go +++ b/pkg/operations/reconfigure_pipeline_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/reconfigure_test.go b/pkg/operations/reconfigure_test.go index 5d7ebd1bace..8c63a5328fc 100644 --- a/pkg/operations/reconfigure_test.go +++ b/pkg/operations/reconfigure_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/reconfigure_util.go b/pkg/operations/reconfigure_util.go index b539ab77ed9..898d8253be0 100644 --- a/pkg/operations/reconfigure_util.go +++ b/pkg/operations/reconfigure_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/reconfigure_util_test.go b/pkg/operations/reconfigure_util_test.go index 729b020607d..9c9a8c27ab1 100644 --- a/pkg/operations/reconfigure_util_test.go +++ b/pkg/operations/reconfigure_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/restart.go b/pkg/operations/restart.go index 4289936bccb..6e6f931e590 100644 --- a/pkg/operations/restart.go +++ b/pkg/operations/restart.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/restart_test.go b/pkg/operations/restart_test.go index 43f7ddedef7..f1d76ad7086 100644 --- a/pkg/operations/restart_test.go +++ b/pkg/operations/restart_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/restore.go b/pkg/operations/restore.go index 8a4a6c2b748..4402cf3cddf 100644 --- a/pkg/operations/restore.go +++ b/pkg/operations/restore.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/restore_test.go b/pkg/operations/restore_test.go index f51f9574264..8a76e790a4d 100644 --- a/pkg/operations/restore_test.go +++ b/pkg/operations/restore_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/start.go b/pkg/operations/start.go index 504fef88d78..f102b96c4db 100644 --- a/pkg/operations/start.go +++ b/pkg/operations/start.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/start_test.go b/pkg/operations/start_test.go index 5dc530592ad..ce92d557ec4 100644 --- a/pkg/operations/start_test.go +++ b/pkg/operations/start_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/stop.go b/pkg/operations/stop.go index 1351b779827..bb5b0d888e0 100644 --- a/pkg/operations/stop.go +++ b/pkg/operations/stop.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/stop_test.go b/pkg/operations/stop_test.go index c7d83905755..c16b8b2e5dd 100644 --- a/pkg/operations/stop_test.go +++ b/pkg/operations/stop_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/suite_test.go b/pkg/operations/suite_test.go index ab2c3f438eb..7e8d3fa98fc 100644 --- a/pkg/operations/suite_test.go +++ b/pkg/operations/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/switchover.go b/pkg/operations/switchover.go index 281ecea5588..ffe54c8507a 100644 --- a/pkg/operations/switchover.go +++ b/pkg/operations/switchover.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/switchover_test.go b/pkg/operations/switchover_test.go index 920dfccdca2..f8c75734a6e 100644 --- a/pkg/operations/switchover_test.go +++ b/pkg/operations/switchover_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/type.go b/pkg/operations/type.go index 54e159d32a4..e570091f483 100644 --- a/pkg/operations/type.go +++ b/pkg/operations/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/upgrade.go b/pkg/operations/upgrade.go index a63ee2ffa2c..37bb1699ab0 100644 --- a/pkg/operations/upgrade.go +++ b/pkg/operations/upgrade.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/upgrade_test.go b/pkg/operations/upgrade_test.go index 6efae766c16..624516b1ff0 100644 --- a/pkg/operations/upgrade_test.go +++ b/pkg/operations/upgrade_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/util/common_util.go b/pkg/operations/util/common_util.go index 40a1850ac0c..66e63ff5798 100644 --- a/pkg/operations/util/common_util.go +++ b/pkg/operations/util/common_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/util/common_util_test.go b/pkg/operations/util/common_util_test.go index 40495f74ca9..9a785d7b110 100644 --- a/pkg/operations/util/common_util_test.go +++ b/pkg/operations/util/common_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/util/suite_test.go b/pkg/operations/util/suite_test.go index b827264b6e5..dbb6290c117 100644 --- a/pkg/operations/util/suite_test.go +++ b/pkg/operations/util/suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/vertical_scaling.go b/pkg/operations/vertical_scaling.go index 300c220d722..1f2951211e7 100644 --- a/pkg/operations/vertical_scaling.go +++ b/pkg/operations/vertical_scaling.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/vertical_scaling_test.go b/pkg/operations/vertical_scaling_test.go index 18139c5cf56..67506a57c98 100644 --- a/pkg/operations/vertical_scaling_test.go +++ b/pkg/operations/vertical_scaling_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/volume_expansion.go b/pkg/operations/volume_expansion.go index 7a629ffa8d8..342b150f858 100644 --- a/pkg/operations/volume_expansion.go +++ b/pkg/operations/volume_expansion.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/operations/volume_expansion_test.go b/pkg/operations/volume_expansion_test.go index 7d4efb868c1..c58087ad25f 100644 --- a/pkg/operations/volume_expansion_test.go +++ b/pkg/operations/volume_expansion_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/base_factory.go b/pkg/testutil/apps/base_factory.go index 3df01b19070..2800f5b4c2c 100644 --- a/pkg/testutil/apps/base_factory.go +++ b/pkg/testutil/apps/base_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/cluster_factory.go b/pkg/testutil/apps/cluster_factory.go index 8b5521bf0f4..063ba404eaa 100644 --- a/pkg/testutil/apps/cluster_factory.go +++ b/pkg/testutil/apps/cluster_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/cluster_instance_set_test_util.go b/pkg/testutil/apps/cluster_instance_set_test_util.go index 8090aa5b320..83190a5e121 100644 --- a/pkg/testutil/apps/cluster_instance_set_test_util.go +++ b/pkg/testutil/apps/cluster_instance_set_test_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/cluster_util.go b/pkg/testutil/apps/cluster_util.go index d29fffc0768..847541c7170 100644 --- a/pkg/testutil/apps/cluster_util.go +++ b/pkg/testutil/apps/cluster_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/clusterdef_factory.go b/pkg/testutil/apps/clusterdef_factory.go index 10a4f7dc493..4c3c86c4e2e 100644 --- a/pkg/testutil/apps/clusterdef_factory.go +++ b/pkg/testutil/apps/clusterdef_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/common_util.go b/pkg/testutil/apps/common_util.go index 3502a8dae51..230f8ae0a37 100644 --- a/pkg/testutil/apps/common_util.go +++ b/pkg/testutil/apps/common_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/component_factory.go b/pkg/testutil/apps/component_factory.go index 1364dc58b7c..d8325465647 100644 --- a/pkg/testutil/apps/component_factory.go +++ b/pkg/testutil/apps/component_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/component_util.go b/pkg/testutil/apps/component_util.go index 53d4c95ff9b..2cf06280184 100644 --- a/pkg/testutil/apps/component_util.go +++ b/pkg/testutil/apps/component_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/component_version_util.go b/pkg/testutil/apps/component_version_util.go index 8106dab34b3..c507217b898 100644 --- a/pkg/testutil/apps/component_version_util.go +++ b/pkg/testutil/apps/component_version_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/componentdefinition_factory.go b/pkg/testutil/apps/componentdefinition_factory.go index 8b5cc4b845c..4dfab70bf38 100644 --- a/pkg/testutil/apps/componentdefinition_factory.go +++ b/pkg/testutil/apps/componentdefinition_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/componentversion_factory.go b/pkg/testutil/apps/componentversion_factory.go index 74ee27e0850..d60e001af15 100644 --- a/pkg/testutil/apps/componentversion_factory.go +++ b/pkg/testutil/apps/componentversion_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/constant.go b/pkg/testutil/apps/constant.go index 0de7549ecd8..e33421c7f77 100644 --- a/pkg/testutil/apps/constant.go +++ b/pkg/testutil/apps/constant.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/instance_set_factoy.go b/pkg/testutil/apps/instance_set_factoy.go index e8a12b99077..b78b8198645 100644 --- a/pkg/testutil/apps/instance_set_factoy.go +++ b/pkg/testutil/apps/instance_set_factoy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/kb_agent_util.go b/pkg/testutil/apps/kb_agent_util.go index a813cd20bf6..3de982d8efe 100644 --- a/pkg/testutil/apps/kb_agent_util.go +++ b/pkg/testutil/apps/kb_agent_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/native_object_util.go b/pkg/testutil/apps/native_object_util.go index de0f85db446..a7f49fa960c 100644 --- a/pkg/testutil/apps/native_object_util.go +++ b/pkg/testutil/apps/native_object_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/pod_factory.go b/pkg/testutil/apps/pod_factory.go index 20235f38766..4d9461b7044 100644 --- a/pkg/testutil/apps/pod_factory.go +++ b/pkg/testutil/apps/pod_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/pv_factoy.go b/pkg/testutil/apps/pv_factoy.go index 077ebf81353..2e3a3ccc6b1 100644 --- a/pkg/testutil/apps/pv_factoy.go +++ b/pkg/testutil/apps/pv_factoy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/pvc_factoy.go b/pkg/testutil/apps/pvc_factoy.go index 1892359f097..227cea36236 100644 --- a/pkg/testutil/apps/pvc_factoy.go +++ b/pkg/testutil/apps/pvc_factoy.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/servicedescriptor_factory.go b/pkg/testutil/apps/servicedescriptor_factory.go index df3b7fbca08..11a8921a7a7 100644 --- a/pkg/testutil/apps/servicedescriptor_factory.go +++ b/pkg/testutil/apps/servicedescriptor_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/shardingdefinition_factory.go b/pkg/testutil/apps/shardingdefinition_factory.go index d1cbc3e61a4..a4d0df1c6e3 100644 --- a/pkg/testutil/apps/shardingdefinition_factory.go +++ b/pkg/testutil/apps/shardingdefinition_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/apps/sidecardefinition_factory.go b/pkg/testutil/apps/sidecardefinition_factory.go index e3de29006a6..8308ba320d9 100644 --- a/pkg/testutil/apps/sidecardefinition_factory.go +++ b/pkg/testutil/apps/sidecardefinition_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/backup_factory.go b/pkg/testutil/dataprotection/backup_factory.go index a80c3db17d5..9ccd173835a 100644 --- a/pkg/testutil/dataprotection/backup_factory.go +++ b/pkg/testutil/dataprotection/backup_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/backup_utils.go b/pkg/testutil/dataprotection/backup_utils.go index aaecfeec62a..dcb6272d7b6 100644 --- a/pkg/testutil/dataprotection/backup_utils.go +++ b/pkg/testutil/dataprotection/backup_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/backuppolicy_factory.go b/pkg/testutil/dataprotection/backuppolicy_factory.go index eba99c86520..97c15691d79 100644 --- a/pkg/testutil/dataprotection/backuppolicy_factory.go +++ b/pkg/testutil/dataprotection/backuppolicy_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/backuppolicytemplate_factory.go b/pkg/testutil/dataprotection/backuppolicytemplate_factory.go index 39983a4e789..cb66369907c 100644 --- a/pkg/testutil/dataprotection/backuppolicytemplate_factory.go +++ b/pkg/testutil/dataprotection/backuppolicytemplate_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/backuprepo_factory.go b/pkg/testutil/dataprotection/backuprepo_factory.go index c34e4061dfa..b0ec5054a18 100644 --- a/pkg/testutil/dataprotection/backuprepo_factory.go +++ b/pkg/testutil/dataprotection/backuprepo_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/backupschedule_factory.go b/pkg/testutil/dataprotection/backupschedule_factory.go index 029f66c610f..3442d737a03 100644 --- a/pkg/testutil/dataprotection/backupschedule_factory.go +++ b/pkg/testutil/dataprotection/backupschedule_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/constant.go b/pkg/testutil/dataprotection/constant.go index 7e7fbce1cca..1f322d07308 100644 --- a/pkg/testutil/dataprotection/constant.go +++ b/pkg/testutil/dataprotection/constant.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/k8s_utils.go b/pkg/testutil/dataprotection/k8s_utils.go index c7aeea56f19..dd5ac218a21 100644 --- a/pkg/testutil/dataprotection/k8s_utils.go +++ b/pkg/testutil/dataprotection/k8s_utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/restore_factory.go b/pkg/testutil/dataprotection/restore_factory.go index 853afff19b1..ef8e6ca51f1 100644 --- a/pkg/testutil/dataprotection/restore_factory.go +++ b/pkg/testutil/dataprotection/restore_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/types.go b/pkg/testutil/dataprotection/types.go index 7b4c2f7081e..76c99561e34 100644 --- a/pkg/testutil/dataprotection/types.go +++ b/pkg/testutil/dataprotection/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/utils.go b/pkg/testutil/dataprotection/utils.go index f8ac25fd9de..0898417d483 100644 --- a/pkg/testutil/dataprotection/utils.go +++ b/pkg/testutil/dataprotection/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/dataprotection/vs_factory.go b/pkg/testutil/dataprotection/vs_factory.go index ae8451f7586..723e3c52afd 100644 --- a/pkg/testutil/dataprotection/vs_factory.go +++ b/pkg/testutil/dataprotection/vs_factory.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/k8s/instance_set_util.go b/pkg/testutil/k8s/instance_set_util.go index c026ee2b5ed..2ad18c06684 100644 --- a/pkg/testutil/k8s/instance_set_util.go +++ b/pkg/testutil/k8s/instance_set_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/k8s/k8sclient_util.go b/pkg/testutil/k8s/k8sclient_util.go index 4457d1a9e30..0861f662bfa 100644 --- a/pkg/testutil/k8s/k8sclient_util.go +++ b/pkg/testutil/k8s/k8sclient_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/k8s/mocks/generate.go b/pkg/testutil/k8s/mocks/generate.go index b20dfbdf778..db8b514a464 100644 --- a/pkg/testutil/k8s/mocks/generate.go +++ b/pkg/testutil/k8s/mocks/generate.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/k8s/pod_util.go b/pkg/testutil/k8s/pod_util.go index 5e36bb25319..06c03f36f3e 100644 --- a/pkg/testutil/k8s/pod_util.go +++ b/pkg/testutil/k8s/pod_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/k8s/storage_util.go b/pkg/testutil/k8s/storage_util.go index 50243e84300..e945755c7ba 100644 --- a/pkg/testutil/k8s/storage_util.go +++ b/pkg/testutil/k8s/storage_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/k8s/tunnel_util.go b/pkg/testutil/k8s/tunnel_util.go index 32d05bfdbb0..1efb3b685db 100644 --- a/pkg/testutil/k8s/tunnel_util.go +++ b/pkg/testutil/k8s/tunnel_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/operations/opsrequest_util.go b/pkg/testutil/operations/opsrequest_util.go index fafdcbfe858..418b2653e20 100644 --- a/pkg/testutil/operations/opsrequest_util.go +++ b/pkg/testutil/operations/opsrequest_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/testutil/type.go b/pkg/testutil/type.go index c0249516533..8e54d9549cd 100644 --- a/pkg/testutil/type.go +++ b/pkg/testutil/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/config_object.go b/pkg/unstructured/config_object.go index 2de8b04321b..764a27cf15a 100644 --- a/pkg/unstructured/config_object.go +++ b/pkg/unstructured/config_object.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/lexer.go b/pkg/unstructured/lexer.go index 79dacd620f4..6c047c80ccf 100644 --- a/pkg/unstructured/lexer.go +++ b/pkg/unstructured/lexer.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/parser_fsm.go b/pkg/unstructured/parser_fsm.go index 68ce53c98b0..f4c8c6ecfc4 100644 --- a/pkg/unstructured/parser_fsm.go +++ b/pkg/unstructured/parser_fsm.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/parser_fsm_test.go b/pkg/unstructured/parser_fsm_test.go index f350d919e5d..11484c74272 100644 --- a/pkg/unstructured/parser_fsm_test.go +++ b/pkg/unstructured/parser_fsm_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/properties.go b/pkg/unstructured/properties.go index a8c7ba6a7f9..2f9f4bebe78 100644 --- a/pkg/unstructured/properties.go +++ b/pkg/unstructured/properties.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/properties_test.go b/pkg/unstructured/properties_test.go index d61ca99f388..96e037040d8 100644 --- a/pkg/unstructured/properties_test.go +++ b/pkg/unstructured/properties_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/redis_config.go b/pkg/unstructured/redis_config.go index e95f02b96bd..9080a3712cc 100644 --- a/pkg/unstructured/redis_config.go +++ b/pkg/unstructured/redis_config.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/redis_config_test.go b/pkg/unstructured/redis_config_test.go index ebacc4e64e6..7a5a6b67211 100644 --- a/pkg/unstructured/redis_config_test.go +++ b/pkg/unstructured/redis_config_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/rune_util.go b/pkg/unstructured/rune_util.go index e72bfbf9dda..fffa6d1dfb7 100644 --- a/pkg/unstructured/rune_util.go +++ b/pkg/unstructured/rune_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/rune_util_test.go b/pkg/unstructured/rune_util_test.go index 22b74a67963..fb8cae8d9b1 100644 --- a/pkg/unstructured/rune_util_test.go +++ b/pkg/unstructured/rune_util_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/type.go b/pkg/unstructured/type.go index ec4eb9f4ded..f78ea808f2c 100644 --- a/pkg/unstructured/type.go +++ b/pkg/unstructured/type.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/viper_util.go b/pkg/unstructured/viper_util.go index 8480b42777a..6545f08df37 100644 --- a/pkg/unstructured/viper_util.go +++ b/pkg/unstructured/viper_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/viper_wrap.go b/pkg/unstructured/viper_wrap.go index 1c191602bde..a696ea7c7a5 100644 --- a/pkg/unstructured/viper_wrap.go +++ b/pkg/unstructured/viper_wrap.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/viper_wrap_test.go b/pkg/unstructured/viper_wrap_test.go index 71df2832be3..a6c439461c3 100644 --- a/pkg/unstructured/viper_wrap_test.go +++ b/pkg/unstructured/viper_wrap_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/xml_config.go b/pkg/unstructured/xml_config.go index b9e3c1da80a..94ddb98573d 100644 --- a/pkg/unstructured/xml_config.go +++ b/pkg/unstructured/xml_config.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/xml_config_test.go b/pkg/unstructured/xml_config_test.go index fc722deb8e4..24ef27f49f2 100644 --- a/pkg/unstructured/xml_config_test.go +++ b/pkg/unstructured/xml_config_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/yaml_config.go b/pkg/unstructured/yaml_config.go index 3f2af663a98..2ee02db1f50 100644 --- a/pkg/unstructured/yaml_config.go +++ b/pkg/unstructured/yaml_config.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/unstructured/yaml_config_test.go b/pkg/unstructured/yaml_config_test.go index 97970f40522..4df88d103ee 100644 --- a/pkg/unstructured/yaml_config_test.go +++ b/pkg/unstructured/yaml_config_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/viperx/doc.go b/pkg/viperx/doc.go index 5ecec3e7cf0..8759bd00b75 100644 --- a/pkg/viperx/doc.go +++ b/pkg/viperx/doc.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/pkg/viperx/viperx.go b/pkg/viperx/viperx.go index 113bc60582e..7ec43809f8f 100644 --- a/pkg/viperx/viperx.go +++ b/pkg/viperx/viperx.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/test/e2e/e2e_suite_test.go b/test/e2e/e2e_suite_test.go index 239ad4cb448..f15882e5640 100644 --- a/test/e2e/e2e_suite_test.go +++ b/test/e2e/e2e_suite_test.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/envcheck/envcheck.go b/test/e2e/envcheck/envcheck.go index ed755cef180..0935616de30 100644 --- a/test/e2e/envcheck/envcheck.go +++ b/test/e2e/envcheck/envcheck.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/installation/installcheck.go b/test/e2e/installation/installcheck.go index a6720455994..d57ca3bce1f 100644 --- a/test/e2e/installation/installcheck.go +++ b/test/e2e/installation/installcheck.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/testdata/smoketest/analyze_report.go b/test/e2e/testdata/smoketest/analyze_report.go index 56e1fb9dd0f..8d724a729c9 100644 --- a/test/e2e/testdata/smoketest/analyze_report.go +++ b/test/e2e/testdata/smoketest/analyze_report.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/test/e2e/testdata/smoketest/config.go b/test/e2e/testdata/smoketest/config.go index aff5dda83dc..28f2ea6ea14 100644 --- a/test/e2e/testdata/smoketest/config.go +++ b/test/e2e/testdata/smoketest/config.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/test/e2e/testdata/smoketest/playgroundtest.go b/test/e2e/testdata/smoketest/playgroundtest.go index d3b429b7a93..cb2ad364513 100644 --- a/test/e2e/testdata/smoketest/playgroundtest.go +++ b/test/e2e/testdata/smoketest/playgroundtest.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/testdata/smoketest/report.go b/test/e2e/testdata/smoketest/report.go index bdc84fcb339..f097c766322 100644 --- a/test/e2e/testdata/smoketest/report.go +++ b/test/e2e/testdata/smoketest/report.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/test/e2e/testdata/smoketest/smoketestrun.go b/test/e2e/testdata/smoketest/smoketestrun.go index 790448880f7..70558125e12 100644 --- a/test/e2e/testdata/smoketest/smoketestrun.go +++ b/test/e2e/testdata/smoketest/smoketestrun.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/types.go b/test/e2e/types.go index f04b3c742ef..991225c49bf 100644 --- a/test/e2e/types.go +++ b/test/e2e/types.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/util/client.go b/test/e2e/util/client.go index c13e0e22e23..47f02f17c17 100644 --- a/test/e2e/util/client.go +++ b/test/e2e/util/client.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/util/common.go b/test/e2e/util/common.go index ae2e0425357..1f74472766c 100644 --- a/test/e2e/util/common.go +++ b/test/e2e/util/common.go @@ -1,6 +1,6 @@ /* Copyright the Velero contributors. -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/util/s3_util.go b/test/e2e/util/s3_util.go index a4adf173d98..b3020827d2b 100644 --- a/test/e2e/util/s3_util.go +++ b/test/e2e/util/s3_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/test/e2e/util/smoke_util.go b/test/e2e/util/smoke_util.go index 47b76d2b57c..31c81c7be21 100644 --- a/test/e2e/util/smoke_util.go +++ b/test/e2e/util/smoke_util.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/testdata/cue_testdata/clickhouse.cue b/test/testdata/cue_testdata/clickhouse.cue index a20afb650c5..a62d5427314 100644 --- a/test/testdata/cue_testdata/clickhouse.cue +++ b/test/testdata/cue_testdata/clickhouse.cue @@ -1,4 +1,4 @@ -//Copyright (C) 2022-2024 ApeCloud Co., Ltd +//Copyright (C) 2022-2025 ApeCloud Co., Ltd // //This file is part of KubeBlocks project // diff --git a/test/testdata/cue_testdata/mongod.cue b/test/testdata/cue_testdata/mongod.cue index 1f7a65448b2..1bdd1d41765 100644 --- a/test/testdata/cue_testdata/mongod.cue +++ b/test/testdata/cue_testdata/mongod.cue @@ -1,4 +1,4 @@ -//Copyright (C) 2022-2024 ApeCloud Co., Ltd +//Copyright (C) 2022-2025 ApeCloud Co., Ltd // //This file is part of KubeBlocks project // diff --git a/test/testdata/cue_testdata/mysql.cue b/test/testdata/cue_testdata/mysql.cue index 31cff97834a..58b1b20aa70 100644 --- a/test/testdata/cue_testdata/mysql.cue +++ b/test/testdata/cue_testdata/mysql.cue @@ -1,4 +1,4 @@ -//Copyright (C) 2022-2024 ApeCloud Co., Ltd +//Copyright (C) 2022-2025 ApeCloud Co., Ltd // //This file is part of KubeBlocks project // diff --git a/test/testdata/cue_testdata/mysql_for_cli.cue b/test/testdata/cue_testdata/mysql_for_cli.cue index 9161aca18ea..8345d1f3d94 100644 --- a/test/testdata/cue_testdata/mysql_for_cli.cue +++ b/test/testdata/cue_testdata/mysql_for_cli.cue @@ -1,4 +1,4 @@ -//Copyright (C) 2022-2024 ApeCloud Co., Ltd +//Copyright (C) 2022-2025 ApeCloud Co., Ltd // //This file is part of KubeBlocks project // diff --git a/test/testdata/cue_testdata/mysql_openapi.cue b/test/testdata/cue_testdata/mysql_openapi.cue index ca90fa9a887..62836f1c87f 100644 --- a/test/testdata/cue_testdata/mysql_openapi.cue +++ b/test/testdata/cue_testdata/mysql_openapi.cue @@ -1,4 +1,4 @@ -//Copyright (C) 2022-2024 ApeCloud Co., Ltd +//Copyright (C) 2022-2025 ApeCloud Co., Ltd // //This file is part of KubeBlocks project // diff --git a/test/testdata/cue_testdata/mysql_openapi_v2.cue b/test/testdata/cue_testdata/mysql_openapi_v2.cue index 19c3c0b091e..5a853191e6c 100644 --- a/test/testdata/cue_testdata/mysql_openapi_v2.cue +++ b/test/testdata/cue_testdata/mysql_openapi_v2.cue @@ -1,4 +1,4 @@ -//Copyright (C) 2022-2024 ApeCloud Co., Ltd +//Copyright (C) 2022-2025 ApeCloud Co., Ltd // //This file is part of KubeBlocks project // diff --git a/test/testdata/cue_testdata/mysql_simple.cue b/test/testdata/cue_testdata/mysql_simple.cue index 987dc9a2b85..45fa97c0c52 100644 --- a/test/testdata/cue_testdata/mysql_simple.cue +++ b/test/testdata/cue_testdata/mysql_simple.cue @@ -1,4 +1,4 @@ -//Copyright (C) 2022-2024 ApeCloud Co., Ltd +//Copyright (C) 2022-2025 ApeCloud Co., Ltd // //This file is part of KubeBlocks project // diff --git a/test/testdata/cue_testdata/pg14.cue b/test/testdata/cue_testdata/pg14.cue index a236007c730..9e4fddbe163 100644 --- a/test/testdata/cue_testdata/pg14.cue +++ b/test/testdata/cue_testdata/pg14.cue @@ -1,4 +1,4 @@ -//Copyright (C) 2022-2024 ApeCloud Co., Ltd +//Copyright (C) 2022-2025 ApeCloud Co., Ltd // //This file is part of KubeBlocks project // diff --git a/test/testdata/cue_testdata/test_import_type.cue b/test/testdata/cue_testdata/test_import_type.cue index 9870a2f7f8b..a89a16fe73a 100644 --- a/test/testdata/cue_testdata/test_import_type.cue +++ b/test/testdata/cue_testdata/test_import_type.cue @@ -1,4 +1,4 @@ -// Copyright (C) 2022-2024 ApeCloud Co., Ltd +// Copyright (C) 2022-2025 ApeCloud Co., Ltd // // This file is part of KubeBlocks project // diff --git a/test/testdata/cue_testdata/wesql.cue b/test/testdata/cue_testdata/wesql.cue index 04d60ad6a7f..2669f2ea0ee 100644 --- a/test/testdata/cue_testdata/wesql.cue +++ b/test/testdata/cue_testdata/wesql.cue @@ -1,4 +1,4 @@ -//Copyright (C) 2022-2024 ApeCloud Co., Ltd +//Copyright (C) 2022-2025 ApeCloud Co., Ltd // //This file is part of KubeBlocks project // diff --git a/test/testdata/resources/mysql-consensus-config-constraint.yaml b/test/testdata/resources/mysql-consensus-config-constraint.yaml index c3c65f283b8..e50a53d8b84 100644 --- a/test/testdata/resources/mysql-consensus-config-constraint.yaml +++ b/test/testdata/resources/mysql-consensus-config-constraint.yaml @@ -24,7 +24,7 @@ spec: # schema: auto generate from mmmcue scripts # example: ../../pkg/configuration/testdata/mysql_openapi.json cue: |- - //Copyright (C) 2022-2024 ApeCloud Co., Ltd + //Copyright (C) 2022-2025 ApeCloud Co., Ltd // //This file is part of KubeBlocks project // diff --git a/test/testdata/testdata.go b/test/testdata/testdata.go index 4bf2bfad1a3..64fec9c3c4e 100644 --- a/test/testdata/testdata.go +++ b/test/testdata/testdata.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/testutils/helm.go b/test/testutils/helm.go index f8f1bdc71c6..d502e88e7d4 100644 --- a/test/testutils/helm.go +++ b/test/testutils/helm.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/test/testutils/utils.go b/test/testutils/utils.go index 1993c42b774..9138807ae9d 100644 --- a/test/testutils/utils.go +++ b/test/testutils/utils.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project diff --git a/tools/tools.go b/tools/tools.go index a5fbdc25c1b..476fc6010af 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -2,7 +2,7 @@ // +build tools /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/version/version.go b/version/version.go index a8a17443a89..415a4c61e34 100644 --- a/version/version.go +++ b/version/version.go @@ -1,5 +1,5 @@ /* -Copyright (C) 2022-2024 ApeCloud Co., Ltd +Copyright (C) 2022-2025 ApeCloud Co., Ltd This file is part of KubeBlocks project From 1a5f1ee51d63e3fd708964d54b4eba56847a440c Mon Sep 17 00:00:00 2001 From: "L.Dongming" Date: Thu, 23 Jan 2025 14:38:15 +0800 Subject: [PATCH 2/2] rerun make generate --- apis/apps/v1alpha1/opsrequest_types.go | 1508 ------------------------ 1 file changed, 1508 deletions(-) delete mode 100644 apis/apps/v1alpha1/opsrequest_types.go diff --git a/apis/apps/v1alpha1/opsrequest_types.go b/apis/apps/v1alpha1/opsrequest_types.go deleted file mode 100644 index d35e4f1e0a9..00000000000 --- a/apis/apps/v1alpha1/opsrequest_types.go +++ /dev/null @@ -1,1508 +0,0 @@ -/* -Copyright (C) 2022-2025 ApeCloud Co., Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v1alpha1 - -import ( - corev1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/resource" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/util/intstr" -) - -// TODO: @wangyelei could refactor to ops group - -// OpsRequestSpec defines the desired state of OpsRequest -// -// +kubebuilder:validation:XValidation:rule="has(self.cancel) && self.cancel ? (self.type in ['VerticalScaling', 'HorizontalScaling']) : true",message="forbidden to cancel the opsRequest which type not in ['VerticalScaling','HorizontalScaling']" -type OpsRequestSpec struct { - // Specifies the name of the Cluster resource that this operation is targeting. - // - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.clusterName" - ClusterName string `json:"clusterName,omitempty"` - - // Deprecated: since v0.9, use clusterName instead. - // Specifies the name of the Cluster resource that this operation is targeting. - // +kubebuilder:deprecatedversion:warning="This field has been deprecated since 0.9.0" - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.clusterRef" - ClusterRef string `json:"clusterRef,omitempty"` - - // Indicates whether the current operation should be canceled and terminated gracefully if it's in the - // "Pending", "Creating", or "Running" state. - // - // This field applies only to "VerticalScaling" and "HorizontalScaling" opsRequests. - // - // Note: Setting `cancel` to true is irreversible; further modifications to this field are ineffective. - // - // +optional - Cancel bool `json:"cancel,omitempty"` - - // Instructs the system to bypass pre-checks (including cluster state checks and customized pre-conditions hooks) - // and immediately execute the opsRequest, except for the opsRequest of 'Start' type, which will still undergo - // pre-checks even if `force` is true. - // - // This is useful for concurrent execution of 'VerticalScaling' and 'HorizontalScaling' opsRequests. - // By setting `force` to true, you can bypass the default checks and demand these opsRequests to run - // simultaneously. - // - // Note: Once set, the `force` field is immutable and cannot be updated. - // - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.force" - // +optional - Force bool `json:"force,omitempty"` - - // Indicates whether opsRequest should continue to queue when 'force' is set to true. - // +kubebuilder:default=false - // +optional - EnqueueOnForce bool `json:"enqueueOnForce,omitempty"` - - // Specifies the type of this operation. Supported types include "Start", "Stop", "Restart", "Switchover", - // "VerticalScaling", "HorizontalScaling", "VolumeExpansion", "Reconfiguring", "Upgrade", "Backup", "Restore", - // "Expose", "DataScript", "RebuildInstance", "Custom". - // - // Note: This field is immutable once set. - // - // +kubebuilder:validation:Required - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.type" - Type OpsType `json:"type"` - - // Specifies the duration in seconds that an OpsRequest will remain in the system after successfully completing - // (when `opsRequest.status.phase` is "Succeed") before automatic deletion. - // - // +optional - TTLSecondsAfterSucceed int32 `json:"ttlSecondsAfterSucceed,omitempty"` - - // Specifies the duration in seconds that an OpsRequest will remain in the system after completion - // for any phase other than "Succeed" (e.g., "Failed", "Cancelled", "Aborted") before automatic deletion. - // - // +optional - TTLSecondsAfterUnsuccessfulCompletion int32 `json:"ttlSecondsAfterUnsuccessfulCompletion,omitempty"` - - // Specifies the maximum time in seconds that the OpsRequest will wait for its pre-conditions to be met - // before it aborts the operation. - // If set to 0 (default), pre-conditions must be satisfied immediately for the OpsRequest to proceed. - // - // +kubebuilder:default=0 - // +optional - PreConditionDeadlineSeconds *int32 `json:"preConditionDeadlineSeconds,omitempty"` - - // Specifies the maximum duration (in seconds) that an opsRequest is allowed to run. - // If the opsRequest runs longer than this duration, its phase will be marked as Aborted. - // If this value is not set or set to 0, the timeout will be ignored and the opsRequest will run indefinitely. - // +optional - // +kubebuilder:Minimum=0 - TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` - - // Exactly one of its members must be set. - SpecificOpsRequest `json:",inline"` -} - -type SpecificOpsRequest struct { - // Specifies the desired new version of the Cluster. - // - // Note: This field is immutable once set. - // - // +optional - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.upgrade" - Upgrade *Upgrade `json:"upgrade,omitempty"` - - // Lists HorizontalScaling objects, each specifying scaling requirements for a Component, - // including desired replica changes, configurations for new instances, modifications for existing instances, - // and take offline/online the specified instances. - // - // +optional - // +patchMergeKey=componentName - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=componentName - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.horizontalScaling" - HorizontalScalingList []HorizontalScaling `json:"horizontalScaling,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` - - // Lists VolumeExpansion objects, each specifying a component and its corresponding volumeClaimTemplates - // that requires storage expansion. - // - // +optional - // +patchMergeKey=componentName - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=componentName - VolumeExpansionList []VolumeExpansion `json:"volumeExpansion,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` - - // Lists Components to be started. If empty, all components will be started. - // - // +optional - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.start" - // +kubebuilder:validation:MaxItems=1024 - // +patchMergeKey=componentName - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=componentName - StartList []ComponentOps `json:"start,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` - - // Lists Components to be stopped. If empty, all components will be stopped. - // - // +optional - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.stop" - // +kubebuilder:validation:MaxItems=1024 - // +patchMergeKey=componentName - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=componentName - StopList []ComponentOps `json:"stop,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` - - // Lists Components to be restarted. - // - // +optional - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.restart" - // +kubebuilder:validation:MaxItems=1024 - // +patchMergeKey=componentName - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=componentName - RestartList []ComponentOps `json:"restart,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` - - // Lists Switchover objects, each specifying a Component to perform the switchover operation. - // - // +optional - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.switchover" - SwitchoverList []Switchover `json:"switchover,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` - - // Lists VerticalScaling objects, each specifying a component and its desired compute resources for vertical scaling. - // - // +kubebuilder:validation:MaxItems=1024 - // +optional - // +patchMergeKey=componentName - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=componentName - VerticalScalingList []VerticalScaling `json:"verticalScaling,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` - - // Specifies a component and its configuration updates. - // - // This field is deprecated and replaced by `reconfigures`. - // - // +optional - Reconfigure *Reconfigure `json:"reconfigure,omitempty"` - - // Lists Reconfigure objects, each specifying a Component and its configuration updates. - // - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.reconfigure" - // +optional - // +patchMergeKey=componentName - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=componentName - Reconfigures []Reconfigure `json:"reconfigures,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` - - // Lists Expose objects, each specifying a Component and its services to be exposed. - // - // +optional - ExposeList []Expose `json:"expose,omitempty"` - - // Specifies the image and scripts for executing engine-specific operations such as creating databases or users. - // It supports limited engines including MySQL, PostgreSQL, Redis, MongoDB. - // - // ScriptSpec has been replaced by the more versatile OpsDefinition. - // It is recommended to use OpsDefinition instead. - // ScriptSpec is deprecated and will be removed in a future version. - // - // +optional - ScriptSpec *ScriptSpec `json:"scriptSpec,omitempty"` - - // Specifies the parameters to backup a Cluster. - // +optional - Backup *Backup `json:"backup,omitempty"` - - // Deprecated: since v0.9, use backup instead. - // Specifies the parameters to backup a Cluster. - // +optional - // +kubebuilder:deprecatedversion:warning="This field has been deprecated since 0.9.0" - BackupSpec *Backup `json:"backupSpec,omitempty"` - - // Specifies the parameters to restore a Cluster. - // Note that this restore operation will roll back cluster services. - // - // +optional - Restore *Restore `json:"restore,omitempty"` - - // Deprecated: since v0.9, use restore instead. - // Specifies the parameters to restore a Cluster. - // Note that this restore operation will roll back cluster services. - // +kubebuilder:deprecatedversion:warning="This field has been deprecated since 0.9.0" - // +optional - RestoreSpec *Restore `json:"restoreSpec,omitempty"` - - // Specifies the parameters to rebuild some instances. - // Rebuilding an instance involves restoring its data from a backup or another database replica. - // The instances being rebuilt usually serve as standby in the cluster. - // Hence rebuilding instances is often also referred to as "standby reconstruction". - // - // +optional - // +patchMergeKey=componentName - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=componentName - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.rebuildFrom" - RebuildFrom []RebuildInstance `json:"rebuildFrom,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` - - // Specifies a custom operation defined by OpsDefinition. - // - // +optional - CustomOps *CustomOps `json:"custom,omitempty"` -} - -// ComponentOps specifies the Component to be operated on. -type ComponentOps struct { - // Specifies the name of the Component as defined in the cluster.spec - // +kubebuilder:validation:Required - ComponentName string `json:"componentName"` -} - -type RebuildInstance struct { - // Specifies the name of the Component. - ComponentOps `json:",inline"` - - // Specifies the instances (Pods) that need to be rebuilt, typically operating as standbys. - // - // +kubebuilder:validation:MinItems=1 - // +kubebuilder:validation:Required - Instances []Instance `json:"instances"` - - // When it is set to true, the instance will be rebuilt in-place. - // By default, a new pod will be created. Once the new pod is ready to serve, - // the instance that require rebuilding will be taken offline. - // +kubebuilder:validation:default=false - InPlace bool `json:"inPlace,omitempty"` - - // Indicates the name of the Backup custom resource from which to recover the instance. - // Defaults to an empty PersistentVolume if unspecified. - // - // Note: - // - Only full physical backups are supported for multi-replica Components (e.g., 'xtrabackup' for MySQL). - // - Logical backups (e.g., 'mysqldump' for MySQL) are unsupported in the current version. - // - // +optional - BackupName string `json:"backupName,omitempty"` - - // When multiple source targets exist of the backup, you must specify the source target to restore. - // +optional - SourceBackupTargetName string `json:"sourceBackupTargetName,omitempty"` - - // Defines container environment variables for the restore process. - // merged with the ones specified in the Backup and ActionSet resources. - // - // Merge priority: Restore env > Backup env > ActionSet env. - // - // Purpose: Some databases require different configurations when being restored as a standby - // compared to being restored as a primary. - // For example, when restoring MySQL as a replica, you need to set `skip_slave_start="ON"` for 5.7 - // or `skip_replica_start="ON"` for 8.0. - // Allowing environment variables to be passed in makes it more convenient to control these behavioral differences - // during the restore process. - // - // +kubebuilder:pruning:PreserveUnknownFields - // +optional - RestoreEnv []corev1.EnvVar `json:"restoreEnv,omitempty" patchStrategy:"merge" patchMergeKey:"name"` -} - -type Instance struct { - // Pod name of the instance. - // +kubebuilder:validation:Required - Name string `json:"name"` - - // The instance will rebuild on the specified node. - // If not set, it will rebuild on a random node. - // +optional - TargetNodeName string `json:"targetNodeName,omitempty"` -} - -// +kubebuilder:validation:XValidation:rule="(has(self.componentName) && !has(self.componentObjectName)) || (!has(self.componentName) && has(self.componentObjectName))",message="need to specified only componentName or componentObjectName" - -type Switchover struct { - // Specifies the name of the Component as defined in the cluster.spec. - // +optional - ComponentName string `json:"componentName,omitempty"` - - // Specifies the name of the Component object. - // +optional - ComponentObjectName string `json:"componentObjectName,omitempty"` - - // Specifies the instance to become the primary or leader during a switchover operation. - // - // The value of `instanceName` can be either: - // - // 1. "*" (wildcard value): - // - Indicates no specific instance is designated as the primary or leader. - // - Executes the switchover action from `clusterDefinition.componentDefs[*].switchoverSpec.withoutCandidate`. - // - `clusterDefinition.componentDefs[x].switchoverSpec.withoutCandidate` must be defined when using "*". - // - // 2. A valid instance name (pod name): - // - Designates a specific instance (pod) as the primary or leader. - // - The name must match one of the pods in the component. Any non-valid pod name is considered invalid. - // - Executes the switchover action from `clusterDefinition.componentDefs[*].switchoverSpec.withCandidate`. - // - `clusterDefinition.componentDefs[*].switchoverSpec.withCandidate` must be defined when specifying a valid instance name. - // - // +kubebuilder:validation:Required - InstanceName string `json:"instanceName"` -} - -// Upgrade defines the parameters for an upgrade operation. -type Upgrade struct { - // Deprecated: since v0.9 because ClusterVersion is deprecated. - // Specifies the name of the target ClusterVersion for the upgrade. - // - // +kubebuilder:deprecatedversion:warning="This field has been deprecated since 0.9.0" - ClusterVersionRef *string `json:"clusterVersionRef,omitempty"` - - // Lists components to be upgrade based on desired ComponentDefinition and ServiceVersion. - // From the perspective of cluster API, the reasonable combinations should be: - // 1. (comp-def, service-ver) - upgrade to the specified service version and component definition, the user takes the responsibility to ensure that they are compatible. - // 2. ("", service-ver) - upgrade to the specified service version, let the operator choose the latest compatible component definition. - // 3. (comp-def, "") - upgrade to the specified component definition, let the operator choose the latest compatible service version. - // 4. ("", "") - upgrade to the latest service version and component definition, the operator will ensure the compatibility between the selected versions. - // +patchMergeKey=componentName - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=componentName - // +kubebuilder:validation:MaxItems=1024 - // +optional - Components []UpgradeComponent `json:"components,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` -} - -// +kubebuilder:validation:XValidation:rule="has(self.componentDefinitionName) || has(self.serviceVersion)",message="at least one componentDefinitionName or serviceVersion" - -type UpgradeComponent struct { - // Specifies the name of the Component. - ComponentOps `json:",inline"` - - // Specifies the name of the ComponentDefinition, only exact matches are supported. - // +kubebuilder:validation:MaxLength=64 - // +optional - ComponentDefinitionName *string `json:"componentDefinitionName,omitempty"` - - // Specifies the version of the Service expected to be provisioned by this Component. - // Referring to the ServiceVersion defined by the ComponentDefinition and ComponentVersion. - // And ServiceVersion in ClusterComponentSpec is optional, when no version is specified, - // use the latest available version in ComponentVersion. - // +kubebuilder:validation:MaxLength=32 - // +optional - ServiceVersion *string `json:"serviceVersion,omitempty"` -} - -// VerticalScaling refers to the process of adjusting compute resources (e.g., CPU, memory) allocated to a Component. -// It defines the parameters required for the operation. -type VerticalScaling struct { - // Specifies the name of the Component. - ComponentOps `json:",inline"` - - // Defines the desired compute resources of the Component's instances. - // - // +kubebuilder:pruning:PreserveUnknownFields - corev1.ResourceRequirements `json:",inline"` - - // Specifies the desired compute resources of the instance template that need to vertical scale. - // +patchMergeKey=name - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=name - // +optional - Instances []InstanceResourceTemplate `json:"instances,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` -} - -type InstanceResourceTemplate struct { - // Refer to the instance template name of the component or sharding. - // +kubebuilder:validation:Required - Name string `json:"name"` - - // Defines the computational resource size for vertical scaling. - // +kubebuilder:pruning:PreserveUnknownFields - corev1.ResourceRequirements `json:",inline"` -} - -type InstanceVolumeClaimTemplate struct { - // Refer to the instance template name of the component or sharding. - // +kubebuilder:validation:Required - Name string `json:"name"` - - // volumeClaimTemplates specifies the storage size and volumeClaimTemplate name. - // +kubebuilder:validation:Required - // +patchMergeKey=name - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=name - VolumeClaimTemplates []OpsRequestVolumeClaimTemplate `json:"volumeClaimTemplates" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` -} - -// VolumeExpansion encapsulates the parameters required for a volume expansion operation. -type VolumeExpansion struct { - // Specifies the name of the Component. - ComponentOps `json:",inline"` - - // Specifies a list of OpsRequestVolumeClaimTemplate objects, defining the volumeClaimTemplates - // that are used to expand the storage and the desired storage size for each one. - // - // +kubebuilder:validation:Required - // +patchMergeKey=name - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=name - VolumeClaimTemplates []OpsRequestVolumeClaimTemplate `json:"volumeClaimTemplates" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` - - // Specifies the desired storage size of the instance template that need to volume expand. - // +patchMergeKey=name - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=name - // +optional - Instances []InstanceVolumeClaimTemplate `json:"instances,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` -} - -type OpsRequestVolumeClaimTemplate struct { - // Specifies the desired storage size for the volume. - // - // +kubebuilder:validation:Required - Storage resource.Quantity `json:"storage"` - - // Specify the name of the volumeClaimTemplate in the Component. - // The specified name must match one of the volumeClaimTemplates defined - // in the `clusterComponentSpec.volumeClaimTemplates` field. - // - // +kubebuilder:validation:Required - Name string `json:"name"` -} - -// +kubebuilder:validation:XValidation:rule="has(self.shards) ? (!has(self.scaleOut) && !has(self.scaleIn)) : true",message="shards field cannot be used together with scaleOut or scaleIn" - -// HorizontalScaling defines the parameters of a horizontal scaling operation. -type HorizontalScaling struct { - // Specifies the name of the Component. - ComponentOps `json:",inline"` - - // Specifies the desired number of shards for the component. - // This parameter is mutually exclusive with other parameters. - Shards *int32 `json:"shards,omitempty"` - - // Deprecated: since v0.9, use scaleOut and scaleIn instead. - // Specifies the number of replicas for the component. Cannot be used with "scaleIn" and "scaleOut". - // +kubebuilder:deprecatedversion:warning="This field has been deprecated since 0.9.0" - // +kubebuilder:validation:Minimum=0 - // +optional - Replicas *int32 `json:"replicas,omitempty"` - - // Specifies the replica changes for scaling out components and instance templates, - // and brings offline instances back online. Can be used in conjunction with the "scaleIn" operation. - // Note: Any configuration that deletes instances is considered invalid. - // - // +optional - ScaleOut *ScaleOut `json:"scaleOut,omitempty"` - - // Specifies the replica changes for scaling in components and instance templates, - // and takes specified instances offline. Can be used in conjunction with the "scaleOut" operation. - // Note: Any configuration that creates instances is considered invalid. - // +optional - ScaleIn *ScaleIn `json:"scaleIn,omitempty"` -} - -// ScaleOut defines the configuration for a scale-out operation. -type ScaleOut struct { - - // Modifies the replicas of the component and instance templates. - ReplicaChanger `json:",inline"` - - // Defines the configuration for new instances added during scaling, including resource requirements, labels, annotations, etc. - // New instances are created based on the provided instance templates. - // +optional - // +patchMergeKey=name - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=name - NewInstances []InstanceTemplate `json:"newInstances,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` - - // Specifies the instances in the offline list to bring back online. - // +optional - OfflineInstancesToOnline []string `json:"offlineInstancesToOnline,omitempty"` -} - -// ScaleIn defines the configuration for a scale-in operation. -type ScaleIn struct { - - // Modifies the replicas of the component and instance templates. - ReplicaChanger `json:",inline"` - - // Specifies the instance names that need to be taken offline. - // +optional - OnlineInstancesToOffline []string `json:"onlineInstancesToOffline,omitempty"` -} - -// ReplicaChanger defines the parameters for changing the number of replicas. -type ReplicaChanger struct { - // Specifies the replica changes for the component. - // +kubebuilder:validation:Minimum=0 - ReplicaChanges *int32 `json:"replicaChanges,omitempty"` - - // Modifies the desired replicas count for existing InstanceTemplate. - // if the inst - // +patchMergeKey=name - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=name - // +optional - Instances []InstanceReplicasTemplate `json:"instances,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` -} - -// InstanceReplicasTemplate defines the template for instance replicas. -type InstanceReplicasTemplate struct { - // Specifies the name of the instance template. - // +kubebuilder:validation:Required - Name string `json:"name"` - - // Specifies the replica changes for the instance template. - // +kubebuilder:validation:Minimum=0 - // +kubebuilder:validation:Required - ReplicaChanges int32 `json:"replicaChanges"` -} - -// Reconfigure defines the parameters for updating a Component's configuration. -type Reconfigure struct { - // Specifies the name of the Component. - ComponentOps `json:",inline"` - - // Contains a list of ConfigurationItem objects, specifying the Component's configuration template name, - // upgrade policy, and parameter key-value pairs to be updated. - // - // +kubebuilder:validation:Required - // +kubebuilder:validation:MinItems=1 - // +patchMergeKey=name - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=name - Configurations []ConfigurationItem `json:"configurations" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` - - // Indicates the duration for which the parameter changes are valid. - // +optional - // TTL *int64 `json:"ttl,omitempty"` - - // Specifies the time when the parameter changes should be applied. - // +kubebuilder:validation:MaxLength=19 - // +kubebuilder:validation:MinLength=19 - // +kubebuilder:validation:Pattern:=`^([0-9]{2})/([0-9]{2})/([0-9]{4}) ([0-9]{2}):([0-9]{2}):([0-9]{2})$` - // +optional - // TriggeringTime *string `json:"triggeringTime,omitempty"` - - // Identifies the component to be reconfigured. - // +optional - // Selector *metav1.LabelSelector `json:"selector,omitempty"` -} - -type ConfigurationItem struct { - // Specifies the name of the configuration template. - // - // +kubebuilder:validation:Required - // +kubebuilder:validation:MaxLength=63 - // +kubebuilder:validation:Pattern:=`^[a-z0-9]([a-z0-9\.\-]*[a-z0-9])?$` - Name string `json:"name"` - - // Defines the upgrade policy for the configuration. - // - // +optional - Policy *UpgradePolicy `json:"policy,omitempty"` - - // Sets the configuration files and their associated parameters that need to be updated. - // It should contain at least one item. - // - // +kubebuilder:validation:Required - // +kubebuilder:validation:MinItems=1 - // +patchMergeKey=key - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=key - Keys []ParameterConfig `json:"keys" patchStrategy:"merge,retainKeys" patchMergeKey:"key"` -} - -type CustomOps struct { - // Specifies the name of the OpsDefinition. - // - // +kubebuilder:validation:Required - OpsDefinitionName string `json:"opsDefinitionName"` - - // Specifies the name of the ServiceAccount to be used for executing the custom operation. - ServiceAccountName *string `json:"serviceAccountName,omitempty"` - - // Specifies the maximum number of components to be operated on concurrently to mitigate performance impact - // on clusters with multiple components. - // - // It accepts an absolute number (e.g., 5) or a percentage of components to execute in parallel (e.g., "10%"). - // Percentages are rounded up to the nearest whole number of components. - // For example, if "10%" results in less than one, it rounds up to 1. - // - // When unspecified, all components are processed simultaneously by default. - // - // Note: This feature is not implemented yet. - // - // +optional - MaxConcurrentComponents intstr.IntOrString `json:"maxConcurrentComponents,omitempty"` - - // Specifies the components and their parameters for executing custom actions as defined in OpsDefinition. - // Requires at least one component. - // - // +kubebuilder:validation:Required - // +kubebuilder:validation:MinItems=1 - // +kubebuilder:validation:MaxItems=1024 - // +patchMergeKey=componentName - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=componentName - CustomOpsComponents []CustomOpsComponent `json:"components" patchStrategy:"merge,retainKeys" patchMergeKey:"componentName"` -} - -type CustomOpsComponent struct { - // Specifies the name of the Component. - ComponentOps `json:",inline"` - - // Specifies the parameters that match the schema specified in the `opsDefinition.spec.parametersSchema`. - // - // +patchMergeKey=name - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=name - // +optional - Parameters []Parameter `json:"parameters,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` -} - -type Parameter struct { - // Specifies the identifier of the parameter as defined in the OpsDefinition. - // +kubebuilder:validation:Required - Name string `json:"name"` - - // Holds the data associated with the parameter. - // If the parameter type is an array, the format should be "v1,v2,v3". - // +kubebuilder:validation:Required - Value string `json:"value"` -} - -type ParameterPair struct { - // Represents the name of the parameter that is to be updated. - // +kubebuilder:validation:Required - Key string `json:"key"` - - // Represents the parameter values that are to be updated. - // If set to nil, the parameter defined by the Key field will be removed from the configuration file. - // +optional - Value *string `json:"value"` -} - -type ParameterConfig struct { - // Represents a key in the configuration template(as ConfigMap). - // Each key in the ConfigMap corresponds to a specific configuration file. - // - // +kubebuilder:validation:Required - Key string `json:"key"` - - // Specifies a list of key-value pairs representing parameters and their corresponding values - // within a single configuration file. - // This field is used to override or set the values of parameters without modifying the entire configuration file. - // - // Either the `parameters` field or the `fileContent` field must be set, but not both. - // - // +optional - Parameters []ParameterPair `json:"parameters,omitempty"` - - // Specifies the content of the entire configuration file. - // This field is used to update the complete configuration file. - // - // Either the `parameters` field or the `fileContent` field must be set, but not both. - // - // +optional - FileContent string `json:"fileContent,omitempty"` -} - -// ExposeSwitch Specifies the switch for the expose operation. This switch can be used to enable or disable the expose operation. -// +enum -// +kubebuilder:validation:Enum={Enable, Disable} -type ExposeSwitch string - -const ( - EnableExposeSwitch ExposeSwitch = "Enable" - DisableExposeSwitch ExposeSwitch = "Disable" -) - -type Expose struct { - // Specifies the name of the Component. - ComponentName string `json:"componentName,omitempty"` - - // Indicates whether the services will be exposed. - // 'Enable' exposes the services. while 'Disable' removes the exposed Service. - // - // +kubebuilder:validation:Required - Switch ExposeSwitch `json:"switch"` - - // Specifies a list of OpsService. - // When an OpsService is exposed, a corresponding ClusterService will be added to `cluster.spec.services`. - // On the other hand, when an OpsService is unexposed, the corresponding ClusterService will be removed - // from `cluster.spec.services`. - // - // Note: If `componentName` is not specified, the `ports` and `selector` fields must be provided - // in each OpsService definition. - // - // +kubebuilder:validation:Required - // +kubebuilder:validation:Minitems=0 - Services []OpsService `json:"services"` -} - -// OpsService represents the parameters to dynamically create or remove a ClusterService in the `cluster.spec.services` array. -type OpsService struct { - // Specifies the name of the Service. This name is used to set `clusterService.name`. - // - // Note: This field cannot be updated. - // - // +required - Name string `json:"name"` - - // Contains cloud provider related parameters if ServiceType is LoadBalancer. - // - // More info: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer. - // - // +optional - Annotations map[string]string `json:"annotations,omitempty"` - - // Specifies Port definitions that are to be exposed by a ClusterService. - // - // If not specified, the Port definitions from non-NodePort and non-LoadBalancer type ComponentService - // defined in the ComponentDefinition (`componentDefinition.spec.services`) will be used. - // If no matching ComponentService is found, the expose operation will fail. - // - // More info: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports - // - // +patchMergeKey=port - // +patchStrategy=merge - // +listType=map - // +listMapKey=port - // +listMapKey=protocol - // +optional - Ports []corev1.ServicePort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"port" protobuf:"bytes,1,rep,name=ports"` - - // Specifies a role to target with the service. - // If specified, the service will only be exposed to pods with the matching role. - // - // Note: If the component has roles, at least one of 'roleSelector' or 'podSelector' must be specified. - // If both are specified, a pod must match both conditions to be selected. - // - // +optional - RoleSelector string `json:"roleSelector,omitempty"` - - // Routes service traffic to pods with matching label keys and values. - // If specified, the service will only be exposed to pods matching the selector. - // - // Note: If the component has roles, at least one of 'roleSelector' or 'podSelector' must be specified. - // If both are specified, a pod must match both conditions to be selected. - // - // +optional - // +mapType=atomic - PodSelector map[string]string `json:"podSelector,omitempty"` - - // Determines how the Service is exposed. Defaults to 'ClusterIP'. - // Valid options are `ClusterIP`, `NodePort`, and `LoadBalancer`. - // - // - `ClusterIP`: allocates a cluster-internal IP address for load-balancing to endpoints. - // Endpoints are determined by the selector or if that is not specified, - // they are determined by manual construction of an Endpoints object or EndpointSlice objects. - // - `NodePort`: builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. - // - `LoadBalancer`: builds on NodePort and creates an external load-balancer (if supported in the current cloud) - // which routes to the same endpoints as the clusterIP. - // - // Note: although K8s Service type allows the 'ExternalName' type, it is not a valid option for the expose operation. - // - // For more info, see: - // https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types. - // - // +optional - ServiceType corev1.ServiceType `json:"serviceType,omitempty"` - - // A list of IP families (e.g., IPv4, IPv6) assigned to this Service. - // - // Usually assigned automatically based on the cluster configuration and the `ipFamilyPolicy` field. - // If specified manually, the requested IP family must be available in the cluster and allowed by the `ipFamilyPolicy`. - // If the requested IP family is not available or not allowed, the Service creation will fail. - // - // Valid values: - // - // - "IPv4" - // - "IPv6" - // - // This field may hold a maximum of two entries (dual-stack families, in either order). - // - // Common combinations of `ipFamilies` and `ipFamilyPolicy` are: - // - // - ipFamilies=[] + ipFamilyPolicy="PreferDualStack" : - // The Service prefers dual-stack but can fall back to single-stack if the cluster does not support dual-stack. - // The IP family is automatically assigned based on the cluster configuration. - // - ipFamilies=["IPV4","IPV6"] + ipFamilyPolicy="RequiredDualStack" : - // The Service requires dual-stack and will only be created if the cluster supports both IPv4 and IPv6. - // The primary IP family is IPV4. - // - ipFamilies=["IPV6","IPV4"] + ipFamilyPolicy="RequiredDualStack" : - // The Service requires dual-stack and will only be created if the cluster supports both IPv4 and IPv6. - // The primary IP family is IPV6. - // - ipFamilies=["IPV4"] + ipFamilyPolicy="SingleStack" : - // The Service uses a single-stack with IPv4 only. - // - ipFamilies=["IPV6"] + ipFamilyPolicy="SingleStack" : - // The Service uses a single-stack with IPv6 only. - // - // +listType=atomic - // +optional - IPFamilies []corev1.IPFamily `json:"ipFamilies,omitempty" protobuf:"bytes,19,opt,name=ipFamilies,casttype=IPFamily"` - - // Specifies whether the Service should use a single IP family (SingleStack) or two IP families (DualStack). - // - // Possible values: - // - // - 'SingleStack' (default) : The Service uses a single IP family. - // If no value is provided, IPFamilyPolicy defaults to SingleStack. - // - 'PreferDualStack' : The Service prefers to use two IP families on dual-stack configured clusters - // or a single IP family on single-stack clusters. - // - 'RequiredDualStack' : The Service requires two IP families on dual-stack configured clusters. - // If the cluster is not configured for dual-stack, the Service creation fails. - // - // +optional - IPFamilyPolicy *corev1.IPFamilyPolicy `json:"ipFamilyPolicy,omitempty" protobuf:"bytes,17,opt,name=ipFamilyPolicy,casttype=IPFamilyPolicy"` -} - -type RefNamespaceName struct { - // Refers to the specific name of the resource. - // +optional - Name string `json:"name,omitempty"` - - // Refers to the specific namespace of the resource. - // +optional - Namespace string `json:"namespace,omitempty"` -} - -type BackupRefSpec struct { - // Refers to a reference backup that needs to be restored. - // +optional - Ref RefNamespaceName `json:"ref,omitempty"` -} - -type PointInTimeRefSpec struct { - // Refers to the specific time point for restoration, with UTC as the time zone. - // +optional - Time *metav1.Time `json:"time,omitempty"` - - // Refers to a reference source cluster that needs to be restored. - // +optional - Ref RefNamespaceName `json:"ref,omitempty"` -} - -// ScriptSpec is a legacy feature for executing engine-specific operations such as creating databases or users. -// It supports limited engines including MySQL, PostgreSQL, Redis, MongoDB. -// -// ScriptSpec has been replaced by the more versatile OpsDefinition. -// It is recommended to use OpsDefinition instead. ScriptSpec is deprecated and will be removed in a future version. -type ScriptSpec struct { - // Specifies the name of the Component. - ComponentOps `json:",inline"` - - // Specifies the image to be used to execute scripts. - // - // By default, the image "apecloud/kubeblocks-datascript:latest" is used. - // - // +optional - Image string `json:"image,omitempty"` - - // Defines the secret to be used to execute the script. If not specified, the default cluster root credential secret is used. - // +optional - Secret *ScriptSecret `json:"secret,omitempty"` - - // Defines the content of scripts to be executed. - // - // All scripts specified in this field will be executed in the order they are provided. - // - // Note: this field cannot be modified once set. - // - // +optional - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.scriptSpec.script" - Script []string `json:"script,omitempty"` - - // Specifies the sources of the scripts to be executed. - // Each script can be imported either from a ConfigMap or a Secret. - // - // All scripts obtained from the sources specified in this field will be executed after - // any scripts provided in the `script` field. - // - // Execution order: - // 1. Scripts provided in the `script` field, in the order of the scripts listed. - // 2. Scripts imported from ConfigMaps, in the order of the sources listed. - // 3. Scripts imported from Secrets, in the order of the sources listed. - // - // Note: this field cannot be modified once set. - // - // +optional - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.scriptSpec.scriptFrom" - ScriptFrom *ScriptFrom `json:"scriptFrom,omitempty"` - - // Specifies the labels used to select the Pods on which the script should be executed. - // - // By default, the script is executed on the Pod associated with the service named "{clusterName}-{componentName}", - // which typically routes to the Pod with the primary/leader role. - // - // However, some Components, such as Redis, do not synchronize account information between primary and secondary Pods. - // In these cases, the script must be executed on all replica Pods matching the selector. - // - // Note: this field cannot be modified once set. - // - // +optional - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.scriptSpec.script.selector" - Selector *metav1.LabelSelector `json:"selector,omitempty"` -} - -type Backup struct { - // Specifies the name of the Backup custom resource. - // - // +optional - BackupName string `json:"backupName,omitempty"` - - // Indicates the name of the BackupPolicy applied to perform this Backup. - // - // +optional - BackupPolicyName string `json:"backupPolicyName,omitempty"` - - // Specifies the name of BackupMethod. - // The specified BackupMethod must be defined in the BackupPolicy. - // - // +optional - BackupMethod string `json:"backupMethod,omitempty"` - - // Determines whether the backup contents stored in backup repository - // should be deleted when the Backup custom resource is deleted. - // Supported values are `Retain` and `Delete`. - // - `Retain` means that the backup content and its physical snapshot on backup repository are kept. - // - `Delete` means that the backup content and its physical snapshot on backup repository are deleted. - // +kubebuilder:validation:Enum=Delete;Retain - // +kubebuilder:default=Delete - // +optional - DeletionPolicy string `json:"deletionPolicy,omitempty"` - - // Determines the duration for which the Backup custom resources should be retained. - // - // The controller will automatically remove all Backup objects that are older than the specified RetentionPeriod. - // For example, RetentionPeriod of `30d` will keep only the Backup objects of last 30 days. - // Sample duration format: - // - // - years: 2y - // - months: 6mo - // - days: 30d - // - hours: 12h - // - minutes: 30m - // - // You can also combine the above durations. For example: 30d12h30m. - // If not set, the Backup objects will be kept forever. - // - // If the `deletionPolicy` is set to 'Delete', then the associated backup data will also be deleted - // along with the Backup object. - // Otherwise, only the Backup custom resource will be deleted. - // - // +optional - RetentionPeriod string `json:"retentionPeriod,omitempty"` - - // If the specified BackupMethod is incremental, `parentBackupName` is required. - // - // +optional - ParentBackupName string `json:"parentBackupName,omitempty"` -} - -type Restore struct { - // Specifies the name of the Backup custom resource. - // - // +kubebuilder:validation:Required - BackupName string `json:"backupName"` - - // Specifies the point in time to which the restore should be performed. - // Supported time formats: - // - // - RFC3339 format, e.g. "2023-11-25T18:52:53Z" - // - A human-readable date-time format, e.g. "Jul 25,2023 18:52:53 UTC+0800" - // - RestorePointInTime string `json:"restorePointInTime,omitempty"` - - // Specifies a list of environment variables to be set in the container. - // - // +kubebuilder:pruning:PreserveUnknownFields - // +optional - Env []corev1.EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` - - // Specifies the policy for restoring volume claims of a Component's Pods. - // It determines whether the volume claims should be restored sequentially (one by one) or in parallel (all at once). - // Support values: - // - // - "Serial" - // - "Parallel" - // - // +kubebuilder:validation:Enum=Serial;Parallel - // +kubebuilder:default=Parallel - VolumeRestorePolicy string `json:"volumeRestorePolicy,omitempty"` - - // Controls the timing of PostReady actions during the recovery process. - // - // If false (default), PostReady actions execute when the Component reaches the "Running" state. - // If true, PostReady actions are delayed until the entire Cluster is "Running," - // ensuring the cluster's overall stability before proceeding. - // - // This setting is useful for coordinating PostReady operations across the Cluster for optimal cluster conditions. - DeferPostReadyUntilClusterRunning bool `json:"deferPostReadyUntilClusterRunning,omitempty"` -} - -// ScriptSecret represents the secret that is used to execute the script. -type ScriptSecret struct { - // Specifies the name of the secret. - // +kubebuilder:validation:Required - // +kubebuilder:validation:MaxLength=63 - // +kubebuilder:validation:Pattern:=`^[a-z0-9]([a-z0-9\.\-]*[a-z0-9])?$` - Name string `json:"name"` - // Used to specify the username part of the secret. - // +kubebuilder:default:="username" - // +optional - UsernameKey string `json:"usernameKey,omitempty"` - // Used to specify the password part of the secret. - // +kubebuilder:default:="password" - // +optional - PasswordKey string `json:"passwordKey,omitempty"` -} - -// ScriptFrom specifies the source of the script to be executed, which can be either a ConfigMap or a Secret. -type ScriptFrom struct { - // A list of ConfigMapKeySelector objects, each specifies a ConfigMap and a key containing the script. - // - // Note: This field cannot be modified once set. - // - // +optional - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.scriptSpec.scriptFrom.configMapRef" - ConfigMapRef []corev1.ConfigMapKeySelector `json:"configMapRef,omitempty"` - - // A list of SecretKeySelector objects, each specifies a Secret and a key containing the script. - // - // Note: This field cannot be modified once set. - // - // +optional - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="forbidden to update spec.scriptSpec.scriptFrom.secretRef" - SecretRef []corev1.SecretKeySelector `json:"secretRef,omitempty"` -} - -// OpsRequestStatus represents the observed state of an OpsRequest. -type OpsRequestStatus struct { - // Records the cluster generation after the OpsRequest action has been handled. - // +optional - ClusterGeneration int64 `json:"clusterGeneration,omitempty"` - - // Represents the phase of the OpsRequest. - // Possible values include "Pending", "Creating", "Running", "Cancelling", "Cancelled", "Failed", "Succeed". - Phase OpsPhase `json:"phase,omitempty"` - - // Represents the progress of the OpsRequest. - // +kubebuilder:validation:Pattern:=`^(\d+|\-)/(\d+|\-)$` - // +kubebuilder:default=-/- - Progress string `json:"progress"` - - // Records the configuration prior to any changes. - // +optional - LastConfiguration LastConfiguration `json:"lastConfiguration,omitempty"` - - // Records the status information of Components changed due to the OpsRequest. - // +optional - Components map[string]OpsRequestComponentStatus `json:"components,omitempty"` - - // A collection of additional key-value pairs that provide supplementary information for the OpsRequest. - Extras []map[string]string `json:"extras,omitempty"` - - // Records the time when the OpsRequest started processing. - // +optional - StartTimestamp metav1.Time `json:"startTimestamp,omitempty"` - - // Records the time when the OpsRequest was completed. - // +optional - CompletionTimestamp metav1.Time `json:"completionTimestamp,omitempty"` - - // Records the time when the OpsRequest was cancelled. - // +optional - CancelTimestamp metav1.Time `json:"cancelTimestamp,omitempty"` - - // Deprecated: Replaced by ReconfiguringStatusAsComponent. - // Defines the status information of reconfiguring. - // +optional - ReconfiguringStatus *ReconfiguringStatus `json:"reconfiguringStatus,omitempty"` - - // Records the status of a reconfiguring operation if `opsRequest.spec.type` equals to "Reconfiguring". - // +optional - ReconfiguringStatusAsComponent map[string]*ReconfiguringStatus `json:"reconfiguringStatusAsComponent,omitempty"` - - // Describes the detailed status of the OpsRequest. - // Possible condition types include "Cancelled", "WaitForProgressing", "Validated", "Succeed", "Failed", "Restarting", - // "VerticalScaling", "HorizontalScaling", "VolumeExpanding", "Reconfigure", "Switchover", "Stopping", "Starting", - // "VersionUpgrading", "Exposing", "ExecuteDataScript", "Backup", "InstancesRebuilding", "CustomOperation". - // +optional - // +patchMergeKey=type - // +patchStrategy=merge - // +listType=map - // +listMapKey=type - Conditions []metav1.Condition `json:"conditions,omitempty"` -} - -// +kubebuilder:validation:XValidation:rule="has(self.objectKey) || has(self.actionName)", message="at least one objectKey or actionName." - -type ProgressStatusDetail struct { - // Specifies the group to which the current object belongs to. - // +optional - Group string `json:"group,omitempty"` - - // `objectKey` uniquely identifies the object, which can be any K8s object, like a Pod, Job, Component, or PVC. - // Either `objectKey` or `actionName` must be provided. - // +optional - ObjectKey string `json:"objectKey,omitempty"` - - // Indicates the name of an OpsAction, as defined in `opsDefinition.spec.actions[*].name`. - // Either `objectKey` or `actionName` must be provided. - // +optional - ActionName string `json:"actionName,omitempty"` - - // Lists the tasks, such as Jobs or Pods, that carry out the action. - // +optional - ActionTasks []ActionTask `json:"actionTasks,omitempty"` - - // Represents the current processing state of the object, including "Processing", "Pending", "Failed", "Succeed" - // +kubebuilder:validation:Required - Status ProgressStatus `json:"status"` - - // Provides a human-readable explanation of the object's condition. - // +optional - Message string `json:"message,omitempty"` - - // Records the start time of object processing. - // +optional - StartTime metav1.Time `json:"startTime,omitempty"` - - // Records the completion time of object processing. - // +optional - EndTime metav1.Time `json:"endTime,omitempty"` -} - -type ActionTask struct { - // Represents the name of the task. - // +kubebuilder:validation:Required - ObjectKey string `json:"objectKey"` - - // Represents the namespace where the task is deployed. - // +kubebuilder:validation:Required - Namespace string `json:"namespace"` - - // Indicates the current status of the task, including "Processing", "Failed", "Succeed". - // +kubebuilder:validation:Required - Status ActionTaskStatus `json:"status"` - - // The name of the Pod that the task is associated with or operates on. - // +optional - TargetPodName string `json:"targetPodName,omitempty"` - - // The count of retry attempts made for this task. - // +optional - Retries int32 `json:"retries,omitempty"` -} - -// LastComponentConfiguration can be used to track and compare the desired state of the Component over time. -type LastComponentConfiguration struct { - // Records the `replicas` of the Component prior to any changes. - // +optional - Replicas *int32 `json:"replicas,omitempty"` - - // Records the `shards` of the Component prior to any changes. - // +optional - Shards *int32 `json:"shards,omitempty"` - - // Records the resources of the Component prior to any changes. - // +kubebuilder:pruning:PreserveUnknownFields - // +optional - corev1.ResourceRequirements `json:",inline,omitempty"` - - // Records the class of the Component prior to any changes. - // Deprecated since v0.9. - // +kubebuilder:deprecatedversion:warning="Due to the lack of practical use cases, this field is deprecated from KB 0.9.0." - // +optional - ClassDefRef *ClassDefRef `json:"classDefRef,omitempty"` - - // Records volumes' storage size of the Component prior to any changes. - // +optional - VolumeClaimTemplates []OpsRequestVolumeClaimTemplate `json:"volumeClaimTemplates,omitempty"` - - // Records the ClusterComponentService list of the Component prior to any changes. - // +optional - Services []ClusterComponentService `json:"services,omitempty"` - - // Records the information about various types of resources associated with the Component prior to any changes. - // Currently, only one type of resource is supported: "pods". - // The "pods" key maps to a list of names of all Pods of the Component. - // +optional - TargetResources map[ComponentResourceKey][]string `json:"targetResources,omitempty"` - - // Records the InstanceTemplate list of the Component prior to any changes. - // +optional - Instances []InstanceTemplate `json:"instances,omitempty"` - - // Records the offline instances of the Component prior to any changes. - // +optional - OfflineInstances []string `json:"offlineInstances,omitempty"` - - // Records the version of the Service expected to be provisioned by this Component prior to any changes. - // +optional - ServiceVersion string `json:"serviceVersion,omitempty"` - - // Records the name of the ComponentDefinition prior to any changes. - // +optional - ComponentDefinitionName string `json:"componentDefinitionName,omitempty"` -} - -type LastConfiguration struct { - // Specifies the name of the ClusterVersion. - // Deprecated and should be removed in the future version. - // +optional - ClusterVersionRef string `json:"clusterVersionRef,omitempty"` - - // Records the configuration of each Component prior to any changes. - // +optional - Components map[string]LastComponentConfiguration `json:"components,omitempty"` -} - -type OpsRequestComponentStatus struct { - // Records the current phase of the Component, mirroring `cluster.status.components[componentName].phase`. - // Possible values include "Creating", "Running", "Updating", "Stopping", "Stopped", "Deleting", "Failed", "Abnormal". - // +optional - Phase ClusterComponentPhase `json:"phase,omitempty"` - - // Records the timestamp when the Component last transitioned to a "Failed" or "Abnormal" phase. - // +optional - LastFailedTime metav1.Time `json:"lastFailedTime,omitempty"` - - // Records the result of the preConditions check of the opsRequest, which determines subsequent steps. - // +optional - PreCheckResult *PreCheckResult `json:"preCheck,omitempty"` - - // Describes the progress details of objects or actions associated with the Component. - // +optional - ProgressDetails []ProgressStatusDetail `json:"progressDetails,omitempty"` - - // Records the workload type of Component in ClusterDefinition. - // Deprecated and should be removed in the future version. - // +optional - WorkloadType WorkloadType `json:"workloadType,omitempty"` - - // Provides an explanation for the Component being in its current state. - // +kubebuilder:validation:MaxLength=1024 - // +optional - Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` - - // Provides a human-readable message indicating details about this operation. - // +kubebuilder:validation:MaxLength=32768 - // +optional - Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` -} - -type OverrideBy struct { - // Indicates the name of the OpsRequest. - // +optional - OpsName string `json:"opsName"` - - LastComponentConfiguration `json:",inline"` -} - -type PreCheckResult struct { - // Indicates whether the preCheck operation passed or failed. - // +kubebuilder:validation:Required - Pass bool `json:"pass"` - - // Provides explanations related to the preCheck result in a human-readable format. - // +optional - Message string `json:"message,omitempty"` -} - -type ReconfiguringStatus struct { - // Describes the reconfiguring detail status. - // Possible condition types include "Creating", "Init", "Running", "Pending", "Merged", "MergeFailed", "FailedAndPause", - // "Upgrading", "Deleting", "FailedAndRetry", "Finished", "ReconfigurePersisting", "ReconfigurePersisted". - // +optional - // +patchMergeKey=type - // +patchStrategy=merge - // +listType=map - // +listMapKey=type - Conditions []metav1.Condition `json:"conditions,omitempty"` - - // Describes the status of the component reconfiguring. - // +kubebuilder:validation:Required - // +patchMergeKey=name - // +patchStrategy=merge,retainKeys - // +listType=map - // +listMapKey=name - ConfigurationStatus []ConfigurationItemStatus `json:"configurationStatus"` -} - -type ConfigurationItemStatus struct { - // Indicates the name of the configuration template (as ConfigMap). - // +kubebuilder:validation:Required - // +kubebuilder:validation:MaxLength=63 - // +kubebuilder:validation:Pattern:=`^[a-z0-9]([a-z0-9\.\-]*[a-z0-9])?$` - Name string `json:"name"` - - // Records the UpgradePolicy of the configuration change operation. - // +optional - UpdatePolicy UpgradePolicy `json:"updatePolicy,omitempty"` - - // Represents the current state of the reconfiguration state machine. - // Possible values include "Creating", "Init", "Running", "Pending", "Merged", "MergeFailed", "FailedAndPause", - // "Upgrading", "Deleting", "FailedAndRetry", "Finished", "ReconfigurePersisting", "ReconfigurePersisted". - // +optional - Status string `json:"status,omitempty"` - - // Provides details about the operation. - // +optional - Message string `json:"message,omitempty"` - - // Records the number of pods successfully updated following a configuration change. - // +kubebuilder:default=0 - // +optional - SucceedCount int32 `json:"succeedCount"` - - // Represents the total count of pods intended to be updated by a configuration change. - // +kubebuilder:default=-1 - // +optional - ExpectedCount int32 `json:"expectedCount"` - - // Records the last state of the reconfiguration finite state machine. - // Possible values include "None", "Retry", "Failed", "NotSupport", "FailedAndRetry". - // - // - "None" describes fsm has finished and quit. - // - "Retry" describes fsm is running. - // - "Failed" describes fsm is failed and exited. - // - "NotSupport" describes fsm does not support the feature. - // - "FailedAndRetry" describes fsm is failed in current state, but can be retried. - // +optional - LastAppliedStatus string `json:"lastStatus,omitempty"` - - // Stores the last applied configuration. - // +optional - LastAppliedConfiguration map[string]string `json:"lastAppliedConfiguration,omitempty"` - - // Contains the updated parameters. - // +optional - UpdatedParameters UpdatedParameters `json:"updatedParameters"` -} - -// UpdatedParameters holds details about the modifications made to configuration parameters. -// Example: -// -// ```yaml -// updatedParameters: -// -// updatedKeys: -// my.cnf: '{"mysqld":{"max_connections":"100"}}' -// -// ``` -type UpdatedParameters struct { - // Maps newly added configuration files to their content. - // +optional - AddedKeys map[string]string `json:"addedKeys,omitempty"` - - // Lists the name of configuration files that have been deleted. - // +optional - DeletedKeys map[string]string `json:"deletedKeys,omitempty"` - - // Maps the name of configuration files to their updated content, detailing the changes made. - // +optional - UpdatedKeys map[string]string `json:"updatedKeys,omitempty"` -} - -// +genclient -// +k8s:openapi-gen=true -// +kubebuilder:object:root=true -// +kubebuilder:subresource:status -// +kubebuilder:resource:categories={kubeblocks},shortName=ops -// +kubebuilder:printcolumn:name="TYPE",type="string",JSONPath=".spec.type",description="Operation request type." -// +kubebuilder:printcolumn:name="CLUSTER",type="string",JSONPath=".spec.clusterName",description="Operand cluster." -// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.phase",description="Operation status phase." -// +kubebuilder:printcolumn:name="PROGRESS",type="string",JSONPath=".status.progress",description="Operation processing progress." -// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" - -// OpsRequest is the Schema for the opsrequests API -type OpsRequest struct { - metav1.TypeMeta `json:",inline"` - metav1.ObjectMeta `json:"metadata,omitempty"` - - Spec OpsRequestSpec `json:"spec,omitempty"` - Status OpsRequestStatus `json:"status,omitempty"` -} - -// +kubebuilder:object:root=true - -// OpsRequestList contains a list of OpsRequest -type OpsRequestList struct { - metav1.TypeMeta `json:",inline"` - metav1.ListMeta `json:"metadata,omitempty"` - Items []OpsRequest `json:"items"` -} - -func init() { - SchemeBuilder.Register(&OpsRequest{}, &OpsRequestList{}) -} - -func (c ComponentOps) GetComponentName() string { - return c.ComponentName -} - -// ToExposeListToMap build expose map -func (r OpsRequestSpec) ToExposeListToMap() map[string]Expose { - exposeMap := make(map[string]Expose) - for _, v := range r.ExposeList { - exposeMap[v.ComponentName] = v - } - return exposeMap -} - -func (r OpsRequestSpec) GetClusterName() string { - if r.ClusterName != "" { - return r.ClusterName - } - return r.ClusterRef -} - -func (r OpsRequestSpec) GetBackup() *Backup { - if r.Backup != nil { - return r.Backup - } - return r.BackupSpec -} - -func (r OpsRequestSpec) GetRestore() *Restore { - if r.Restore != nil { - return r.Restore - } - return r.RestoreSpec -} - -func (p *ProgressStatusDetail) SetStatusAndMessage(status ProgressStatus, message string) { - p.Message = message - p.Status = status -} - -func (s Switchover) GetComponentName() string { - if len(s.ComponentObjectName) > 0 { - return s.ComponentObjectName - } - return s.ComponentName -}