From adef1e59748e1e1d31cb75fffe406b5dd69a66d7 Mon Sep 17 00:00:00 2001 From: zhy76 <958474674@qq.com> Date: Thu, 16 Nov 2023 11:11:21 +0800 Subject: [PATCH] feat: add license and verify license for code file Signed-off-by: zhy76 <958474674@qq.com> --- .github/workflows/ci.yml | 2 + cluster/images/Dockerfile | 14 +++++ cluster/images/buildx.Dockerfile | 14 +++++ cmd/agent/app/agent.go | 16 ++++++ cmd/agent/app/options/options.go | 16 ++++++ cmd/agent/app/options/validation.go | 16 ++++++ cmd/agent/app/options/validation_test.go | 16 ++++++ cmd/agent/main.go | 16 ++++++ .../app/aggregated-apiserver.go | 16 ++++++ .../app/options/options.go | 16 ++++++ .../app/options/validation.go | 16 ++++++ cmd/aggregated-apiserver/main.go | 16 ++++++ .../app/controllermanager.go | 16 ++++++ cmd/controller-manager/app/options/options.go | 16 ++++++ .../app/options/validation.go | 16 ++++++ .../app/options/validation_test.go | 16 ++++++ cmd/controller-manager/controller-manager.go | 16 ++++++ cmd/descheduler/app/descheduler.go | 16 ++++++ cmd/descheduler/app/options/options.go | 16 ++++++ cmd/descheduler/app/options/validation.go | 16 ++++++ .../app/options/validation_test.go | 16 ++++++ cmd/descheduler/main.go | 16 ++++++ cmd/karmada-search/app/karmada-search.go | 16 ++++++ cmd/karmada-search/app/options/options.go | 16 ++++++ cmd/karmada-search/app/options/validation.go | 16 ++++++ cmd/karmada-search/main.go | 16 ++++++ cmd/karmadactl/karmadactl.go | 16 ++++++ cmd/kubectl-karmada/kubectl-karmada.go | 16 ++++++ cmd/metrics-adapter/app/metrics-adapter.go | 16 ++++++ cmd/metrics-adapter/app/options/options.go | 16 ++++++ cmd/metrics-adapter/app/options/validation.go | 16 ++++++ cmd/metrics-adapter/main.go | 16 ++++++ .../app/options/options.go | 16 ++++++ .../app/options/validation.go | 16 ++++++ .../app/options/validation_test.go | 16 ++++++ .../app/scheduler-estimator.go | 16 ++++++ cmd/scheduler-estimator/main.go | 16 ++++++ cmd/scheduler/app/options/options.go | 16 ++++++ cmd/scheduler/app/options/validation.go | 16 ++++++ cmd/scheduler/app/options/validation_test.go | 16 ++++++ cmd/scheduler/app/scheduler.go | 16 ++++++ cmd/scheduler/main.go | 16 ++++++ cmd/webhook/app/options/options.go | 16 ++++++ cmd/webhook/app/options/validation.go | 16 ++++++ cmd/webhook/app/options/validation_test.go | 16 ++++++ cmd/webhook/app/webhook.go | 16 ++++++ cmd/webhook/main.go | 16 ++++++ .../apis/workload/v1alpha1/doc.go | 16 ++++++ .../apis/workload/v1alpha1/workload_types.go | 16 ++++++ .../webhook/app/options/options.go | 16 ++++++ .../webhook/app/options/validation.go | 16 ++++++ .../webhook/app/options/validation_test.go | 16 ++++++ .../webhook/app/webhook.go | 16 ++++++ .../webhook/app/workloadwebhook.go | 16 ++++++ .../customresourceinterpreter/webhook/main.go | 16 ++++++ hack/build.sh | 14 +++++ hack/cli-testing-environment.sh | 14 +++++ hack/create-cluster.sh | 14 +++++ hack/delete-cluster.sh | 14 +++++ hack/deploy-agent-and-estimator.sh | 14 +++++ hack/deploy-k8s-metrics-server.sh | 14 +++++ hack/deploy-karmada-agent.sh | 14 +++++ hack/deploy-karmada-opensearch.sh | 14 +++++ hack/deploy-karmada.sh | 14 +++++ hack/deploy-metrics-adapter.sh | 14 +++++ hack/deploy-scheduler-estimator.sh | 14 +++++ hack/docker.sh | 14 +++++ hack/install-cli.sh | 14 +++++ hack/local-down-karmada.sh | 14 +++++ hack/local-up-karmada.sh | 14 +++++ hack/package-helm-chart.sh | 14 +++++ hack/post-run-e2e.sh | 14 +++++ hack/pre-run-e2e.sh | 14 +++++ hack/release.sh | 14 +++++ hack/remote-up-karmada.sh | 14 +++++ hack/run-e2e.sh | 14 +++++ .../gencomponentdocs/gen_component_docs.go | 16 ++++++ hack/tools/gencomponentdocs/postprocessing.go | 16 ++++++ .../gencomponentdocs/postprocessing_test.go | 16 ++++++ .../genkarmadactldocs/gen_karmadactl_docs.go | 16 ++++++ hack/tools/lifted-gen/lifted-gen.go | 16 ++++++ hack/tools/swagger/generateswagger.go | 16 ++++++ hack/tools/swagger/lib/render.go | 16 ++++++ hack/tools/swagger/lib/storage.go | 16 ++++++ hack/tools/tools.go | 16 ++++++ hack/undeploy-karmada-agent.sh | 14 +++++ hack/undeploy-karmada.sh | 14 +++++ hack/update-all.sh | 14 +++++ hack/update-codegen.sh | 14 +++++ hack/update-crdgen.sh | 14 +++++ hack/update-estimator-protobuf.sh | 14 +++++ hack/update-import-aliases.sh | 14 +++++ hack/update-lifted.sh | 14 +++++ hack/update-swagger-docs.sh | 14 +++++ hack/update-vendor.sh | 14 +++++ hack/util.sh | 14 +++++ hack/verify-all.sh | 15 ++++++ hack/verify-codegen.sh | 14 +++++ hack/verify-crdgen.sh | 14 +++++ hack/verify-estimator-protobuf.sh | 14 +++++ hack/verify-import-aliases.sh | 14 +++++ hack/verify-license.sh | 53 +++++++++++++++++++ hack/verify-lifted.sh | 14 +++++ hack/verify-mocks.sh | 14 +++++ hack/verify-staticcheck.sh | 14 +++++ hack/verify-swagger-docs.sh | 14 +++++ hack/verify-vendor.sh | 14 +++++ hack/version.sh | 14 +++++ operator/cmd/operator/app/operator.go | 16 ++++++ operator/cmd/operator/app/options/options.go | 16 ++++++ operator/cmd/operator/operator.go | 16 ++++++ .../pkg/apis/operator/v1alpha1/defaults.go | 16 ++++++ operator/pkg/apis/operator/v1alpha1/doc.go | 16 ++++++ operator/pkg/apis/operator/v1alpha1/helper.go | 16 ++++++ .../pkg/apis/operator/v1alpha1/register.go | 16 ++++++ operator/pkg/certs/certs.go | 16 ++++++ operator/pkg/certs/store.go | 16 ++++++ operator/pkg/constants/constants.go | 16 ++++++ operator/pkg/controller/context/context.go | 16 ++++++ operator/pkg/controller/karmada/controller.go | 16 ++++++ operator/pkg/controller/karmada/planner.go | 16 ++++++ .../pkg/controlplane/apiserver/apiserver.go | 16 ++++++ .../pkg/controlplane/apiserver/mainfests.go | 16 ++++++ operator/pkg/controlplane/controlplane.go | 16 ++++++ operator/pkg/controlplane/etcd/etcd.go | 16 ++++++ operator/pkg/controlplane/etcd/mainfests.go | 16 ++++++ operator/pkg/controlplane/manifests.go | 16 ++++++ .../controlplane/metricsadapter/mainfests.go | 16 ++++++ .../metricsadapter/metricsadapter.go | 16 ++++++ .../pkg/controlplane/webhook/mainfests.go | 16 ++++++ operator/pkg/controlplane/webhook/webhook.go | 16 ++++++ operator/pkg/deinit.go | 16 ++++++ operator/pkg/init.go | 16 ++++++ .../karmadaresource/apiservice/apiservice.go | 16 ++++++ .../karmadaresource/apiservice/manifest.go | 16 ++++++ operator/pkg/karmadaresource/rbac/manifest.go | 16 ++++++ operator/pkg/karmadaresource/rbac/rbac.go | 16 ++++++ .../webhookconfiguration/manifests.go | 16 ++++++ .../webhookconfiguration.go | 16 ++++++ operator/pkg/scheme/scheme.go | 16 ++++++ operator/pkg/tasks/deinit/cert.go | 16 ++++++ operator/pkg/tasks/deinit/component.go | 16 ++++++ operator/pkg/tasks/deinit/data.go | 16 ++++++ operator/pkg/tasks/deinit/kubeconfig.go | 16 ++++++ operator/pkg/tasks/init/apiserver.go | 16 ++++++ operator/pkg/tasks/init/cert.go | 16 ++++++ operator/pkg/tasks/init/component.go | 16 ++++++ operator/pkg/tasks/init/crd.go | 16 ++++++ operator/pkg/tasks/init/data.go | 16 ++++++ operator/pkg/tasks/init/etcd.go | 16 ++++++ operator/pkg/tasks/init/karmadaresource.go | 16 ++++++ operator/pkg/tasks/init/namespace.go | 16 ++++++ operator/pkg/tasks/init/rbac.go | 16 ++++++ operator/pkg/tasks/init/upload.go | 16 ++++++ operator/pkg/tasks/init/wait.go | 16 ++++++ operator/pkg/util/apiclient/idempotency.go | 16 ++++++ operator/pkg/util/apiclient/wait.go | 16 ++++++ operator/pkg/util/endpoint.go | 16 ++++++ operator/pkg/util/kubeconfig.go | 16 ++++++ operator/pkg/util/naming.go | 16 ++++++ operator/pkg/util/patcher/pather.go | 16 ++++++ operator/pkg/util/template.go | 16 ++++++ operator/pkg/util/util.go | 16 ++++++ operator/pkg/util/util_test.go | 16 ++++++ operator/pkg/workflow/job.go | 16 ++++++ operator/pkg/workflow/task.go | 16 ++++++ pkg/aggregatedapiserver/apiserver.go | 16 ++++++ pkg/apis/autoscaling/v1alpha1/doc.go | 16 ++++++ .../v1alpha1/federatedhpa_types.go | 16 ++++++ .../v1alpha1/well_known_constants.go | 16 ++++++ pkg/apis/cluster/doc.go | 16 ++++++ pkg/apis/cluster/install/install.go | 16 ++++++ pkg/apis/cluster/mutation/mutation.go | 16 ++++++ pkg/apis/cluster/mutation/mutation_test.go | 16 ++++++ pkg/apis/cluster/register.go | 16 ++++++ pkg/apis/cluster/scheme/register.go | 16 ++++++ pkg/apis/cluster/types.go | 16 ++++++ pkg/apis/cluster/v1alpha1/cluster_helper.go | 16 ++++++ .../cluster/v1alpha1/cluster_helper_test.go | 16 ++++++ pkg/apis/cluster/v1alpha1/doc.go | 16 ++++++ pkg/apis/cluster/v1alpha1/types.go | 16 ++++++ .../cluster/v1alpha1/well_known_constants.go | 16 ++++++ pkg/apis/cluster/validation/validation.go | 16 ++++++ .../cluster/validation/validation_test.go | 16 ++++++ pkg/apis/config/v1alpha1/doc.go | 16 ++++++ .../v1alpha1/interpretercontext_types.go | 16 ++++++ .../resourceinterpretercustomization_types.go | 16 ++++++ .../resourceinterpreterwebhook_types.go | 16 ++++++ pkg/apis/networking/v1alpha1/doc.go | 16 ++++++ pkg/apis/networking/v1alpha1/ingress_types.go | 16 ++++++ pkg/apis/networking/v1alpha1/service_types.go | 16 ++++++ pkg/apis/policy/v1alpha1/doc.go | 16 ++++++ .../v1alpha1/federatedresourcequota_types.go | 16 ++++++ pkg/apis/policy/v1alpha1/override_types.go | 16 ++++++ pkg/apis/policy/v1alpha1/override_utils.go | 16 ++++++ .../policy/v1alpha1/propagation_helper.go | 16 ++++++ .../v1alpha1/propagation_helper_test.go | 16 ++++++ pkg/apis/policy/v1alpha1/propagation_types.go | 16 ++++++ .../policy/v1alpha1/well_known_constants.go | 16 ++++++ pkg/apis/search/doc.go | 16 ++++++ pkg/apis/search/install/install.go | 16 ++++++ pkg/apis/search/register.go | 16 ++++++ pkg/apis/search/scheme/register.go | 16 ++++++ pkg/apis/search/searchregistry_types.go | 16 ++++++ pkg/apis/search/v1alpha1/doc.go | 16 ++++++ .../search/v1alpha1/searchregistry_types.go | 16 ++++++ pkg/apis/work/v1alpha1/binding_types.go | 16 ++++++ .../work/v1alpha1/binding_types_conversion.go | 16 ++++++ pkg/apis/work/v1alpha1/doc.go | 16 ++++++ .../work/v1alpha1/well_known_constants.go | 16 ++++++ pkg/apis/work/v1alpha1/work_types.go | 16 ++++++ pkg/apis/work/v1alpha2/binding_types.go | 16 ++++++ .../work/v1alpha2/binding_types_conversion.go | 16 ++++++ .../work/v1alpha2/binding_types_helper.go | 16 ++++++ .../v1alpha2/binding_types_helper_test.go | 16 ++++++ pkg/apis/work/v1alpha2/doc.go | 16 ++++++ .../work/v1alpha2/well_known_constants.go | 16 ++++++ pkg/clusterdiscovery/clusterapi/clusterapi.go | 16 ++++++ pkg/clusterdiscovery/clusterapi/handler.go | 16 ++++++ pkg/controllers/applicationfailover/common.go | 16 ++++++ .../applicationfailover/common_test.go | 16 ++++++ .../crb_application_failover_controller.go | 16 ++++++ ...rb_application_failover_controller_test.go | 16 ++++++ .../rb_application_failover_controller.go | 16 ++++++ ...rb_application_failover_controller_test.go | 16 ++++++ pkg/controllers/binding/binding_controller.go | 16 ++++++ .../binding/binding_controller_test.go | 16 ++++++ .../cluster_resource_binding_controller.go | 16 ++++++ pkg/controllers/binding/common.go | 16 ++++++ pkg/controllers/binding/common_test.go | 16 ++++++ .../certificate/cert_rotation_controller.go | 16 ++++++ pkg/controllers/cluster/cluster_controller.go | 16 ++++++ pkg/controllers/cluster/common.go | 16 ++++++ pkg/controllers/cluster/taint_manager.go | 16 ++++++ pkg/controllers/context/context.go | 16 ++++++ pkg/controllers/context/context_test.go | 16 ++++++ .../execution/execution_controller.go | 16 ++++++ .../federatedhpa/federatedhpa_controller.go | 16 ++++++ .../federatedhpa/replica_calculator.go | 16 ++++++ ...erated_resource_quota_status_controller.go | 16 ++++++ ...ederated_resource_quota_sync_controller.go | 16 ++++++ .../crb_graceful_eviction_controller.go | 16 ++++++ .../gracefuleviction/evictiontask.go | 16 ++++++ .../gracefuleviction/evictiontask_test.go | 16 ++++++ .../rb_graceful_eviction_controller.go | 16 ++++++ .../hpa_replicas_syncer_controller.go | 16 ++++++ .../hpa_replicas_syncer_controller_test.go | 16 ++++++ .../hpa_replicas_syncer_predicate.go | 16 ++++++ .../hpareplicassyncer/hpa_scale_ref_worker.go | 16 ++++++ .../mcs/endpointslice_controller.go | 16 ++++++ .../mcs/service_export_controller.go | 16 ++++++ .../mcs/service_import_controller.go | 16 ++++++ .../namespace/namespace_sync_controller.go | 16 ++++++ .../status/cluster_condition_cache.go | 16 ++++++ .../status/cluster_condition_cache_test.go | 16 ++++++ .../status/cluster_status_controller.go | 16 ++++++ .../status/cluster_status_controller_test.go | 16 ++++++ pkg/controllers/status/common.go | 16 ++++++ .../status/crb_status_controller.go | 16 ++++++ .../status/crb_status_controller_test.go | 16 ++++++ .../status/rb_status_controller.go | 16 ++++++ .../status/rb_status_controller_test.go | 16 ++++++ .../status/work_status_controller.go | 16 ++++++ .../status/work_status_controller_test.go | 16 ++++++ .../unifiedauth/unified_auth_controller.go | 16 ++++++ .../unified_auth_controller_test.go | 16 ++++++ .../dependencies_distributor.go | 16 ++++++ .../dependencies_distributor_test.go | 16 ++++++ pkg/descheduler/core/filter.go | 16 ++++++ pkg/descheduler/core/filter_test.go | 16 ++++++ pkg/descheduler/core/helper.go | 16 ++++++ pkg/descheduler/descheduler.go | 16 ++++++ pkg/descheduler/descheduler_test.go | 16 ++++++ pkg/detector/compare.go | 16 ++++++ pkg/detector/compare_test.go | 16 ++++++ pkg/detector/detector.go | 16 ++++++ pkg/detector/detector_test.go | 16 ++++++ pkg/detector/handler.go | 16 ++++++ pkg/detector/policy.go | 16 ++++++ pkg/detector/preemption.go | 16 ++++++ pkg/estimator/client/accurate.go | 16 ++++++ pkg/estimator/client/cache.go | 16 ++++++ pkg/estimator/client/general.go | 16 ++++++ pkg/estimator/client/interface.go | 16 ++++++ pkg/estimator/client/service.go | 16 ++++++ pkg/estimator/server/estimate.go | 16 ++++++ pkg/estimator/server/eventhandlers.go | 16 ++++++ pkg/estimator/server/metrics/metrics.go | 16 ++++++ pkg/estimator/server/nodes/filter.go | 16 ++++++ pkg/estimator/server/replica/replica.go | 16 ++++++ pkg/estimator/server/server.go | 16 ++++++ pkg/estimator/server/server_test.go | 16 ++++++ pkg/estimator/service/doc.go | 16 ++++++ pkg/events/events.go | 16 ++++++ pkg/features/features.go | 16 ++++++ pkg/karmadactl/addons/addons.go | 16 ++++++ .../addons/descheduler/descheduler.go | 16 ++++++ .../addons/descheduler/manifests.go | 16 ++++++ pkg/karmadactl/addons/disable.go | 16 ++++++ pkg/karmadactl/addons/enable.go | 16 ++++++ pkg/karmadactl/addons/estimator/estimator.go | 16 ++++++ pkg/karmadactl/addons/estimator/manifests.go | 16 ++++++ pkg/karmadactl/addons/init/addon.go | 16 ++++++ pkg/karmadactl/addons/init/disable_option.go | 16 ++++++ pkg/karmadactl/addons/init/enable_option.go | 16 ++++++ pkg/karmadactl/addons/init/global.go | 16 ++++++ pkg/karmadactl/addons/init/list_option.go | 16 ++++++ pkg/karmadactl/addons/install/install.go | 16 ++++++ pkg/karmadactl/addons/list.go | 16 ++++++ .../addons/metricsadapter/manifests.go | 16 ++++++ .../addons/metricsadapter/metricsadapter.go | 16 ++++++ pkg/karmadactl/addons/search/manifests.go | 16 ++++++ pkg/karmadactl/addons/search/search.go | 16 ++++++ pkg/karmadactl/addons/utils/template.go | 16 ++++++ pkg/karmadactl/addons/utils/template_test.go | 16 ++++++ pkg/karmadactl/apply/apply.go | 16 ++++++ .../bootstraptoken/agent/tlsbootstrap.go | 16 ++++++ .../bootstraptoken/clusterinfo/clusterinfo.go | 16 ++++++ pkg/karmadactl/cmdinit/cert/cert.go | 16 ++++++ pkg/karmadactl/cmdinit/cert/cert_test.go | 16 ++++++ pkg/karmadactl/cmdinit/cmdinit.go | 16 ++++++ pkg/karmadactl/cmdinit/cmdinit_test.go | 16 ++++++ pkg/karmadactl/cmdinit/karmada/check.go | 16 ++++++ pkg/karmadactl/cmdinit/karmada/deploy.go | 16 ++++++ pkg/karmadactl/cmdinit/karmada/rbac.go | 16 ++++++ pkg/karmadactl/cmdinit/karmada/rbac_test.go | 16 ++++++ .../cmdinit/karmada/webhook_configuration.go | 16 ++++++ .../karmada/webhook_configuration_test.go | 16 ++++++ pkg/karmadactl/cmdinit/kubernetes/deploy.go | 16 ++++++ .../cmdinit/kubernetes/deploy_test.go | 16 ++++++ .../cmdinit/kubernetes/deployments.go | 16 ++++++ .../cmdinit/kubernetes/deployments_test.go | 16 ++++++ pkg/karmadactl/cmdinit/kubernetes/node.go | 16 ++++++ .../cmdinit/kubernetes/node_test.go | 16 ++++++ pkg/karmadactl/cmdinit/kubernetes/secret.go | 16 ++++++ .../cmdinit/kubernetes/secret_test.go | 16 ++++++ pkg/karmadactl/cmdinit/kubernetes/services.go | 16 ++++++ .../cmdinit/kubernetes/services_test.go | 16 ++++++ .../cmdinit/kubernetes/statefulset.go | 16 ++++++ .../cmdinit/kubernetes/statefulset_test.go | 16 ++++++ pkg/karmadactl/cmdinit/options/global.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/examples.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/examples_test.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/format.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/format_test.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/ip.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/ip_test.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/kubeconfig.go | 16 ++++++ .../cmdinit/utils/kubeconfig_test.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/rbac.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/rbac_test.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/util.go | 16 ++++++ pkg/karmadactl/cmdinit/utils/util_test.go | 16 ++++++ pkg/karmadactl/cordon/cordon.go | 16 ++++++ pkg/karmadactl/deinit/deinit.go | 16 ++++++ pkg/karmadactl/describe/describe.go | 16 ++++++ pkg/karmadactl/exec/exec.go | 16 ++++++ pkg/karmadactl/get/get.go | 16 ++++++ pkg/karmadactl/interpret/check.go | 16 ++++++ pkg/karmadactl/interpret/check_test.go | 16 ++++++ pkg/karmadactl/interpret/edit.go | 16 ++++++ pkg/karmadactl/interpret/execute.go | 16 ++++++ pkg/karmadactl/interpret/execute_test.go | 16 ++++++ pkg/karmadactl/interpret/interpret.go | 16 ++++++ pkg/karmadactl/interpret/interpret_test.go | 16 ++++++ pkg/karmadactl/join/join.go | 16 ++++++ pkg/karmadactl/karmadactl.go | 16 ++++++ pkg/karmadactl/logs/logs.go | 16 ++++++ pkg/karmadactl/options/global.go | 16 ++++++ pkg/karmadactl/options/options.go | 16 ++++++ pkg/karmadactl/promote/promote.go | 16 ++++++ pkg/karmadactl/register/register.go | 16 ++++++ pkg/karmadactl/taint/taint.go | 16 ++++++ pkg/karmadactl/taint/taint_test.go | 16 ++++++ pkg/karmadactl/token/token.go | 16 ++++++ pkg/karmadactl/token/token_test.go | 16 ++++++ pkg/karmadactl/top/metrics_printer.go | 16 ++++++ pkg/karmadactl/top/top.go | 16 ++++++ pkg/karmadactl/top/top_pods.go | 16 ++++++ pkg/karmadactl/unjoin/unjoin.go | 16 ++++++ pkg/karmadactl/util/apiclient/apiclient.go | 16 ++++++ .../util/bootstraptoken/bootstraptoken.go | 16 ++++++ pkg/karmadactl/util/check.go | 16 ++++++ pkg/karmadactl/util/command_group.go | 16 ++++++ pkg/karmadactl/util/deleteconfirmation.go | 16 ++++++ pkg/karmadactl/util/factory.go | 16 ++++++ .../util/genericresource/builder.go | 16 ++++++ pkg/karmadactl/util/genericresource/doc.go | 16 ++++++ .../util/genericresource/interface.go | 16 ++++++ pkg/karmadactl/util/genericresource/result.go | 16 ++++++ .../util/genericresource/visitor.go | 16 ++++++ pkg/karmadactl/util/idempotency.go | 16 ++++++ pkg/karmadactl/util/idempotency_test.go | 16 ++++++ pkg/karmadactl/util/testing/fake.go | 16 ++++++ pkg/karmadactl/util/validate.go | 16 ++++++ pkg/karmadactl/util/validate_test.go | 16 ++++++ pkg/metrics/cluster.go | 16 ++++++ pkg/metrics/cluster_test.go | 16 ++++++ pkg/metrics/pool.go | 16 ++++++ pkg/metrics/pool_test.go | 16 ++++++ pkg/metrics/resource.go | 16 ++++++ pkg/metricsadapter/adapter.go | 16 ++++++ pkg/metricsadapter/apiserver.go | 16 ++++++ pkg/metricsadapter/controller.go | 16 ++++++ pkg/metricsadapter/multiclient/client.go | 16 ++++++ pkg/metricsadapter/provider/custommetrics.go | 16 ++++++ .../provider/externalmetrics.go | 16 ++++++ .../provider/resourcemetrics.go | 16 ++++++ pkg/modeling/modeling.go | 16 ++++++ pkg/modeling/modeling_test.go | 16 ++++++ pkg/printers/internalversion/printers.go | 16 ++++++ pkg/printers/internalversion/printers_test.go | 16 ++++++ pkg/registry/cluster/storage/proxy.go | 16 ++++++ pkg/registry/cluster/storage/proxy_test.go | 16 ++++++ pkg/registry/cluster/storage/storage.go | 16 ++++++ pkg/registry/cluster/strategy.go | 16 ++++++ pkg/registry/cluster/strategy_test.go | 16 ++++++ pkg/registry/search/storage/cache.go | 16 ++++++ pkg/registry/search/storage/opensearch.go | 16 ++++++ pkg/registry/search/storage/proxy.go | 16 ++++++ pkg/registry/search/storage/requestinfo.go | 16 ++++++ .../search/storage/requestinfo_test.go | 16 ++++++ .../search/storage/resourceregistry.go | 16 ++++++ pkg/registry/search/storage/search.go | 16 ++++++ pkg/registry/search/strategy.go | 16 ++++++ .../declarative/configmanager/accessor.go | 16 ++++++ .../declarative/configmanager/manager.go | 16 ++++++ .../declarative/configmanager/manager_test.go | 16 ++++++ .../customized/declarative/configurable.go | 16 ++++++ .../customized/declarative/luavm/kube.go | 16 ++++++ .../customized/declarative/luavm/lua.go | 16 ++++++ .../declarative/luavm/lua_convert.go | 16 ++++++ .../declarative/luavm/lua_convert_test.go | 16 ++++++ .../customized/declarative/luavm/lua_test.go | 16 ++++++ .../webhook/configmanager/accessor.go | 16 ++++++ .../webhook/configmanager/manager.go | 16 ++++++ .../customized/webhook/customized.go | 16 ++++++ .../customized/webhook/request/attributes.go | 16 ++++++ .../request/resourceinterpretercontext.go | 16 ++++++ .../default/native/aggregatestatus.go | 16 ++++++ .../default/native/aggregatestatus_test.go | 16 ++++++ .../default/native/default.go | 16 ++++++ .../default/native/dependencies.go | 16 ++++++ .../default/native/dependencies_test.go | 16 ++++++ .../default/native/healthy.go | 16 ++++++ .../default/native/healthy_test.go | 16 ++++++ .../default/native/prune/prune.go | 16 ++++++ .../default/native/prune/prune_test.go | 16 ++++++ .../default/native/reflectstatus.go | 16 ++++++ .../default/native/reflectstatus_test.go | 16 ++++++ .../default/native/replica.go | 16 ++++++ .../default/native/retain.go | 16 ++++++ .../default/native/retain_test.go | 16 ++++++ .../default/native/revisereplica.go | 16 ++++++ .../default/native/revisereplica_test.go | 16 ++++++ .../default/thirdparty/manager.go | 16 ++++++ .../resourcecustomizations/embed.go | 16 ++++++ .../default/thirdparty/thirdparty.go | 16 ++++++ .../default/thirdparty/thirdparty_test.go | 16 ++++++ pkg/resourceinterpreter/interpreter.go | 16 ++++++ pkg/scheduler/cache/cache.go | 16 ++++++ pkg/scheduler/cache/snapshot.go | 16 ++++++ pkg/scheduler/core/assignment.go | 16 ++++++ pkg/scheduler/core/assignment_test.go | 16 ++++++ pkg/scheduler/core/division_algorithm.go | 16 ++++++ pkg/scheduler/core/division_algorithm_test.go | 16 ++++++ pkg/scheduler/core/generic_scheduler.go | 16 ++++++ .../core/spreadconstraint/group_clusters.go | 16 ++++++ .../spreadconstraint/group_clusters_test.go | 16 ++++++ .../core/spreadconstraint/select_clusters.go | 16 ++++++ .../select_clusters_by_cluster.go | 16 ++++++ .../select_clusters_by_region.go | 16 ++++++ .../select_clusters_by_region_test.go | 16 ++++++ .../spreadconstraint/select_clusters_test.go | 16 ++++++ .../core/spreadconstraint/select_groups.go | 16 ++++++ .../spreadconstraint/select_groups_test.go | 16 ++++++ pkg/scheduler/core/spreadconstraint/util.go | 16 ++++++ .../core/spreadconstraint/util_test.go | 16 ++++++ pkg/scheduler/core/util.go | 16 ++++++ pkg/scheduler/core/util_test.go | 16 ++++++ pkg/scheduler/event_handler.go | 16 ++++++ pkg/scheduler/framework/interface.go | 16 ++++++ .../plugins/apienablement/api_enablement.go | 16 ++++++ .../clusteraffinity/cluster_affinity.go | 16 ++++++ .../clustereviction/cluster_eviction.go | 16 ++++++ .../clusterlocality/cluster_locality.go | 16 ++++++ pkg/scheduler/framework/plugins/registry.go | 16 ++++++ .../spreadconstraint/spread_constraint.go | 16 ++++++ .../tainttoleration/taint_toleration.go | 16 ++++++ pkg/scheduler/framework/runtime/framework.go | 16 ++++++ .../framework/runtime/framework_test.go | 16 ++++++ .../framework/runtime/metrics_recorder.go | 16 ++++++ pkg/scheduler/framework/runtime/registry.go | 16 ++++++ .../framework/runtime/registry_test.go | 16 ++++++ pkg/scheduler/framework/types.go | 16 ++++++ pkg/scheduler/helper.go | 16 ++++++ pkg/scheduler/helper_test.go | 16 ++++++ pkg/scheduler/metrics/metrics.go | 16 ++++++ pkg/scheduler/scheduler.go | 16 ++++++ pkg/scheduler/scheduler_metrics_test.go | 16 ++++++ pkg/scheduler/scheduler_test.go | 16 ++++++ pkg/search/apiserver.go | 16 ++++++ pkg/search/backendstore/defaultstore.go | 16 ++++++ pkg/search/backendstore/opensearch.go | 16 ++++++ pkg/search/backendstore/store.go | 16 ++++++ pkg/search/controller.go | 16 ++++++ pkg/search/proxy/controller.go | 16 ++++++ pkg/search/proxy/controller_test.go | 16 ++++++ pkg/search/proxy/framework/interface.go | 16 ++++++ .../proxy/framework/plugins/cache/cache.go | 16 ++++++ .../framework/plugins/cache/cache_test.go | 16 ++++++ .../framework/plugins/cluster/cluster.go | 16 ++++++ .../framework/plugins/cluster/cluster_test.go | 16 ++++++ .../framework/plugins/karmada/karmada.go | 16 ++++++ .../framework/plugins/karmada/karmada_test.go | 16 ++++++ .../proxy/framework/plugins/registry.go | 16 ++++++ .../proxy/framework/runtime/framework.go | 16 ++++++ .../proxy/framework/runtime/registry.go | 16 ++++++ .../proxy/framework/runtime/registry_test.go | 16 ++++++ pkg/search/proxy/store/cluster_cache.go | 16 ++++++ pkg/search/proxy/store/conversion.go | 16 ++++++ pkg/search/proxy/store/multi_cluster_cache.go | 16 ++++++ .../proxy/store/multi_cluster_cache_test.go | 16 ++++++ pkg/search/proxy/store/resource_cache.go | 16 ++++++ pkg/search/proxy/store/store.go | 16 ++++++ pkg/search/proxy/store/store_test.go | 16 ++++++ pkg/search/proxy/store/util.go | 16 ++++++ pkg/search/proxy/store/util_test.go | 16 ++++++ pkg/search/proxy/testing/constant.go | 16 ++++++ pkg/search/proxy/testing/function.go | 16 ++++++ pkg/search/proxy/testing/mock_store.go | 16 ++++++ pkg/sharedcli/commandusage.go | 16 ++++++ pkg/sharedcli/docs.go | 16 ++++++ pkg/sharedcli/klogflag/klogflag.go | 16 ++++++ pkg/sharedcli/profileflag/profileflag.go | 16 ++++++ .../ratelimiterflag/ratelimiterflag.go | 16 ++++++ pkg/util/annotation.go | 16 ++++++ pkg/util/annotation_test.go | 16 ++++++ pkg/util/apigroup.go | 16 ++++++ pkg/util/apigroup_test.go | 16 ++++++ pkg/util/binding.go | 16 ++++++ pkg/util/binding_test.go | 16 ++++++ pkg/util/cluster.go | 16 ++++++ pkg/util/cluster_test.go | 16 ++++++ pkg/util/clusterlease.go | 16 ++++++ pkg/util/clusterlease_test.go | 16 ++++++ pkg/util/clusterrole.go | 16 ++++++ pkg/util/clusterrole_test.go | 16 ++++++ pkg/util/common.go | 16 ++++++ pkg/util/common_test.go | 16 ++++++ pkg/util/condition.go | 16 ++++++ pkg/util/condition_test.go | 16 ++++++ pkg/util/constants.go | 16 ++++++ pkg/util/context.go | 16 ++++++ pkg/util/credential.go | 16 ++++++ pkg/util/credential_test.go | 16 ++++++ pkg/util/dial.go | 16 ++++++ pkg/util/eventfilter/eventfilter.go | 16 ++++++ pkg/util/eventfilter/eventfilter_test.go | 16 ++++++ .../genericmanager/multi-cluster-manager.go | 16 ++++++ .../genericmanager/single-cluster-manager.go | 16 ++++++ pkg/util/fedinformer/handlers.go | 16 ++++++ pkg/util/fedinformer/keys/keys.go | 16 ++++++ pkg/util/fedinformer/keys/keys_test.go | 16 ++++++ pkg/util/fedinformer/transform.go | 16 ++++++ pkg/util/fedinformer/transform_test.go | 16 ++++++ .../typedmanager/multi-cluster-manager.go | 16 ++++++ .../typedmanager/single-cluster-manager.go | 16 ++++++ pkg/util/fixedpool/fixedpool.go | 16 ++++++ pkg/util/fixedpool/fixedpool_test.go | 16 ++++++ pkg/util/gclient/gclient.go | 16 ++++++ pkg/util/hash/hash.go | 16 ++++++ pkg/util/helper/binding.go | 16 ++++++ pkg/util/helper/binding_test.go | 16 ++++++ pkg/util/helper/cache.go | 16 ++++++ pkg/util/helper/cache_test.go | 16 ++++++ pkg/util/helper/cluster.go | 16 ++++++ pkg/util/helper/cluster_test.go | 16 ++++++ pkg/util/helper/job.go | 16 ++++++ pkg/util/helper/job_test.go | 16 ++++++ pkg/util/helper/mcs.go | 16 ++++++ pkg/util/helper/mcs_test.go | 16 ++++++ pkg/util/helper/node.go | 16 ++++++ pkg/util/helper/node_test.go | 16 ++++++ pkg/util/helper/override.go | 16 ++++++ pkg/util/helper/override_test.go | 16 ++++++ pkg/util/helper/patch.go | 16 ++++++ pkg/util/helper/patch_test.go | 16 ++++++ pkg/util/helper/pod.go | 16 ++++++ pkg/util/helper/pod_test.go | 16 ++++++ pkg/util/helper/policy.go | 16 ++++++ pkg/util/helper/policy_test.go | 16 ++++++ pkg/util/helper/predicate.go | 16 ++++++ pkg/util/helper/predicate_test.go | 16 ++++++ pkg/util/helper/taint.go | 16 ++++++ pkg/util/helper/taint_test.go | 16 ++++++ pkg/util/helper/unstructured.go | 16 ++++++ pkg/util/helper/unstructured_test.go | 16 ++++++ pkg/util/helper/work.go | 16 ++++++ pkg/util/helper/work_test.go | 16 ++++++ pkg/util/helper/workstatus.go | 16 ++++++ pkg/util/helper/workstatus_test.go | 16 ++++++ pkg/util/imageparser/lifted.go | 16 ++++++ pkg/util/imageparser/parser.go | 16 ++++++ pkg/util/imageparser/parser_test.go | 16 ++++++ pkg/util/interpreter/matcher.go | 16 ++++++ pkg/util/interpreter/matcher_test.go | 16 ++++++ pkg/util/interpreter/rule.go | 16 ++++++ pkg/util/interpreter/rule_test.go | 16 ++++++ pkg/util/label.go | 16 ++++++ pkg/util/label_test.go | 16 ++++++ pkg/util/lifted/deployment_test.go | 16 ++++++ pkg/util/lifted/federatedhpa.go | 16 ++++++ pkg/util/lifted/federatedhpa_test.go | 16 ++++++ pkg/util/lifted/lua_oslib_safe.go | 16 ++++++ pkg/util/lifted/lua_oslib_safe_test.go | 16 ++++++ pkg/util/lifted/objectwatcher_test.go | 16 ++++++ pkg/util/lifted/validatingfhpa.go | 16 ++++++ pkg/util/lifted/validatingmci_test.go | 16 ++++++ pkg/util/membercluster_client.go | 16 ++++++ pkg/util/membercluster_client_test.go | 16 ++++++ pkg/util/metrics/metrics.go | 16 ++++++ pkg/util/metrics/metrics_test.go | 16 ++++++ pkg/util/names/names.go | 16 ++++++ pkg/util/names/names_test.go | 16 ++++++ pkg/util/namespace.go | 16 ++++++ pkg/util/namespace_test.go | 16 ++++++ pkg/util/objectwatcher/objectwatcher.go | 16 ++++++ .../overridemanager/commandargsoverride.go | 16 ++++++ .../commandargsoverride_test.go | 16 ++++++ pkg/util/overridemanager/imageoverride.go | 16 ++++++ .../overridemanager/imageoverride_test.go | 16 ++++++ .../labelannotationoverrider.go | 16 ++++++ .../labelannotationoverrider_test.go | 16 ++++++ pkg/util/overridemanager/overridemanager.go | 16 ++++++ .../overridemanager/overridemanager_test.go | 16 ++++++ pkg/util/overridemanager/shadow.go | 16 ++++++ pkg/util/overridemanager/shadow_test.go | 16 ++++++ pkg/util/proxy/proxy.go | 16 ++++++ pkg/util/proxy/proxy_test.go | 16 ++++++ pkg/util/rbac.go | 16 ++++++ pkg/util/rbac_test.go | 16 ++++++ pkg/util/resource.go | 16 ++++++ pkg/util/resource_test.go | 16 ++++++ pkg/util/restmapper/restmapper.go | 16 ++++++ pkg/util/restmapper/restmapper_test.go | 16 ++++++ pkg/util/round_trippers.go | 16 ++++++ pkg/util/secret.go | 16 ++++++ pkg/util/secret_test.go | 16 ++++++ pkg/util/selector.go | 16 ++++++ pkg/util/selector_test.go | 16 ++++++ pkg/util/serviceaccount.go | 16 ++++++ pkg/util/serviceaccount_test.go | 16 ++++++ pkg/util/testing/mock_manager.go | 16 ++++++ pkg/util/testing/mock_responder.go | 16 ++++++ pkg/util/validation/validation.go | 16 ++++++ pkg/util/validation/validation_test.go | 16 ++++++ pkg/util/worker.go | 16 ++++++ pkg/util/worker_test.go | 16 ++++++ pkg/version/base.go | 16 ++++++ pkg/version/release.go | 16 ++++++ pkg/version/release_test.go | 16 ++++++ pkg/version/sharedcommand/sharedcommand.go | 16 ++++++ pkg/version/version.go | 16 ++++++ pkg/version/version_test.go | 16 ++++++ .../clusteroverridepolicy/validating.go | 16 ++++++ .../clusterpropagationpolicy/mutating.go | 16 ++++++ .../clusterpropagationpolicy/validating.go | 16 ++++++ pkg/webhook/configuration/helper.go | 16 ++++++ pkg/webhook/configuration/helper_test.go | 16 ++++++ pkg/webhook/configuration/validating.go | 16 ++++++ pkg/webhook/configuration/validating_test.go | 16 ++++++ .../cronfederatedhpa/validating_test.go | 16 ++++++ pkg/webhook/federatedhpa/mutating.go | 16 ++++++ pkg/webhook/federatedhpa/validating.go | 16 ++++++ .../federatedresourcequota/validating.go | 16 ++++++ .../federatedresourcequota/validating_test.go | 16 ++++++ pkg/webhook/interpreter/decode.go | 16 ++++++ pkg/webhook/interpreter/http.go | 16 ++++++ pkg/webhook/interpreter/inject.go | 16 ++++++ pkg/webhook/interpreter/response.go | 16 ++++++ pkg/webhook/interpreter/webhook.go | 16 ++++++ pkg/webhook/multiclusteringress/validating.go | 16 ++++++ pkg/webhook/multiclusterservice/validating.go | 16 ++++++ .../multiclusterservice/validating_test.go | 16 ++++++ pkg/webhook/overridepolicy/mutating.go | 16 ++++++ pkg/webhook/overridepolicy/validating.go | 16 ++++++ pkg/webhook/propagationpolicy/mutating.go | 16 ++++++ pkg/webhook/propagationpolicy/validating.go | 16 ++++++ .../helper.go | 16 ++++++ .../helper_test.go | 16 ++++++ .../validating.go | 16 ++++++ pkg/webhook/work/mutating.go | 16 ++++++ test/e2e/aggregatedapi_test.go | 16 ++++++ test/e2e/clusteraffinities_test.go | 16 ++++++ test/e2e/clusteroverridepolicy_test.go | 16 ++++++ test/e2e/clusterpropagationpolicy_test.go | 16 ++++++ test/e2e/dependenciesdistributor_test.go | 16 ++++++ test/e2e/failover_test.go | 16 ++++++ test/e2e/federatedresourcequota_test.go | 16 ++++++ test/e2e/fieldselector_test.go | 16 ++++++ test/e2e/framework/cluster.go | 16 ++++++ test/e2e/framework/clusteroverridepolicy.go | 16 ++++++ .../e2e/framework/clusterpropagationpolicy.go | 16 ++++++ test/e2e/framework/configmap.go | 16 ++++++ test/e2e/framework/constant.go | 16 ++++++ test/e2e/framework/customresourcedefine.go | 16 ++++++ test/e2e/framework/daemonSet.go | 16 ++++++ test/e2e/framework/deployment.go | 16 ++++++ test/e2e/framework/dynamic.go | 16 ++++++ test/e2e/framework/federatedresourcequota.go | 16 ++++++ test/e2e/framework/ginkgo_decorator.go | 16 ++++++ test/e2e/framework/hpa.go | 16 ++++++ test/e2e/framework/ingress.go | 16 ++++++ test/e2e/framework/job.go | 16 ++++++ test/e2e/framework/namespace.go | 16 ++++++ test/e2e/framework/overridepolicy.go | 16 ++++++ test/e2e/framework/persistentvolumeclaim.go | 16 ++++++ test/e2e/framework/pod.go | 16 ++++++ test/e2e/framework/poddisruptionbudget.go | 16 ++++++ test/e2e/framework/propagationpolicy.go | 16 ++++++ test/e2e/framework/rbac.go | 16 ++++++ .../resourceinterpretercustomization.go | 16 ++++++ test/e2e/framework/resourcequota.go | 16 ++++++ test/e2e/framework/resourceregistry.go | 16 ++++++ test/e2e/framework/secret.go | 16 ++++++ test/e2e/framework/service.go | 16 ++++++ test/e2e/framework/statefulSet.go | 16 ++++++ test/e2e/framework/workload.go | 16 ++++++ test/e2e/hpareplicassyncer_test.go | 16 ++++++ test/e2e/karmadactl_test.go | 16 ++++++ test/e2e/mcs_test.go | 16 ++++++ test/e2e/namespace_test.go | 16 ++++++ test/e2e/overridepolicy_test.go | 16 ++++++ test/e2e/porting_workloads_test.go | 16 ++++++ test/e2e/propagationpolicy_test.go | 16 ++++++ test/e2e/rescheduling_test.go | 16 ++++++ test/e2e/resource_deletion_protection_test.go | 16 ++++++ test/e2e/resource_test.go | 16 ++++++ test/e2e/resourceinterpreter_test.go | 16 ++++++ test/e2e/scheduling_test.go | 16 ++++++ test/e2e/seamless_migration_test.go | 16 ++++++ test/e2e/search_test.go | 16 ++++++ test/e2e/spread_by_region_test.go | 16 ++++++ test/e2e/suite.go | 16 ++++++ test/e2e/suite_test.go | 16 ++++++ test/e2e/tainttoleration_test.go | 16 ++++++ test/helper/config.go | 16 ++++++ test/helper/manager.go | 16 ++++++ test/helper/namespace.go | 16 ++++++ test/helper/policy.go | 16 ++++++ test/helper/request.go | 16 ++++++ test/helper/resource.go | 16 ++++++ test/helper/scheduler.go | 16 ++++++ test/integration/suite_test.go | 16 ++++++ test/integration/work_test.go | 16 ++++++ 756 files changed, 12030 insertions(+) create mode 100755 hack/verify-license.sh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8026e818..0792d2c15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,8 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.20.10 + - name: verify license + run: hack/verify-license.sh - name: vendor run: hack/verify-vendor.sh - name: lint diff --git a/cluster/images/Dockerfile b/cluster/images/Dockerfile index 98708d8ea..b4789ff33 100644 --- a/cluster/images/Dockerfile +++ b/cluster/images/Dockerfile @@ -1,3 +1,17 @@ +# Copyright 2022 The Karmada Authors. +# +# 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. + FROM alpine:3.18.3 ARG BINARY diff --git a/cluster/images/buildx.Dockerfile b/cluster/images/buildx.Dockerfile index 1f2f132fc..a4142c5a0 100644 --- a/cluster/images/buildx.Dockerfile +++ b/cluster/images/buildx.Dockerfile @@ -1,3 +1,17 @@ +# Copyright 2022 The Karmada Authors. +# +# 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. + FROM alpine:3.18.3 ARG BINARY diff --git a/cmd/agent/app/agent.go b/cmd/agent/app/agent.go index 16b1270b6..917709ff8 100644 --- a/cmd/agent/app/agent.go +++ b/cmd/agent/app/agent.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 app import ( diff --git a/cmd/agent/app/options/options.go b/cmd/agent/app/options/options.go index ad77ec0c7..35c6a81b1 100644 --- a/cmd/agent/app/options/options.go +++ b/cmd/agent/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/agent/app/options/validation.go b/cmd/agent/app/options/validation.go index 9437dd27b..789fd55af 100644 --- a/cmd/agent/app/options/validation.go +++ b/cmd/agent/app/options/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/agent/app/options/validation_test.go b/cmd/agent/app/options/validation_test.go index 30eed2146..7398713a3 100644 --- a/cmd/agent/app/options/validation_test.go +++ b/cmd/agent/app/options/validation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/agent/main.go b/cmd/agent/main.go index 719fc3b1c..4834b2136 100644 --- a/cmd/agent/main.go +++ b/cmd/agent/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 main import ( diff --git a/cmd/aggregated-apiserver/app/aggregated-apiserver.go b/cmd/aggregated-apiserver/app/aggregated-apiserver.go index 86efb41c3..ff82b6461 100644 --- a/cmd/aggregated-apiserver/app/aggregated-apiserver.go +++ b/cmd/aggregated-apiserver/app/aggregated-apiserver.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 app import ( diff --git a/cmd/aggregated-apiserver/app/options/options.go b/cmd/aggregated-apiserver/app/options/options.go index 9af56845a..93678bbe5 100644 --- a/cmd/aggregated-apiserver/app/options/options.go +++ b/cmd/aggregated-apiserver/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/aggregated-apiserver/app/options/validation.go b/cmd/aggregated-apiserver/app/options/validation.go index 610c832c5..7ff0f7348 100644 --- a/cmd/aggregated-apiserver/app/options/validation.go +++ b/cmd/aggregated-apiserver/app/options/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 options import ( diff --git a/cmd/aggregated-apiserver/main.go b/cmd/aggregated-apiserver/main.go index 73422111d..15e1e5881 100644 --- a/cmd/aggregated-apiserver/main.go +++ b/cmd/aggregated-apiserver/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 main import ( diff --git a/cmd/controller-manager/app/controllermanager.go b/cmd/controller-manager/app/controllermanager.go index defa1c95b..527a9883a 100644 --- a/cmd/controller-manager/app/controllermanager.go +++ b/cmd/controller-manager/app/controllermanager.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 app import ( diff --git a/cmd/controller-manager/app/options/options.go b/cmd/controller-manager/app/options/options.go index 29c077d4c..2b90dd1e8 100644 --- a/cmd/controller-manager/app/options/options.go +++ b/cmd/controller-manager/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 options import ( diff --git a/cmd/controller-manager/app/options/validation.go b/cmd/controller-manager/app/options/validation.go index b536e87f5..c60b2fc14 100644 --- a/cmd/controller-manager/app/options/validation.go +++ b/cmd/controller-manager/app/options/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/controller-manager/app/options/validation_test.go b/cmd/controller-manager/app/options/validation_test.go index 5e6227b84..2060cf687 100644 --- a/cmd/controller-manager/app/options/validation_test.go +++ b/cmd/controller-manager/app/options/validation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/controller-manager/controller-manager.go b/cmd/controller-manager/controller-manager.go index adb4427ad..9c5ed0047 100644 --- a/cmd/controller-manager/controller-manager.go +++ b/cmd/controller-manager/controller-manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 main import ( diff --git a/cmd/descheduler/app/descheduler.go b/cmd/descheduler/app/descheduler.go index ed2940942..a10b3e874 100644 --- a/cmd/descheduler/app/descheduler.go +++ b/cmd/descheduler/app/descheduler.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 app import ( diff --git a/cmd/descheduler/app/options/options.go b/cmd/descheduler/app/options/options.go index be2e4dca8..b0f169741 100644 --- a/cmd/descheduler/app/options/options.go +++ b/cmd/descheduler/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/descheduler/app/options/validation.go b/cmd/descheduler/app/options/validation.go index db34c802c..81bf557e0 100644 --- a/cmd/descheduler/app/options/validation.go +++ b/cmd/descheduler/app/options/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/descheduler/app/options/validation_test.go b/cmd/descheduler/app/options/validation_test.go index d29d575bf..28c5ec126 100644 --- a/cmd/descheduler/app/options/validation_test.go +++ b/cmd/descheduler/app/options/validation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/descheduler/main.go b/cmd/descheduler/main.go index dcb76e728..9914e40a1 100644 --- a/cmd/descheduler/main.go +++ b/cmd/descheduler/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 main import ( diff --git a/cmd/karmada-search/app/karmada-search.go b/cmd/karmada-search/app/karmada-search.go index ccea0e1ec..a22683d58 100644 --- a/cmd/karmada-search/app/karmada-search.go +++ b/cmd/karmada-search/app/karmada-search.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 app import ( diff --git a/cmd/karmada-search/app/options/options.go b/cmd/karmada-search/app/options/options.go index f744b8503..07b277005 100644 --- a/cmd/karmada-search/app/options/options.go +++ b/cmd/karmada-search/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 options import ( diff --git a/cmd/karmada-search/app/options/validation.go b/cmd/karmada-search/app/options/validation.go index 610c832c5..7ff0f7348 100644 --- a/cmd/karmada-search/app/options/validation.go +++ b/cmd/karmada-search/app/options/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 options import ( diff --git a/cmd/karmada-search/main.go b/cmd/karmada-search/main.go index 021eab0b2..5157af293 100644 --- a/cmd/karmada-search/main.go +++ b/cmd/karmada-search/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 main import ( diff --git a/cmd/karmadactl/karmadactl.go b/cmd/karmadactl/karmadactl.go index 5ffb1e75d..593f1f19e 100644 --- a/cmd/karmadactl/karmadactl.go +++ b/cmd/karmadactl/karmadactl.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 main import ( diff --git a/cmd/kubectl-karmada/kubectl-karmada.go b/cmd/kubectl-karmada/kubectl-karmada.go index acdf41770..96a282baf 100644 --- a/cmd/kubectl-karmada/kubectl-karmada.go +++ b/cmd/kubectl-karmada/kubectl-karmada.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 main import ( diff --git a/cmd/metrics-adapter/app/metrics-adapter.go b/cmd/metrics-adapter/app/metrics-adapter.go index 685aad250..c277743fa 100755 --- a/cmd/metrics-adapter/app/metrics-adapter.go +++ b/cmd/metrics-adapter/app/metrics-adapter.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 app import ( diff --git a/cmd/metrics-adapter/app/options/options.go b/cmd/metrics-adapter/app/options/options.go index 215bbf4af..def0a53cc 100755 --- a/cmd/metrics-adapter/app/options/options.go +++ b/cmd/metrics-adapter/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 options import ( diff --git a/cmd/metrics-adapter/app/options/validation.go b/cmd/metrics-adapter/app/options/validation.go index 12b82d450..3b4821ad2 100755 --- a/cmd/metrics-adapter/app/options/validation.go +++ b/cmd/metrics-adapter/app/options/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 options import ( diff --git a/cmd/metrics-adapter/main.go b/cmd/metrics-adapter/main.go index 2a959b734..8bc55015b 100755 --- a/cmd/metrics-adapter/main.go +++ b/cmd/metrics-adapter/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 main import ( diff --git a/cmd/scheduler-estimator/app/options/options.go b/cmd/scheduler-estimator/app/options/options.go index 68e874682..454e344d7 100644 --- a/cmd/scheduler-estimator/app/options/options.go +++ b/cmd/scheduler-estimator/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/scheduler-estimator/app/options/validation.go b/cmd/scheduler-estimator/app/options/validation.go index 72620b489..806a938b2 100644 --- a/cmd/scheduler-estimator/app/options/validation.go +++ b/cmd/scheduler-estimator/app/options/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/scheduler-estimator/app/options/validation_test.go b/cmd/scheduler-estimator/app/options/validation_test.go index 8784b8682..c9cf0845d 100644 --- a/cmd/scheduler-estimator/app/options/validation_test.go +++ b/cmd/scheduler-estimator/app/options/validation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/scheduler-estimator/app/scheduler-estimator.go b/cmd/scheduler-estimator/app/scheduler-estimator.go index 20bbefad6..56aee8cea 100644 --- a/cmd/scheduler-estimator/app/scheduler-estimator.go +++ b/cmd/scheduler-estimator/app/scheduler-estimator.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 app import ( diff --git a/cmd/scheduler-estimator/main.go b/cmd/scheduler-estimator/main.go index 204403419..177ff5ebd 100644 --- a/cmd/scheduler-estimator/main.go +++ b/cmd/scheduler-estimator/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 main import ( diff --git a/cmd/scheduler/app/options/options.go b/cmd/scheduler/app/options/options.go index 3f3118be2..c7ac81b49 100644 --- a/cmd/scheduler/app/options/options.go +++ b/cmd/scheduler/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/scheduler/app/options/validation.go b/cmd/scheduler/app/options/validation.go index 101be1b7c..7612ff2e8 100644 --- a/cmd/scheduler/app/options/validation.go +++ b/cmd/scheduler/app/options/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/scheduler/app/options/validation_test.go b/cmd/scheduler/app/options/validation_test.go index 4babff323..42940a6e6 100644 --- a/cmd/scheduler/app/options/validation_test.go +++ b/cmd/scheduler/app/options/validation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/scheduler/app/scheduler.go b/cmd/scheduler/app/scheduler.go index 69822c53d..c4f428ec6 100644 --- a/cmd/scheduler/app/scheduler.go +++ b/cmd/scheduler/app/scheduler.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 app import ( diff --git a/cmd/scheduler/main.go b/cmd/scheduler/main.go index ed679f703..5c03d2dca 100644 --- a/cmd/scheduler/main.go +++ b/cmd/scheduler/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 main import ( diff --git a/cmd/webhook/app/options/options.go b/cmd/webhook/app/options/options.go index 49ca4c916..8cfde8cb3 100644 --- a/cmd/webhook/app/options/options.go +++ b/cmd/webhook/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 options import ( diff --git a/cmd/webhook/app/options/validation.go b/cmd/webhook/app/options/validation.go index 4084190c9..d0abc88ef 100644 --- a/cmd/webhook/app/options/validation.go +++ b/cmd/webhook/app/options/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/webhook/app/options/validation_test.go b/cmd/webhook/app/options/validation_test.go index e979ec035..8b17207ab 100644 --- a/cmd/webhook/app/options/validation_test.go +++ b/cmd/webhook/app/options/validation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/cmd/webhook/app/webhook.go b/cmd/webhook/app/webhook.go index 2dcb29da9..d7af99409 100644 --- a/cmd/webhook/app/webhook.go +++ b/cmd/webhook/app/webhook.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 app import ( diff --git a/cmd/webhook/main.go b/cmd/webhook/main.go index 7bde08a00..517d73986 100644 --- a/cmd/webhook/main.go +++ b/cmd/webhook/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 main import ( diff --git a/examples/customresourceinterpreter/apis/workload/v1alpha1/doc.go b/examples/customresourceinterpreter/apis/workload/v1alpha1/doc.go index 9d6035fac..f0c1cd721 100644 --- a/examples/customresourceinterpreter/apis/workload/v1alpha1/doc.go +++ b/examples/customresourceinterpreter/apis/workload/v1alpha1/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 is the v1alpha1 version of the API. // +k8s:deepcopy-gen=package,register // +groupName=workload.example.io diff --git a/examples/customresourceinterpreter/apis/workload/v1alpha1/workload_types.go b/examples/customresourceinterpreter/apis/workload/v1alpha1/workload_types.go index cc05e844b..fc7349ba0 100644 --- a/examples/customresourceinterpreter/apis/workload/v1alpha1/workload_types.go +++ b/examples/customresourceinterpreter/apis/workload/v1alpha1/workload_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 ( diff --git a/examples/customresourceinterpreter/webhook/app/options/options.go b/examples/customresourceinterpreter/webhook/app/options/options.go index 57c5f9d5e..baebddd7a 100644 --- a/examples/customresourceinterpreter/webhook/app/options/options.go +++ b/examples/customresourceinterpreter/webhook/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/examples/customresourceinterpreter/webhook/app/options/validation.go b/examples/customresourceinterpreter/webhook/app/options/validation.go index 545c29168..88daf7cee 100644 --- a/examples/customresourceinterpreter/webhook/app/options/validation.go +++ b/examples/customresourceinterpreter/webhook/app/options/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/examples/customresourceinterpreter/webhook/app/options/validation_test.go b/examples/customresourceinterpreter/webhook/app/options/validation_test.go index 8ca154cbf..97df86ee9 100644 --- a/examples/customresourceinterpreter/webhook/app/options/validation_test.go +++ b/examples/customresourceinterpreter/webhook/app/options/validation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options import ( diff --git a/examples/customresourceinterpreter/webhook/app/webhook.go b/examples/customresourceinterpreter/webhook/app/webhook.go index e7972c0cd..3218cc3ea 100644 --- a/examples/customresourceinterpreter/webhook/app/webhook.go +++ b/examples/customresourceinterpreter/webhook/app/webhook.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 app import ( diff --git a/examples/customresourceinterpreter/webhook/app/workloadwebhook.go b/examples/customresourceinterpreter/webhook/app/workloadwebhook.go index 5ef6baa06..31cdc21c0 100644 --- a/examples/customresourceinterpreter/webhook/app/workloadwebhook.go +++ b/examples/customresourceinterpreter/webhook/app/workloadwebhook.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 app import ( diff --git a/examples/customresourceinterpreter/webhook/main.go b/examples/customresourceinterpreter/webhook/main.go index aa42a14e8..7c63c6969 100644 --- a/examples/customresourceinterpreter/webhook/main.go +++ b/examples/customresourceinterpreter/webhook/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 main import ( diff --git a/hack/build.sh b/hack/build.sh index 401393212..04a546781 100755 --- a/hack/build.sh +++ b/hack/build.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2022 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/cli-testing-environment.sh b/hack/cli-testing-environment.sh index 8688ba597..b2d081557 100755 --- a/hack/cli-testing-environment.sh +++ b/hack/cli-testing-environment.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2023 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset set -o pipefail diff --git a/hack/create-cluster.sh b/hack/create-cluster.sh index 4ef13fabc..a2041a5d7 100755 --- a/hack/create-cluster.sh +++ b/hack/create-cluster.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + # This script only fits for Linux, macOS adaptation will come soon set -o errexit diff --git a/hack/delete-cluster.sh b/hack/delete-cluster.sh index b97d68ffe..629056b0a 100755 --- a/hack/delete-cluster.sh +++ b/hack/delete-cluster.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/deploy-agent-and-estimator.sh b/hack/deploy-agent-and-estimator.sh index 6c2ee7887..00a22674e 100755 --- a/hack/deploy-agent-and-estimator.sh +++ b/hack/deploy-agent-and-estimator.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/deploy-k8s-metrics-server.sh b/hack/deploy-k8s-metrics-server.sh index 2358f7bd3..d305c0c3f 100755 --- a/hack/deploy-k8s-metrics-server.sh +++ b/hack/deploy-k8s-metrics-server.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2023 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/deploy-karmada-agent.sh b/hack/deploy-karmada-agent.sh index 7ce013e7a..deb6cb55f 100755 --- a/hack/deploy-karmada-agent.sh +++ b/hack/deploy-karmada-agent.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/deploy-karmada-opensearch.sh b/hack/deploy-karmada-opensearch.sh index cd5c46998..4a3890b3b 100755 --- a/hack/deploy-karmada-opensearch.sh +++ b/hack/deploy-karmada-opensearch.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2022 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/deploy-karmada.sh b/hack/deploy-karmada.sh index e4e555285..6f0e61645 100755 --- a/hack/deploy-karmada.sh +++ b/hack/deploy-karmada.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/deploy-metrics-adapter.sh b/hack/deploy-metrics-adapter.sh index 7683bd8b3..e28dbfad1 100755 --- a/hack/deploy-metrics-adapter.sh +++ b/hack/deploy-metrics-adapter.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2022 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/deploy-scheduler-estimator.sh b/hack/deploy-scheduler-estimator.sh index 3987e5e5f..70e0e12d7 100755 --- a/hack/deploy-scheduler-estimator.sh +++ b/hack/deploy-scheduler-estimator.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/docker.sh b/hack/docker.sh index ee8e9a6ce..8c529af4e 100755 --- a/hack/docker.sh +++ b/hack/docker.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/install-cli.sh b/hack/install-cli.sh index 98af50788..87605551a 100755 --- a/hack/install-cli.sh +++ b/hack/install-cli.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2022 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset set -o pipefail diff --git a/hack/local-down-karmada.sh b/hack/local-down-karmada.sh index 65c510153..0d3e305f6 100755 --- a/hack/local-down-karmada.sh +++ b/hack/local-down-karmada.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2022 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset set -o pipefail diff --git a/hack/local-up-karmada.sh b/hack/local-up-karmada.sh index 72311e139..2f4ea3cca 100755 --- a/hack/local-up-karmada.sh +++ b/hack/local-up-karmada.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset set -o pipefail diff --git a/hack/package-helm-chart.sh b/hack/package-helm-chart.sh index ae3dbe9b2..7dc44ea2d 100755 --- a/hack/package-helm-chart.sh +++ b/hack/package-helm-chart.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2022 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset set -o pipefail diff --git a/hack/post-run-e2e.sh b/hack/post-run-e2e.sh index ebd4cc2ae..556fa4f3f 100755 --- a/hack/post-run-e2e.sh +++ b/hack/post-run-e2e.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset set -o pipefail diff --git a/hack/pre-run-e2e.sh b/hack/pre-run-e2e.sh index 138741284..2788826c3 100755 --- a/hack/pre-run-e2e.sh +++ b/hack/pre-run-e2e.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset set -o pipefail diff --git a/hack/release.sh b/hack/release.sh index 212bda36a..51b10d23b 100755 --- a/hack/release.sh +++ b/hack/release.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2022 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/remote-up-karmada.sh b/hack/remote-up-karmada.sh index dd53f2dc1..0d9a5a634 100755 --- a/hack/remote-up-karmada.sh +++ b/hack/remote-up-karmada.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/run-e2e.sh b/hack/run-e2e.sh index a0d9152ae..7e3fb22db 100755 --- a/hack/run-e2e.sh +++ b/hack/run-e2e.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/tools/gencomponentdocs/gen_component_docs.go b/hack/tools/gencomponentdocs/gen_component_docs.go index af90590d7..fc6df12df 100644 --- a/hack/tools/gencomponentdocs/gen_component_docs.go +++ b/hack/tools/gencomponentdocs/gen_component_docs.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 main import ( diff --git a/hack/tools/gencomponentdocs/postprocessing.go b/hack/tools/gencomponentdocs/postprocessing.go index 99374280f..9c6736091 100644 --- a/hack/tools/gencomponentdocs/postprocessing.go +++ b/hack/tools/gencomponentdocs/postprocessing.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 main import ( diff --git a/hack/tools/gencomponentdocs/postprocessing_test.go b/hack/tools/gencomponentdocs/postprocessing_test.go index 8d6cc2f2c..1e96f3cf5 100644 --- a/hack/tools/gencomponentdocs/postprocessing_test.go +++ b/hack/tools/gencomponentdocs/postprocessing_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 main import "testing" diff --git a/hack/tools/genkarmadactldocs/gen_karmadactl_docs.go b/hack/tools/genkarmadactldocs/gen_karmadactl_docs.go index eed8dccdd..36bed09bf 100644 --- a/hack/tools/genkarmadactldocs/gen_karmadactl_docs.go +++ b/hack/tools/genkarmadactldocs/gen_karmadactl_docs.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 main import ( diff --git a/hack/tools/lifted-gen/lifted-gen.go b/hack/tools/lifted-gen/lifted-gen.go index 8746028ac..236a0f3f3 100644 --- a/hack/tools/lifted-gen/lifted-gen.go +++ b/hack/tools/lifted-gen/lifted-gen.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 main import ( diff --git a/hack/tools/swagger/generateswagger.go b/hack/tools/swagger/generateswagger.go index 006ed22ce..e795cfde1 100644 --- a/hack/tools/swagger/generateswagger.go +++ b/hack/tools/swagger/generateswagger.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 main import ( diff --git a/hack/tools/swagger/lib/render.go b/hack/tools/swagger/lib/render.go index 719c1e9ef..a71e8f34e 100644 --- a/hack/tools/swagger/lib/render.go +++ b/hack/tools/swagger/lib/render.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 lib import ( diff --git a/hack/tools/swagger/lib/storage.go b/hack/tools/swagger/lib/storage.go index 7dd7b5ec5..3ba14ee88 100644 --- a/hack/tools/swagger/lib/storage.go +++ b/hack/tools/swagger/lib/storage.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 lib import ( diff --git a/hack/tools/tools.go b/hack/tools/tools.go index 5fce9ad34..3ca6ffd7a 100644 --- a/hack/tools/tools.go +++ b/hack/tools/tools.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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. +*/ + //go:build tools // +build tools diff --git a/hack/undeploy-karmada-agent.sh b/hack/undeploy-karmada-agent.sh index c23632c03..c13c45326 100755 --- a/hack/undeploy-karmada-agent.sh +++ b/hack/undeploy-karmada-agent.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2022 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/undeploy-karmada.sh b/hack/undeploy-karmada.sh index 4a5d902bd..6911bcb7f 100755 --- a/hack/undeploy-karmada.sh +++ b/hack/undeploy-karmada.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/update-all.sh b/hack/update-all.sh index e620e73f3..bf9b27963 100755 --- a/hack/update-all.sh +++ b/hack/update-all.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 4fd7b9c2d..e1cb8a24a 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/update-crdgen.sh b/hack/update-crdgen.sh index fa30e9512..b8336a37a 100755 --- a/hack/update-crdgen.sh +++ b/hack/update-crdgen.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/update-estimator-protobuf.sh b/hack/update-estimator-protobuf.sh index a0568a1d3..6811fd462 100755 --- a/hack/update-estimator-protobuf.sh +++ b/hack/update-estimator-protobuf.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/update-import-aliases.sh b/hack/update-import-aliases.sh index 6ec41411d..51403866c 100755 --- a/hack/update-import-aliases.sh +++ b/hack/update-import-aliases.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/update-lifted.sh b/hack/update-lifted.sh index 94c72a20e..24cce0c52 100755 --- a/hack/update-lifted.sh +++ b/hack/update-lifted.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/update-swagger-docs.sh b/hack/update-swagger-docs.sh index 8c6e67356..1adfca1d5 100755 --- a/hack/update-swagger-docs.sh +++ b/hack/update-swagger-docs.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/update-vendor.sh b/hack/update-vendor.sh index d13cc0acf..07f6c8e8a 100755 --- a/hack/update-vendor.sh +++ b/hack/update-vendor.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/util.sh b/hack/util.sh index 583c4330a..2ef0d21a4 100755 --- a/hack/util.sh +++ b/hack/util.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/verify-all.sh b/hack/verify-all.sh index ac47d38b2..c7ff22b47 100755 --- a/hack/verify-all.sh +++ b/hack/verify-all.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset @@ -21,3 +35,4 @@ bash "$REPO_ROOT/hack/verify-vendor.sh" bash "$REPO_ROOT/hack/verify-swagger-docs.sh" bash "$REPO_ROOT/hack/verify-crdgen.sh" bash "$REPO_ROOT/hack/verify-codegen.sh" +bash "$REPO_ROOT/hack/verify-license.sh" diff --git a/hack/verify-codegen.sh b/hack/verify-codegen.sh index d0697a6aa..514424e6a 100755 --- a/hack/verify-codegen.sh +++ b/hack/verify-codegen.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/verify-crdgen.sh b/hack/verify-crdgen.sh index 6a9ef72b3..06b367141 100755 --- a/hack/verify-crdgen.sh +++ b/hack/verify-crdgen.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/verify-estimator-protobuf.sh b/hack/verify-estimator-protobuf.sh index e65fd5bbe..b67125628 100755 --- a/hack/verify-estimator-protobuf.sh +++ b/hack/verify-estimator-protobuf.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/verify-import-aliases.sh b/hack/verify-import-aliases.sh index bd18ff3a8..81f672871 100755 --- a/hack/verify-import-aliases.sh +++ b/hack/verify-import-aliases.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2021 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/verify-license.sh b/hack/verify-license.sh new file mode 100755 index 000000000..2d80fca0a --- /dev/null +++ b/hack/verify-license.sh @@ -0,0 +1,53 @@ +#!/usr/bin/env bash +# Copyright 2023 The Karmada Authors. +# +# 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. + + +set -o errexit +set -o nounset +set -o pipefail + +REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. +cd "${REPO_ROOT}" + +if [[ "$(which addlicense)" == "" ]]; then + go install github.com/google/addlicense@v1.1.1 +fi +ADDLICENSE_BIN=$(which addlicense) + +# verify presence of license headers and exit with non-zero code if missing +missing_license_header_files="$($ADDLICENSE_BIN \ + -check \ + -ignore "vendor/**" \ + -ignore "_output/**" \ + -ignore "samples/**" \ + -ignore "docs/**" \ + -ignore ".github/**" \ + -ignore "third_party/**" \ + -ignore "**/pb/**" \ + -ignore "**/*.md" \ + -ignore "**/*.yaml" \ + -ignore "**/*.yml" \ + -ignore "**/*.json" \ + -ignore "**/*.proto" \ + .)" || true + +if [[ "$missing_license_header_files" ]]; then + echo "Files with no license header detected:" + echo "$missing_license_header_files" + echo "Please add all missing license headers." + exit 1 +fi + +echo "Congratulations! All files have passed license header check." diff --git a/hack/verify-lifted.sh b/hack/verify-lifted.sh index 7c87deabe..9b5f9b719 100755 --- a/hack/verify-lifted.sh +++ b/hack/verify-lifted.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2022 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/verify-mocks.sh b/hack/verify-mocks.sh index 4a94d0c85..442992d32 100755 --- a/hack/verify-mocks.sh +++ b/hack/verify-mocks.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/verify-staticcheck.sh b/hack/verify-staticcheck.sh index 04bb30d76..44926f614 100755 --- a/hack/verify-staticcheck.sh +++ b/hack/verify-staticcheck.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/verify-swagger-docs.sh b/hack/verify-swagger-docs.sh index 38af43f7a..9c13623ef 100755 --- a/hack/verify-swagger-docs.sh +++ b/hack/verify-swagger-docs.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/verify-vendor.sh b/hack/verify-vendor.sh index 81362ff15..d27654233 100755 --- a/hack/verify-vendor.sh +++ b/hack/verify-vendor.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2020 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/hack/version.sh b/hack/version.sh index 629bed5f7..75ab5b067 100755 --- a/hack/version.sh +++ b/hack/version.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +# Copyright 2022 The Karmada Authors. +# +# 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. + set -o errexit set -o nounset diff --git a/operator/cmd/operator/app/operator.go b/operator/cmd/operator/app/operator.go index 1ca8c6708..92e05d9ab 100644 --- a/operator/cmd/operator/app/operator.go +++ b/operator/cmd/operator/app/operator.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 app import ( diff --git a/operator/cmd/operator/app/options/options.go b/operator/cmd/operator/app/options/options.go index f65c15668..64e11bf36 100644 --- a/operator/cmd/operator/app/options/options.go +++ b/operator/cmd/operator/app/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 options import ( diff --git a/operator/cmd/operator/operator.go b/operator/cmd/operator/operator.go index 280a881a1..5d0d28a36 100644 --- a/operator/cmd/operator/operator.go +++ b/operator/cmd/operator/operator.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 main import ( diff --git a/operator/pkg/apis/operator/v1alpha1/defaults.go b/operator/pkg/apis/operator/v1alpha1/defaults.go index 25328d2ad..a25af0091 100644 --- a/operator/pkg/apis/operator/v1alpha1/defaults.go +++ b/operator/pkg/apis/operator/v1alpha1/defaults.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 ( diff --git a/operator/pkg/apis/operator/v1alpha1/doc.go b/operator/pkg/apis/operator/v1alpha1/doc.go index 463a168f3..3b9607e8c 100644 --- a/operator/pkg/apis/operator/v1alpha1/doc.go +++ b/operator/pkg/apis/operator/v1alpha1/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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. +*/ + // +k8s:deepcopy-gen=package // +k8s:defaulter-gen=ObjectMeta // +groupName=operator.karmada.io diff --git a/operator/pkg/apis/operator/v1alpha1/helper.go b/operator/pkg/apis/operator/v1alpha1/helper.go index 20ac670f0..0222b5bb9 100644 --- a/operator/pkg/apis/operator/v1alpha1/helper.go +++ b/operator/pkg/apis/operator/v1alpha1/helper.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 ( diff --git a/operator/pkg/apis/operator/v1alpha1/register.go b/operator/pkg/apis/operator/v1alpha1/register.go index a40fb8efc..d09d8aae3 100644 --- a/operator/pkg/apis/operator/v1alpha1/register.go +++ b/operator/pkg/apis/operator/v1alpha1/register.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 ( diff --git a/operator/pkg/certs/certs.go b/operator/pkg/certs/certs.go index 08f9622b4..bcb6f6312 100644 --- a/operator/pkg/certs/certs.go +++ b/operator/pkg/certs/certs.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 certs import ( diff --git a/operator/pkg/certs/store.go b/operator/pkg/certs/store.go index d11d5fa15..d7c93cbb6 100644 --- a/operator/pkg/certs/store.go +++ b/operator/pkg/certs/store.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 certs import ( diff --git a/operator/pkg/constants/constants.go b/operator/pkg/constants/constants.go index c03454e1c..008838d20 100644 --- a/operator/pkg/constants/constants.go +++ b/operator/pkg/constants/constants.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 constants import ( diff --git a/operator/pkg/controller/context/context.go b/operator/pkg/controller/context/context.go index e6d65367c..d010a1876 100644 --- a/operator/pkg/controller/context/context.go +++ b/operator/pkg/controller/context/context.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 context import ( diff --git a/operator/pkg/controller/karmada/controller.go b/operator/pkg/controller/karmada/controller.go index 22a5a7f24..bd56007ac 100644 --- a/operator/pkg/controller/karmada/controller.go +++ b/operator/pkg/controller/karmada/controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 karmada import ( diff --git a/operator/pkg/controller/karmada/planner.go b/operator/pkg/controller/karmada/planner.go index 5deec82cd..b3455c322 100644 --- a/operator/pkg/controller/karmada/planner.go +++ b/operator/pkg/controller/karmada/planner.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 karmada import ( diff --git a/operator/pkg/controlplane/apiserver/apiserver.go b/operator/pkg/controlplane/apiserver/apiserver.go index 9abf4b59b..63bd6f7e5 100644 --- a/operator/pkg/controlplane/apiserver/apiserver.go +++ b/operator/pkg/controlplane/apiserver/apiserver.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 apiserver import ( diff --git a/operator/pkg/controlplane/apiserver/mainfests.go b/operator/pkg/controlplane/apiserver/mainfests.go index 833ddbdc1..b93167d92 100644 --- a/operator/pkg/controlplane/apiserver/mainfests.go +++ b/operator/pkg/controlplane/apiserver/mainfests.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 apiserver const ( diff --git a/operator/pkg/controlplane/controlplane.go b/operator/pkg/controlplane/controlplane.go index 113985b89..65350ef57 100644 --- a/operator/pkg/controlplane/controlplane.go +++ b/operator/pkg/controlplane/controlplane.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 controlplane import ( diff --git a/operator/pkg/controlplane/etcd/etcd.go b/operator/pkg/controlplane/etcd/etcd.go index 1ee02c3c8..9938f310b 100644 --- a/operator/pkg/controlplane/etcd/etcd.go +++ b/operator/pkg/controlplane/etcd/etcd.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 etcd import ( diff --git a/operator/pkg/controlplane/etcd/mainfests.go b/operator/pkg/controlplane/etcd/mainfests.go index a0e8d8b8a..6ca31d78c 100644 --- a/operator/pkg/controlplane/etcd/mainfests.go +++ b/operator/pkg/controlplane/etcd/mainfests.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 etcd const ( diff --git a/operator/pkg/controlplane/manifests.go b/operator/pkg/controlplane/manifests.go index ed3cc9ca7..a77dbfca2 100644 --- a/operator/pkg/controlplane/manifests.go +++ b/operator/pkg/controlplane/manifests.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 controlplane const ( diff --git a/operator/pkg/controlplane/metricsadapter/mainfests.go b/operator/pkg/controlplane/metricsadapter/mainfests.go index 823b327c3..0f181952a 100644 --- a/operator/pkg/controlplane/metricsadapter/mainfests.go +++ b/operator/pkg/controlplane/metricsadapter/mainfests.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 metricsadapter const ( diff --git a/operator/pkg/controlplane/metricsadapter/metricsadapter.go b/operator/pkg/controlplane/metricsadapter/metricsadapter.go index 2742e9bfd..74670b1a1 100644 --- a/operator/pkg/controlplane/metricsadapter/metricsadapter.go +++ b/operator/pkg/controlplane/metricsadapter/metricsadapter.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 metricsadapter import ( diff --git a/operator/pkg/controlplane/webhook/mainfests.go b/operator/pkg/controlplane/webhook/mainfests.go index 409627a79..27ef7d1a4 100644 --- a/operator/pkg/controlplane/webhook/mainfests.go +++ b/operator/pkg/controlplane/webhook/mainfests.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 webhook const ( diff --git a/operator/pkg/controlplane/webhook/webhook.go b/operator/pkg/controlplane/webhook/webhook.go index d38a4b6f5..14cef70ff 100644 --- a/operator/pkg/controlplane/webhook/webhook.go +++ b/operator/pkg/controlplane/webhook/webhook.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 webhook import ( diff --git a/operator/pkg/deinit.go b/operator/pkg/deinit.go index 5d224d482..e2fd08d65 100644 --- a/operator/pkg/deinit.go +++ b/operator/pkg/deinit.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 karmada import ( diff --git a/operator/pkg/init.go b/operator/pkg/init.go index adcfde441..c2b2ef29a 100644 --- a/operator/pkg/init.go +++ b/operator/pkg/init.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 karmada import ( diff --git a/operator/pkg/karmadaresource/apiservice/apiservice.go b/operator/pkg/karmadaresource/apiservice/apiservice.go index ea8e0d4a2..7c161ce8d 100644 --- a/operator/pkg/karmadaresource/apiservice/apiservice.go +++ b/operator/pkg/karmadaresource/apiservice/apiservice.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 apiservice import ( diff --git a/operator/pkg/karmadaresource/apiservice/manifest.go b/operator/pkg/karmadaresource/apiservice/manifest.go index c829cb087..2d79d98f2 100644 --- a/operator/pkg/karmadaresource/apiservice/manifest.go +++ b/operator/pkg/karmadaresource/apiservice/manifest.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 apiservice const ( diff --git a/operator/pkg/karmadaresource/rbac/manifest.go b/operator/pkg/karmadaresource/rbac/manifest.go index 926d77c82..66eff933c 100644 --- a/operator/pkg/karmadaresource/rbac/manifest.go +++ b/operator/pkg/karmadaresource/rbac/manifest.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 rbac const ( diff --git a/operator/pkg/karmadaresource/rbac/rbac.go b/operator/pkg/karmadaresource/rbac/rbac.go index 4ecb7067a..d3eb8f590 100644 --- a/operator/pkg/karmadaresource/rbac/rbac.go +++ b/operator/pkg/karmadaresource/rbac/rbac.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 rbac import ( diff --git a/operator/pkg/karmadaresource/webhookconfiguration/manifests.go b/operator/pkg/karmadaresource/webhookconfiguration/manifests.go index 942519d10..31c801dce 100644 --- a/operator/pkg/karmadaresource/webhookconfiguration/manifests.go +++ b/operator/pkg/karmadaresource/webhookconfiguration/manifests.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 webhookconfiguration const ( diff --git a/operator/pkg/karmadaresource/webhookconfiguration/webhookconfiguration.go b/operator/pkg/karmadaresource/webhookconfiguration/webhookconfiguration.go index 6345819e9..eee213c13 100644 --- a/operator/pkg/karmadaresource/webhookconfiguration/webhookconfiguration.go +++ b/operator/pkg/karmadaresource/webhookconfiguration/webhookconfiguration.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 webhookconfiguration import ( diff --git a/operator/pkg/scheme/scheme.go b/operator/pkg/scheme/scheme.go index 87ad1e9f8..80eff26b8 100644 --- a/operator/pkg/scheme/scheme.go +++ b/operator/pkg/scheme/scheme.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 scheme import ( diff --git a/operator/pkg/tasks/deinit/cert.go b/operator/pkg/tasks/deinit/cert.go index d72023311..1ddea6af1 100644 --- a/operator/pkg/tasks/deinit/cert.go +++ b/operator/pkg/tasks/deinit/cert.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/deinit/component.go b/operator/pkg/tasks/deinit/component.go index 43d65201d..8d4ef762f 100644 --- a/operator/pkg/tasks/deinit/component.go +++ b/operator/pkg/tasks/deinit/component.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/deinit/data.go b/operator/pkg/tasks/deinit/data.go index 6e5ce557f..ff7e5a532 100644 --- a/operator/pkg/tasks/deinit/data.go +++ b/operator/pkg/tasks/deinit/data.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/deinit/kubeconfig.go b/operator/pkg/tasks/deinit/kubeconfig.go index 45285af7d..76d1f2637 100644 --- a/operator/pkg/tasks/deinit/kubeconfig.go +++ b/operator/pkg/tasks/deinit/kubeconfig.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/apiserver.go b/operator/pkg/tasks/init/apiserver.go index 05d77fb9e..8e8e9dd97 100644 --- a/operator/pkg/tasks/init/apiserver.go +++ b/operator/pkg/tasks/init/apiserver.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/cert.go b/operator/pkg/tasks/init/cert.go index 7898fe06a..3530df088 100644 --- a/operator/pkg/tasks/init/cert.go +++ b/operator/pkg/tasks/init/cert.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/component.go b/operator/pkg/tasks/init/component.go index 3e531a93a..ffc5d1233 100644 --- a/operator/pkg/tasks/init/component.go +++ b/operator/pkg/tasks/init/component.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/crd.go b/operator/pkg/tasks/init/crd.go index 27b024635..197895424 100644 --- a/operator/pkg/tasks/init/crd.go +++ b/operator/pkg/tasks/init/crd.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/data.go b/operator/pkg/tasks/init/data.go index 706af7236..6ce0a2491 100644 --- a/operator/pkg/tasks/init/data.go +++ b/operator/pkg/tasks/init/data.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/etcd.go b/operator/pkg/tasks/init/etcd.go index 328e5a41a..757347bdc 100644 --- a/operator/pkg/tasks/init/etcd.go +++ b/operator/pkg/tasks/init/etcd.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/karmadaresource.go b/operator/pkg/tasks/init/karmadaresource.go index c1476af24..fb8a421fd 100644 --- a/operator/pkg/tasks/init/karmadaresource.go +++ b/operator/pkg/tasks/init/karmadaresource.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/namespace.go b/operator/pkg/tasks/init/namespace.go index 9c3362bb5..47ce02bfe 100644 --- a/operator/pkg/tasks/init/namespace.go +++ b/operator/pkg/tasks/init/namespace.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/rbac.go b/operator/pkg/tasks/init/rbac.go index cd0b582bd..ad33fc7c3 100644 --- a/operator/pkg/tasks/init/rbac.go +++ b/operator/pkg/tasks/init/rbac.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/upload.go b/operator/pkg/tasks/init/upload.go index 3bca170de..05dfd5e20 100644 --- a/operator/pkg/tasks/init/upload.go +++ b/operator/pkg/tasks/init/upload.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/tasks/init/wait.go b/operator/pkg/tasks/init/wait.go index 8a92f28cd..e6c2ba836 100644 --- a/operator/pkg/tasks/init/wait.go +++ b/operator/pkg/tasks/init/wait.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 tasks import ( diff --git a/operator/pkg/util/apiclient/idempotency.go b/operator/pkg/util/apiclient/idempotency.go index 1d6b735b7..2f8ffa311 100644 --- a/operator/pkg/util/apiclient/idempotency.go +++ b/operator/pkg/util/apiclient/idempotency.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 apiclient import ( diff --git a/operator/pkg/util/apiclient/wait.go b/operator/pkg/util/apiclient/wait.go index 3154aefa0..83dac3e0e 100644 --- a/operator/pkg/util/apiclient/wait.go +++ b/operator/pkg/util/apiclient/wait.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 apiclient import ( diff --git a/operator/pkg/util/endpoint.go b/operator/pkg/util/endpoint.go index 7defaf2a6..beaf3bf3f 100644 --- a/operator/pkg/util/endpoint.go +++ b/operator/pkg/util/endpoint.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/operator/pkg/util/kubeconfig.go b/operator/pkg/util/kubeconfig.go index 53e265683..6b3b2689f 100644 --- a/operator/pkg/util/kubeconfig.go +++ b/operator/pkg/util/kubeconfig.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/operator/pkg/util/naming.go b/operator/pkg/util/naming.go index 248f85f65..d00b84f1f 100644 --- a/operator/pkg/util/naming.go +++ b/operator/pkg/util/naming.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/operator/pkg/util/patcher/pather.go b/operator/pkg/util/patcher/pather.go index 6de77f49f..b6211576c 100644 --- a/operator/pkg/util/patcher/pather.go +++ b/operator/pkg/util/patcher/pather.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 patcher import ( diff --git a/operator/pkg/util/template.go b/operator/pkg/util/template.go index a8ba8872e..fa5cb6b12 100644 --- a/operator/pkg/util/template.go +++ b/operator/pkg/util/template.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/operator/pkg/util/util.go b/operator/pkg/util/util.go index 2c3bae045..3ca22dc95 100644 --- a/operator/pkg/util/util.go +++ b/operator/pkg/util/util.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/operator/pkg/util/util_test.go b/operator/pkg/util/util_test.go index 2a68aa702..4758b6268 100644 --- a/operator/pkg/util/util_test.go +++ b/operator/pkg/util/util_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/operator/pkg/workflow/job.go b/operator/pkg/workflow/job.go index 6286b60a3..7471b42ca 100644 --- a/operator/pkg/workflow/job.go +++ b/operator/pkg/workflow/job.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 workflow import ( diff --git a/operator/pkg/workflow/task.go b/operator/pkg/workflow/task.go index ef0a0daee..132780807 100644 --- a/operator/pkg/workflow/task.go +++ b/operator/pkg/workflow/task.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 workflow // Task is minimum unit workflow. It is sample tree structure. diff --git a/pkg/aggregatedapiserver/apiserver.go b/pkg/aggregatedapiserver/apiserver.go index 9772d0150..09f5c1bc7 100644 --- a/pkg/aggregatedapiserver/apiserver.go +++ b/pkg/aggregatedapiserver/apiserver.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 aggregatedapiserver import ( diff --git a/pkg/apis/autoscaling/v1alpha1/doc.go b/pkg/apis/autoscaling/v1alpha1/doc.go index 05195a7c9..bbb97a945 100644 --- a/pkg/apis/autoscaling/v1alpha1/doc.go +++ b/pkg/apis/autoscaling/v1alpha1/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 is the v1alpha1 version of the API. // +k8s:deepcopy-gen=package,register // +k8s:openapi-gen=true diff --git a/pkg/apis/autoscaling/v1alpha1/federatedhpa_types.go b/pkg/apis/autoscaling/v1alpha1/federatedhpa_types.go index b6358bd1e..569760d3f 100755 --- a/pkg/apis/autoscaling/v1alpha1/federatedhpa_types.go +++ b/pkg/apis/autoscaling/v1alpha1/federatedhpa_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 ( diff --git a/pkg/apis/autoscaling/v1alpha1/well_known_constants.go b/pkg/apis/autoscaling/v1alpha1/well_known_constants.go index da6210dbd..6adf67b63 100644 --- a/pkg/apis/autoscaling/v1alpha1/well_known_constants.go +++ b/pkg/apis/autoscaling/v1alpha1/well_known_constants.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 const ( diff --git a/pkg/apis/cluster/doc.go b/pkg/apis/cluster/doc.go index 7dc45f54e..91df2b552 100644 --- a/pkg/apis/cluster/doc.go +++ b/pkg/apis/cluster/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 cluster is the internal version of the API. // +k8s:deepcopy-gen=package // +groupName=cluster.karmada.io diff --git a/pkg/apis/cluster/install/install.go b/pkg/apis/cluster/install/install.go index cd9f098c2..dc21685d3 100644 --- a/pkg/apis/cluster/install/install.go +++ b/pkg/apis/cluster/install/install.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 install import ( diff --git a/pkg/apis/cluster/mutation/mutation.go b/pkg/apis/cluster/mutation/mutation.go index 7f43f6e1c..268a005f1 100644 --- a/pkg/apis/cluster/mutation/mutation.go +++ b/pkg/apis/cluster/mutation/mutation.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 mutation import ( diff --git a/pkg/apis/cluster/mutation/mutation_test.go b/pkg/apis/cluster/mutation/mutation_test.go index 98768b08b..19acce05e 100644 --- a/pkg/apis/cluster/mutation/mutation_test.go +++ b/pkg/apis/cluster/mutation/mutation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 mutation import ( diff --git a/pkg/apis/cluster/register.go b/pkg/apis/cluster/register.go index 761757c4c..9e99eb4b1 100644 --- a/pkg/apis/cluster/register.go +++ b/pkg/apis/cluster/register.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 cluster import ( diff --git a/pkg/apis/cluster/scheme/register.go b/pkg/apis/cluster/scheme/register.go index e7ccb9c96..b7805f169 100644 --- a/pkg/apis/cluster/scheme/register.go +++ b/pkg/apis/cluster/scheme/register.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 scheme import ( diff --git a/pkg/apis/cluster/types.go b/pkg/apis/cluster/types.go index 99ee72a46..12f4062d1 100644 --- a/pkg/apis/cluster/types.go +++ b/pkg/apis/cluster/types.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 cluster import ( diff --git a/pkg/apis/cluster/v1alpha1/cluster_helper.go b/pkg/apis/cluster/v1alpha1/cluster_helper.go index d7ebce3f0..6e30e4c65 100644 --- a/pkg/apis/cluster/v1alpha1/cluster_helper.go +++ b/pkg/apis/cluster/v1alpha1/cluster_helper.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 // String returns a well-formatted string for the Cluster object. diff --git a/pkg/apis/cluster/v1alpha1/cluster_helper_test.go b/pkg/apis/cluster/v1alpha1/cluster_helper_test.go index afffbea25..ba94f0a89 100644 --- a/pkg/apis/cluster/v1alpha1/cluster_helper_test.go +++ b/pkg/apis/cluster/v1alpha1/cluster_helper_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 ( diff --git a/pkg/apis/cluster/v1alpha1/doc.go b/pkg/apis/cluster/v1alpha1/doc.go index 5ffc043de..23d2a8be7 100644 --- a/pkg/apis/cluster/v1alpha1/doc.go +++ b/pkg/apis/cluster/v1alpha1/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 is the v1alpha1 version of the API. // +k8s:openapi-gen=true // +k8s:deepcopy-gen=package,register diff --git a/pkg/apis/cluster/v1alpha1/types.go b/pkg/apis/cluster/v1alpha1/types.go index d8bd4e902..5e8eabb3f 100644 --- a/pkg/apis/cluster/v1alpha1/types.go +++ b/pkg/apis/cluster/v1alpha1/types.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 ( diff --git a/pkg/apis/cluster/v1alpha1/well_known_constants.go b/pkg/apis/cluster/v1alpha1/well_known_constants.go index 5069cef5b..e79323e6e 100644 --- a/pkg/apis/cluster/v1alpha1/well_known_constants.go +++ b/pkg/apis/cluster/v1alpha1/well_known_constants.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 const ( diff --git a/pkg/apis/cluster/validation/validation.go b/pkg/apis/cluster/validation/validation.go index e61c43aa5..e639f8324 100644 --- a/pkg/apis/cluster/validation/validation.go +++ b/pkg/apis/cluster/validation/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 validation import ( diff --git a/pkg/apis/cluster/validation/validation_test.go b/pkg/apis/cluster/validation/validation_test.go index f18b952ab..4ac5325da 100644 --- a/pkg/apis/cluster/validation/validation_test.go +++ b/pkg/apis/cluster/validation/validation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 validation import ( diff --git a/pkg/apis/config/v1alpha1/doc.go b/pkg/apis/config/v1alpha1/doc.go index 0212a1f55..353b9d8d8 100644 --- a/pkg/apis/config/v1alpha1/doc.go +++ b/pkg/apis/config/v1alpha1/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 is the v1alpha1 version of the API. // +k8s:deepcopy-gen=package,register // +k8s:openapi-gen=true diff --git a/pkg/apis/config/v1alpha1/interpretercontext_types.go b/pkg/apis/config/v1alpha1/interpretercontext_types.go index 5e674a758..ae8aa1862 100644 --- a/pkg/apis/config/v1alpha1/interpretercontext_types.go +++ b/pkg/apis/config/v1alpha1/interpretercontext_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 ( diff --git a/pkg/apis/config/v1alpha1/resourceinterpretercustomization_types.go b/pkg/apis/config/v1alpha1/resourceinterpretercustomization_types.go index ae4161b49..d86eb6c15 100644 --- a/pkg/apis/config/v1alpha1/resourceinterpretercustomization_types.go +++ b/pkg/apis/config/v1alpha1/resourceinterpretercustomization_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 ( diff --git a/pkg/apis/config/v1alpha1/resourceinterpreterwebhook_types.go b/pkg/apis/config/v1alpha1/resourceinterpreterwebhook_types.go index dc5f3867c..4f03bf7ac 100644 --- a/pkg/apis/config/v1alpha1/resourceinterpreterwebhook_types.go +++ b/pkg/apis/config/v1alpha1/resourceinterpreterwebhook_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 ( diff --git a/pkg/apis/networking/v1alpha1/doc.go b/pkg/apis/networking/v1alpha1/doc.go index b95b5f90c..1d7321809 100644 --- a/pkg/apis/networking/v1alpha1/doc.go +++ b/pkg/apis/networking/v1alpha1/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 is the v1alpha1 version of the API. // +k8s:deepcopy-gen=package,register // +k8s:openapi-gen=true diff --git a/pkg/apis/networking/v1alpha1/ingress_types.go b/pkg/apis/networking/v1alpha1/ingress_types.go index b121d8f7a..58d9bcfc4 100644 --- a/pkg/apis/networking/v1alpha1/ingress_types.go +++ b/pkg/apis/networking/v1alpha1/ingress_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 ( diff --git a/pkg/apis/networking/v1alpha1/service_types.go b/pkg/apis/networking/v1alpha1/service_types.go index 08f174469..8d158ee1c 100644 --- a/pkg/apis/networking/v1alpha1/service_types.go +++ b/pkg/apis/networking/v1alpha1/service_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 ( diff --git a/pkg/apis/policy/v1alpha1/doc.go b/pkg/apis/policy/v1alpha1/doc.go index 5a1f5b9d7..0a866f824 100644 --- a/pkg/apis/policy/v1alpha1/doc.go +++ b/pkg/apis/policy/v1alpha1/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 is the v1alpha1 version of the API. // +k8s:deepcopy-gen=package,register // +k8s:openapi-gen=true diff --git a/pkg/apis/policy/v1alpha1/federatedresourcequota_types.go b/pkg/apis/policy/v1alpha1/federatedresourcequota_types.go index d8efa1667..0b0466b4f 100644 --- a/pkg/apis/policy/v1alpha1/federatedresourcequota_types.go +++ b/pkg/apis/policy/v1alpha1/federatedresourcequota_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 ( diff --git a/pkg/apis/policy/v1alpha1/override_types.go b/pkg/apis/policy/v1alpha1/override_types.go index 424e96d4c..2cdc55702 100644 --- a/pkg/apis/policy/v1alpha1/override_types.go +++ b/pkg/apis/policy/v1alpha1/override_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 ( diff --git a/pkg/apis/policy/v1alpha1/override_utils.go b/pkg/apis/policy/v1alpha1/override_utils.go index 25349b5d5..cb2648026 100644 --- a/pkg/apis/policy/v1alpha1/override_utils.go +++ b/pkg/apis/policy/v1alpha1/override_utils.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 // GetName returns the name of OverridePolicy diff --git a/pkg/apis/policy/v1alpha1/propagation_helper.go b/pkg/apis/policy/v1alpha1/propagation_helper.go index b4480aa3f..a49ef9efe 100644 --- a/pkg/apis/policy/v1alpha1/propagation_helper.go +++ b/pkg/apis/policy/v1alpha1/propagation_helper.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 // ExplicitPriority returns the explicit priority declared diff --git a/pkg/apis/policy/v1alpha1/propagation_helper_test.go b/pkg/apis/policy/v1alpha1/propagation_helper_test.go index d15f842d9..de8e952ba 100644 --- a/pkg/apis/policy/v1alpha1/propagation_helper_test.go +++ b/pkg/apis/policy/v1alpha1/propagation_helper_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 ( diff --git a/pkg/apis/policy/v1alpha1/propagation_types.go b/pkg/apis/policy/v1alpha1/propagation_types.go index 5976f2e25..e3c20c485 100644 --- a/pkg/apis/policy/v1alpha1/propagation_types.go +++ b/pkg/apis/policy/v1alpha1/propagation_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 ( diff --git a/pkg/apis/policy/v1alpha1/well_known_constants.go b/pkg/apis/policy/v1alpha1/well_known_constants.go index 144f5d868..bbbc00c58 100644 --- a/pkg/apis/policy/v1alpha1/well_known_constants.go +++ b/pkg/apis/policy/v1alpha1/well_known_constants.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 const ( diff --git a/pkg/apis/search/doc.go b/pkg/apis/search/doc.go index 9c240b498..791f0164e 100644 --- a/pkg/apis/search/doc.go +++ b/pkg/apis/search/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 search is the internal version of the API. // +k8s:deepcopy-gen=package // +groupName=search.karmada.io diff --git a/pkg/apis/search/install/install.go b/pkg/apis/search/install/install.go index 5fe81ad0b..9e59690fb 100644 --- a/pkg/apis/search/install/install.go +++ b/pkg/apis/search/install/install.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 install import ( diff --git a/pkg/apis/search/register.go b/pkg/apis/search/register.go index 57998cae7..3788be339 100644 --- a/pkg/apis/search/register.go +++ b/pkg/apis/search/register.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 search import ( diff --git a/pkg/apis/search/scheme/register.go b/pkg/apis/search/scheme/register.go index a6b2361ac..7850510b4 100644 --- a/pkg/apis/search/scheme/register.go +++ b/pkg/apis/search/scheme/register.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 scheme import ( diff --git a/pkg/apis/search/searchregistry_types.go b/pkg/apis/search/searchregistry_types.go index 32612076d..4389cf18c 100644 --- a/pkg/apis/search/searchregistry_types.go +++ b/pkg/apis/search/searchregistry_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 search import ( diff --git a/pkg/apis/search/v1alpha1/doc.go b/pkg/apis/search/v1alpha1/doc.go index 61a573b8e..727344fa3 100644 --- a/pkg/apis/search/v1alpha1/doc.go +++ b/pkg/apis/search/v1alpha1/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 is the v1alpha1 version of the API. // +k8s:deepcopy-gen=package,register // +k8s:openapi-gen=true diff --git a/pkg/apis/search/v1alpha1/searchregistry_types.go b/pkg/apis/search/v1alpha1/searchregistry_types.go index 832071d1e..edbc25fcf 100644 --- a/pkg/apis/search/v1alpha1/searchregistry_types.go +++ b/pkg/apis/search/v1alpha1/searchregistry_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 ( diff --git a/pkg/apis/work/v1alpha1/binding_types.go b/pkg/apis/work/v1alpha1/binding_types.go index 06b951060..a69baf221 100644 --- a/pkg/apis/work/v1alpha1/binding_types.go +++ b/pkg/apis/work/v1alpha1/binding_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 ( diff --git a/pkg/apis/work/v1alpha1/binding_types_conversion.go b/pkg/apis/work/v1alpha1/binding_types_conversion.go index b62dcf35e..a07638f9c 100644 --- a/pkg/apis/work/v1alpha1/binding_types_conversion.go +++ b/pkg/apis/work/v1alpha1/binding_types_conversion.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 ( diff --git a/pkg/apis/work/v1alpha1/doc.go b/pkg/apis/work/v1alpha1/doc.go index 95a124016..56bd9072a 100644 --- a/pkg/apis/work/v1alpha1/doc.go +++ b/pkg/apis/work/v1alpha1/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 is the v1alpha1 version of the API. // +k8s:deepcopy-gen=package,register // +k8s:openapi-gen=true diff --git a/pkg/apis/work/v1alpha1/well_known_constants.go b/pkg/apis/work/v1alpha1/well_known_constants.go index 9cc3d8130..b11daa5c0 100644 --- a/pkg/apis/work/v1alpha1/well_known_constants.go +++ b/pkg/apis/work/v1alpha1/well_known_constants.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 const ( diff --git a/pkg/apis/work/v1alpha1/work_types.go b/pkg/apis/work/v1alpha1/work_types.go index 7c5eaa7cc..98ead29d2 100644 --- a/pkg/apis/work/v1alpha1/work_types.go +++ b/pkg/apis/work/v1alpha1/work_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 ( diff --git a/pkg/apis/work/v1alpha2/binding_types.go b/pkg/apis/work/v1alpha2/binding_types.go index be69aacd9..554218f11 100644 --- a/pkg/apis/work/v1alpha2/binding_types.go +++ b/pkg/apis/work/v1alpha2/binding_types.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 v1alpha2 import ( diff --git a/pkg/apis/work/v1alpha2/binding_types_conversion.go b/pkg/apis/work/v1alpha2/binding_types_conversion.go index 4e8bb4ddc..4c0159f16 100644 --- a/pkg/apis/work/v1alpha2/binding_types_conversion.go +++ b/pkg/apis/work/v1alpha2/binding_types_conversion.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 v1alpha2 import "sigs.k8s.io/controller-runtime/pkg/conversion" diff --git a/pkg/apis/work/v1alpha2/binding_types_helper.go b/pkg/apis/work/v1alpha2/binding_types_helper.go index 80c2d4feb..7bf53694a 100644 --- a/pkg/apis/work/v1alpha2/binding_types_helper.go +++ b/pkg/apis/work/v1alpha2/binding_types_helper.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 v1alpha2 // TaskOptions represents options for GracefulEvictionTasks. diff --git a/pkg/apis/work/v1alpha2/binding_types_helper_test.go b/pkg/apis/work/v1alpha2/binding_types_helper_test.go index 77db73e4c..73e093f63 100644 --- a/pkg/apis/work/v1alpha2/binding_types_helper_test.go +++ b/pkg/apis/work/v1alpha2/binding_types_helper_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 v1alpha2 import ( diff --git a/pkg/apis/work/v1alpha2/doc.go b/pkg/apis/work/v1alpha2/doc.go index 463d194e3..071949ec2 100644 --- a/pkg/apis/work/v1alpha2/doc.go +++ b/pkg/apis/work/v1alpha2/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 v1alpha2 is the v1alpha2 version of the API. // +k8s:deepcopy-gen=package,register // +k8s:openapi-gen=true diff --git a/pkg/apis/work/v1alpha2/well_known_constants.go b/pkg/apis/work/v1alpha2/well_known_constants.go index 596208d6b..a72f10464 100644 --- a/pkg/apis/work/v1alpha2/well_known_constants.go +++ b/pkg/apis/work/v1alpha2/well_known_constants.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 v1alpha2 const ( diff --git a/pkg/clusterdiscovery/clusterapi/clusterapi.go b/pkg/clusterdiscovery/clusterapi/clusterapi.go index b64eef5dd..0a20c29f8 100644 --- a/pkg/clusterdiscovery/clusterapi/clusterapi.go +++ b/pkg/clusterdiscovery/clusterapi/clusterapi.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 clusterapi import ( diff --git a/pkg/clusterdiscovery/clusterapi/handler.go b/pkg/clusterdiscovery/clusterapi/handler.go index 3adf75530..438bfc3a0 100644 --- a/pkg/clusterdiscovery/clusterapi/handler.go +++ b/pkg/clusterdiscovery/clusterapi/handler.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 clusterapi import ( diff --git a/pkg/controllers/applicationfailover/common.go b/pkg/controllers/applicationfailover/common.go index b6acb7f76..f152b95e1 100644 --- a/pkg/controllers/applicationfailover/common.go +++ b/pkg/controllers/applicationfailover/common.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 applicationfailover import ( diff --git a/pkg/controllers/applicationfailover/common_test.go b/pkg/controllers/applicationfailover/common_test.go index 58714a624..a031e7567 100644 --- a/pkg/controllers/applicationfailover/common_test.go +++ b/pkg/controllers/applicationfailover/common_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 applicationfailover import ( diff --git a/pkg/controllers/applicationfailover/crb_application_failover_controller.go b/pkg/controllers/applicationfailover/crb_application_failover_controller.go index c90ac1cd3..dcf7bfc73 100644 --- a/pkg/controllers/applicationfailover/crb_application_failover_controller.go +++ b/pkg/controllers/applicationfailover/crb_application_failover_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 applicationfailover import ( diff --git a/pkg/controllers/applicationfailover/crb_application_failover_controller_test.go b/pkg/controllers/applicationfailover/crb_application_failover_controller_test.go index 51398b26c..cc81c3a29 100644 --- a/pkg/controllers/applicationfailover/crb_application_failover_controller_test.go +++ b/pkg/controllers/applicationfailover/crb_application_failover_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 applicationfailover import ( diff --git a/pkg/controllers/applicationfailover/rb_application_failover_controller.go b/pkg/controllers/applicationfailover/rb_application_failover_controller.go index e74a4d810..2e6024575 100644 --- a/pkg/controllers/applicationfailover/rb_application_failover_controller.go +++ b/pkg/controllers/applicationfailover/rb_application_failover_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 applicationfailover import ( diff --git a/pkg/controllers/applicationfailover/rb_application_failover_controller_test.go b/pkg/controllers/applicationfailover/rb_application_failover_controller_test.go index dd291cf73..e7925354d 100644 --- a/pkg/controllers/applicationfailover/rb_application_failover_controller_test.go +++ b/pkg/controllers/applicationfailover/rb_application_failover_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 applicationfailover import ( diff --git a/pkg/controllers/binding/binding_controller.go b/pkg/controllers/binding/binding_controller.go index e740082d2..4a641aa98 100644 --- a/pkg/controllers/binding/binding_controller.go +++ b/pkg/controllers/binding/binding_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 binding import ( diff --git a/pkg/controllers/binding/binding_controller_test.go b/pkg/controllers/binding/binding_controller_test.go index 81d4434a8..108c724b6 100644 --- a/pkg/controllers/binding/binding_controller_test.go +++ b/pkg/controllers/binding/binding_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 binding import ( diff --git a/pkg/controllers/binding/cluster_resource_binding_controller.go b/pkg/controllers/binding/cluster_resource_binding_controller.go index 84487ee60..4e33ab0fa 100644 --- a/pkg/controllers/binding/cluster_resource_binding_controller.go +++ b/pkg/controllers/binding/cluster_resource_binding_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 binding import ( diff --git a/pkg/controllers/binding/common.go b/pkg/controllers/binding/common.go index 95fbf861e..00df526a9 100644 --- a/pkg/controllers/binding/common.go +++ b/pkg/controllers/binding/common.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 binding import ( diff --git a/pkg/controllers/binding/common_test.go b/pkg/controllers/binding/common_test.go index 79b3cb6d8..f0a4294eb 100644 --- a/pkg/controllers/binding/common_test.go +++ b/pkg/controllers/binding/common_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 binding import ( diff --git a/pkg/controllers/certificate/cert_rotation_controller.go b/pkg/controllers/certificate/cert_rotation_controller.go index 2388a05ba..e48dffac8 100644 --- a/pkg/controllers/certificate/cert_rotation_controller.go +++ b/pkg/controllers/certificate/cert_rotation_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 certificate import ( diff --git a/pkg/controllers/cluster/cluster_controller.go b/pkg/controllers/cluster/cluster_controller.go index 97818200b..dd2e61aeb 100644 --- a/pkg/controllers/cluster/cluster_controller.go +++ b/pkg/controllers/cluster/cluster_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 cluster import ( diff --git a/pkg/controllers/cluster/common.go b/pkg/controllers/cluster/common.go index c0b8928be..e33d73716 100644 --- a/pkg/controllers/cluster/common.go +++ b/pkg/controllers/cluster/common.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 cluster import ( diff --git a/pkg/controllers/cluster/taint_manager.go b/pkg/controllers/cluster/taint_manager.go index 1bef8954a..0bead2e81 100644 --- a/pkg/controllers/cluster/taint_manager.go +++ b/pkg/controllers/cluster/taint_manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 cluster import ( diff --git a/pkg/controllers/context/context.go b/pkg/controllers/context/context.go index 683128029..d07274a85 100644 --- a/pkg/controllers/context/context.go +++ b/pkg/controllers/context/context.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 context import ( diff --git a/pkg/controllers/context/context_test.go b/pkg/controllers/context/context_test.go index 1cc604d8e..d46cbc133 100644 --- a/pkg/controllers/context/context_test.go +++ b/pkg/controllers/context/context_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 context import ( diff --git a/pkg/controllers/execution/execution_controller.go b/pkg/controllers/execution/execution_controller.go index da95b3261..d92bce687 100644 --- a/pkg/controllers/execution/execution_controller.go +++ b/pkg/controllers/execution/execution_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 execution import ( diff --git a/pkg/controllers/federatedhpa/federatedhpa_controller.go b/pkg/controllers/federatedhpa/federatedhpa_controller.go index a63135901..f0d03b336 100644 --- a/pkg/controllers/federatedhpa/federatedhpa_controller.go +++ b/pkg/controllers/federatedhpa/federatedhpa_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 federatedhpa import ( diff --git a/pkg/controllers/federatedhpa/replica_calculator.go b/pkg/controllers/federatedhpa/replica_calculator.go index 020c6bd71..7e753043f 100644 --- a/pkg/controllers/federatedhpa/replica_calculator.go +++ b/pkg/controllers/federatedhpa/replica_calculator.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 federatedhpa import ( diff --git a/pkg/controllers/federatedresourcequota/federated_resource_quota_status_controller.go b/pkg/controllers/federatedresourcequota/federated_resource_quota_status_controller.go index aec895a1e..23dd982b8 100644 --- a/pkg/controllers/federatedresourcequota/federated_resource_quota_status_controller.go +++ b/pkg/controllers/federatedresourcequota/federated_resource_quota_status_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 federatedresourcequota import ( diff --git a/pkg/controllers/federatedresourcequota/federated_resource_quota_sync_controller.go b/pkg/controllers/federatedresourcequota/federated_resource_quota_sync_controller.go index 3cb77c3d0..e5f2a8f16 100644 --- a/pkg/controllers/federatedresourcequota/federated_resource_quota_sync_controller.go +++ b/pkg/controllers/federatedresourcequota/federated_resource_quota_sync_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 federatedresourcequota import ( diff --git a/pkg/controllers/gracefuleviction/crb_graceful_eviction_controller.go b/pkg/controllers/gracefuleviction/crb_graceful_eviction_controller.go index ab5107e96..1c03cfba1 100644 --- a/pkg/controllers/gracefuleviction/crb_graceful_eviction_controller.go +++ b/pkg/controllers/gracefuleviction/crb_graceful_eviction_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 gracefuleviction import ( diff --git a/pkg/controllers/gracefuleviction/evictiontask.go b/pkg/controllers/gracefuleviction/evictiontask.go index 4bf2e3e19..877584590 100644 --- a/pkg/controllers/gracefuleviction/evictiontask.go +++ b/pkg/controllers/gracefuleviction/evictiontask.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 gracefuleviction import ( diff --git a/pkg/controllers/gracefuleviction/evictiontask_test.go b/pkg/controllers/gracefuleviction/evictiontask_test.go index e086e3210..dcc7dd050 100644 --- a/pkg/controllers/gracefuleviction/evictiontask_test.go +++ b/pkg/controllers/gracefuleviction/evictiontask_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 gracefuleviction import ( diff --git a/pkg/controllers/gracefuleviction/rb_graceful_eviction_controller.go b/pkg/controllers/gracefuleviction/rb_graceful_eviction_controller.go index 2dbe04b57..6f35718dc 100644 --- a/pkg/controllers/gracefuleviction/rb_graceful_eviction_controller.go +++ b/pkg/controllers/gracefuleviction/rb_graceful_eviction_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 gracefuleviction import ( diff --git a/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_controller.go b/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_controller.go index 43754e4b2..3bb74576a 100644 --- a/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_controller.go +++ b/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 hpareplicassyncer import ( diff --git a/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_controller_test.go b/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_controller_test.go index 74bda4c32..49e22a5fc 100644 --- a/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_controller_test.go +++ b/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 hpareplicassyncer import ( diff --git a/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_predicate.go b/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_predicate.go index ce86ac876..9d6389a85 100644 --- a/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_predicate.go +++ b/pkg/controllers/hpareplicassyncer/hpa_replicas_syncer_predicate.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 hpareplicassyncer import ( diff --git a/pkg/controllers/hpareplicassyncer/hpa_scale_ref_worker.go b/pkg/controllers/hpareplicassyncer/hpa_scale_ref_worker.go index 604ed15c8..d9cf5c8a7 100644 --- a/pkg/controllers/hpareplicassyncer/hpa_scale_ref_worker.go +++ b/pkg/controllers/hpareplicassyncer/hpa_scale_ref_worker.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 hpareplicassyncer import ( diff --git a/pkg/controllers/mcs/endpointslice_controller.go b/pkg/controllers/mcs/endpointslice_controller.go index 0cae42cad..766ff602f 100644 --- a/pkg/controllers/mcs/endpointslice_controller.go +++ b/pkg/controllers/mcs/endpointslice_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 mcs import ( diff --git a/pkg/controllers/mcs/service_export_controller.go b/pkg/controllers/mcs/service_export_controller.go index 2ea0dad20..49b1dc9f3 100644 --- a/pkg/controllers/mcs/service_export_controller.go +++ b/pkg/controllers/mcs/service_export_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 mcs import ( diff --git a/pkg/controllers/mcs/service_import_controller.go b/pkg/controllers/mcs/service_import_controller.go index 7f5e8df71..7cb50c68e 100644 --- a/pkg/controllers/mcs/service_import_controller.go +++ b/pkg/controllers/mcs/service_import_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 mcs import ( diff --git a/pkg/controllers/namespace/namespace_sync_controller.go b/pkg/controllers/namespace/namespace_sync_controller.go index f80d466bd..2a29e3264 100644 --- a/pkg/controllers/namespace/namespace_sync_controller.go +++ b/pkg/controllers/namespace/namespace_sync_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 namespace import ( diff --git a/pkg/controllers/status/cluster_condition_cache.go b/pkg/controllers/status/cluster_condition_cache.go index 866bf50ad..807676cd7 100644 --- a/pkg/controllers/status/cluster_condition_cache.go +++ b/pkg/controllers/status/cluster_condition_cache.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/status/cluster_condition_cache_test.go b/pkg/controllers/status/cluster_condition_cache_test.go index 0a6a9d67e..aed6f985d 100644 --- a/pkg/controllers/status/cluster_condition_cache_test.go +++ b/pkg/controllers/status/cluster_condition_cache_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/status/cluster_status_controller.go b/pkg/controllers/status/cluster_status_controller.go index 5e16854a3..9f4ae02e5 100644 --- a/pkg/controllers/status/cluster_status_controller.go +++ b/pkg/controllers/status/cluster_status_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/status/cluster_status_controller_test.go b/pkg/controllers/status/cluster_status_controller_test.go index ead499eb8..6d1419bb6 100644 --- a/pkg/controllers/status/cluster_status_controller_test.go +++ b/pkg/controllers/status/cluster_status_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/status/common.go b/pkg/controllers/status/common.go index 7479517de..ecd950d25 100644 --- a/pkg/controllers/status/common.go +++ b/pkg/controllers/status/common.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/status/crb_status_controller.go b/pkg/controllers/status/crb_status_controller.go index 2f0ca9086..a8241847e 100644 --- a/pkg/controllers/status/crb_status_controller.go +++ b/pkg/controllers/status/crb_status_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/status/crb_status_controller_test.go b/pkg/controllers/status/crb_status_controller_test.go index 88feaff69..6c3ccc454 100644 --- a/pkg/controllers/status/crb_status_controller_test.go +++ b/pkg/controllers/status/crb_status_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/status/rb_status_controller.go b/pkg/controllers/status/rb_status_controller.go index 2f584da17..a7559984a 100644 --- a/pkg/controllers/status/rb_status_controller.go +++ b/pkg/controllers/status/rb_status_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/status/rb_status_controller_test.go b/pkg/controllers/status/rb_status_controller_test.go index f0b14e544..3cb946925 100644 --- a/pkg/controllers/status/rb_status_controller_test.go +++ b/pkg/controllers/status/rb_status_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/status/work_status_controller.go b/pkg/controllers/status/work_status_controller.go index 1daa96411..99a9f42ff 100644 --- a/pkg/controllers/status/work_status_controller.go +++ b/pkg/controllers/status/work_status_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/status/work_status_controller_test.go b/pkg/controllers/status/work_status_controller_test.go index 9ff13d14e..bea94a9b3 100644 --- a/pkg/controllers/status/work_status_controller_test.go +++ b/pkg/controllers/status/work_status_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 status import ( diff --git a/pkg/controllers/unifiedauth/unified_auth_controller.go b/pkg/controllers/unifiedauth/unified_auth_controller.go index bec872e46..1a32f5114 100644 --- a/pkg/controllers/unifiedauth/unified_auth_controller.go +++ b/pkg/controllers/unifiedauth/unified_auth_controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 unifiedauth import ( diff --git a/pkg/controllers/unifiedauth/unified_auth_controller_test.go b/pkg/controllers/unifiedauth/unified_auth_controller_test.go index eacc0a8d7..b5932937e 100644 --- a/pkg/controllers/unifiedauth/unified_auth_controller_test.go +++ b/pkg/controllers/unifiedauth/unified_auth_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 unifiedauth import ( diff --git a/pkg/dependenciesdistributor/dependencies_distributor.go b/pkg/dependenciesdistributor/dependencies_distributor.go index 7683a15fe..4a56db66f 100644 --- a/pkg/dependenciesdistributor/dependencies_distributor.go +++ b/pkg/dependenciesdistributor/dependencies_distributor.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 dependenciesdistributor import ( diff --git a/pkg/dependenciesdistributor/dependencies_distributor_test.go b/pkg/dependenciesdistributor/dependencies_distributor_test.go index aae9ccbd3..73ee4840a 100644 --- a/pkg/dependenciesdistributor/dependencies_distributor_test.go +++ b/pkg/dependenciesdistributor/dependencies_distributor_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 dependenciesdistributor import ( diff --git a/pkg/descheduler/core/filter.go b/pkg/descheduler/core/filter.go index 4f5aae606..8a7538feb 100644 --- a/pkg/descheduler/core/filter.go +++ b/pkg/descheduler/core/filter.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 core import ( diff --git a/pkg/descheduler/core/filter_test.go b/pkg/descheduler/core/filter_test.go index a99475688..380f1b6b3 100644 --- a/pkg/descheduler/core/filter_test.go +++ b/pkg/descheduler/core/filter_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 core import ( diff --git a/pkg/descheduler/core/helper.go b/pkg/descheduler/core/helper.go index 7972c2811..c5e257534 100644 --- a/pkg/descheduler/core/helper.go +++ b/pkg/descheduler/core/helper.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 core import ( diff --git a/pkg/descheduler/descheduler.go b/pkg/descheduler/descheduler.go index f5cd1e9fb..f5689672f 100644 --- a/pkg/descheduler/descheduler.go +++ b/pkg/descheduler/descheduler.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 descheduler import ( diff --git a/pkg/descheduler/descheduler_test.go b/pkg/descheduler/descheduler_test.go index e66c357a5..0b70bd2fb 100644 --- a/pkg/descheduler/descheduler_test.go +++ b/pkg/descheduler/descheduler_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 descheduler import ( diff --git a/pkg/detector/compare.go b/pkg/detector/compare.go index 56ad592dc..80c30b239 100644 --- a/pkg/detector/compare.go +++ b/pkg/detector/compare.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 detector import ( diff --git a/pkg/detector/compare_test.go b/pkg/detector/compare_test.go index 7887475c7..cb5a25bd2 100644 --- a/pkg/detector/compare_test.go +++ b/pkg/detector/compare_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 detector import ( diff --git a/pkg/detector/detector.go b/pkg/detector/detector.go index a34768273..c7b4daaae 100644 --- a/pkg/detector/detector.go +++ b/pkg/detector/detector.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 detector import ( diff --git a/pkg/detector/detector_test.go b/pkg/detector/detector_test.go index 00bf84432..e576aae64 100644 --- a/pkg/detector/detector_test.go +++ b/pkg/detector/detector_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 detector import ( diff --git a/pkg/detector/handler.go b/pkg/detector/handler.go index 6e1c409f1..34e08189d 100644 --- a/pkg/detector/handler.go +++ b/pkg/detector/handler.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 detector import ( diff --git a/pkg/detector/policy.go b/pkg/detector/policy.go index 2cb38a557..34bb8b234 100644 --- a/pkg/detector/policy.go +++ b/pkg/detector/policy.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 detector import ( diff --git a/pkg/detector/preemption.go b/pkg/detector/preemption.go index 0991db811..c1c90caa7 100755 --- a/pkg/detector/preemption.go +++ b/pkg/detector/preemption.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 detector import ( diff --git a/pkg/estimator/client/accurate.go b/pkg/estimator/client/accurate.go index fc4cce348..e5390fe0c 100644 --- a/pkg/estimator/client/accurate.go +++ b/pkg/estimator/client/accurate.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 client import ( diff --git a/pkg/estimator/client/cache.go b/pkg/estimator/client/cache.go index f91f6b5a6..3c278e240 100644 --- a/pkg/estimator/client/cache.go +++ b/pkg/estimator/client/cache.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 client import ( diff --git a/pkg/estimator/client/general.go b/pkg/estimator/client/general.go index 0447e5a45..86ab9b6b6 100644 --- a/pkg/estimator/client/general.go +++ b/pkg/estimator/client/general.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 client import ( diff --git a/pkg/estimator/client/interface.go b/pkg/estimator/client/interface.go index 736f13867..2eab32a90 100644 --- a/pkg/estimator/client/interface.go +++ b/pkg/estimator/client/interface.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 client import ( diff --git a/pkg/estimator/client/service.go b/pkg/estimator/client/service.go index 524e71125..323cd7ca8 100644 --- a/pkg/estimator/client/service.go +++ b/pkg/estimator/client/service.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 client import ( diff --git a/pkg/estimator/server/estimate.go b/pkg/estimator/server/estimate.go index 1992ca793..8393e22e9 100644 --- a/pkg/estimator/server/estimate.go +++ b/pkg/estimator/server/estimate.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 server import ( diff --git a/pkg/estimator/server/eventhandlers.go b/pkg/estimator/server/eventhandlers.go index c5f3bf3c9..f9ef648fa 100644 --- a/pkg/estimator/server/eventhandlers.go +++ b/pkg/estimator/server/eventhandlers.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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. +*/ + // This code is mostly lifted from the Kubernetes codebase to establish the internal cache. // https://github.com/kubernetes/kubernetes/blob/release-1.25/pkg/scheduler/eventhandlers.go diff --git a/pkg/estimator/server/metrics/metrics.go b/pkg/estimator/server/metrics/metrics.go index efd82ba2e..c3ded713a 100644 --- a/pkg/estimator/server/metrics/metrics.go +++ b/pkg/estimator/server/metrics/metrics.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 metrics import ( diff --git a/pkg/estimator/server/nodes/filter.go b/pkg/estimator/server/nodes/filter.go index f94c9bcef..6b64aa592 100644 --- a/pkg/estimator/server/nodes/filter.go +++ b/pkg/estimator/server/nodes/filter.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 nodes import ( diff --git a/pkg/estimator/server/replica/replica.go b/pkg/estimator/server/replica/replica.go index af7a318ae..7dbd7a8f5 100644 --- a/pkg/estimator/server/replica/replica.go +++ b/pkg/estimator/server/replica/replica.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 replica import ( diff --git a/pkg/estimator/server/server.go b/pkg/estimator/server/server.go index e0ae2c898..a477f3ecc 100644 --- a/pkg/estimator/server/server.go +++ b/pkg/estimator/server/server.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 server import ( diff --git a/pkg/estimator/server/server_test.go b/pkg/estimator/server/server_test.go index 879407d16..ce67f5d41 100644 --- a/pkg/estimator/server/server_test.go +++ b/pkg/estimator/server/server_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 server import ( diff --git a/pkg/estimator/service/doc.go b/pkg/estimator/service/doc.go index 84f8ac398..0483f9172 100644 --- a/pkg/estimator/service/doc.go +++ b/pkg/estimator/service/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 service //go:generate protoc --gogo_opt=paths=source_relative -I . -I ../../.. -I ../../../vendor --gogo_out=plugins=grpc:. --gogo_opt=Mpkg/estimator/pb/generated.proto=github.com/karmada-io/karmada/pkg/estimator/pb service.proto diff --git a/pkg/events/events.go b/pkg/events/events.go index 18e12d12d..bf4fabc86 100644 --- a/pkg/events/events.go +++ b/pkg/events/events.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 events // Define events for cluster objects. diff --git a/pkg/features/features.go b/pkg/features/features.go index 748123c75..d80502efa 100644 --- a/pkg/features/features.go +++ b/pkg/features/features.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 features import ( diff --git a/pkg/karmadactl/addons/addons.go b/pkg/karmadactl/addons/addons.go index c22e724e0..842ef13a4 100644 --- a/pkg/karmadactl/addons/addons.go +++ b/pkg/karmadactl/addons/addons.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 addons import ( diff --git a/pkg/karmadactl/addons/descheduler/descheduler.go b/pkg/karmadactl/addons/descheduler/descheduler.go index cf2df0132..3d76f6058 100644 --- a/pkg/karmadactl/addons/descheduler/descheduler.go +++ b/pkg/karmadactl/addons/descheduler/descheduler.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 descheduler import ( diff --git a/pkg/karmadactl/addons/descheduler/manifests.go b/pkg/karmadactl/addons/descheduler/manifests.go index ab4283bed..af1bd357c 100644 --- a/pkg/karmadactl/addons/descheduler/manifests.go +++ b/pkg/karmadactl/addons/descheduler/manifests.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 descheduler const karmadaDeschedulerDeployment = ` diff --git a/pkg/karmadactl/addons/disable.go b/pkg/karmadactl/addons/disable.go index 3c3e0ae9c..95fd243f9 100644 --- a/pkg/karmadactl/addons/disable.go +++ b/pkg/karmadactl/addons/disable.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 addons import ( diff --git a/pkg/karmadactl/addons/enable.go b/pkg/karmadactl/addons/enable.go index 314c55bb6..b4194d033 100644 --- a/pkg/karmadactl/addons/enable.go +++ b/pkg/karmadactl/addons/enable.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 addons import ( diff --git a/pkg/karmadactl/addons/estimator/estimator.go b/pkg/karmadactl/addons/estimator/estimator.go index f3d1f78b8..00f88cdf8 100644 --- a/pkg/karmadactl/addons/estimator/estimator.go +++ b/pkg/karmadactl/addons/estimator/estimator.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 estimator import ( diff --git a/pkg/karmadactl/addons/estimator/manifests.go b/pkg/karmadactl/addons/estimator/manifests.go index 4b578198f..a11e29212 100644 --- a/pkg/karmadactl/addons/estimator/manifests.go +++ b/pkg/karmadactl/addons/estimator/manifests.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 estimator const ( diff --git a/pkg/karmadactl/addons/init/addon.go b/pkg/karmadactl/addons/init/addon.go index a29bf69c0..a468b3c7c 100644 --- a/pkg/karmadactl/addons/init/addon.go +++ b/pkg/karmadactl/addons/init/addon.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 init const ( diff --git a/pkg/karmadactl/addons/init/disable_option.go b/pkg/karmadactl/addons/init/disable_option.go index 1a7bd6f24..bc8685632 100644 --- a/pkg/karmadactl/addons/init/disable_option.go +++ b/pkg/karmadactl/addons/init/disable_option.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 init import ( diff --git a/pkg/karmadactl/addons/init/enable_option.go b/pkg/karmadactl/addons/init/enable_option.go index 82ae92f32..9453af086 100644 --- a/pkg/karmadactl/addons/init/enable_option.go +++ b/pkg/karmadactl/addons/init/enable_option.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 init import ( diff --git a/pkg/karmadactl/addons/init/global.go b/pkg/karmadactl/addons/init/global.go index 4be58bd52..9480d95cc 100644 --- a/pkg/karmadactl/addons/init/global.go +++ b/pkg/karmadactl/addons/init/global.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 init import ( diff --git a/pkg/karmadactl/addons/init/list_option.go b/pkg/karmadactl/addons/init/list_option.go index c9c906eae..3f174daee 100644 --- a/pkg/karmadactl/addons/init/list_option.go +++ b/pkg/karmadactl/addons/init/list_option.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 init import ( diff --git a/pkg/karmadactl/addons/install/install.go b/pkg/karmadactl/addons/install/install.go index dac73e25c..e894de14b 100644 --- a/pkg/karmadactl/addons/install/install.go +++ b/pkg/karmadactl/addons/install/install.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 install import ( diff --git a/pkg/karmadactl/addons/list.go b/pkg/karmadactl/addons/list.go index b6e8196c9..d7d98fc2f 100644 --- a/pkg/karmadactl/addons/list.go +++ b/pkg/karmadactl/addons/list.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 addons import ( diff --git a/pkg/karmadactl/addons/metricsadapter/manifests.go b/pkg/karmadactl/addons/metricsadapter/manifests.go index f245e579d..607279bc5 100644 --- a/pkg/karmadactl/addons/metricsadapter/manifests.go +++ b/pkg/karmadactl/addons/metricsadapter/manifests.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 metricsadapter const ( diff --git a/pkg/karmadactl/addons/metricsadapter/metricsadapter.go b/pkg/karmadactl/addons/metricsadapter/metricsadapter.go index c00a616ea..b805d9cc7 100644 --- a/pkg/karmadactl/addons/metricsadapter/metricsadapter.go +++ b/pkg/karmadactl/addons/metricsadapter/metricsadapter.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 metricsadapter import ( diff --git a/pkg/karmadactl/addons/search/manifests.go b/pkg/karmadactl/addons/search/manifests.go index 19d544efb..c1dd18016 100644 --- a/pkg/karmadactl/addons/search/manifests.go +++ b/pkg/karmadactl/addons/search/manifests.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 search const ( diff --git a/pkg/karmadactl/addons/search/search.go b/pkg/karmadactl/addons/search/search.go index df679bc79..fbcd50a00 100644 --- a/pkg/karmadactl/addons/search/search.go +++ b/pkg/karmadactl/addons/search/search.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 search import ( diff --git a/pkg/karmadactl/addons/utils/template.go b/pkg/karmadactl/addons/utils/template.go index 9c3e951cb..15ec21a7f 100644 --- a/pkg/karmadactl/addons/utils/template.go +++ b/pkg/karmadactl/addons/utils/template.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/addons/utils/template_test.go b/pkg/karmadactl/addons/utils/template_test.go index 919469ce3..824af7467 100644 --- a/pkg/karmadactl/addons/utils/template_test.go +++ b/pkg/karmadactl/addons/utils/template_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/apply/apply.go b/pkg/karmadactl/apply/apply.go index e9d7e2dc3..ad886ed85 100644 --- a/pkg/karmadactl/apply/apply.go +++ b/pkg/karmadactl/apply/apply.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 apply import ( diff --git a/pkg/karmadactl/cmdinit/bootstraptoken/agent/tlsbootstrap.go b/pkg/karmadactl/cmdinit/bootstraptoken/agent/tlsbootstrap.go index 4e5671473..34f284c3d 100644 --- a/pkg/karmadactl/cmdinit/bootstraptoken/agent/tlsbootstrap.go +++ b/pkg/karmadactl/cmdinit/bootstraptoken/agent/tlsbootstrap.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 agent import ( diff --git a/pkg/karmadactl/cmdinit/bootstraptoken/clusterinfo/clusterinfo.go b/pkg/karmadactl/cmdinit/bootstraptoken/clusterinfo/clusterinfo.go index 527ceb514..57241a165 100644 --- a/pkg/karmadactl/cmdinit/bootstraptoken/clusterinfo/clusterinfo.go +++ b/pkg/karmadactl/cmdinit/bootstraptoken/clusterinfo/clusterinfo.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 clusterinfo import ( diff --git a/pkg/karmadactl/cmdinit/cert/cert.go b/pkg/karmadactl/cmdinit/cert/cert.go index 6a6c64231..61cd5b5a5 100644 --- a/pkg/karmadactl/cmdinit/cert/cert.go +++ b/pkg/karmadactl/cmdinit/cert/cert.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 cert import ( diff --git a/pkg/karmadactl/cmdinit/cert/cert_test.go b/pkg/karmadactl/cmdinit/cert/cert_test.go index 449e14828..750573b92 100644 --- a/pkg/karmadactl/cmdinit/cert/cert_test.go +++ b/pkg/karmadactl/cmdinit/cert/cert_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 cert import ( diff --git a/pkg/karmadactl/cmdinit/cmdinit.go b/pkg/karmadactl/cmdinit/cmdinit.go index b2e793e28..fa1e27c46 100644 --- a/pkg/karmadactl/cmdinit/cmdinit.go +++ b/pkg/karmadactl/cmdinit/cmdinit.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 cmdinit import ( diff --git a/pkg/karmadactl/cmdinit/cmdinit_test.go b/pkg/karmadactl/cmdinit/cmdinit_test.go index 472cc514d..2f932f71c 100644 --- a/pkg/karmadactl/cmdinit/cmdinit_test.go +++ b/pkg/karmadactl/cmdinit/cmdinit_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 cmdinit import ( diff --git a/pkg/karmadactl/cmdinit/karmada/check.go b/pkg/karmadactl/cmdinit/karmada/check.go index 5b7507f82..c45faa3d7 100644 --- a/pkg/karmadactl/cmdinit/karmada/check.go +++ b/pkg/karmadactl/cmdinit/karmada/check.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 karmada import ( diff --git a/pkg/karmadactl/cmdinit/karmada/deploy.go b/pkg/karmadactl/cmdinit/karmada/deploy.go index 5516e4c65..f8fbed04f 100644 --- a/pkg/karmadactl/cmdinit/karmada/deploy.go +++ b/pkg/karmadactl/cmdinit/karmada/deploy.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 karmada import ( diff --git a/pkg/karmadactl/cmdinit/karmada/rbac.go b/pkg/karmadactl/cmdinit/karmada/rbac.go index ea0c3bd6f..4c42a504c 100644 --- a/pkg/karmadactl/cmdinit/karmada/rbac.go +++ b/pkg/karmadactl/cmdinit/karmada/rbac.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 karmada import ( diff --git a/pkg/karmadactl/cmdinit/karmada/rbac_test.go b/pkg/karmadactl/cmdinit/karmada/rbac_test.go index c501508b3..501adae93 100644 --- a/pkg/karmadactl/cmdinit/karmada/rbac_test.go +++ b/pkg/karmadactl/cmdinit/karmada/rbac_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 karmada import ( diff --git a/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go b/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go index 786db9780..5340608c6 100644 --- a/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go +++ b/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 karmada import ( diff --git a/pkg/karmadactl/cmdinit/karmada/webhook_configuration_test.go b/pkg/karmadactl/cmdinit/karmada/webhook_configuration_test.go index 2f7050f7e..260027526 100644 --- a/pkg/karmadactl/cmdinit/karmada/webhook_configuration_test.go +++ b/pkg/karmadactl/cmdinit/karmada/webhook_configuration_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 karmada import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/deploy.go b/pkg/karmadactl/cmdinit/kubernetes/deploy.go index d49c384dd..226188862 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/deploy.go +++ b/pkg/karmadactl/cmdinit/kubernetes/deploy.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/deploy_test.go b/pkg/karmadactl/cmdinit/kubernetes/deploy_test.go index 647551870..cf6a2e2d4 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/deploy_test.go +++ b/pkg/karmadactl/cmdinit/kubernetes/deploy_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/deployments.go b/pkg/karmadactl/cmdinit/kubernetes/deployments.go index 06b59af43..da7c8b912 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/deployments.go +++ b/pkg/karmadactl/cmdinit/kubernetes/deployments.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/deployments_test.go b/pkg/karmadactl/cmdinit/kubernetes/deployments_test.go index 18892c260..28aad67ba 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/deployments_test.go +++ b/pkg/karmadactl/cmdinit/kubernetes/deployments_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/node.go b/pkg/karmadactl/cmdinit/kubernetes/node.go index 6a8eee34f..85e0e2ef7 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/node.go +++ b/pkg/karmadactl/cmdinit/kubernetes/node.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/node_test.go b/pkg/karmadactl/cmdinit/kubernetes/node_test.go index d9e5f426b..86d7c5040 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/node_test.go +++ b/pkg/karmadactl/cmdinit/kubernetes/node_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/secret.go b/pkg/karmadactl/cmdinit/kubernetes/secret.go index 264938a59..0591d3226 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/secret.go +++ b/pkg/karmadactl/cmdinit/kubernetes/secret.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/secret_test.go b/pkg/karmadactl/cmdinit/kubernetes/secret_test.go index 5fc8a29dc..33ef870c1 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/secret_test.go +++ b/pkg/karmadactl/cmdinit/kubernetes/secret_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/services.go b/pkg/karmadactl/cmdinit/kubernetes/services.go index 24906eb7a..0042ad7e4 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/services.go +++ b/pkg/karmadactl/cmdinit/kubernetes/services.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/services_test.go b/pkg/karmadactl/cmdinit/kubernetes/services_test.go index c05e34d54..e5bb303fc 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/services_test.go +++ b/pkg/karmadactl/cmdinit/kubernetes/services_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/statefulset.go b/pkg/karmadactl/cmdinit/kubernetes/statefulset.go index 5310ad09c..da8dc8aef 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/statefulset.go +++ b/pkg/karmadactl/cmdinit/kubernetes/statefulset.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 kubernetes import ( diff --git a/pkg/karmadactl/cmdinit/kubernetes/statefulset_test.go b/pkg/karmadactl/cmdinit/kubernetes/statefulset_test.go index b4b665bb3..ba5088edf 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/statefulset_test.go +++ b/pkg/karmadactl/cmdinit/kubernetes/statefulset_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 kubernetes import "testing" diff --git a/pkg/karmadactl/cmdinit/options/global.go b/pkg/karmadactl/cmdinit/options/global.go index cb257cddf..9d132cea0 100644 --- a/pkg/karmadactl/cmdinit/options/global.go +++ b/pkg/karmadactl/cmdinit/options/global.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 options const ( diff --git a/pkg/karmadactl/cmdinit/utils/examples.go b/pkg/karmadactl/cmdinit/utils/examples.go index 28a6bb661..7218d0524 100644 --- a/pkg/karmadactl/cmdinit/utils/examples.go +++ b/pkg/karmadactl/cmdinit/utils/examples.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cmdinit/utils/examples_test.go b/pkg/karmadactl/cmdinit/utils/examples_test.go index 4954880e6..f5f171329 100644 --- a/pkg/karmadactl/cmdinit/utils/examples_test.go +++ b/pkg/karmadactl/cmdinit/utils/examples_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 utils import "testing" diff --git a/pkg/karmadactl/cmdinit/utils/format.go b/pkg/karmadactl/cmdinit/utils/format.go index b5f953bba..6e38a9aa4 100644 --- a/pkg/karmadactl/cmdinit/utils/format.go +++ b/pkg/karmadactl/cmdinit/utils/format.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cmdinit/utils/format_test.go b/pkg/karmadactl/cmdinit/utils/format_test.go index 258a7cd51..77f07796a 100644 --- a/pkg/karmadactl/cmdinit/utils/format_test.go +++ b/pkg/karmadactl/cmdinit/utils/format_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cmdinit/utils/ip.go b/pkg/karmadactl/cmdinit/utils/ip.go index 0fd20707d..49801e20b 100644 --- a/pkg/karmadactl/cmdinit/utils/ip.go +++ b/pkg/karmadactl/cmdinit/utils/ip.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cmdinit/utils/ip_test.go b/pkg/karmadactl/cmdinit/utils/ip_test.go index fafb91676..1865a494b 100644 --- a/pkg/karmadactl/cmdinit/utils/ip_test.go +++ b/pkg/karmadactl/cmdinit/utils/ip_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cmdinit/utils/kubeconfig.go b/pkg/karmadactl/cmdinit/utils/kubeconfig.go index 514d5d062..cb48432a3 100644 --- a/pkg/karmadactl/cmdinit/utils/kubeconfig.go +++ b/pkg/karmadactl/cmdinit/utils/kubeconfig.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cmdinit/utils/kubeconfig_test.go b/pkg/karmadactl/cmdinit/utils/kubeconfig_test.go index a139e396b..e7e4aac37 100644 --- a/pkg/karmadactl/cmdinit/utils/kubeconfig_test.go +++ b/pkg/karmadactl/cmdinit/utils/kubeconfig_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cmdinit/utils/rbac.go b/pkg/karmadactl/cmdinit/utils/rbac.go index 949976f40..9a7c35170 100644 --- a/pkg/karmadactl/cmdinit/utils/rbac.go +++ b/pkg/karmadactl/cmdinit/utils/rbac.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cmdinit/utils/rbac_test.go b/pkg/karmadactl/cmdinit/utils/rbac_test.go index c8ea25852..792faaf6b 100644 --- a/pkg/karmadactl/cmdinit/utils/rbac_test.go +++ b/pkg/karmadactl/cmdinit/utils/rbac_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cmdinit/utils/util.go b/pkg/karmadactl/cmdinit/utils/util.go index d2a95920c..cefb14660 100644 --- a/pkg/karmadactl/cmdinit/utils/util.go +++ b/pkg/karmadactl/cmdinit/utils/util.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cmdinit/utils/util_test.go b/pkg/karmadactl/cmdinit/utils/util_test.go index 730e8fd94..97cd4c5d7 100644 --- a/pkg/karmadactl/cmdinit/utils/util_test.go +++ b/pkg/karmadactl/cmdinit/utils/util_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 utils import ( diff --git a/pkg/karmadactl/cordon/cordon.go b/pkg/karmadactl/cordon/cordon.go index 6a83ed290..aa408cb12 100644 --- a/pkg/karmadactl/cordon/cordon.go +++ b/pkg/karmadactl/cordon/cordon.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 cordon import ( diff --git a/pkg/karmadactl/deinit/deinit.go b/pkg/karmadactl/deinit/deinit.go index e73da95fa..d76398dab 100644 --- a/pkg/karmadactl/deinit/deinit.go +++ b/pkg/karmadactl/deinit/deinit.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 deinit import ( diff --git a/pkg/karmadactl/describe/describe.go b/pkg/karmadactl/describe/describe.go index d463088c0..38c34d886 100644 --- a/pkg/karmadactl/describe/describe.go +++ b/pkg/karmadactl/describe/describe.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 describe import ( diff --git a/pkg/karmadactl/exec/exec.go b/pkg/karmadactl/exec/exec.go index 0c788ca0e..56f51d917 100644 --- a/pkg/karmadactl/exec/exec.go +++ b/pkg/karmadactl/exec/exec.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 exec import ( diff --git a/pkg/karmadactl/get/get.go b/pkg/karmadactl/get/get.go index 71cadc4dd..b2aa7a1b0 100644 --- a/pkg/karmadactl/get/get.go +++ b/pkg/karmadactl/get/get.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 get import ( diff --git a/pkg/karmadactl/interpret/check.go b/pkg/karmadactl/interpret/check.go index 38a71956b..2a5d07d37 100644 --- a/pkg/karmadactl/interpret/check.go +++ b/pkg/karmadactl/interpret/check.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 interpret import ( diff --git a/pkg/karmadactl/interpret/check_test.go b/pkg/karmadactl/interpret/check_test.go index 80968ce0d..89a7f7a02 100644 --- a/pkg/karmadactl/interpret/check_test.go +++ b/pkg/karmadactl/interpret/check_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 interpret import ( diff --git a/pkg/karmadactl/interpret/edit.go b/pkg/karmadactl/interpret/edit.go index e07c385fb..8b7872b72 100644 --- a/pkg/karmadactl/interpret/edit.go +++ b/pkg/karmadactl/interpret/edit.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 interpret import ( diff --git a/pkg/karmadactl/interpret/execute.go b/pkg/karmadactl/interpret/execute.go index bdb6c9e2c..58c695fa7 100644 --- a/pkg/karmadactl/interpret/execute.go +++ b/pkg/karmadactl/interpret/execute.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 interpret import ( diff --git a/pkg/karmadactl/interpret/execute_test.go b/pkg/karmadactl/interpret/execute_test.go index d46599b79..cca62681b 100644 --- a/pkg/karmadactl/interpret/execute_test.go +++ b/pkg/karmadactl/interpret/execute_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 interpret import ( diff --git a/pkg/karmadactl/interpret/interpret.go b/pkg/karmadactl/interpret/interpret.go index 89704c9bd..f62302b82 100644 --- a/pkg/karmadactl/interpret/interpret.go +++ b/pkg/karmadactl/interpret/interpret.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 interpret import ( diff --git a/pkg/karmadactl/interpret/interpret_test.go b/pkg/karmadactl/interpret/interpret_test.go index aad809be5..d36a75ed6 100644 --- a/pkg/karmadactl/interpret/interpret_test.go +++ b/pkg/karmadactl/interpret/interpret_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 interpret import ( diff --git a/pkg/karmadactl/join/join.go b/pkg/karmadactl/join/join.go index 05fbf7e75..e028fc29d 100644 --- a/pkg/karmadactl/join/join.go +++ b/pkg/karmadactl/join/join.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 join import ( diff --git a/pkg/karmadactl/karmadactl.go b/pkg/karmadactl/karmadactl.go index 7373ceb11..653ad010f 100644 --- a/pkg/karmadactl/karmadactl.go +++ b/pkg/karmadactl/karmadactl.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 karmadactl import ( diff --git a/pkg/karmadactl/logs/logs.go b/pkg/karmadactl/logs/logs.go index 14bc77751..2a0e75d78 100644 --- a/pkg/karmadactl/logs/logs.go +++ b/pkg/karmadactl/logs/logs.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 logs import ( diff --git a/pkg/karmadactl/options/global.go b/pkg/karmadactl/options/global.go index acb6c9d02..e76c42cb8 100644 --- a/pkg/karmadactl/options/global.go +++ b/pkg/karmadactl/options/global.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 options import ( diff --git a/pkg/karmadactl/options/options.go b/pkg/karmadactl/options/options.go index 626485fff..b450fdac8 100644 --- a/pkg/karmadactl/options/options.go +++ b/pkg/karmadactl/options/options.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 options import ( diff --git a/pkg/karmadactl/promote/promote.go b/pkg/karmadactl/promote/promote.go index e56360268..b22c458fc 100644 --- a/pkg/karmadactl/promote/promote.go +++ b/pkg/karmadactl/promote/promote.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 promote import ( diff --git a/pkg/karmadactl/register/register.go b/pkg/karmadactl/register/register.go index d4ab68aba..f88a5646d 100644 --- a/pkg/karmadactl/register/register.go +++ b/pkg/karmadactl/register/register.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 register import ( diff --git a/pkg/karmadactl/taint/taint.go b/pkg/karmadactl/taint/taint.go index 50e521926..449280e5e 100644 --- a/pkg/karmadactl/taint/taint.go +++ b/pkg/karmadactl/taint/taint.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 taint import ( diff --git a/pkg/karmadactl/taint/taint_test.go b/pkg/karmadactl/taint/taint_test.go index a51ad4a50..84e8542df 100644 --- a/pkg/karmadactl/taint/taint_test.go +++ b/pkg/karmadactl/taint/taint_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 taint import ( diff --git a/pkg/karmadactl/token/token.go b/pkg/karmadactl/token/token.go index 24d0a72ee..b930a40b9 100644 --- a/pkg/karmadactl/token/token.go +++ b/pkg/karmadactl/token/token.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 token import ( diff --git a/pkg/karmadactl/token/token_test.go b/pkg/karmadactl/token/token_test.go index 378f386a9..13ef5a51f 100644 --- a/pkg/karmadactl/token/token_test.go +++ b/pkg/karmadactl/token/token_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 token import ( diff --git a/pkg/karmadactl/top/metrics_printer.go b/pkg/karmadactl/top/metrics_printer.go index cd088b0e0..4052b9e4d 100644 --- a/pkg/karmadactl/top/metrics_printer.go +++ b/pkg/karmadactl/top/metrics_printer.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 top import ( diff --git a/pkg/karmadactl/top/top.go b/pkg/karmadactl/top/top.go index 5267f857e..57d035b1c 100644 --- a/pkg/karmadactl/top/top.go +++ b/pkg/karmadactl/top/top.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 top import ( diff --git a/pkg/karmadactl/top/top_pods.go b/pkg/karmadactl/top/top_pods.go index 0888ff827..b3748fecd 100644 --- a/pkg/karmadactl/top/top_pods.go +++ b/pkg/karmadactl/top/top_pods.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 top import ( diff --git a/pkg/karmadactl/unjoin/unjoin.go b/pkg/karmadactl/unjoin/unjoin.go index e398efbcc..2d5af8fcf 100644 --- a/pkg/karmadactl/unjoin/unjoin.go +++ b/pkg/karmadactl/unjoin/unjoin.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 unjoin import ( diff --git a/pkg/karmadactl/util/apiclient/apiclient.go b/pkg/karmadactl/util/apiclient/apiclient.go index 40106cfe2..d5194970f 100644 --- a/pkg/karmadactl/util/apiclient/apiclient.go +++ b/pkg/karmadactl/util/apiclient/apiclient.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 apiclient import ( diff --git a/pkg/karmadactl/util/bootstraptoken/bootstraptoken.go b/pkg/karmadactl/util/bootstraptoken/bootstraptoken.go index 58e7ff194..f0d6458e1 100644 --- a/pkg/karmadactl/util/bootstraptoken/bootstraptoken.go +++ b/pkg/karmadactl/util/bootstraptoken/bootstraptoken.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 bootstraptoken import ( diff --git a/pkg/karmadactl/util/check.go b/pkg/karmadactl/util/check.go index 5152fba3e..62e49f192 100644 --- a/pkg/karmadactl/util/check.go +++ b/pkg/karmadactl/util/check.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/pkg/karmadactl/util/command_group.go b/pkg/karmadactl/util/command_group.go index d903b5787..4899d4f4f 100644 --- a/pkg/karmadactl/util/command_group.go +++ b/pkg/karmadactl/util/command_group.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util const ( diff --git a/pkg/karmadactl/util/deleteconfirmation.go b/pkg/karmadactl/util/deleteconfirmation.go index f4aae6a5d..a23c789bb 100644 --- a/pkg/karmadactl/util/deleteconfirmation.go +++ b/pkg/karmadactl/util/deleteconfirmation.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/pkg/karmadactl/util/factory.go b/pkg/karmadactl/util/factory.go index 14135dbc2..2ddd766f1 100644 --- a/pkg/karmadactl/util/factory.go +++ b/pkg/karmadactl/util/factory.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/karmadactl/util/genericresource/builder.go b/pkg/karmadactl/util/genericresource/builder.go index f57152d65..3a2106b6b 100644 --- a/pkg/karmadactl/util/genericresource/builder.go +++ b/pkg/karmadactl/util/genericresource/builder.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 genericresource import ( diff --git a/pkg/karmadactl/util/genericresource/doc.go b/pkg/karmadactl/util/genericresource/doc.go index ac1c0c321..08279094f 100644 --- a/pkg/karmadactl/util/genericresource/doc.go +++ b/pkg/karmadactl/util/genericresource/doc.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 genericresource is modified from "k8s.io/cli-runtime/pkg/resource". // It can fetch any object (not only runtime.object) from file, http, and stdin. package genericresource diff --git a/pkg/karmadactl/util/genericresource/interface.go b/pkg/karmadactl/util/genericresource/interface.go index 4dd98aad3..2eca35cb4 100644 --- a/pkg/karmadactl/util/genericresource/interface.go +++ b/pkg/karmadactl/util/genericresource/interface.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 genericresource // Visitor lets clients walk a list of resources. diff --git a/pkg/karmadactl/util/genericresource/result.go b/pkg/karmadactl/util/genericresource/result.go index b3129c78c..27dd80365 100644 --- a/pkg/karmadactl/util/genericresource/result.go +++ b/pkg/karmadactl/util/genericresource/result.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 genericresource import ( diff --git a/pkg/karmadactl/util/genericresource/visitor.go b/pkg/karmadactl/util/genericresource/visitor.go index f36875ee3..bf9bc76c7 100644 --- a/pkg/karmadactl/util/genericresource/visitor.go +++ b/pkg/karmadactl/util/genericresource/visitor.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 genericresource import ( diff --git a/pkg/karmadactl/util/idempotency.go b/pkg/karmadactl/util/idempotency.go index 5c75b8ca4..a9bf3c7a7 100644 --- a/pkg/karmadactl/util/idempotency.go +++ b/pkg/karmadactl/util/idempotency.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/karmadactl/util/idempotency_test.go b/pkg/karmadactl/util/idempotency_test.go index 7810beace..35e35c610 100644 --- a/pkg/karmadactl/util/idempotency_test.go +++ b/pkg/karmadactl/util/idempotency_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/karmadactl/util/testing/fake.go b/pkg/karmadactl/util/testing/fake.go index b0b628a91..fd25b029d 100644 --- a/pkg/karmadactl/util/testing/fake.go +++ b/pkg/karmadactl/util/testing/fake.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 testing import ( diff --git a/pkg/karmadactl/util/validate.go b/pkg/karmadactl/util/validate.go index 08baa6dea..d853c986d 100644 --- a/pkg/karmadactl/util/validate.go +++ b/pkg/karmadactl/util/validate.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/pkg/karmadactl/util/validate_test.go b/pkg/karmadactl/util/validate_test.go index eb384a6fd..ae8eaa19e 100644 --- a/pkg/karmadactl/util/validate_test.go +++ b/pkg/karmadactl/util/validate_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/pkg/metrics/cluster.go b/pkg/metrics/cluster.go index 3805a36cb..3078d7147 100644 --- a/pkg/metrics/cluster.go +++ b/pkg/metrics/cluster.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 metrics import ( diff --git a/pkg/metrics/cluster_test.go b/pkg/metrics/cluster_test.go index 54ce1a73e..2d8dc1044 100644 --- a/pkg/metrics/cluster_test.go +++ b/pkg/metrics/cluster_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 metrics import ( diff --git a/pkg/metrics/pool.go b/pkg/metrics/pool.go index f6d8b6495..95b422369 100644 --- a/pkg/metrics/pool.go +++ b/pkg/metrics/pool.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 metrics import ( diff --git a/pkg/metrics/pool_test.go b/pkg/metrics/pool_test.go index 4ad6552e6..d181f523f 100644 --- a/pkg/metrics/pool_test.go +++ b/pkg/metrics/pool_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 metrics import ( diff --git a/pkg/metrics/resource.go b/pkg/metrics/resource.go index 9d15344cb..8e81ca315 100644 --- a/pkg/metrics/resource.go +++ b/pkg/metrics/resource.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 metrics import ( diff --git a/pkg/metricsadapter/adapter.go b/pkg/metricsadapter/adapter.go index c32f4c7e8..6b65e0c98 100755 --- a/pkg/metricsadapter/adapter.go +++ b/pkg/metricsadapter/adapter.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 metricsadapter import ( diff --git a/pkg/metricsadapter/apiserver.go b/pkg/metricsadapter/apiserver.go index e65abbd59..913939d3b 100755 --- a/pkg/metricsadapter/apiserver.go +++ b/pkg/metricsadapter/apiserver.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 metricsadapter // MetricsServer is a metrics server diff --git a/pkg/metricsadapter/controller.go b/pkg/metricsadapter/controller.go index 8a3256b99..d869209e4 100755 --- a/pkg/metricsadapter/controller.go +++ b/pkg/metricsadapter/controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 metricsadapter import ( diff --git a/pkg/metricsadapter/multiclient/client.go b/pkg/metricsadapter/multiclient/client.go index cfa300aaf..5a78ca52b 100644 --- a/pkg/metricsadapter/multiclient/client.go +++ b/pkg/metricsadapter/multiclient/client.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 multiclient import ( diff --git a/pkg/metricsadapter/provider/custommetrics.go b/pkg/metricsadapter/provider/custommetrics.go index 6db2bd2e5..75a45b856 100755 --- a/pkg/metricsadapter/provider/custommetrics.go +++ b/pkg/metricsadapter/provider/custommetrics.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 provider import ( diff --git a/pkg/metricsadapter/provider/externalmetrics.go b/pkg/metricsadapter/provider/externalmetrics.go index df7e6988f..166628687 100755 --- a/pkg/metricsadapter/provider/externalmetrics.go +++ b/pkg/metricsadapter/provider/externalmetrics.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 provider import ( diff --git a/pkg/metricsadapter/provider/resourcemetrics.go b/pkg/metricsadapter/provider/resourcemetrics.go index dfcce172f..26d6fdda1 100755 --- a/pkg/metricsadapter/provider/resourcemetrics.go +++ b/pkg/metricsadapter/provider/resourcemetrics.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 provider import ( diff --git a/pkg/modeling/modeling.go b/pkg/modeling/modeling.go index 709c8f18a..0fe43b382 100644 --- a/pkg/modeling/modeling.go +++ b/pkg/modeling/modeling.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 modeling import ( diff --git a/pkg/modeling/modeling_test.go b/pkg/modeling/modeling_test.go index e88d2a1c1..fda6c98b3 100644 --- a/pkg/modeling/modeling_test.go +++ b/pkg/modeling/modeling_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 modeling import ( diff --git a/pkg/printers/internalversion/printers.go b/pkg/printers/internalversion/printers.go index 5c00bdf3c..bf8eba4c1 100644 --- a/pkg/printers/internalversion/printers.go +++ b/pkg/printers/internalversion/printers.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 internalversion import ( diff --git a/pkg/printers/internalversion/printers_test.go b/pkg/printers/internalversion/printers_test.go index c7fbe99ee..83b287fcb 100644 --- a/pkg/printers/internalversion/printers_test.go +++ b/pkg/printers/internalversion/printers_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 internalversion import ( diff --git a/pkg/registry/cluster/storage/proxy.go b/pkg/registry/cluster/storage/proxy.go index 939b97f01..670c8d391 100644 --- a/pkg/registry/cluster/storage/proxy.go +++ b/pkg/registry/cluster/storage/proxy.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 storage import ( diff --git a/pkg/registry/cluster/storage/proxy_test.go b/pkg/registry/cluster/storage/proxy_test.go index aa5da7078..8f6257651 100644 --- a/pkg/registry/cluster/storage/proxy_test.go +++ b/pkg/registry/cluster/storage/proxy_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 storage import ( diff --git a/pkg/registry/cluster/storage/storage.go b/pkg/registry/cluster/storage/storage.go index 59e0dd972..5d11507df 100644 --- a/pkg/registry/cluster/storage/storage.go +++ b/pkg/registry/cluster/storage/storage.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 storage import ( diff --git a/pkg/registry/cluster/strategy.go b/pkg/registry/cluster/strategy.go index e72c0b12f..2f7012fa3 100644 --- a/pkg/registry/cluster/strategy.go +++ b/pkg/registry/cluster/strategy.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 cluster import ( diff --git a/pkg/registry/cluster/strategy_test.go b/pkg/registry/cluster/strategy_test.go index c5cf2f504..375c1cd51 100644 --- a/pkg/registry/cluster/strategy_test.go +++ b/pkg/registry/cluster/strategy_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 cluster import ( diff --git a/pkg/registry/search/storage/cache.go b/pkg/registry/search/storage/cache.go index 1d0864b92..b76f1066a 100644 --- a/pkg/registry/search/storage/cache.go +++ b/pkg/registry/search/storage/cache.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 storage import ( diff --git a/pkg/registry/search/storage/opensearch.go b/pkg/registry/search/storage/opensearch.go index 1e94d3127..a29fe7fa3 100644 --- a/pkg/registry/search/storage/opensearch.go +++ b/pkg/registry/search/storage/opensearch.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 storage import ( diff --git a/pkg/registry/search/storage/proxy.go b/pkg/registry/search/storage/proxy.go index 3af492b25..4afd94f4c 100644 --- a/pkg/registry/search/storage/proxy.go +++ b/pkg/registry/search/storage/proxy.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 storage import ( diff --git a/pkg/registry/search/storage/requestinfo.go b/pkg/registry/search/storage/requestinfo.go index 573f1d1fe..492b70852 100644 --- a/pkg/registry/search/storage/requestinfo.go +++ b/pkg/registry/search/storage/requestinfo.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 storage import ( diff --git a/pkg/registry/search/storage/requestinfo_test.go b/pkg/registry/search/storage/requestinfo_test.go index 39177a9e9..78aa2574c 100644 --- a/pkg/registry/search/storage/requestinfo_test.go +++ b/pkg/registry/search/storage/requestinfo_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 storage import ( diff --git a/pkg/registry/search/storage/resourceregistry.go b/pkg/registry/search/storage/resourceregistry.go index c74920f18..64ba36e2c 100644 --- a/pkg/registry/search/storage/resourceregistry.go +++ b/pkg/registry/search/storage/resourceregistry.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 storage import ( diff --git a/pkg/registry/search/storage/search.go b/pkg/registry/search/storage/search.go index 2c86403f3..7903ff538 100644 --- a/pkg/registry/search/storage/search.go +++ b/pkg/registry/search/storage/search.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 storage import ( diff --git a/pkg/registry/search/strategy.go b/pkg/registry/search/strategy.go index a3e247247..028ebfa6a 100644 --- a/pkg/registry/search/strategy.go +++ b/pkg/registry/search/strategy.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 search import ( diff --git a/pkg/resourceinterpreter/customized/declarative/configmanager/accessor.go b/pkg/resourceinterpreter/customized/declarative/configmanager/accessor.go index be14dab64..65c06839f 100644 --- a/pkg/resourceinterpreter/customized/declarative/configmanager/accessor.go +++ b/pkg/resourceinterpreter/customized/declarative/configmanager/accessor.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 configmanager import ( diff --git a/pkg/resourceinterpreter/customized/declarative/configmanager/manager.go b/pkg/resourceinterpreter/customized/declarative/configmanager/manager.go index b7bb04814..63c65dcd6 100644 --- a/pkg/resourceinterpreter/customized/declarative/configmanager/manager.go +++ b/pkg/resourceinterpreter/customized/declarative/configmanager/manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 configmanager import ( diff --git a/pkg/resourceinterpreter/customized/declarative/configmanager/manager_test.go b/pkg/resourceinterpreter/customized/declarative/configmanager/manager_test.go index e0ce8b0c3..bc5b9f06e 100644 --- a/pkg/resourceinterpreter/customized/declarative/configmanager/manager_test.go +++ b/pkg/resourceinterpreter/customized/declarative/configmanager/manager_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 configmanager import ( diff --git a/pkg/resourceinterpreter/customized/declarative/configurable.go b/pkg/resourceinterpreter/customized/declarative/configurable.go index f74d47640..3ab4f5e7e 100644 --- a/pkg/resourceinterpreter/customized/declarative/configurable.go +++ b/pkg/resourceinterpreter/customized/declarative/configurable.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 declarative import ( diff --git a/pkg/resourceinterpreter/customized/declarative/luavm/kube.go b/pkg/resourceinterpreter/customized/declarative/luavm/kube.go index ab83bf3a5..9af617384 100644 --- a/pkg/resourceinterpreter/customized/declarative/luavm/kube.go +++ b/pkg/resourceinterpreter/customized/declarative/luavm/kube.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 luavm import ( diff --git a/pkg/resourceinterpreter/customized/declarative/luavm/lua.go b/pkg/resourceinterpreter/customized/declarative/luavm/lua.go index 61c75dec2..8e4069db1 100644 --- a/pkg/resourceinterpreter/customized/declarative/luavm/lua.go +++ b/pkg/resourceinterpreter/customized/declarative/luavm/lua.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 luavm import ( diff --git a/pkg/resourceinterpreter/customized/declarative/luavm/lua_convert.go b/pkg/resourceinterpreter/customized/declarative/luavm/lua_convert.go index cf1622f69..7d6a2bef9 100644 --- a/pkg/resourceinterpreter/customized/declarative/luavm/lua_convert.go +++ b/pkg/resourceinterpreter/customized/declarative/luavm/lua_convert.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 luavm import ( diff --git a/pkg/resourceinterpreter/customized/declarative/luavm/lua_convert_test.go b/pkg/resourceinterpreter/customized/declarative/luavm/lua_convert_test.go index 396d371a6..f45403d52 100644 --- a/pkg/resourceinterpreter/customized/declarative/luavm/lua_convert_test.go +++ b/pkg/resourceinterpreter/customized/declarative/luavm/lua_convert_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 luavm import ( diff --git a/pkg/resourceinterpreter/customized/declarative/luavm/lua_test.go b/pkg/resourceinterpreter/customized/declarative/luavm/lua_test.go index e8c6b88e6..13dece84d 100644 --- a/pkg/resourceinterpreter/customized/declarative/luavm/lua_test.go +++ b/pkg/resourceinterpreter/customized/declarative/luavm/lua_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 luavm import ( diff --git a/pkg/resourceinterpreter/customized/webhook/configmanager/accessor.go b/pkg/resourceinterpreter/customized/webhook/configmanager/accessor.go index 8b3a4c298..574b84a80 100644 --- a/pkg/resourceinterpreter/customized/webhook/configmanager/accessor.go +++ b/pkg/resourceinterpreter/customized/webhook/configmanager/accessor.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 configmanager import ( diff --git a/pkg/resourceinterpreter/customized/webhook/configmanager/manager.go b/pkg/resourceinterpreter/customized/webhook/configmanager/manager.go index e13843824..b5e002da4 100644 --- a/pkg/resourceinterpreter/customized/webhook/configmanager/manager.go +++ b/pkg/resourceinterpreter/customized/webhook/configmanager/manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 configmanager import ( diff --git a/pkg/resourceinterpreter/customized/webhook/customized.go b/pkg/resourceinterpreter/customized/webhook/customized.go index 107718fd6..89a2514c0 100644 --- a/pkg/resourceinterpreter/customized/webhook/customized.go +++ b/pkg/resourceinterpreter/customized/webhook/customized.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 webhook import ( diff --git a/pkg/resourceinterpreter/customized/webhook/request/attributes.go b/pkg/resourceinterpreter/customized/webhook/request/attributes.go index 144b5f64b..4058beed7 100644 --- a/pkg/resourceinterpreter/customized/webhook/request/attributes.go +++ b/pkg/resourceinterpreter/customized/webhook/request/attributes.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 request import ( diff --git a/pkg/resourceinterpreter/customized/webhook/request/resourceinterpretercontext.go b/pkg/resourceinterpreter/customized/webhook/request/resourceinterpretercontext.go index 322be4074..d794080e1 100644 --- a/pkg/resourceinterpreter/customized/webhook/request/resourceinterpretercontext.go +++ b/pkg/resourceinterpreter/customized/webhook/request/resourceinterpretercontext.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 request import ( diff --git a/pkg/resourceinterpreter/default/native/aggregatestatus.go b/pkg/resourceinterpreter/default/native/aggregatestatus.go index 291416b03..561f75f02 100644 --- a/pkg/resourceinterpreter/default/native/aggregatestatus.go +++ b/pkg/resourceinterpreter/default/native/aggregatestatus.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/aggregatestatus_test.go b/pkg/resourceinterpreter/default/native/aggregatestatus_test.go index ac113ea0a..af9b89605 100644 --- a/pkg/resourceinterpreter/default/native/aggregatestatus_test.go +++ b/pkg/resourceinterpreter/default/native/aggregatestatus_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/default.go b/pkg/resourceinterpreter/default/native/default.go index 70369d006..32b2eaa2b 100644 --- a/pkg/resourceinterpreter/default/native/default.go +++ b/pkg/resourceinterpreter/default/native/default.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/dependencies.go b/pkg/resourceinterpreter/default/native/dependencies.go index 09dc465e7..94aaf2ba2 100644 --- a/pkg/resourceinterpreter/default/native/dependencies.go +++ b/pkg/resourceinterpreter/default/native/dependencies.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/dependencies_test.go b/pkg/resourceinterpreter/default/native/dependencies_test.go index 43e0ca365..f1635bf15 100644 --- a/pkg/resourceinterpreter/default/native/dependencies_test.go +++ b/pkg/resourceinterpreter/default/native/dependencies_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/healthy.go b/pkg/resourceinterpreter/default/native/healthy.go index 0fe14f656..0ec64110e 100644 --- a/pkg/resourceinterpreter/default/native/healthy.go +++ b/pkg/resourceinterpreter/default/native/healthy.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/healthy_test.go b/pkg/resourceinterpreter/default/native/healthy_test.go index 9c96e248a..35ad3b82e 100644 --- a/pkg/resourceinterpreter/default/native/healthy_test.go +++ b/pkg/resourceinterpreter/default/native/healthy_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/prune/prune.go b/pkg/resourceinterpreter/default/native/prune/prune.go index 52e0895fd..0248c7067 100644 --- a/pkg/resourceinterpreter/default/native/prune/prune.go +++ b/pkg/resourceinterpreter/default/native/prune/prune.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 prune import ( diff --git a/pkg/resourceinterpreter/default/native/prune/prune_test.go b/pkg/resourceinterpreter/default/native/prune/prune_test.go index 4ca9f6899..e4cc8a66b 100755 --- a/pkg/resourceinterpreter/default/native/prune/prune_test.go +++ b/pkg/resourceinterpreter/default/native/prune/prune_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 prune import ( diff --git a/pkg/resourceinterpreter/default/native/reflectstatus.go b/pkg/resourceinterpreter/default/native/reflectstatus.go index 114445497..b92266ed6 100644 --- a/pkg/resourceinterpreter/default/native/reflectstatus.go +++ b/pkg/resourceinterpreter/default/native/reflectstatus.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/reflectstatus_test.go b/pkg/resourceinterpreter/default/native/reflectstatus_test.go index cd3169ce5..dbf18ede9 100644 --- a/pkg/resourceinterpreter/default/native/reflectstatus_test.go +++ b/pkg/resourceinterpreter/default/native/reflectstatus_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/replica.go b/pkg/resourceinterpreter/default/native/replica.go index dbc5b93c8..cfbe2d4e7 100644 --- a/pkg/resourceinterpreter/default/native/replica.go +++ b/pkg/resourceinterpreter/default/native/replica.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/retain.go b/pkg/resourceinterpreter/default/native/retain.go index 5fb720b51..0e2ca3daa 100644 --- a/pkg/resourceinterpreter/default/native/retain.go +++ b/pkg/resourceinterpreter/default/native/retain.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/retain_test.go b/pkg/resourceinterpreter/default/native/retain_test.go index 2d32a3cdf..99c2a8eee 100644 --- a/pkg/resourceinterpreter/default/native/retain_test.go +++ b/pkg/resourceinterpreter/default/native/retain_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/revisereplica.go b/pkg/resourceinterpreter/default/native/revisereplica.go index 0cc097b9f..df4f54306 100644 --- a/pkg/resourceinterpreter/default/native/revisereplica.go +++ b/pkg/resourceinterpreter/default/native/revisereplica.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/native/revisereplica_test.go b/pkg/resourceinterpreter/default/native/revisereplica_test.go index c6b79a127..192f90bcd 100644 --- a/pkg/resourceinterpreter/default/native/revisereplica_test.go +++ b/pkg/resourceinterpreter/default/native/revisereplica_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 native import ( diff --git a/pkg/resourceinterpreter/default/thirdparty/manager.go b/pkg/resourceinterpreter/default/thirdparty/manager.go index 6f34aa5f0..474ca1dbc 100644 --- a/pkg/resourceinterpreter/default/thirdparty/manager.go +++ b/pkg/resourceinterpreter/default/thirdparty/manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 thirdparty import ( diff --git a/pkg/resourceinterpreter/default/thirdparty/resourcecustomizations/embed.go b/pkg/resourceinterpreter/default/thirdparty/resourcecustomizations/embed.go index d1502847f..44bdd1c8e 100644 --- a/pkg/resourceinterpreter/default/thirdparty/resourcecustomizations/embed.go +++ b/pkg/resourceinterpreter/default/thirdparty/resourcecustomizations/embed.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 resourcecustomizations import ( diff --git a/pkg/resourceinterpreter/default/thirdparty/thirdparty.go b/pkg/resourceinterpreter/default/thirdparty/thirdparty.go index c2e39b512..955265a90 100644 --- a/pkg/resourceinterpreter/default/thirdparty/thirdparty.go +++ b/pkg/resourceinterpreter/default/thirdparty/thirdparty.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 thirdparty import ( diff --git a/pkg/resourceinterpreter/default/thirdparty/thirdparty_test.go b/pkg/resourceinterpreter/default/thirdparty/thirdparty_test.go index e2ee71b87..f782a06ae 100644 --- a/pkg/resourceinterpreter/default/thirdparty/thirdparty_test.go +++ b/pkg/resourceinterpreter/default/thirdparty/thirdparty_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 thirdparty import ( diff --git a/pkg/resourceinterpreter/interpreter.go b/pkg/resourceinterpreter/interpreter.go index 70a45d7a7..685135602 100644 --- a/pkg/resourceinterpreter/interpreter.go +++ b/pkg/resourceinterpreter/interpreter.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 resourceinterpreter import ( diff --git a/pkg/scheduler/cache/cache.go b/pkg/scheduler/cache/cache.go index 1b5b003e9..6bb733b42 100644 --- a/pkg/scheduler/cache/cache.go +++ b/pkg/scheduler/cache/cache.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 cache import ( diff --git a/pkg/scheduler/cache/snapshot.go b/pkg/scheduler/cache/snapshot.go index 2e22f4f3e..c216ed7a1 100644 --- a/pkg/scheduler/cache/snapshot.go +++ b/pkg/scheduler/cache/snapshot.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 cache import ( diff --git a/pkg/scheduler/core/assignment.go b/pkg/scheduler/core/assignment.go index 0c7094a22..c33c3d379 100644 --- a/pkg/scheduler/core/assignment.go +++ b/pkg/scheduler/core/assignment.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 core import ( diff --git a/pkg/scheduler/core/assignment_test.go b/pkg/scheduler/core/assignment_test.go index b0ce671c4..c4112fd06 100644 --- a/pkg/scheduler/core/assignment_test.go +++ b/pkg/scheduler/core/assignment_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 core import ( diff --git a/pkg/scheduler/core/division_algorithm.go b/pkg/scheduler/core/division_algorithm.go index 1bed26853..5fbadc45c 100644 --- a/pkg/scheduler/core/division_algorithm.go +++ b/pkg/scheduler/core/division_algorithm.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 core import ( diff --git a/pkg/scheduler/core/division_algorithm_test.go b/pkg/scheduler/core/division_algorithm_test.go index 8f4f7db36..313534501 100644 --- a/pkg/scheduler/core/division_algorithm_test.go +++ b/pkg/scheduler/core/division_algorithm_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 core import ( diff --git a/pkg/scheduler/core/generic_scheduler.go b/pkg/scheduler/core/generic_scheduler.go index 068f2facf..321f91448 100644 --- a/pkg/scheduler/core/generic_scheduler.go +++ b/pkg/scheduler/core/generic_scheduler.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 core import ( diff --git a/pkg/scheduler/core/spreadconstraint/group_clusters.go b/pkg/scheduler/core/spreadconstraint/group_clusters.go index d3a2da1da..1e880abf2 100644 --- a/pkg/scheduler/core/spreadconstraint/group_clusters.go +++ b/pkg/scheduler/core/spreadconstraint/group_clusters.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/spreadconstraint/group_clusters_test.go b/pkg/scheduler/core/spreadconstraint/group_clusters_test.go index f5b556ba2..9c83c2acb 100644 --- a/pkg/scheduler/core/spreadconstraint/group_clusters_test.go +++ b/pkg/scheduler/core/spreadconstraint/group_clusters_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/spreadconstraint/select_clusters.go b/pkg/scheduler/core/spreadconstraint/select_clusters.go index ea422d980..0dd224ea7 100644 --- a/pkg/scheduler/core/spreadconstraint/select_clusters.go +++ b/pkg/scheduler/core/spreadconstraint/select_clusters.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/spreadconstraint/select_clusters_by_cluster.go b/pkg/scheduler/core/spreadconstraint/select_clusters_by_cluster.go index 5ec358025..687a8ef4d 100644 --- a/pkg/scheduler/core/spreadconstraint/select_clusters_by_cluster.go +++ b/pkg/scheduler/core/spreadconstraint/select_clusters_by_cluster.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/spreadconstraint/select_clusters_by_region.go b/pkg/scheduler/core/spreadconstraint/select_clusters_by_region.go index 4d13bc34c..a81bbf334 100644 --- a/pkg/scheduler/core/spreadconstraint/select_clusters_by_region.go +++ b/pkg/scheduler/core/spreadconstraint/select_clusters_by_region.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/spreadconstraint/select_clusters_by_region_test.go b/pkg/scheduler/core/spreadconstraint/select_clusters_by_region_test.go index 225a1088a..71c99c755 100644 --- a/pkg/scheduler/core/spreadconstraint/select_clusters_by_region_test.go +++ b/pkg/scheduler/core/spreadconstraint/select_clusters_by_region_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/spreadconstraint/select_clusters_test.go b/pkg/scheduler/core/spreadconstraint/select_clusters_test.go index 0ea935b4a..8ee457041 100644 --- a/pkg/scheduler/core/spreadconstraint/select_clusters_test.go +++ b/pkg/scheduler/core/spreadconstraint/select_clusters_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/spreadconstraint/select_groups.go b/pkg/scheduler/core/spreadconstraint/select_groups.go index c4f47b510..0030adf0e 100755 --- a/pkg/scheduler/core/spreadconstraint/select_groups.go +++ b/pkg/scheduler/core/spreadconstraint/select_groups.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/spreadconstraint/select_groups_test.go b/pkg/scheduler/core/spreadconstraint/select_groups_test.go index a3f1eabba..be427dbf2 100755 --- a/pkg/scheduler/core/spreadconstraint/select_groups_test.go +++ b/pkg/scheduler/core/spreadconstraint/select_groups_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/spreadconstraint/util.go b/pkg/scheduler/core/spreadconstraint/util.go index a22cc60a0..866da7f1b 100644 --- a/pkg/scheduler/core/spreadconstraint/util.go +++ b/pkg/scheduler/core/spreadconstraint/util.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/spreadconstraint/util_test.go b/pkg/scheduler/core/spreadconstraint/util_test.go index 2d43ad64d..a3fae85cf 100644 --- a/pkg/scheduler/core/spreadconstraint/util_test.go +++ b/pkg/scheduler/core/spreadconstraint/util_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/core/util.go b/pkg/scheduler/core/util.go index 63d722f37..a548a5fba 100644 --- a/pkg/scheduler/core/util.go +++ b/pkg/scheduler/core/util.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 core import ( diff --git a/pkg/scheduler/core/util_test.go b/pkg/scheduler/core/util_test.go index 3ef04122a..4b5bc63f0 100644 --- a/pkg/scheduler/core/util_test.go +++ b/pkg/scheduler/core/util_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 core import ( diff --git a/pkg/scheduler/event_handler.go b/pkg/scheduler/event_handler.go index 39a15f7c9..51f088017 100644 --- a/pkg/scheduler/event_handler.go +++ b/pkg/scheduler/event_handler.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 scheduler import ( diff --git a/pkg/scheduler/framework/interface.go b/pkg/scheduler/framework/interface.go index 5a206790d..6340386c3 100644 --- a/pkg/scheduler/framework/interface.go +++ b/pkg/scheduler/framework/interface.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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. +*/ + //go:generate mockgen -source=interface.go -destination=testing/mock_interface.go -package=testing FilterPlugin ScorePlugin ScoreExtensions package framework diff --git a/pkg/scheduler/framework/plugins/apienablement/api_enablement.go b/pkg/scheduler/framework/plugins/apienablement/api_enablement.go index 5a4c11b3a..15d32ab35 100644 --- a/pkg/scheduler/framework/plugins/apienablement/api_enablement.go +++ b/pkg/scheduler/framework/plugins/apienablement/api_enablement.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 apienablement import ( diff --git a/pkg/scheduler/framework/plugins/clusteraffinity/cluster_affinity.go b/pkg/scheduler/framework/plugins/clusteraffinity/cluster_affinity.go index b57ad29f5..75a73fca6 100644 --- a/pkg/scheduler/framework/plugins/clusteraffinity/cluster_affinity.go +++ b/pkg/scheduler/framework/plugins/clusteraffinity/cluster_affinity.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 clusteraffinity import ( diff --git a/pkg/scheduler/framework/plugins/clustereviction/cluster_eviction.go b/pkg/scheduler/framework/plugins/clustereviction/cluster_eviction.go index 9629c8e93..3ba4ef06e 100644 --- a/pkg/scheduler/framework/plugins/clustereviction/cluster_eviction.go +++ b/pkg/scheduler/framework/plugins/clustereviction/cluster_eviction.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 clustereviction import ( diff --git a/pkg/scheduler/framework/plugins/clusterlocality/cluster_locality.go b/pkg/scheduler/framework/plugins/clusterlocality/cluster_locality.go index 592a161a6..c16aedc65 100644 --- a/pkg/scheduler/framework/plugins/clusterlocality/cluster_locality.go +++ b/pkg/scheduler/framework/plugins/clusterlocality/cluster_locality.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 clusterlocality import ( diff --git a/pkg/scheduler/framework/plugins/registry.go b/pkg/scheduler/framework/plugins/registry.go index 1de83dc72..15e305aca 100644 --- a/pkg/scheduler/framework/plugins/registry.go +++ b/pkg/scheduler/framework/plugins/registry.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 plugins import ( diff --git a/pkg/scheduler/framework/plugins/spreadconstraint/spread_constraint.go b/pkg/scheduler/framework/plugins/spreadconstraint/spread_constraint.go index 12a64e72d..ca3b52e55 100644 --- a/pkg/scheduler/framework/plugins/spreadconstraint/spread_constraint.go +++ b/pkg/scheduler/framework/plugins/spreadconstraint/spread_constraint.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 spreadconstraint import ( diff --git a/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go b/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go index 267f870e9..21d5c2137 100644 --- a/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go +++ b/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 tainttoleration import ( diff --git a/pkg/scheduler/framework/runtime/framework.go b/pkg/scheduler/framework/runtime/framework.go index 2d480ef93..7ef5dc6a7 100644 --- a/pkg/scheduler/framework/runtime/framework.go +++ b/pkg/scheduler/framework/runtime/framework.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 runtime import ( diff --git a/pkg/scheduler/framework/runtime/framework_test.go b/pkg/scheduler/framework/runtime/framework_test.go index c69249507..c7c6e3a3d 100644 --- a/pkg/scheduler/framework/runtime/framework_test.go +++ b/pkg/scheduler/framework/runtime/framework_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 runtime import ( diff --git a/pkg/scheduler/framework/runtime/metrics_recorder.go b/pkg/scheduler/framework/runtime/metrics_recorder.go index f604fa9d7..2024455db 100644 --- a/pkg/scheduler/framework/runtime/metrics_recorder.go +++ b/pkg/scheduler/framework/runtime/metrics_recorder.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 runtime import ( diff --git a/pkg/scheduler/framework/runtime/registry.go b/pkg/scheduler/framework/runtime/registry.go index 782cd22ed..482ce9990 100644 --- a/pkg/scheduler/framework/runtime/registry.go +++ b/pkg/scheduler/framework/runtime/registry.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 runtime import ( diff --git a/pkg/scheduler/framework/runtime/registry_test.go b/pkg/scheduler/framework/runtime/registry_test.go index 88c2997da..6da6d19a2 100644 --- a/pkg/scheduler/framework/runtime/registry_test.go +++ b/pkg/scheduler/framework/runtime/registry_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 runtime import ( diff --git a/pkg/scheduler/framework/types.go b/pkg/scheduler/framework/types.go index a0181d658..f5fea20d2 100644 --- a/pkg/scheduler/framework/types.go +++ b/pkg/scheduler/framework/types.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/pkg/scheduler/helper.go b/pkg/scheduler/helper.go index 0e9a73781..14fc632a0 100644 --- a/pkg/scheduler/helper.go +++ b/pkg/scheduler/helper.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 scheduler import ( diff --git a/pkg/scheduler/helper_test.go b/pkg/scheduler/helper_test.go index 324dba3af..3108654c5 100644 --- a/pkg/scheduler/helper_test.go +++ b/pkg/scheduler/helper_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 scheduler import ( diff --git a/pkg/scheduler/metrics/metrics.go b/pkg/scheduler/metrics/metrics.go index b5ff048fd..a9c6406c8 100644 --- a/pkg/scheduler/metrics/metrics.go +++ b/pkg/scheduler/metrics/metrics.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 metrics import ( diff --git a/pkg/scheduler/scheduler.go b/pkg/scheduler/scheduler.go index 2ad65324b..1bd2c6af5 100644 --- a/pkg/scheduler/scheduler.go +++ b/pkg/scheduler/scheduler.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 scheduler import ( diff --git a/pkg/scheduler/scheduler_metrics_test.go b/pkg/scheduler/scheduler_metrics_test.go index 6a92b8bec..97364fd58 100644 --- a/pkg/scheduler/scheduler_metrics_test.go +++ b/pkg/scheduler/scheduler_metrics_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 scheduler import ( diff --git a/pkg/scheduler/scheduler_test.go b/pkg/scheduler/scheduler_test.go index f0cd5dafe..0826ac1c7 100644 --- a/pkg/scheduler/scheduler_test.go +++ b/pkg/scheduler/scheduler_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 scheduler import ( diff --git a/pkg/search/apiserver.go b/pkg/search/apiserver.go index b88c4ed22..39764a68e 100644 --- a/pkg/search/apiserver.go +++ b/pkg/search/apiserver.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 search import ( diff --git a/pkg/search/backendstore/defaultstore.go b/pkg/search/backendstore/defaultstore.go index d66301cb7..d2e399fff 100644 --- a/pkg/search/backendstore/defaultstore.go +++ b/pkg/search/backendstore/defaultstore.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 backendstore import ( diff --git a/pkg/search/backendstore/opensearch.go b/pkg/search/backendstore/opensearch.go index 68d142b85..a9de9f3e0 100644 --- a/pkg/search/backendstore/opensearch.go +++ b/pkg/search/backendstore/opensearch.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 backendstore import ( diff --git a/pkg/search/backendstore/store.go b/pkg/search/backendstore/store.go index cd5f097df..1b7422578 100644 --- a/pkg/search/backendstore/store.go +++ b/pkg/search/backendstore/store.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 backendstore import ( diff --git a/pkg/search/controller.go b/pkg/search/controller.go index 0f9efba6b..cdb6e15f7 100644 --- a/pkg/search/controller.go +++ b/pkg/search/controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 search import ( diff --git a/pkg/search/proxy/controller.go b/pkg/search/proxy/controller.go index 9083a1a2c..dc4bcbc33 100644 --- a/pkg/search/proxy/controller.go +++ b/pkg/search/proxy/controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 proxy import ( diff --git a/pkg/search/proxy/controller_test.go b/pkg/search/proxy/controller_test.go index efb76141e..6cae6b5c0 100644 --- a/pkg/search/proxy/controller_test.go +++ b/pkg/search/proxy/controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 proxy import ( diff --git a/pkg/search/proxy/framework/interface.go b/pkg/search/proxy/framework/interface.go index 7e03dd0f4..fec171420 100644 --- a/pkg/search/proxy/framework/interface.go +++ b/pkg/search/proxy/framework/interface.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/pkg/search/proxy/framework/plugins/cache/cache.go b/pkg/search/proxy/framework/plugins/cache/cache.go index 119a22a62..bea735dcf 100644 --- a/pkg/search/proxy/framework/plugins/cache/cache.go +++ b/pkg/search/proxy/framework/plugins/cache/cache.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 cache import ( diff --git a/pkg/search/proxy/framework/plugins/cache/cache_test.go b/pkg/search/proxy/framework/plugins/cache/cache_test.go index 3d1ac3081..9a4ae99db 100644 --- a/pkg/search/proxy/framework/plugins/cache/cache_test.go +++ b/pkg/search/proxy/framework/plugins/cache/cache_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 cache import ( diff --git a/pkg/search/proxy/framework/plugins/cluster/cluster.go b/pkg/search/proxy/framework/plugins/cluster/cluster.go index 5f4f5f58c..3d2f6cd5a 100644 --- a/pkg/search/proxy/framework/plugins/cluster/cluster.go +++ b/pkg/search/proxy/framework/plugins/cluster/cluster.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 cluster import ( diff --git a/pkg/search/proxy/framework/plugins/cluster/cluster_test.go b/pkg/search/proxy/framework/plugins/cluster/cluster_test.go index 9ac0986c6..0d32ff16c 100644 --- a/pkg/search/proxy/framework/plugins/cluster/cluster_test.go +++ b/pkg/search/proxy/framework/plugins/cluster/cluster_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 cluster import ( diff --git a/pkg/search/proxy/framework/plugins/karmada/karmada.go b/pkg/search/proxy/framework/plugins/karmada/karmada.go index 75912c30e..55d13f93d 100644 --- a/pkg/search/proxy/framework/plugins/karmada/karmada.go +++ b/pkg/search/proxy/framework/plugins/karmada/karmada.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 karmada import ( diff --git a/pkg/search/proxy/framework/plugins/karmada/karmada_test.go b/pkg/search/proxy/framework/plugins/karmada/karmada_test.go index b8cacb5cd..7c5352fd5 100644 --- a/pkg/search/proxy/framework/plugins/karmada/karmada_test.go +++ b/pkg/search/proxy/framework/plugins/karmada/karmada_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 karmada import ( diff --git a/pkg/search/proxy/framework/plugins/registry.go b/pkg/search/proxy/framework/plugins/registry.go index c5fab9041..2266d40c3 100644 --- a/pkg/search/proxy/framework/plugins/registry.go +++ b/pkg/search/proxy/framework/plugins/registry.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 plugins import ( diff --git a/pkg/search/proxy/framework/runtime/framework.go b/pkg/search/proxy/framework/runtime/framework.go index 4df8c201a..568d545d4 100644 --- a/pkg/search/proxy/framework/runtime/framework.go +++ b/pkg/search/proxy/framework/runtime/framework.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 runtime import ( diff --git a/pkg/search/proxy/framework/runtime/registry.go b/pkg/search/proxy/framework/runtime/registry.go index 1aa949160..4aa8cceb7 100644 --- a/pkg/search/proxy/framework/runtime/registry.go +++ b/pkg/search/proxy/framework/runtime/registry.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 runtime import ( diff --git a/pkg/search/proxy/framework/runtime/registry_test.go b/pkg/search/proxy/framework/runtime/registry_test.go index df3bb5724..7852f4ef2 100644 --- a/pkg/search/proxy/framework/runtime/registry_test.go +++ b/pkg/search/proxy/framework/runtime/registry_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 runtime import ( diff --git a/pkg/search/proxy/store/cluster_cache.go b/pkg/search/proxy/store/cluster_cache.go index 4cff14354..c1b58b0b0 100644 --- a/pkg/search/proxy/store/cluster_cache.go +++ b/pkg/search/proxy/store/cluster_cache.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 store import ( diff --git a/pkg/search/proxy/store/conversion.go b/pkg/search/proxy/store/conversion.go index 12a22d282..22e04bb4c 100644 --- a/pkg/search/proxy/store/conversion.go +++ b/pkg/search/proxy/store/conversion.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 store import ( diff --git a/pkg/search/proxy/store/multi_cluster_cache.go b/pkg/search/proxy/store/multi_cluster_cache.go index a1e8e7f8b..99a9de027 100644 --- a/pkg/search/proxy/store/multi_cluster_cache.go +++ b/pkg/search/proxy/store/multi_cluster_cache.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 store import ( diff --git a/pkg/search/proxy/store/multi_cluster_cache_test.go b/pkg/search/proxy/store/multi_cluster_cache_test.go index e52a3f579..a24ac8e50 100644 --- a/pkg/search/proxy/store/multi_cluster_cache_test.go +++ b/pkg/search/proxy/store/multi_cluster_cache_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 store import ( diff --git a/pkg/search/proxy/store/resource_cache.go b/pkg/search/proxy/store/resource_cache.go index 32fb2b2b8..5c808e1c8 100644 --- a/pkg/search/proxy/store/resource_cache.go +++ b/pkg/search/proxy/store/resource_cache.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 store import ( diff --git a/pkg/search/proxy/store/store.go b/pkg/search/proxy/store/store.go index 1ed858202..425e80f08 100644 --- a/pkg/search/proxy/store/store.go +++ b/pkg/search/proxy/store/store.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 store import ( diff --git a/pkg/search/proxy/store/store_test.go b/pkg/search/proxy/store/store_test.go index e5f293608..d22cdd644 100644 --- a/pkg/search/proxy/store/store_test.go +++ b/pkg/search/proxy/store/store_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 store import ( diff --git a/pkg/search/proxy/store/util.go b/pkg/search/proxy/store/util.go index dbb765959..69ccd2f8c 100644 --- a/pkg/search/proxy/store/util.go +++ b/pkg/search/proxy/store/util.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 store import ( diff --git a/pkg/search/proxy/store/util_test.go b/pkg/search/proxy/store/util_test.go index f47267184..c6d21d677 100644 --- a/pkg/search/proxy/store/util_test.go +++ b/pkg/search/proxy/store/util_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 store import ( diff --git a/pkg/search/proxy/testing/constant.go b/pkg/search/proxy/testing/constant.go index 67c23e604..b4c6f3f9a 100644 --- a/pkg/search/proxy/testing/constant.go +++ b/pkg/search/proxy/testing/constant.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 testing import ( diff --git a/pkg/search/proxy/testing/function.go b/pkg/search/proxy/testing/function.go index b35054510..b82d5f2e3 100644 --- a/pkg/search/proxy/testing/function.go +++ b/pkg/search/proxy/testing/function.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 testing // ErrorMessageEquals compare if two error message is equal. diff --git a/pkg/search/proxy/testing/mock_store.go b/pkg/search/proxy/testing/mock_store.go index 6e20eafd8..d73d8a6d1 100644 --- a/pkg/search/proxy/testing/mock_store.go +++ b/pkg/search/proxy/testing/mock_store.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 testing import ( diff --git a/pkg/sharedcli/commandusage.go b/pkg/sharedcli/commandusage.go index d49d41e9b..8878300ef 100644 --- a/pkg/sharedcli/commandusage.go +++ b/pkg/sharedcli/commandusage.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 sharedcli import ( diff --git a/pkg/sharedcli/docs.go b/pkg/sharedcli/docs.go index 1cce512f4..1831b0829 100644 --- a/pkg/sharedcli/docs.go +++ b/pkg/sharedcli/docs.go @@ -1,2 +1,18 @@ +/* +Copyright 2022 The Karmada Authors. + +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 sharedcli is the destination for common commands, flags or utils. package sharedcli diff --git a/pkg/sharedcli/klogflag/klogflag.go b/pkg/sharedcli/klogflag/klogflag.go index 7543eaf28..ef9898f28 100644 --- a/pkg/sharedcli/klogflag/klogflag.go +++ b/pkg/sharedcli/klogflag/klogflag.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 klogflag import ( diff --git a/pkg/sharedcli/profileflag/profileflag.go b/pkg/sharedcli/profileflag/profileflag.go index 2e30a5fc7..aa55e5294 100644 --- a/pkg/sharedcli/profileflag/profileflag.go +++ b/pkg/sharedcli/profileflag/profileflag.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 profileflag import ( diff --git a/pkg/sharedcli/ratelimiterflag/ratelimiterflag.go b/pkg/sharedcli/ratelimiterflag/ratelimiterflag.go index d932b2b32..36af12d96 100644 --- a/pkg/sharedcli/ratelimiterflag/ratelimiterflag.go +++ b/pkg/sharedcli/ratelimiterflag/ratelimiterflag.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 ratelimiterflag import ( diff --git a/pkg/util/annotation.go b/pkg/util/annotation.go index daac10ec8..47e9f2056 100644 --- a/pkg/util/annotation.go +++ b/pkg/util/annotation.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/annotation_test.go b/pkg/util/annotation_test.go index 19eb0778a..a7c5dbe1e 100644 --- a/pkg/util/annotation_test.go +++ b/pkg/util/annotation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/apigroup.go b/pkg/util/apigroup.go index 7ce03948b..ed31b828d 100644 --- a/pkg/util/apigroup.go +++ b/pkg/util/apigroup.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/apigroup_test.go b/pkg/util/apigroup_test.go index dc9e8200c..8e6f92acb 100644 --- a/pkg/util/apigroup_test.go +++ b/pkg/util/apigroup_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/binding.go b/pkg/util/binding.go index f23a0f38a..26dc9d59a 100644 --- a/pkg/util/binding.go +++ b/pkg/util/binding.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/binding_test.go b/pkg/util/binding_test.go index 0474b4b1f..a68d208a3 100644 --- a/pkg/util/binding_test.go +++ b/pkg/util/binding_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/cluster.go b/pkg/util/cluster.go index 0901df3b8..f4ea1d3f0 100644 --- a/pkg/util/cluster.go +++ b/pkg/util/cluster.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/cluster_test.go b/pkg/util/cluster_test.go index 4796c70e6..e4f7ab85b 100644 --- a/pkg/util/cluster_test.go +++ b/pkg/util/cluster_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/clusterlease.go b/pkg/util/clusterlease.go index b10966087..80ea25c20 100644 --- a/pkg/util/clusterlease.go +++ b/pkg/util/clusterlease.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/clusterlease_test.go b/pkg/util/clusterlease_test.go index 990354246..33e80ff0e 100644 --- a/pkg/util/clusterlease_test.go +++ b/pkg/util/clusterlease_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/clusterrole.go b/pkg/util/clusterrole.go index d42194fe6..7514f0369 100644 --- a/pkg/util/clusterrole.go +++ b/pkg/util/clusterrole.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/clusterrole_test.go b/pkg/util/clusterrole_test.go index 72f58fe35..832d4434d 100644 --- a/pkg/util/clusterrole_test.go +++ b/pkg/util/clusterrole_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/common.go b/pkg/util/common.go index 345dfea74..851f095a0 100644 --- a/pkg/util/common.go +++ b/pkg/util/common.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/common_test.go b/pkg/util/common_test.go index bd79fc006..4135e28b2 100644 --- a/pkg/util/common_test.go +++ b/pkg/util/common_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/condition.go b/pkg/util/condition.go index 617a467cd..3d77b7edf 100644 --- a/pkg/util/condition.go +++ b/pkg/util/condition.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/util/condition_test.go b/pkg/util/condition_test.go index bbd07608c..5f965b0b6 100644 --- a/pkg/util/condition_test.go +++ b/pkg/util/condition_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/constants.go b/pkg/util/constants.go index 9b560e3b9..ed0a0c6d4 100644 --- a/pkg/util/constants.go +++ b/pkg/util/constants.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 util import "time" diff --git a/pkg/util/context.go b/pkg/util/context.go index 65c5d381d..bd065a601 100644 --- a/pkg/util/context.go +++ b/pkg/util/context.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import "context" diff --git a/pkg/util/credential.go b/pkg/util/credential.go index b366b796a..fde353d36 100644 --- a/pkg/util/credential.go +++ b/pkg/util/credential.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/credential_test.go b/pkg/util/credential_test.go index ec5b82e80..a362f58ab 100644 --- a/pkg/util/credential_test.go +++ b/pkg/util/credential_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/dial.go b/pkg/util/dial.go index 3cde29198..ab12bcda5 100644 --- a/pkg/util/dial.go +++ b/pkg/util/dial.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/eventfilter/eventfilter.go b/pkg/util/eventfilter/eventfilter.go index 0e62ddec4..2fa02bcd8 100644 --- a/pkg/util/eventfilter/eventfilter.go +++ b/pkg/util/eventfilter/eventfilter.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 eventfilter import ( diff --git a/pkg/util/eventfilter/eventfilter_test.go b/pkg/util/eventfilter/eventfilter_test.go index 0d894db47..074b638bd 100644 --- a/pkg/util/eventfilter/eventfilter_test.go +++ b/pkg/util/eventfilter/eventfilter_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 eventfilter import ( diff --git a/pkg/util/fedinformer/genericmanager/multi-cluster-manager.go b/pkg/util/fedinformer/genericmanager/multi-cluster-manager.go index a501f9546..375a86f3f 100644 --- a/pkg/util/fedinformer/genericmanager/multi-cluster-manager.go +++ b/pkg/util/fedinformer/genericmanager/multi-cluster-manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 genericmanager import ( diff --git a/pkg/util/fedinformer/genericmanager/single-cluster-manager.go b/pkg/util/fedinformer/genericmanager/single-cluster-manager.go index af199c3a0..702769ccb 100644 --- a/pkg/util/fedinformer/genericmanager/single-cluster-manager.go +++ b/pkg/util/fedinformer/genericmanager/single-cluster-manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 genericmanager import ( diff --git a/pkg/util/fedinformer/handlers.go b/pkg/util/fedinformer/handlers.go index 7ff76b092..18fb17f69 100644 --- a/pkg/util/fedinformer/handlers.go +++ b/pkg/util/fedinformer/handlers.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 fedinformer import ( diff --git a/pkg/util/fedinformer/keys/keys.go b/pkg/util/fedinformer/keys/keys.go index 019e06638..d3f08bc59 100644 --- a/pkg/util/fedinformer/keys/keys.go +++ b/pkg/util/fedinformer/keys/keys.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 keys import ( diff --git a/pkg/util/fedinformer/keys/keys_test.go b/pkg/util/fedinformer/keys/keys_test.go index d3faa8af6..c9ec7178f 100644 --- a/pkg/util/fedinformer/keys/keys_test.go +++ b/pkg/util/fedinformer/keys/keys_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 keys import ( diff --git a/pkg/util/fedinformer/transform.go b/pkg/util/fedinformer/transform.go index cb78c232b..580bb9013 100644 --- a/pkg/util/fedinformer/transform.go +++ b/pkg/util/fedinformer/transform.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 fedinformer import ( diff --git a/pkg/util/fedinformer/transform_test.go b/pkg/util/fedinformer/transform_test.go index 6bce4f39a..2d4c1a57d 100644 --- a/pkg/util/fedinformer/transform_test.go +++ b/pkg/util/fedinformer/transform_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 fedinformer import ( diff --git a/pkg/util/fedinformer/typedmanager/multi-cluster-manager.go b/pkg/util/fedinformer/typedmanager/multi-cluster-manager.go index 223f6e0f5..7d784e288 100644 --- a/pkg/util/fedinformer/typedmanager/multi-cluster-manager.go +++ b/pkg/util/fedinformer/typedmanager/multi-cluster-manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 typedmanager import ( diff --git a/pkg/util/fedinformer/typedmanager/single-cluster-manager.go b/pkg/util/fedinformer/typedmanager/single-cluster-manager.go index aa6f1bcf0..f3e5df748 100644 --- a/pkg/util/fedinformer/typedmanager/single-cluster-manager.go +++ b/pkg/util/fedinformer/typedmanager/single-cluster-manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 typedmanager import ( diff --git a/pkg/util/fixedpool/fixedpool.go b/pkg/util/fixedpool/fixedpool.go index b7ef23ef6..bbab687f9 100644 --- a/pkg/util/fixedpool/fixedpool.go +++ b/pkg/util/fixedpool/fixedpool.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 fixedpool import ( diff --git a/pkg/util/fixedpool/fixedpool_test.go b/pkg/util/fixedpool/fixedpool_test.go index d3c4d9d81..d86afa7fb 100644 --- a/pkg/util/fixedpool/fixedpool_test.go +++ b/pkg/util/fixedpool/fixedpool_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 fixedpool import ( diff --git a/pkg/util/gclient/gclient.go b/pkg/util/gclient/gclient.go index 406e7aa1a..af1d069d6 100644 --- a/pkg/util/gclient/gclient.go +++ b/pkg/util/gclient/gclient.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 gclient import ( diff --git a/pkg/util/hash/hash.go b/pkg/util/hash/hash.go index 1d29698a4..31facf6c2 100644 --- a/pkg/util/hash/hash.go +++ b/pkg/util/hash/hash.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 hash import ( diff --git a/pkg/util/helper/binding.go b/pkg/util/helper/binding.go index 2ea4b2c69..aa65d9b6f 100644 --- a/pkg/util/helper/binding.go +++ b/pkg/util/helper/binding.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/binding_test.go b/pkg/util/helper/binding_test.go index 3d692709c..5cc1283f1 100644 --- a/pkg/util/helper/binding_test.go +++ b/pkg/util/helper/binding_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/cache.go b/pkg/util/helper/cache.go index ec9b84614..1f1b84c35 100644 --- a/pkg/util/helper/cache.go +++ b/pkg/util/helper/cache.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/cache_test.go b/pkg/util/helper/cache_test.go index 4a29c7782..40947c32c 100644 --- a/pkg/util/helper/cache_test.go +++ b/pkg/util/helper/cache_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/cluster.go b/pkg/util/helper/cluster.go index 229c140c1..86f34382a 100644 --- a/pkg/util/helper/cluster.go +++ b/pkg/util/helper/cluster.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/cluster_test.go b/pkg/util/helper/cluster_test.go index badef95a3..c03900415 100644 --- a/pkg/util/helper/cluster_test.go +++ b/pkg/util/helper/cluster_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/job.go b/pkg/util/helper/job.go index 535c8bf32..4ea05e060 100644 --- a/pkg/util/helper/job.go +++ b/pkg/util/helper/job.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/job_test.go b/pkg/util/helper/job_test.go index 87ef367c2..3203311ef 100644 --- a/pkg/util/helper/job_test.go +++ b/pkg/util/helper/job_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/mcs.go b/pkg/util/helper/mcs.go index 1ac50991c..3908ce287 100644 --- a/pkg/util/helper/mcs.go +++ b/pkg/util/helper/mcs.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/mcs_test.go b/pkg/util/helper/mcs_test.go index 999bedfda..001c7cc2d 100644 --- a/pkg/util/helper/mcs_test.go +++ b/pkg/util/helper/mcs_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/node.go b/pkg/util/helper/node.go index 9a1371d82..5552991a6 100644 --- a/pkg/util/helper/node.go +++ b/pkg/util/helper/node.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import corev1 "k8s.io/api/core/v1" diff --git a/pkg/util/helper/node_test.go b/pkg/util/helper/node_test.go index ea06e2f62..63ba55b84 100644 --- a/pkg/util/helper/node_test.go +++ b/pkg/util/helper/node_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/override.go b/pkg/util/helper/override.go index 808027a99..930e6a777 100644 --- a/pkg/util/helper/override.go +++ b/pkg/util/helper/override.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/override_test.go b/pkg/util/helper/override_test.go index 5411ca4e5..7f7dcdbd0 100644 --- a/pkg/util/helper/override_test.go +++ b/pkg/util/helper/override_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/patch.go b/pkg/util/helper/patch.go index 039ddb11a..a549383ac 100644 --- a/pkg/util/helper/patch.go +++ b/pkg/util/helper/patch.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/patch_test.go b/pkg/util/helper/patch_test.go index f64394e95..9b4572b93 100644 --- a/pkg/util/helper/patch_test.go +++ b/pkg/util/helper/patch_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/pod.go b/pkg/util/helper/pod.go index d6c43e39d..73a8f20ec 100644 --- a/pkg/util/helper/pod.go +++ b/pkg/util/helper/pod.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/pod_test.go b/pkg/util/helper/pod_test.go index b38de30f3..942ac2946 100644 --- a/pkg/util/helper/pod_test.go +++ b/pkg/util/helper/pod_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/policy.go b/pkg/util/helper/policy.go index 523968223..65c059aad 100644 --- a/pkg/util/helper/policy.go +++ b/pkg/util/helper/policy.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/policy_test.go b/pkg/util/helper/policy_test.go index 44c4bc40b..247b15707 100644 --- a/pkg/util/helper/policy_test.go +++ b/pkg/util/helper/policy_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/predicate.go b/pkg/util/helper/predicate.go index 5ac38f735..2b0100f00 100644 --- a/pkg/util/helper/predicate.go +++ b/pkg/util/helper/predicate.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/predicate_test.go b/pkg/util/helper/predicate_test.go index ed83e86b4..c40394041 100644 --- a/pkg/util/helper/predicate_test.go +++ b/pkg/util/helper/predicate_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/taint.go b/pkg/util/helper/taint.go index 0bb0d7193..7217e1611 100644 --- a/pkg/util/helper/taint.go +++ b/pkg/util/helper/taint.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/taint_test.go b/pkg/util/helper/taint_test.go index b397a7d21..a7fef55a6 100644 --- a/pkg/util/helper/taint_test.go +++ b/pkg/util/helper/taint_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/unstructured.go b/pkg/util/helper/unstructured.go index f83f96152..5dbd03ebe 100644 --- a/pkg/util/helper/unstructured.go +++ b/pkg/util/helper/unstructured.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/unstructured_test.go b/pkg/util/helper/unstructured_test.go index c19dbdfba..d8bad0d3c 100644 --- a/pkg/util/helper/unstructured_test.go +++ b/pkg/util/helper/unstructured_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/work.go b/pkg/util/helper/work.go index 4ec095934..e5a011672 100644 --- a/pkg/util/helper/work.go +++ b/pkg/util/helper/work.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/work_test.go b/pkg/util/helper/work_test.go index 1cfdb9d82..b66310de1 100644 --- a/pkg/util/helper/work_test.go +++ b/pkg/util/helper/work_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/workstatus.go b/pkg/util/helper/workstatus.go index 608b67760..189526511 100644 --- a/pkg/util/helper/workstatus.go +++ b/pkg/util/helper/workstatus.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/helper/workstatus_test.go b/pkg/util/helper/workstatus_test.go index de763c165..3ff329960 100644 --- a/pkg/util/helper/workstatus_test.go +++ b/pkg/util/helper/workstatus_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/pkg/util/imageparser/lifted.go b/pkg/util/imageparser/lifted.go index 2fb80dbb7..d99899cc8 100644 --- a/pkg/util/imageparser/lifted.go +++ b/pkg/util/imageparser/lifted.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 imageparser import "regexp" diff --git a/pkg/util/imageparser/parser.go b/pkg/util/imageparser/parser.go index fdc9bcb83..45563e6bf 100644 --- a/pkg/util/imageparser/parser.go +++ b/pkg/util/imageparser/parser.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 imageparser import ( diff --git a/pkg/util/imageparser/parser_test.go b/pkg/util/imageparser/parser_test.go index 3a1648ff7..c2748d5bb 100644 --- a/pkg/util/imageparser/parser_test.go +++ b/pkg/util/imageparser/parser_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 imageparser import ( diff --git a/pkg/util/interpreter/matcher.go b/pkg/util/interpreter/matcher.go index 7b67db07b..4eb062295 100644 --- a/pkg/util/interpreter/matcher.go +++ b/pkg/util/interpreter/matcher.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 interpreter import ( diff --git a/pkg/util/interpreter/matcher_test.go b/pkg/util/interpreter/matcher_test.go index be1e0e9da..005a29271 100644 --- a/pkg/util/interpreter/matcher_test.go +++ b/pkg/util/interpreter/matcher_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 interpreter import ( diff --git a/pkg/util/interpreter/rule.go b/pkg/util/interpreter/rule.go index 1b3e173dc..b03e281f6 100644 --- a/pkg/util/interpreter/rule.go +++ b/pkg/util/interpreter/rule.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 interpreter import ( diff --git a/pkg/util/interpreter/rule_test.go b/pkg/util/interpreter/rule_test.go index 5ef963cd3..5daa07677 100644 --- a/pkg/util/interpreter/rule_test.go +++ b/pkg/util/interpreter/rule_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 interpreter import ( diff --git a/pkg/util/label.go b/pkg/util/label.go index 8e9c025ae..0c320791d 100644 --- a/pkg/util/label.go +++ b/pkg/util/label.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/label_test.go b/pkg/util/label_test.go index e3ad33517..6d15b89ec 100644 --- a/pkg/util/label_test.go +++ b/pkg/util/label_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/lifted/deployment_test.go b/pkg/util/lifted/deployment_test.go index d57999e19..aab6d9720 100644 --- a/pkg/util/lifted/deployment_test.go +++ b/pkg/util/lifted/deployment_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 lifted import ( diff --git a/pkg/util/lifted/federatedhpa.go b/pkg/util/lifted/federatedhpa.go index 555598456..023c00f51 100644 --- a/pkg/util/lifted/federatedhpa.go +++ b/pkg/util/lifted/federatedhpa.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 lifted import ( diff --git a/pkg/util/lifted/federatedhpa_test.go b/pkg/util/lifted/federatedhpa_test.go index 5137a7e01..a35f0e540 100644 --- a/pkg/util/lifted/federatedhpa_test.go +++ b/pkg/util/lifted/federatedhpa_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 lifted import ( diff --git a/pkg/util/lifted/lua_oslib_safe.go b/pkg/util/lifted/lua_oslib_safe.go index 9cf370123..bb0bfa740 100644 --- a/pkg/util/lifted/lua_oslib_safe.go +++ b/pkg/util/lifted/lua_oslib_safe.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 lifted // This code is directly lifted from the argo-cd codebase in order to avoid relying on the lua package. diff --git a/pkg/util/lifted/lua_oslib_safe_test.go b/pkg/util/lifted/lua_oslib_safe_test.go index 2bc4873c9..9bd2221ce 100644 --- a/pkg/util/lifted/lua_oslib_safe_test.go +++ b/pkg/util/lifted/lua_oslib_safe_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 lifted import ( diff --git a/pkg/util/lifted/objectwatcher_test.go b/pkg/util/lifted/objectwatcher_test.go index 3c558c622..81b0032e3 100644 --- a/pkg/util/lifted/objectwatcher_test.go +++ b/pkg/util/lifted/objectwatcher_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 lifted import ( diff --git a/pkg/util/lifted/validatingfhpa.go b/pkg/util/lifted/validatingfhpa.go index 4fdb8f419..f8d2ce19a 100755 --- a/pkg/util/lifted/validatingfhpa.go +++ b/pkg/util/lifted/validatingfhpa.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 lifted import ( diff --git a/pkg/util/lifted/validatingmci_test.go b/pkg/util/lifted/validatingmci_test.go index 4a46c131e..d66784c2d 100644 --- a/pkg/util/lifted/validatingmci_test.go +++ b/pkg/util/lifted/validatingmci_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 lifted import ( diff --git a/pkg/util/membercluster_client.go b/pkg/util/membercluster_client.go index 9722d5bf3..30227469a 100644 --- a/pkg/util/membercluster_client.go +++ b/pkg/util/membercluster_client.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/membercluster_client_test.go b/pkg/util/membercluster_client_test.go index f7de754ab..45735eb58 100644 --- a/pkg/util/membercluster_client_test.go +++ b/pkg/util/membercluster_client_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/metrics/metrics.go b/pkg/util/metrics/metrics.go index d6a8e36fd..0dbf06767 100644 --- a/pkg/util/metrics/metrics.go +++ b/pkg/util/metrics/metrics.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 metrics import "time" diff --git a/pkg/util/metrics/metrics_test.go b/pkg/util/metrics/metrics_test.go index 8fdcdcab9..e88bc7708 100644 --- a/pkg/util/metrics/metrics_test.go +++ b/pkg/util/metrics/metrics_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 metrics import ( diff --git a/pkg/util/names/names.go b/pkg/util/names/names.go index 0496e14dd..30ca752f4 100644 --- a/pkg/util/names/names.go +++ b/pkg/util/names/names.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 names import ( diff --git a/pkg/util/names/names_test.go b/pkg/util/names/names_test.go index 38f3c659a..a3e435bc9 100644 --- a/pkg/util/names/names_test.go +++ b/pkg/util/names/names_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 names import ( diff --git a/pkg/util/namespace.go b/pkg/util/namespace.go index b32169942..25cbb8be6 100644 --- a/pkg/util/namespace.go +++ b/pkg/util/namespace.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/namespace_test.go b/pkg/util/namespace_test.go index f32feda6f..9c4e5614b 100644 --- a/pkg/util/namespace_test.go +++ b/pkg/util/namespace_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/objectwatcher/objectwatcher.go b/pkg/util/objectwatcher/objectwatcher.go index 2c3c3f364..d2dd5be30 100644 --- a/pkg/util/objectwatcher/objectwatcher.go +++ b/pkg/util/objectwatcher/objectwatcher.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 objectwatcher import ( diff --git a/pkg/util/overridemanager/commandargsoverride.go b/pkg/util/overridemanager/commandargsoverride.go index ed354c3ab..f0e792c5e 100644 --- a/pkg/util/overridemanager/commandargsoverride.go +++ b/pkg/util/overridemanager/commandargsoverride.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 overridemanager import ( diff --git a/pkg/util/overridemanager/commandargsoverride_test.go b/pkg/util/overridemanager/commandargsoverride_test.go index b2c33f3de..bda649cc6 100644 --- a/pkg/util/overridemanager/commandargsoverride_test.go +++ b/pkg/util/overridemanager/commandargsoverride_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 overridemanager import ( diff --git a/pkg/util/overridemanager/imageoverride.go b/pkg/util/overridemanager/imageoverride.go index 5e17b7e80..768fa48eb 100644 --- a/pkg/util/overridemanager/imageoverride.go +++ b/pkg/util/overridemanager/imageoverride.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 overridemanager import ( diff --git a/pkg/util/overridemanager/imageoverride_test.go b/pkg/util/overridemanager/imageoverride_test.go index 5a6d37814..b8204bf65 100644 --- a/pkg/util/overridemanager/imageoverride_test.go +++ b/pkg/util/overridemanager/imageoverride_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 overridemanager import ( diff --git a/pkg/util/overridemanager/labelannotationoverrider.go b/pkg/util/overridemanager/labelannotationoverrider.go index b71283104..6b530eb7e 100644 --- a/pkg/util/overridemanager/labelannotationoverrider.go +++ b/pkg/util/overridemanager/labelannotationoverrider.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 overridemanager import ( diff --git a/pkg/util/overridemanager/labelannotationoverrider_test.go b/pkg/util/overridemanager/labelannotationoverrider_test.go index bb4f92557..3bd94627f 100644 --- a/pkg/util/overridemanager/labelannotationoverrider_test.go +++ b/pkg/util/overridemanager/labelannotationoverrider_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 overridemanager import ( diff --git a/pkg/util/overridemanager/overridemanager.go b/pkg/util/overridemanager/overridemanager.go index 528a3b21f..4663e7e36 100644 --- a/pkg/util/overridemanager/overridemanager.go +++ b/pkg/util/overridemanager/overridemanager.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 overridemanager import ( diff --git a/pkg/util/overridemanager/overridemanager_test.go b/pkg/util/overridemanager/overridemanager_test.go index 5403a16da..b70e37f8c 100644 --- a/pkg/util/overridemanager/overridemanager_test.go +++ b/pkg/util/overridemanager/overridemanager_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 overridemanager import ( diff --git a/pkg/util/overridemanager/shadow.go b/pkg/util/overridemanager/shadow.go index 60bf03f1e..39b9a6cd6 100644 --- a/pkg/util/overridemanager/shadow.go +++ b/pkg/util/overridemanager/shadow.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 overridemanager import ( diff --git a/pkg/util/overridemanager/shadow_test.go b/pkg/util/overridemanager/shadow_test.go index f5d74e237..08fb96c3a 100644 --- a/pkg/util/overridemanager/shadow_test.go +++ b/pkg/util/overridemanager/shadow_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 overridemanager import ( diff --git a/pkg/util/proxy/proxy.go b/pkg/util/proxy/proxy.go index 73b8991a2..f2a5826d6 100644 --- a/pkg/util/proxy/proxy.go +++ b/pkg/util/proxy/proxy.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 proxy import ( diff --git a/pkg/util/proxy/proxy_test.go b/pkg/util/proxy/proxy_test.go index ab896aaf2..57789fac6 100644 --- a/pkg/util/proxy/proxy_test.go +++ b/pkg/util/proxy/proxy_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 proxy import ( diff --git a/pkg/util/rbac.go b/pkg/util/rbac.go index ba8f225d7..81496680e 100644 --- a/pkg/util/rbac.go +++ b/pkg/util/rbac.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/rbac_test.go b/pkg/util/rbac_test.go index b875de0db..bdba1c25c 100644 --- a/pkg/util/rbac_test.go +++ b/pkg/util/rbac_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/resource.go b/pkg/util/resource.go index c5bb5c4f6..3b40f5116 100644 --- a/pkg/util/resource.go +++ b/pkg/util/resource.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/resource_test.go b/pkg/util/resource_test.go index 806af2153..c6b45c603 100644 --- a/pkg/util/resource_test.go +++ b/pkg/util/resource_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/restmapper/restmapper.go b/pkg/util/restmapper/restmapper.go index f5ba31f37..4130cc75c 100644 --- a/pkg/util/restmapper/restmapper.go +++ b/pkg/util/restmapper/restmapper.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 restmapper import ( diff --git a/pkg/util/restmapper/restmapper_test.go b/pkg/util/restmapper/restmapper_test.go index 6e88d43ea..064afd150 100644 --- a/pkg/util/restmapper/restmapper_test.go +++ b/pkg/util/restmapper/restmapper_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 restmapper import ( diff --git a/pkg/util/round_trippers.go b/pkg/util/round_trippers.go index 27908c271..65bc758fe 100644 --- a/pkg/util/round_trippers.go +++ b/pkg/util/round_trippers.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/secret.go b/pkg/util/secret.go index 7a83c1cba..ab05bccfe 100644 --- a/pkg/util/secret.go +++ b/pkg/util/secret.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/secret_test.go b/pkg/util/secret_test.go index a5617e8a3..54191fe40 100644 --- a/pkg/util/secret_test.go +++ b/pkg/util/secret_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/selector.go b/pkg/util/selector.go index e26f890b3..83a152747 100644 --- a/pkg/util/selector.go +++ b/pkg/util/selector.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/selector_test.go b/pkg/util/selector_test.go index 798f09f35..a9194e492 100644 --- a/pkg/util/selector_test.go +++ b/pkg/util/selector_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/serviceaccount.go b/pkg/util/serviceaccount.go index bd928c2ee..cfe799138 100644 --- a/pkg/util/serviceaccount.go +++ b/pkg/util/serviceaccount.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/serviceaccount_test.go b/pkg/util/serviceaccount_test.go index c47069678..12223a679 100644 --- a/pkg/util/serviceaccount_test.go +++ b/pkg/util/serviceaccount_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/testing/mock_manager.go b/pkg/util/testing/mock_manager.go index fe0052116..1c07bfd13 100644 --- a/pkg/util/testing/mock_manager.go +++ b/pkg/util/testing/mock_manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 testing import ( diff --git a/pkg/util/testing/mock_responder.go b/pkg/util/testing/mock_responder.go index e24bac2e0..7a0bf48cf 100644 --- a/pkg/util/testing/mock_responder.go +++ b/pkg/util/testing/mock_responder.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 testing import ( diff --git a/pkg/util/validation/validation.go b/pkg/util/validation/validation.go index 809e8395b..3e428e200 100644 --- a/pkg/util/validation/validation.go +++ b/pkg/util/validation/validation.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 validation import ( diff --git a/pkg/util/validation/validation_test.go b/pkg/util/validation/validation_test.go index ec32d5d53..dfaf84532 100644 --- a/pkg/util/validation/validation_test.go +++ b/pkg/util/validation/validation_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 validation import ( diff --git a/pkg/util/worker.go b/pkg/util/worker.go index d38c13573..f1d505724 100644 --- a/pkg/util/worker.go +++ b/pkg/util/worker.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 util import ( diff --git a/pkg/util/worker_test.go b/pkg/util/worker_test.go index da0860d2e..ce8155869 100644 --- a/pkg/util/worker_test.go +++ b/pkg/util/worker_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 util import ( diff --git a/pkg/version/base.go b/pkg/version/base.go index 46b1d16f9..3b4b83efd 100644 --- a/pkg/version/base.go +++ b/pkg/version/base.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 version // Base version information. diff --git a/pkg/version/release.go b/pkg/version/release.go index 056889a59..be2714f2e 100644 --- a/pkg/version/release.go +++ b/pkg/version/release.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 version import ( diff --git a/pkg/version/release_test.go b/pkg/version/release_test.go index 2b0a3705a..b915b10ae 100644 --- a/pkg/version/release_test.go +++ b/pkg/version/release_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 version import "testing" diff --git a/pkg/version/sharedcommand/sharedcommand.go b/pkg/version/sharedcommand/sharedcommand.go index dd2e66bf7..cc4bd10a6 100644 --- a/pkg/version/sharedcommand/sharedcommand.go +++ b/pkg/version/sharedcommand/sharedcommand.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 sharedcommand import ( diff --git a/pkg/version/version.go b/pkg/version/version.go index a77b6dcf7..a50d74f95 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 version import ( diff --git a/pkg/version/version_test.go b/pkg/version/version_test.go index 8a0191ed7..3bef19c9d 100644 --- a/pkg/version/version_test.go +++ b/pkg/version/version_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 version import ( diff --git a/pkg/webhook/clusteroverridepolicy/validating.go b/pkg/webhook/clusteroverridepolicy/validating.go index aa91f889e..4e7323386 100644 --- a/pkg/webhook/clusteroverridepolicy/validating.go +++ b/pkg/webhook/clusteroverridepolicy/validating.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 clusteroverridepolicy import ( diff --git a/pkg/webhook/clusterpropagationpolicy/mutating.go b/pkg/webhook/clusterpropagationpolicy/mutating.go index 2b1777159..20d1933a6 100644 --- a/pkg/webhook/clusterpropagationpolicy/mutating.go +++ b/pkg/webhook/clusterpropagationpolicy/mutating.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 clusterpropagationpolicy import ( diff --git a/pkg/webhook/clusterpropagationpolicy/validating.go b/pkg/webhook/clusterpropagationpolicy/validating.go index b369c24bc..38a3f9fa0 100644 --- a/pkg/webhook/clusterpropagationpolicy/validating.go +++ b/pkg/webhook/clusterpropagationpolicy/validating.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 clusterpropagationpolicy import ( diff --git a/pkg/webhook/configuration/helper.go b/pkg/webhook/configuration/helper.go index 52004e52c..4f7507b75 100644 --- a/pkg/webhook/configuration/helper.go +++ b/pkg/webhook/configuration/helper.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 configuration import ( diff --git a/pkg/webhook/configuration/helper_test.go b/pkg/webhook/configuration/helper_test.go index ca1f91876..96e70251a 100644 --- a/pkg/webhook/configuration/helper_test.go +++ b/pkg/webhook/configuration/helper_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 configuration import ( diff --git a/pkg/webhook/configuration/validating.go b/pkg/webhook/configuration/validating.go index e466d1bf4..06c07ac75 100644 --- a/pkg/webhook/configuration/validating.go +++ b/pkg/webhook/configuration/validating.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 configuration import ( diff --git a/pkg/webhook/configuration/validating_test.go b/pkg/webhook/configuration/validating_test.go index 94fe9f3d9..7097fcf33 100644 --- a/pkg/webhook/configuration/validating_test.go +++ b/pkg/webhook/configuration/validating_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 configuration import ( diff --git a/pkg/webhook/cronfederatedhpa/validating_test.go b/pkg/webhook/cronfederatedhpa/validating_test.go index ad9295059..5cb11e861 100755 --- a/pkg/webhook/cronfederatedhpa/validating_test.go +++ b/pkg/webhook/cronfederatedhpa/validating_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 cronfederatedhpa import ( diff --git a/pkg/webhook/federatedhpa/mutating.go b/pkg/webhook/federatedhpa/mutating.go index 3b6de25c2..9728e5a35 100644 --- a/pkg/webhook/federatedhpa/mutating.go +++ b/pkg/webhook/federatedhpa/mutating.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 federatedhpa import ( diff --git a/pkg/webhook/federatedhpa/validating.go b/pkg/webhook/federatedhpa/validating.go index 3be59d99d..e2636478f 100644 --- a/pkg/webhook/federatedhpa/validating.go +++ b/pkg/webhook/federatedhpa/validating.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 federatedhpa import ( diff --git a/pkg/webhook/federatedresourcequota/validating.go b/pkg/webhook/federatedresourcequota/validating.go index 7a9b53113..185de241b 100644 --- a/pkg/webhook/federatedresourcequota/validating.go +++ b/pkg/webhook/federatedresourcequota/validating.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 federatedresourcequota import ( diff --git a/pkg/webhook/federatedresourcequota/validating_test.go b/pkg/webhook/federatedresourcequota/validating_test.go index e634a9544..4bd2839db 100644 --- a/pkg/webhook/federatedresourcequota/validating_test.go +++ b/pkg/webhook/federatedresourcequota/validating_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 federatedresourcequota import ( diff --git a/pkg/webhook/interpreter/decode.go b/pkg/webhook/interpreter/decode.go index 9f2208114..f10c5a416 100644 --- a/pkg/webhook/interpreter/decode.go +++ b/pkg/webhook/interpreter/decode.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 interpreter import ( diff --git a/pkg/webhook/interpreter/http.go b/pkg/webhook/interpreter/http.go index 848e67eae..4d2bcafb5 100644 --- a/pkg/webhook/interpreter/http.go +++ b/pkg/webhook/interpreter/http.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 interpreter import ( diff --git a/pkg/webhook/interpreter/inject.go b/pkg/webhook/interpreter/inject.go index dcbf1a1ff..9bcb0a101 100644 --- a/pkg/webhook/interpreter/inject.go +++ b/pkg/webhook/interpreter/inject.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 interpreter // DecoderInjector is used by the ControllerManager to inject decoder into webhook handlers. diff --git a/pkg/webhook/interpreter/response.go b/pkg/webhook/interpreter/response.go index bf0270502..8db810300 100644 --- a/pkg/webhook/interpreter/response.go +++ b/pkg/webhook/interpreter/response.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 interpreter import ( diff --git a/pkg/webhook/interpreter/webhook.go b/pkg/webhook/interpreter/webhook.go index bf0277dee..da66e5a4a 100644 --- a/pkg/webhook/interpreter/webhook.go +++ b/pkg/webhook/interpreter/webhook.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 interpreter import ( diff --git a/pkg/webhook/multiclusteringress/validating.go b/pkg/webhook/multiclusteringress/validating.go index 4270c9e00..ef8299775 100644 --- a/pkg/webhook/multiclusteringress/validating.go +++ b/pkg/webhook/multiclusteringress/validating.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 multiclusteringress import ( diff --git a/pkg/webhook/multiclusterservice/validating.go b/pkg/webhook/multiclusterservice/validating.go index f77457154..8aa1a7a23 100644 --- a/pkg/webhook/multiclusterservice/validating.go +++ b/pkg/webhook/multiclusterservice/validating.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 multiclusterservice import ( diff --git a/pkg/webhook/multiclusterservice/validating_test.go b/pkg/webhook/multiclusterservice/validating_test.go index 571521d86..27f21f9c8 100755 --- a/pkg/webhook/multiclusterservice/validating_test.go +++ b/pkg/webhook/multiclusterservice/validating_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 multiclusterservice import ( diff --git a/pkg/webhook/overridepolicy/mutating.go b/pkg/webhook/overridepolicy/mutating.go index 52cc04e40..f60730dc4 100644 --- a/pkg/webhook/overridepolicy/mutating.go +++ b/pkg/webhook/overridepolicy/mutating.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 overridepolicy import ( diff --git a/pkg/webhook/overridepolicy/validating.go b/pkg/webhook/overridepolicy/validating.go index b126717e1..6fec6797c 100644 --- a/pkg/webhook/overridepolicy/validating.go +++ b/pkg/webhook/overridepolicy/validating.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 overridepolicy import ( diff --git a/pkg/webhook/propagationpolicy/mutating.go b/pkg/webhook/propagationpolicy/mutating.go index 5c8de7dc5..7bd5879a6 100644 --- a/pkg/webhook/propagationpolicy/mutating.go +++ b/pkg/webhook/propagationpolicy/mutating.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 propagationpolicy import ( diff --git a/pkg/webhook/propagationpolicy/validating.go b/pkg/webhook/propagationpolicy/validating.go index 69f727b42..d89e4053b 100644 --- a/pkg/webhook/propagationpolicy/validating.go +++ b/pkg/webhook/propagationpolicy/validating.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 propagationpolicy import ( diff --git a/pkg/webhook/resourceinterpretercustomization/helper.go b/pkg/webhook/resourceinterpretercustomization/helper.go index 69917ca44..a5333aed6 100644 --- a/pkg/webhook/resourceinterpretercustomization/helper.go +++ b/pkg/webhook/resourceinterpretercustomization/helper.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 resourceinterpretercustomization import ( diff --git a/pkg/webhook/resourceinterpretercustomization/helper_test.go b/pkg/webhook/resourceinterpretercustomization/helper_test.go index a6c100e8f..ab23e5548 100644 --- a/pkg/webhook/resourceinterpretercustomization/helper_test.go +++ b/pkg/webhook/resourceinterpretercustomization/helper_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 resourceinterpretercustomization import ( diff --git a/pkg/webhook/resourceinterpretercustomization/validating.go b/pkg/webhook/resourceinterpretercustomization/validating.go index e6edac74d..4c0b3a454 100644 --- a/pkg/webhook/resourceinterpretercustomization/validating.go +++ b/pkg/webhook/resourceinterpretercustomization/validating.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 resourceinterpretercustomization import ( diff --git a/pkg/webhook/work/mutating.go b/pkg/webhook/work/mutating.go index e660e06fa..4d788bdd5 100644 --- a/pkg/webhook/work/mutating.go +++ b/pkg/webhook/work/mutating.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 work import ( diff --git a/test/e2e/aggregatedapi_test.go b/test/e2e/aggregatedapi_test.go index cda306b76..ddab012fe 100644 --- a/test/e2e/aggregatedapi_test.go +++ b/test/e2e/aggregatedapi_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/clusteraffinities_test.go b/test/e2e/clusteraffinities_test.go index a7378509a..de561f545 100644 --- a/test/e2e/clusteraffinities_test.go +++ b/test/e2e/clusteraffinities_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/clusteroverridepolicy_test.go b/test/e2e/clusteroverridepolicy_test.go index 75cbd397c..e6928d954 100644 --- a/test/e2e/clusteroverridepolicy_test.go +++ b/test/e2e/clusteroverridepolicy_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/clusterpropagationpolicy_test.go b/test/e2e/clusterpropagationpolicy_test.go index 02acaf7dc..77344c17d 100644 --- a/test/e2e/clusterpropagationpolicy_test.go +++ b/test/e2e/clusterpropagationpolicy_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/dependenciesdistributor_test.go b/test/e2e/dependenciesdistributor_test.go index 87a7ff8a4..2485f9fa6 100644 --- a/test/e2e/dependenciesdistributor_test.go +++ b/test/e2e/dependenciesdistributor_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/failover_test.go b/test/e2e/failover_test.go index ac2a0d7db..7158eb36f 100644 --- a/test/e2e/failover_test.go +++ b/test/e2e/failover_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/federatedresourcequota_test.go b/test/e2e/federatedresourcequota_test.go index a1abbe730..c29720561 100644 --- a/test/e2e/federatedresourcequota_test.go +++ b/test/e2e/federatedresourcequota_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/fieldselector_test.go b/test/e2e/fieldselector_test.go index e0e2189a8..7546cefac 100644 --- a/test/e2e/fieldselector_test.go +++ b/test/e2e/fieldselector_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/framework/cluster.go b/test/e2e/framework/cluster.go index 2c75b23bc..f3b239c2a 100644 --- a/test/e2e/framework/cluster.go +++ b/test/e2e/framework/cluster.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/clusteroverridepolicy.go b/test/e2e/framework/clusteroverridepolicy.go index d3776ef97..f30283899 100644 --- a/test/e2e/framework/clusteroverridepolicy.go +++ b/test/e2e/framework/clusteroverridepolicy.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/clusterpropagationpolicy.go b/test/e2e/framework/clusterpropagationpolicy.go index c9d479223..5676c5830 100644 --- a/test/e2e/framework/clusterpropagationpolicy.go +++ b/test/e2e/framework/clusterpropagationpolicy.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/configmap.go b/test/e2e/framework/configmap.go index 1802bd040..55f8b303b 100644 --- a/test/e2e/framework/configmap.go +++ b/test/e2e/framework/configmap.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/constant.go b/test/e2e/framework/constant.go index 99f2aeadd..170110cb0 100644 --- a/test/e2e/framework/constant.go +++ b/test/e2e/framework/constant.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import "time" diff --git a/test/e2e/framework/customresourcedefine.go b/test/e2e/framework/customresourcedefine.go index cfd427d52..d1bd5db84 100644 --- a/test/e2e/framework/customresourcedefine.go +++ b/test/e2e/framework/customresourcedefine.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/daemonSet.go b/test/e2e/framework/daemonSet.go index 5459a2d30..b239dca8e 100644 --- a/test/e2e/framework/daemonSet.go +++ b/test/e2e/framework/daemonSet.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/deployment.go b/test/e2e/framework/deployment.go index 866e708c5..a5431eb95 100644 --- a/test/e2e/framework/deployment.go +++ b/test/e2e/framework/deployment.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/dynamic.go b/test/e2e/framework/dynamic.go index 803d8094b..2fe7bc8ce 100644 --- a/test/e2e/framework/dynamic.go +++ b/test/e2e/framework/dynamic.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/federatedresourcequota.go b/test/e2e/framework/federatedresourcequota.go index 8a6982302..8bb1175cc 100644 --- a/test/e2e/framework/federatedresourcequota.go +++ b/test/e2e/framework/federatedresourcequota.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/ginkgo_decorator.go b/test/e2e/framework/ginkgo_decorator.go index 6244ddea2..b2924a6db 100644 --- a/test/e2e/framework/ginkgo_decorator.go +++ b/test/e2e/framework/ginkgo_decorator.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import "github.com/onsi/ginkgo/v2" diff --git a/test/e2e/framework/hpa.go b/test/e2e/framework/hpa.go index 0206ae40e..2989e31e0 100644 --- a/test/e2e/framework/hpa.go +++ b/test/e2e/framework/hpa.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/ingress.go b/test/e2e/framework/ingress.go index 1febb158d..6028745e1 100644 --- a/test/e2e/framework/ingress.go +++ b/test/e2e/framework/ingress.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/job.go b/test/e2e/framework/job.go index 3b43af3af..b9a15d052 100644 --- a/test/e2e/framework/job.go +++ b/test/e2e/framework/job.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/namespace.go b/test/e2e/framework/namespace.go index c22b90534..40a0561dc 100644 --- a/test/e2e/framework/namespace.go +++ b/test/e2e/framework/namespace.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/overridepolicy.go b/test/e2e/framework/overridepolicy.go index 33e72eaa7..a20e27b60 100644 --- a/test/e2e/framework/overridepolicy.go +++ b/test/e2e/framework/overridepolicy.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/persistentvolumeclaim.go b/test/e2e/framework/persistentvolumeclaim.go index cf1805be3..de299ccab 100644 --- a/test/e2e/framework/persistentvolumeclaim.go +++ b/test/e2e/framework/persistentvolumeclaim.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/pod.go b/test/e2e/framework/pod.go index 89c1a0edd..2880d4942 100644 --- a/test/e2e/framework/pod.go +++ b/test/e2e/framework/pod.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/poddisruptionbudget.go b/test/e2e/framework/poddisruptionbudget.go index f84906f1d..415d49baf 100644 --- a/test/e2e/framework/poddisruptionbudget.go +++ b/test/e2e/framework/poddisruptionbudget.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/propagationpolicy.go b/test/e2e/framework/propagationpolicy.go index b32e5af55..6be8cb2fa 100644 --- a/test/e2e/framework/propagationpolicy.go +++ b/test/e2e/framework/propagationpolicy.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/rbac.go b/test/e2e/framework/rbac.go index 06c9fa0f0..5cf92d429 100644 --- a/test/e2e/framework/rbac.go +++ b/test/e2e/framework/rbac.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/resourceinterpretercustomization.go b/test/e2e/framework/resourceinterpretercustomization.go index 66c707a1a..b5614d735 100644 --- a/test/e2e/framework/resourceinterpretercustomization.go +++ b/test/e2e/framework/resourceinterpretercustomization.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/resourcequota.go b/test/e2e/framework/resourcequota.go index f27c74f92..616961bae 100644 --- a/test/e2e/framework/resourcequota.go +++ b/test/e2e/framework/resourcequota.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/resourceregistry.go b/test/e2e/framework/resourceregistry.go index 0ecb32fbc..3868be9f9 100644 --- a/test/e2e/framework/resourceregistry.go +++ b/test/e2e/framework/resourceregistry.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/secret.go b/test/e2e/framework/secret.go index 861a1ae8f..01db2aef1 100644 --- a/test/e2e/framework/secret.go +++ b/test/e2e/framework/secret.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/service.go b/test/e2e/framework/service.go index 8af4d28a2..33b8fc431 100644 --- a/test/e2e/framework/service.go +++ b/test/e2e/framework/service.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/statefulSet.go b/test/e2e/framework/statefulSet.go index 496feed7a..4de957f2a 100644 --- a/test/e2e/framework/statefulSet.go +++ b/test/e2e/framework/statefulSet.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/framework/workload.go b/test/e2e/framework/workload.go index 914a0458f..bd38aed51 100644 --- a/test/e2e/framework/workload.go +++ b/test/e2e/framework/workload.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 framework import ( diff --git a/test/e2e/hpareplicassyncer_test.go b/test/e2e/hpareplicassyncer_test.go index 44a51803d..5eca0718d 100644 --- a/test/e2e/hpareplicassyncer_test.go +++ b/test/e2e/hpareplicassyncer_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/karmadactl_test.go b/test/e2e/karmadactl_test.go index e0f2b10c7..6a74bc367 100644 --- a/test/e2e/karmadactl_test.go +++ b/test/e2e/karmadactl_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/mcs_test.go b/test/e2e/mcs_test.go index 218ed2b12..832e3ee3f 100644 --- a/test/e2e/mcs_test.go +++ b/test/e2e/mcs_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/namespace_test.go b/test/e2e/namespace_test.go index 3df2f3e8c..3f6203719 100644 --- a/test/e2e/namespace_test.go +++ b/test/e2e/namespace_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/overridepolicy_test.go b/test/e2e/overridepolicy_test.go index b8e1f90f9..d1813f781 100644 --- a/test/e2e/overridepolicy_test.go +++ b/test/e2e/overridepolicy_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/porting_workloads_test.go b/test/e2e/porting_workloads_test.go index ba421aeed..27b2de209 100644 --- a/test/e2e/porting_workloads_test.go +++ b/test/e2e/porting_workloads_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/propagationpolicy_test.go b/test/e2e/propagationpolicy_test.go index c8b09501f..942c221cf 100644 --- a/test/e2e/propagationpolicy_test.go +++ b/test/e2e/propagationpolicy_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/rescheduling_test.go b/test/e2e/rescheduling_test.go index 1ab93dd87..5097e1c21 100644 --- a/test/e2e/rescheduling_test.go +++ b/test/e2e/rescheduling_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/resource_deletion_protection_test.go b/test/e2e/resource_deletion_protection_test.go index 46030949b..7b5ecb1e3 100644 --- a/test/e2e/resource_deletion_protection_test.go +++ b/test/e2e/resource_deletion_protection_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/resource_test.go b/test/e2e/resource_test.go index f844cbcee..21c960d19 100644 --- a/test/e2e/resource_test.go +++ b/test/e2e/resource_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/resourceinterpreter_test.go b/test/e2e/resourceinterpreter_test.go index 81f46671e..5585e971e 100644 --- a/test/e2e/resourceinterpreter_test.go +++ b/test/e2e/resourceinterpreter_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/scheduling_test.go b/test/e2e/scheduling_test.go index 91ddbecbc..99a61e91a 100644 --- a/test/e2e/scheduling_test.go +++ b/test/e2e/scheduling_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/seamless_migration_test.go b/test/e2e/seamless_migration_test.go index 4d172c7ab..474df8de2 100644 --- a/test/e2e/seamless_migration_test.go +++ b/test/e2e/seamless_migration_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go index 49b9ff039..b044e171c 100644 --- a/test/e2e/search_test.go +++ b/test/e2e/search_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/spread_by_region_test.go b/test/e2e/spread_by_region_test.go index 48b9093ee..5db269a0c 100644 --- a/test/e2e/spread_by_region_test.go +++ b/test/e2e/spread_by_region_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/suite.go b/test/e2e/suite.go index 3ab301f86..ef23cbe62 100644 --- a/test/e2e/suite.go +++ b/test/e2e/suite.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 e2e const ( diff --git a/test/e2e/suite_test.go b/test/e2e/suite_test.go index a2a10ac12..a554b51b3 100644 --- a/test/e2e/suite_test.go +++ b/test/e2e/suite_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 e2e import ( diff --git a/test/e2e/tainttoleration_test.go b/test/e2e/tainttoleration_test.go index 03ee24def..e8ca940a3 100644 --- a/test/e2e/tainttoleration_test.go +++ b/test/e2e/tainttoleration_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 e2e import ( diff --git a/test/helper/config.go b/test/helper/config.go index 9be65ae3d..c038a3776 100644 --- a/test/helper/config.go +++ b/test/helper/config.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/test/helper/manager.go b/test/helper/manager.go index 9cd3e331f..d82f4ccc2 100644 --- a/test/helper/manager.go +++ b/test/helper/manager.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Karmada Authors. + +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 helper import ( diff --git a/test/helper/namespace.go b/test/helper/namespace.go index 72dcb1aa6..c566aa9b2 100644 --- a/test/helper/namespace.go +++ b/test/helper/namespace.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 helper import ( diff --git a/test/helper/policy.go b/test/helper/policy.go index f97beefe5..3d0a4afaf 100644 --- a/test/helper/policy.go +++ b/test/helper/policy.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/test/helper/request.go b/test/helper/request.go index 2bd0008e9..06cc97346 100644 --- a/test/helper/request.go +++ b/test/helper/request.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 The Karmada Authors. + +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 helper import ( diff --git a/test/helper/resource.go b/test/helper/resource.go index 645163dc7..d5a8283c9 100644 --- a/test/helper/resource.go +++ b/test/helper/resource.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/test/helper/scheduler.go b/test/helper/scheduler.go index 154b3441e..1deae3a58 100644 --- a/test/helper/scheduler.go +++ b/test/helper/scheduler.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Karmada Authors. + +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 helper import ( diff --git a/test/integration/suite_test.go b/test/integration/suite_test.go index 1f5fbc3fa..ad4aff67e 100644 --- a/test/integration/suite_test.go +++ b/test/integration/suite_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 integration import ( diff --git a/test/integration/work_test.go b/test/integration/work_test.go index 625afcf31..8594b5868 100644 --- a/test/integration/work_test.go +++ b/test/integration/work_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Karmada Authors. + +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 integration import "github.com/onsi/ginkgo/v2"