From f935d3cfdced05ba32b8e9535ab513257f52b9b2 Mon Sep 17 00:00:00 2001 From: Andreas Kupries Date: Thu, 19 Jan 2023 11:50:05 +0100 Subject: [PATCH] chore: add copyright headers --- .github/ISSUE_TEMPLATE/release_checklist.yaml | 11 +++++++++++ .github/dependabot.yaml | 11 +++++++++++ .github/release-drafter.yml | 11 +++++++++++ .github/workflows/add_issue_to_project.yml | 11 +++++++++++ .github/workflows/aks-letsencrypt.yml | 11 +++++++++++ .github/workflows/aks.yml | 11 +++++++++++ .github/workflows/cleanup-images.yml | 11 +++++++++++ .github/workflows/clientsync.yml | 11 +++++++++++ .github/workflows/codeql-analysis.yml | 11 +++++++++++ .github/workflows/container-image-sample-app.yml | 11 +++++++++++ .github/workflows/container-images.yml | 11 +++++++++++ .github/workflows/delete_clusters.yml | 11 +++++++++++ .github/workflows/eks-test.yml | 11 +++++++++++ .github/workflows/eks.yml | 11 +++++++++++ .github/workflows/gke-letsencrypt.yml | 11 +++++++++++ .github/workflows/gke-test.yml | 11 +++++++++++ .github/workflows/gke-upgrade.yml | 11 +++++++++++ .github/workflows/gke.yml | 11 +++++++++++ .github/workflows/golangci-lint.yml | 11 +++++++++++ .github/workflows/main.yml | 11 +++++++++++ .github/workflows/release-drafter.yml | 11 +++++++++++ .github/workflows/release-publish.yml | 11 +++++++++++ .github/workflows/release-qa.yml | 11 +++++++++++ .github/workflows/release-sandbox.yml | 11 +++++++++++ .github/workflows/release.yml | 11 +++++++++++ .github/workflows/rke-upgrade.yml | 11 +++++++++++ .github/workflows/rke.yml | 11 +++++++++++ .github/workflows/unpacker-image.yml | 11 +++++++++++ .github/workflows/upgrade.yml | 11 +++++++++++ .golangci.yml | 11 +++++++++++ .goreleaser-qa.yml | 11 +++++++++++ .goreleaser.yml | 11 +++++++++++ Makefile | 11 +++++++++++ acceptance/api/v1/appchart_index_test.go | 11 +++++++++++ acceptance/api/v1/appchart_match_test.go | 11 +++++++++++ acceptance/api/v1/appchart_show_test.go | 11 +++++++++++ acceptance/api/v1/application_batch_delete_test.go | 11 +++++++++++ acceptance/api/v1/application_create_test.go | 11 +++++++++++ acceptance/api/v1/application_delete_test.go | 11 +++++++++++ acceptance/api/v1/application_deploy_test.go | 11 +++++++++++ acceptance/api/v1/application_exec_test.go | 11 +++++++++++ acceptance/api/v1/application_export_test.go | 11 +++++++++++ acceptance/api/v1/application_importgit_test.go | 11 +++++++++++ acceptance/api/v1/application_index_all_test.go | 11 +++++++++++ acceptance/api/v1/application_index_test.go | 11 +++++++++++ acceptance/api/v1/application_logs_test.go | 11 +++++++++++ acceptance/api/v1/application_match_test.go | 11 +++++++++++ acceptance/api/v1/application_portforward_test.go | 11 +++++++++++ acceptance/api/v1/application_restart_test.go | 11 +++++++++++ acceptance/api/v1/application_show_test.go | 11 +++++++++++ acceptance/api/v1/application_stage_test.go | 11 +++++++++++ acceptance/api/v1/application_update_test.go | 11 +++++++++++ acceptance/api/v1/application_upload_test.go | 11 +++++++++++ acceptance/api/v1/application_validate_cv_test.go | 11 +++++++++++ acceptance/api/v1/configuration_match_test.go | 11 +++++++++++ acceptance/api/v1/configurations_delete_test.go | 11 +++++++++++ acceptance/api/v1/configurations_mutation_test.go | 11 +++++++++++ acceptance/api/v1/configurations_test.go | 11 +++++++++++ acceptance/api/v1/healthcheck_test.go | 11 +++++++++++ acceptance/api/v1/helpers_test.go | 11 +++++++++++ acceptance/api/v1/info_test.go | 11 +++++++++++ acceptance/api/v1/namespace_auth_test.go | 11 +++++++++++ acceptance/api/v1/namespace_delete_test.go | 11 +++++++++++ acceptance/api/v1/namespaces_test.go | 11 +++++++++++ acceptance/api/v1/service_bind_test.go | 11 +++++++++++ acceptance/api/v1/service_create_test.go | 11 +++++++++++ acceptance/api/v1/service_delete_test.go | 11 +++++++++++ acceptance/api/v1/service_list_test.go | 11 +++++++++++ acceptance/api/v1/service_match_test.go | 11 +++++++++++ acceptance/api/v1/service_show_test.go | 11 +++++++++++ acceptance/api/v1/service_unbind_test.go | 11 +++++++++++ acceptance/api/v1/services_catalog_match_test.go | 11 +++++++++++ acceptance/api/v1/services_catalog_test.go | 11 +++++++++++ acceptance/api/v1/suite_test.go | 11 +++++++++++ acceptance/appcharts_test.go | 11 +++++++++++ acceptance/apps/rails_test.go | 11 +++++++++++ acceptance/apps/suite_test.go | 11 +++++++++++ acceptance/apps/wordpress_test.go | 11 +++++++++++ acceptance/apps_env_test.go | 11 +++++++++++ acceptance/apps_test.go | 11 +++++++++++ acceptance/bindings_test.go | 11 +++++++++++ acceptance/configurations_test.go | 11 +++++++++++ acceptance/helpers/auth/auth.go | 11 +++++++++++ acceptance/helpers/catalog/misc.go | 11 +++++++++++ acceptance/helpers/catalog/names.go | 11 +++++++++++ acceptance/helpers/epinio/epinio.go | 11 +++++++++++ acceptance/helpers/machine/appcharts.go | 11 +++++++++++ acceptance/helpers/machine/apps.go | 11 +++++++++++ acceptance/helpers/machine/configurations.go | 11 +++++++++++ acceptance/helpers/machine/curl.go | 11 +++++++++++ acceptance/helpers/machine/machine.go | 11 +++++++++++ acceptance/helpers/machine/services.go | 11 +++++++++++ acceptance/helpers/machine/users.go | 11 +++++++++++ acceptance/helpers/matchers/matchers.go | 11 +++++++++++ acceptance/helpers/proc/proc.go | 11 +++++++++++ acceptance/helpers/route53/change.go | 11 +++++++++++ acceptance/install/scenario1_test.go | 11 +++++++++++ acceptance/install/scenario2_test.go | 11 +++++++++++ acceptance/install/scenario3_test.go | 11 +++++++++++ acceptance/install/scenario4_test.go | 11 +++++++++++ acceptance/install/scenario5_test.go | 11 +++++++++++ acceptance/install/scenario6_test.go | 11 +++++++++++ acceptance/install/suite_test.go | 11 +++++++++++ acceptance/login_test.go | 11 +++++++++++ acceptance/namespaces_test.go | 11 +++++++++++ acceptance/services_test.go | 11 +++++++++++ acceptance/settings_test.go | 11 +++++++++++ acceptance/suite_test.go | 11 +++++++++++ acceptance/testenv/configuration.go | 11 +++++++++++ acceptance/testenv/env.go | 11 +++++++++++ acceptance/testenv/epinio.go | 11 +++++++++++ acceptance/testenv/patch.go | 11 +++++++++++ acceptance/testenv/registry.go | 11 +++++++++++ acceptance/testenv/root.go | 11 +++++++++++ acceptance/testenv/sleep.go | 11 +++++++++++ acceptance/testenv/tmpdir.go | 11 +++++++++++ acceptance/upgrade/suite_test.go | 11 +++++++++++ acceptance/upgrade/upgrade_test.go | 11 +++++++++++ acceptance/users_test.go | 11 +++++++++++ assets/golang-sample-app/main.go | 11 +++++++++++ assets/tests/cluster-issuer-private-ca.yml | 11 +++++++++++ assets/tests/config.yaml | 11 +++++++++++ assets/tests/letsencrypt-staging.yaml | 11 +++++++++++ assets/tests/my-postgresql-custom-svc.yaml | 11 +++++++++++ assets/tests/resources.yaml | 11 +++++++++++ codecov.yml | 11 +++++++++++ .../architecture/container-registry.pikchr | 11 +++++++++++ docs/explanations/architecture/container-registry.sh | 10 ++++++++++ docs/login.sh | 10 ++++++++++ go.mod | 11 +++++++++++ helpers/authtoken/suite_test.go | 11 +++++++++++ helpers/authtoken/token.go | 11 +++++++++++ helpers/authtoken/token_test.go | 11 +++++++++++ helpers/bytes/bytes.go | 11 +++++++++++ helpers/cahash/cahash.go | 11 +++++++++++ helpers/error.go | 11 +++++++++++ helpers/exec.go | 11 +++++++++++ helpers/helpers_suite_test.go | 11 +++++++++++ helpers/kubernetes/cluster.go | 11 +++++++++++ helpers/kubernetes/config/argtoenv.go | 11 +++++++++++ helpers/kubernetes/config/checker.go | 11 +++++++++++ helpers/kubernetes/config/config.go | 11 +++++++++++ helpers/kubernetes/config/getter.go | 11 +++++++++++ helpers/kubernetes/platform/generic/generic.go | 11 +++++++++++ helpers/kubernetes/platform/ibm/ibm.go | 11 +++++++++++ helpers/kubernetes/platform/k3s/k3s.go | 11 +++++++++++ helpers/kubernetes/platform/kind/kind.go | 11 +++++++++++ helpers/kubernetes/platform/minikube/minikube.go | 11 +++++++++++ helpers/kubernetes/tailer/container_state.go | 11 +++++++++++ helpers/kubernetes/tailer/setup.go | 11 +++++++++++ helpers/kubernetes/tailer/tailer.go | 11 +++++++++++ helpers/kubernetes/tailer/watcher.go | 11 +++++++++++ helpers/randstr/randstr.go | 11 +++++++++++ helpers/routes/routes.go | 11 +++++++++++ helpers/string.go | 11 +++++++++++ helpers/tar.go | 11 +++++++++++ helpers/termui/dot_progress.go | 11 +++++++++++ helpers/termui/spin_progress.go | 11 +++++++++++ helpers/termui/tables.go | 11 +++++++++++ helpers/termui/ui.go | 11 +++++++++++ helpers/tools/tools.go | 11 +++++++++++ helpers/tracelog/logger.go | 11 +++++++++++ images/Dockerfile | 11 +++++++++++ images/linkerd-Dockerfile | 11 +++++++++++ images/unpacker-Dockerfile | 11 +++++++++++ internal/api/v1/appchart/controller.go | 11 +++++++++++ internal/api/v1/appchart/index.go | 11 +++++++++++ internal/api/v1/appchart/match.go | 11 +++++++++++ internal/api/v1/appchart/show.go | 11 +++++++++++ internal/api/v1/application/application_suite_test.go | 11 +++++++++++ internal/api/v1/application/controller.go | 11 +++++++++++ internal/api/v1/application/create.go | 11 +++++++++++ internal/api/v1/application/delete.go | 11 +++++++++++ internal/api/v1/application/deploy.go | 11 +++++++++++ internal/api/v1/application/exec.go | 11 +++++++++++ internal/api/v1/application/fullindex.go | 11 +++++++++++ internal/api/v1/application/importgit.go | 11 +++++++++++ internal/api/v1/application/index.go | 11 +++++++++++ internal/api/v1/application/logs.go | 11 +++++++++++ internal/api/v1/application/logs_test.go | 11 +++++++++++ internal/api/v1/application/match.go | 11 +++++++++++ internal/api/v1/application/part.go | 11 +++++++++++ internal/api/v1/application/portforward.go | 11 +++++++++++ internal/api/v1/application/restart.go | 11 +++++++++++ internal/api/v1/application/running.go | 11 +++++++++++ internal/api/v1/application/show.go | 11 +++++++++++ internal/api/v1/application/stage.go | 11 +++++++++++ internal/api/v1/application/update.go | 11 +++++++++++ internal/api/v1/application/upload.go | 11 +++++++++++ internal/api/v1/application/validatecv.go | 11 +++++++++++ internal/api/v1/auth.go | 11 +++++++++++ internal/api/v1/auth_test.go | 11 +++++++++++ internal/api/v1/authtoken.go | 11 +++++++++++ internal/api/v1/configuration/configurationapps.go | 11 +++++++++++ internal/api/v1/configuration/controller.go | 11 +++++++++++ internal/api/v1/configuration/create.go | 11 +++++++++++ internal/api/v1/configuration/delete.go | 11 +++++++++++ internal/api/v1/configuration/fullindex.go | 11 +++++++++++ internal/api/v1/configuration/index.go | 11 +++++++++++ internal/api/v1/configuration/match.go | 11 +++++++++++ internal/api/v1/configuration/replace.go | 11 +++++++++++ internal/api/v1/configuration/show.go | 11 +++++++++++ internal/api/v1/configuration/update.go | 11 +++++++++++ internal/api/v1/configurationbinding/controller.go | 11 +++++++++++ internal/api/v1/configurationbinding/create.go | 11 +++++++++++ internal/api/v1/configurationbinding/delete.go | 11 +++++++++++ internal/api/v1/configurationbinding/deletebinding.go | 11 +++++++++++ internal/api/v1/deploy/deploy.go | 11 +++++++++++ internal/api/v1/docs/appchart.go | 11 +++++++++++ internal/api/v1/docs/application.go | 11 +++++++++++ internal/api/v1/docs/configuration.go | 11 +++++++++++ internal/api/v1/docs/configurationbinding.go | 11 +++++++++++ internal/api/v1/docs/docs.go | 11 +++++++++++ internal/api/v1/docs/env.go | 11 +++++++++++ internal/api/v1/docs/info.go | 11 +++++++++++ internal/api/v1/docs/namespace.go | 11 +++++++++++ internal/api/v1/docs/service.go | 11 +++++++++++ internal/api/v1/env/controller.go | 11 +++++++++++ internal/api/v1/env/index.go | 11 +++++++++++ internal/api/v1/env/match.go | 11 +++++++++++ internal/api/v1/env/set.go | 11 +++++++++++ internal/api/v1/env/show.go | 11 +++++++++++ internal/api/v1/env/unset.go | 11 +++++++++++ internal/api/v1/info.go | 11 +++++++++++ internal/api/v1/namespace.go | 11 +++++++++++ internal/api/v1/namespace/controller.go | 11 +++++++++++ internal/api/v1/namespace/create.go | 11 +++++++++++ internal/api/v1/namespace/delete.go | 11 +++++++++++ internal/api/v1/namespace/index.go | 11 +++++++++++ internal/api/v1/namespace/match.go | 11 +++++++++++ internal/api/v1/namespace/show.go | 11 +++++++++++ internal/api/v1/response/response.go | 11 +++++++++++ internal/api/v1/router.go | 11 +++++++++++ internal/api/v1/service/bind.go | 11 +++++++++++ internal/api/v1/service/catalog.go | 11 +++++++++++ internal/api/v1/service/catalogmatch.go | 11 +++++++++++ internal/api/v1/service/controller.go | 11 +++++++++++ internal/api/v1/service/create.go | 11 +++++++++++ internal/api/v1/service/delete.go | 11 +++++++++++ internal/api/v1/service/fullindex.go | 11 +++++++++++ internal/api/v1/service/list.go | 11 +++++++++++ internal/api/v1/service/match.go | 11 +++++++++++ internal/api/v1/service/serviceapps.go | 11 +++++++++++ internal/api/v1/service/show.go | 11 +++++++++++ internal/api/v1/service/unbind.go | 11 +++++++++++ internal/api/v1/service/validate.go | 11 +++++++++++ internal/api/v1/suite_test.go | 11 +++++++++++ internal/appchart/appchart.go | 11 +++++++++++ internal/application/application.go | 11 +++++++++++ internal/application/configurations.go | 11 +++++++++++ internal/application/env.go | 11 +++++++++++ internal/application/ingresses.go | 11 +++++++++++ internal/application/origin.go | 11 +++++++++++ internal/application/origin_test.go | 11 +++++++++++ internal/application/scale.go | 11 +++++++++++ internal/application/secret.go | 11 +++++++++++ internal/application/services.go | 11 +++++++++++ internal/application/suite_test.go | 11 +++++++++++ internal/application/workload.go | 11 +++++++++++ internal/auth/auth.go | 11 +++++++++++ internal/auth/auth_suite_test.go | 11 +++++++++++ internal/auth/auth_test.go | 11 +++++++++++ internal/auth/authfakes/fake_secret_interface.go | 11 +++++++++++ internal/auth/certs.go | 11 +++++++++++ internal/auth/user.go | 11 +++++++++++ internal/cli/admincmd/settings.go | 11 +++++++++++ internal/cli/apps.go | 11 +++++++++++ internal/cli/chart.go | 11 +++++++++++ internal/cli/clientsync.go | 11 +++++++++++ internal/cli/cmd_suite_test.go | 11 +++++++++++ internal/cli/commons.go | 11 +++++++++++ internal/cli/completion.go | 11 +++++++++++ internal/cli/configuration.go | 11 +++++++++++ internal/cli/debug.go | 11 +++++++++++ internal/cli/delete.go | 11 +++++++++++ internal/cli/docs/generate-cli-docs.go | 11 +++++++++++ internal/cli/env.go | 11 +++++++++++ internal/cli/info.go | 11 +++++++++++ internal/cli/login.go | 11 +++++++++++ internal/cli/logprinter/logprinter.go | 11 +++++++++++ internal/cli/logprinter/templates.go | 11 +++++++++++ internal/cli/namespaces.go | 11 +++++++++++ internal/cli/options.go | 11 +++++++++++ internal/cli/push.go | 11 +++++++++++ internal/cli/root.go | 11 +++++++++++ internal/cli/server.go | 11 +++++++++++ internal/cli/server/requestctx/context.go | 11 +++++++++++ internal/cli/server/server.go | 11 +++++++++++ internal/cli/services.go | 11 +++++++++++ internal/cli/settings.go | 11 +++++++++++ internal/cli/settings/settings.go | 11 +++++++++++ internal/cli/target.go | 11 +++++++++++ internal/cli/usercmd/app.go | 11 +++++++++++ internal/cli/usercmd/app_test.go | 11 +++++++++++ internal/cli/usercmd/chart.go | 11 +++++++++++ internal/cli/usercmd/client.go | 11 +++++++++++ internal/cli/usercmd/clientsync.go | 11 +++++++++++ internal/cli/usercmd/configuration.go | 11 +++++++++++ internal/cli/usercmd/env.go | 11 +++++++++++ internal/cli/usercmd/info.go | 11 +++++++++++ internal/cli/usercmd/login.go | 11 +++++++++++ internal/cli/usercmd/login_oidc.go | 11 +++++++++++ internal/cli/usercmd/namespace.go | 11 +++++++++++ internal/cli/usercmd/push.go | 11 +++++++++++ internal/cli/usercmd/service.go | 11 +++++++++++ internal/cli/usercmd/suite_test.go | 11 +++++++++++ internal/cli/usercmd/usercmdfakes/fake_apiclient.go | 11 +++++++++++ internal/configurations/configurations.go | 11 +++++++++++ internal/configurations/configurations_suite_test.go | 11 +++++++++++ internal/configurations/configurations_test.go | 11 +++++++++++ internal/dex/code_verifier.go | 11 +++++++++++ internal/dex/config.go | 11 +++++++++++ internal/dex/dex.go | 11 +++++++++++ internal/domain/domain.go | 11 +++++++++++ internal/domain/domain_suite_test.go | 11 +++++++++++ internal/domain/match.go | 11 +++++++++++ internal/domain/match_test.go | 11 +++++++++++ internal/duration/duration.go | 11 +++++++++++ internal/errors/errors.go | 11 +++++++++++ internal/helm/helm.go | 11 +++++++++++ internal/helm/helm_test.go | 11 +++++++++++ internal/helm/suite_test.go | 11 +++++++++++ internal/helmchart/constants.go | 11 +++++++++++ internal/manifest/manifest.go | 11 +++++++++++ internal/manifest/manifest_test.go | 11 +++++++++++ internal/manifest/suite_test.go | 11 +++++++++++ internal/names/names.go | 11 +++++++++++ internal/names/names_test.go | 11 +++++++++++ internal/names/suite_test.go | 11 +++++++++++ internal/namespaces/namespaces.go | 11 +++++++++++ internal/registry/registry.go | 11 +++++++++++ internal/registry/registry_test.go | 11 +++++++++++ internal/registry/suite_test.go | 11 +++++++++++ internal/routes/routes.go | 11 +++++++++++ internal/routes/routes_test.go | 11 +++++++++++ internal/routes/suite_test.go | 11 +++++++++++ internal/s3manager/s3manager.go | 11 +++++++++++ internal/s3manager/s3manager_test.go | 11 +++++++++++ internal/s3manager/suite_test.go | 11 +++++++++++ internal/selfupdater/posixupdater.go | 11 +++++++++++ internal/selfupdater/selfupdater.go | 11 +++++++++++ internal/selfupdater/windowsupdater.go | 11 +++++++++++ internal/services/catalog.go | 11 +++++++++++ internal/services/client.go | 11 +++++++++++ internal/services/instances.go | 11 +++++++++++ internal/services/instances_test.go | 11 +++++++++++ internal/services/suite_test.go | 11 +++++++++++ internal/version/version.go | 11 +++++++++++ main.go | 11 +++++++++++ main_test.go | 11 +++++++++++ pkg/api/core/v1/client/app_restart_test.go | 11 +++++++++++ pkg/api/core/v1/client/apps.go | 11 +++++++++++ pkg/api/core/v1/client/apps_test.go | 11 +++++++++++ pkg/api/core/v1/client/chart.go | 11 +++++++++++ pkg/api/core/v1/client/client.go | 11 +++++++++++ pkg/api/core/v1/client/configurations.go | 11 +++++++++++ pkg/api/core/v1/client/envs.go | 11 +++++++++++ pkg/api/core/v1/client/http.go | 11 +++++++++++ pkg/api/core/v1/client/info.go | 11 +++++++++++ pkg/api/core/v1/client/namespaces.go | 11 +++++++++++ pkg/api/core/v1/client/services.go | 11 +++++++++++ pkg/api/core/v1/client/suite_test.go | 11 +++++++++++ pkg/api/core/v1/errors/errors.go | 11 +++++++++++ pkg/api/core/v1/models/app.go | 11 +++++++++++ pkg/api/core/v1/models/env.go | 11 +++++++++++ pkg/api/core/v1/models/models.go | 11 +++++++++++ pkg/api/core/v1/models/namespace.go | 11 +++++++++++ pkg/api/core/v1/models/settings.go | 11 +++++++++++ pkg/api/core/v1/models/sort.go | 11 +++++++++++ scripts/acceptance-cluster-setup-kind.sh | 10 ++++++++++ scripts/acceptance-cluster-setup.sh | 10 ++++++++++ scripts/build-images.sh | 10 ++++++++++ scripts/cli-docs-generate.sh | 10 ++++++++++ scripts/collect-coverage.sh | 10 ++++++++++ scripts/get-free-ip.sh | 10 ++++++++++ scripts/get-latest-epinio-win.sh | 10 ++++++++++ scripts/get-latest-epinio.sh | 10 ++++++++++ scripts/helpers.sh | 10 ++++++++++ scripts/install-epinio-ui.sh | 10 ++++++++++ scripts/kdump.sh | 11 ++++++++++- scripts/minikube-delete.sh | 11 +++++++++++ scripts/minikube-start.sh | 11 +++++++++++ scripts/patch-epinio-deployment.sh | 10 ++++++++++ scripts/prepare-environment-k3d.sh | 10 ++++++++++ scripts/remove-github-action-runner.sh | 10 ++++++++++ scripts/remove-helm-repos.sh | 10 ++++++++++ scripts/setup-github-action-runner.sh | 10 ++++++++++ scripts/swagger-serve.sh | 10 ++++++++++ scripts/tools-install.sh | 10 ++++++++++ scripts/tools/helm.sh | 11 +++++++++++ scripts/tools/jq.sh | 11 +++++++++++ scripts/tools/k3d.sh | 11 +++++++++++ scripts/tools/shellcheck.sh | 11 +++++++++++ 393 files changed, 4303 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/release_checklist.yaml b/.github/ISSUE_TEMPLATE/release_checklist.yaml index b92666c6e5..e265ff461a 100644 --- a/.github/ISSUE_TEMPLATE/release_checklist.yaml +++ b/.github/ISSUE_TEMPLATE/release_checklist.yaml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: Release Checklist description: Checklist for a new Epinio release title: 'Release vX.Y.Z' diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index e6cd6de7a8..67633c286a 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + version: 2 updates: - package-ecosystem: "gomod" diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 99d639120f..0af0f8238e 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + categories: - title: '🚀 Features' labels: diff --git a/.github/workflows/add_issue_to_project.yml b/.github/workflows/add_issue_to_project.yml index e1d13ded77..925e3b556a 100644 --- a/.github/workflows/add_issue_to_project.yml +++ b/.github/workflows/add_issue_to_project.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: Add issue to project board # This action could be removed when editing workflow project feature will be enabled. # Still notify with "Coming soon" flag. diff --git a/.github/workflows/aks-letsencrypt.yml b/.github/workflows/aks-letsencrypt.yml index 4290fc83f0..46b313552c 100644 --- a/.github/workflows/aks-letsencrypt.yml +++ b/.github/workflows/aks-letsencrypt.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: AKS-LETSENCRYPT-CI diff --git a/.github/workflows/aks.yml b/.github/workflows/aks.yml index aabd8da7d0..4ec5450778 100644 --- a/.github/workflows/aks.yml +++ b/.github/workflows/aks.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: AKS-CI diff --git a/.github/workflows/cleanup-images.yml b/.github/workflows/cleanup-images.yml index eb0e416098..6848568035 100644 --- a/.github/workflows/cleanup-images.yml +++ b/.github/workflows/cleanup-images.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: Delete old container images on: diff --git a/.github/workflows/clientsync.yml b/.github/workflows/clientsync.yml index 510fc72efb..0e08ae054a 100644 --- a/.github/workflows/clientsync.yml +++ b/.github/workflows/clientsync.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Test the `epinio client-sync` command name: client-sync test diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e74e38c842..e3c2f0d3cd 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: "CodeQL" env: diff --git a/.github/workflows/container-image-sample-app.yml b/.github/workflows/container-image-sample-app.yml index 1a56136da8..51176e8c12 100644 --- a/.github/workflows/container-image-sample-app.yml +++ b/.github/workflows/container-image-sample-app.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: sample-app-container-image on: diff --git a/.github/workflows/container-images.yml b/.github/workflows/container-images.yml index d773a73ea4..4c5f6d6815 100644 --- a/.github/workflows/container-images.yml +++ b/.github/workflows/container-images.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: Build-images on: diff --git a/.github/workflows/delete_clusters.yml b/.github/workflows/delete_clusters.yml index c1630d5e0d..d0fb951721 100644 --- a/.github/workflows/delete_clusters.yml +++ b/.github/workflows/delete_clusters.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: DELETE-CI-ACCEPTANCE-TEST-CLUSTER diff --git a/.github/workflows/eks-test.yml b/.github/workflows/eks-test.yml index 6397a1a904..56fcd35117 100644 --- a/.github/workflows/eks-test.yml +++ b/.github/workflows/eks-test.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: TEST-EKS-CI diff --git a/.github/workflows/eks.yml b/.github/workflows/eks.yml index 2537464aef..8d0aa73ede 100644 --- a/.github/workflows/eks.yml +++ b/.github/workflows/eks.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: EKS-CI diff --git a/.github/workflows/gke-letsencrypt.yml b/.github/workflows/gke-letsencrypt.yml index de8a514896..7f0aa0a149 100644 --- a/.github/workflows/gke-letsencrypt.yml +++ b/.github/workflows/gke-letsencrypt.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: GKE-LETSENCRYPT-CI diff --git a/.github/workflows/gke-test.yml b/.github/workflows/gke-test.yml index b46e1e8bc2..341e57e363 100644 --- a/.github/workflows/gke-test.yml +++ b/.github/workflows/gke-test.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: TEST-GKE-CI diff --git a/.github/workflows/gke-upgrade.yml b/.github/workflows/gke-upgrade.yml index a2095faef4..5929f30cbc 100644 --- a/.github/workflows/gke-upgrade.yml +++ b/.github/workflows/gke-upgrade.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: GKE-CI-UPGRADE diff --git a/.github/workflows/gke.yml b/.github/workflows/gke.yml index 6e4f7189dc..17f9c58f13 100644 --- a/.github/workflows/gke.yml +++ b/.github/workflows/gke.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: GKE-CI diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index d700b9bc12..3c044c939d 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: golangci-lint env: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1a8ebd0f67..cee27775a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: CI on: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index be1c7c9163..850c0ea200 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: Release Drafter on: diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index c120b6ae0a..a07e0c8382 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 action will be triggered when the 'Product Release' is published. # It notifies the external repositories about the new Epinio version name: Release Published diff --git a/.github/workflows/release-qa.yml b/.github/workflows/release-qa.yml index 7adc6bb9c3..8028154ab0 100644 --- a/.github/workflows/release-qa.yml +++ b/.github/workflows/release-qa.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: Build draft binaries - QA on: diff --git a/.github/workflows/release-sandbox.yml b/.github/workflows/release-sandbox.yml index 9d17021fc6..9e8a30880e 100644 --- a/.github/workflows/release-sandbox.yml +++ b/.github/workflows/release-sandbox.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: Test Release on: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d75b91bea..c4d72f4ebb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: Release-pipeline on: diff --git a/.github/workflows/rke-upgrade.yml b/.github/workflows/rke-upgrade.yml index e6e94549cd..c36ab6ecff 100644 --- a/.github/workflows/rke-upgrade.yml +++ b/.github/workflows/rke-upgrade.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: RKE-CI-UPGRADE on: pull_request: diff --git a/.github/workflows/rke.yml b/.github/workflows/rke.yml index 7198f93655..201fca36b7 100644 --- a/.github/workflows/rke.yml +++ b/.github/workflows/rke.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: RKE-CI diff --git a/.github/workflows/unpacker-image.yml b/.github/workflows/unpacker-image.yml index 849f01d626..a4ea267e4d 100644 --- a/.github/workflows/unpacker-image.yml +++ b/.github/workflows/unpacker-image.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: build-publish-unpacker-image on: workflow_dispatch: diff --git a/.github/workflows/upgrade.yml b/.github/workflows/upgrade.yml index 74b38b91b9..fd13b592fc 100644 --- a/.github/workflows/upgrade.yml +++ b/.github/workflows/upgrade.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Upgrade epinio from latest released version to the main branch version # using the latest helm chart submodule name: Upgrade test diff --git a/.golangci.yml b/.golangci.yml index 0650427f19..b20b2bed9c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + run: go: "1.18" deadline: 20s diff --git a/.goreleaser-qa.yml b/.goreleaser-qa.yml index 1a374b4000..6b6cdf9098 100644 --- a/.goreleaser-qa.yml +++ b/.goreleaser-qa.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 file builds and pushes draft binaries to make smoke tests # like upgrade diff --git a/.goreleaser.yml b/.goreleaser.yml index 3b5a1caf1c..dcaab51e9b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + --- project_name: epinio diff --git a/Makefile b/Makefile index e0645bc78b..f6394b7ac0 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + ######################################################################## ## Development diff --git a/acceptance/api/v1/appchart_index_test.go b/acceptance/api/v1/appchart_index_test.go index 9aa1873d98..0ae46da3a4 100644 --- a/acceptance/api/v1/appchart_index_test.go +++ b/acceptance/api/v1/appchart_index_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/appchart_match_test.go b/acceptance/api/v1/appchart_match_test.go index 42fe61069f..c2f3873bcf 100644 --- a/acceptance/api/v1/appchart_match_test.go +++ b/acceptance/api/v1/appchart_match_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/appchart_show_test.go b/acceptance/api/v1/appchart_show_test.go index e279d4e458..e7bea274a5 100644 --- a/acceptance/api/v1/appchart_show_test.go +++ b/acceptance/api/v1/appchart_show_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_batch_delete_test.go b/acceptance/api/v1/application_batch_delete_test.go index 0ffb84d4a6..6cb47b9283 100644 --- a/acceptance/api/v1/application_batch_delete_test.go +++ b/acceptance/api/v1/application_batch_delete_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_create_test.go b/acceptance/api/v1/application_create_test.go index 7bf079005b..e1fb148dcd 100644 --- a/acceptance/api/v1/application_create_test.go +++ b/acceptance/api/v1/application_create_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_delete_test.go b/acceptance/api/v1/application_delete_test.go index 71090ad32a..0c8854e0d2 100644 --- a/acceptance/api/v1/application_delete_test.go +++ b/acceptance/api/v1/application_delete_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_deploy_test.go b/acceptance/api/v1/application_deploy_test.go index 77edb41f76..b632c6672a 100644 --- a/acceptance/api/v1/application_deploy_test.go +++ b/acceptance/api/v1/application_deploy_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_exec_test.go b/acceptance/api/v1/application_exec_test.go index 695bf75619..c32e244770 100644 --- a/acceptance/api/v1/application_exec_test.go +++ b/acceptance/api/v1/application_exec_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_export_test.go b/acceptance/api/v1/application_export_test.go index 71d701d5f7..aca845e6b8 100644 --- a/acceptance/api/v1/application_export_test.go +++ b/acceptance/api/v1/application_export_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_importgit_test.go b/acceptance/api/v1/application_importgit_test.go index 84d36dd9ba..a357bf5ff6 100644 --- a/acceptance/api/v1/application_importgit_test.go +++ b/acceptance/api/v1/application_importgit_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_index_all_test.go b/acceptance/api/v1/application_index_all_test.go index a1e4ed27ec..0619a34289 100644 --- a/acceptance/api/v1/application_index_all_test.go +++ b/acceptance/api/v1/application_index_all_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_index_test.go b/acceptance/api/v1/application_index_test.go index 367716e310..8b5db2bdd9 100644 --- a/acceptance/api/v1/application_index_test.go +++ b/acceptance/api/v1/application_index_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_logs_test.go b/acceptance/api/v1/application_logs_test.go index d8d2777c01..e42f5700f1 100644 --- a/acceptance/api/v1/application_logs_test.go +++ b/acceptance/api/v1/application_logs_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_match_test.go b/acceptance/api/v1/application_match_test.go index 4b7c88318a..2df0736d2a 100644 --- a/acceptance/api/v1/application_match_test.go +++ b/acceptance/api/v1/application_match_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_portforward_test.go b/acceptance/api/v1/application_portforward_test.go index 8b63a02dbb..cdb26c152f 100644 --- a/acceptance/api/v1/application_portforward_test.go +++ b/acceptance/api/v1/application_portforward_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_restart_test.go b/acceptance/api/v1/application_restart_test.go index 32f7cf1728..17e0a2cda1 100644 --- a/acceptance/api/v1/application_restart_test.go +++ b/acceptance/api/v1/application_restart_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_show_test.go b/acceptance/api/v1/application_show_test.go index 9c2bee6057..a47b668a14 100644 --- a/acceptance/api/v1/application_show_test.go +++ b/acceptance/api/v1/application_show_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_stage_test.go b/acceptance/api/v1/application_stage_test.go index c524c3c6e9..5bd101ef36 100644 --- a/acceptance/api/v1/application_stage_test.go +++ b/acceptance/api/v1/application_stage_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_update_test.go b/acceptance/api/v1/application_update_test.go index 59a6748d99..64a3d1feb5 100644 --- a/acceptance/api/v1/application_update_test.go +++ b/acceptance/api/v1/application_update_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_upload_test.go b/acceptance/api/v1/application_upload_test.go index 15752142a8..92119c1824 100644 --- a/acceptance/api/v1/application_upload_test.go +++ b/acceptance/api/v1/application_upload_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/application_validate_cv_test.go b/acceptance/api/v1/application_validate_cv_test.go index 05393b57da..63a0d1b7ec 100644 --- a/acceptance/api/v1/application_validate_cv_test.go +++ b/acceptance/api/v1/application_validate_cv_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/configuration_match_test.go b/acceptance/api/v1/configuration_match_test.go index ec74d30895..0148d8a077 100644 --- a/acceptance/api/v1/configuration_match_test.go +++ b/acceptance/api/v1/configuration_match_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/configurations_delete_test.go b/acceptance/api/v1/configurations_delete_test.go index a10539670a..04cc454ec4 100644 --- a/acceptance/api/v1/configurations_delete_test.go +++ b/acceptance/api/v1/configurations_delete_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/configurations_mutation_test.go b/acceptance/api/v1/configurations_mutation_test.go index 49d5328e29..97814b6fd6 100644 --- a/acceptance/api/v1/configurations_mutation_test.go +++ b/acceptance/api/v1/configurations_mutation_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/configurations_test.go b/acceptance/api/v1/configurations_test.go index 8862fb73ec..a2a6e0f13a 100644 --- a/acceptance/api/v1/configurations_test.go +++ b/acceptance/api/v1/configurations_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/healthcheck_test.go b/acceptance/api/v1/healthcheck_test.go index ec6572e2fc..ebaecd0531 100644 --- a/acceptance/api/v1/healthcheck_test.go +++ b/acceptance/api/v1/healthcheck_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/helpers_test.go b/acceptance/api/v1/helpers_test.go index 5a76b31301..53eb1e86c0 100644 --- a/acceptance/api/v1/helpers_test.go +++ b/acceptance/api/v1/helpers_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/info_test.go b/acceptance/api/v1/info_test.go index 4db027944f..cd44b6fbd2 100644 --- a/acceptance/api/v1/info_test.go +++ b/acceptance/api/v1/info_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/namespace_auth_test.go b/acceptance/api/v1/namespace_auth_test.go index 3d28c3e272..3a2789bf5b 100644 --- a/acceptance/api/v1/namespace_auth_test.go +++ b/acceptance/api/v1/namespace_auth_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/namespace_delete_test.go b/acceptance/api/v1/namespace_delete_test.go index b096d417b7..d907b3ccd7 100644 --- a/acceptance/api/v1/namespace_delete_test.go +++ b/acceptance/api/v1/namespace_delete_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/namespaces_test.go b/acceptance/api/v1/namespaces_test.go index 07d685c993..c56f5942df 100644 --- a/acceptance/api/v1/namespaces_test.go +++ b/acceptance/api/v1/namespaces_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/service_bind_test.go b/acceptance/api/v1/service_bind_test.go index a42d987795..a138969465 100644 --- a/acceptance/api/v1/service_bind_test.go +++ b/acceptance/api/v1/service_bind_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/service_create_test.go b/acceptance/api/v1/service_create_test.go index 4cc6405f43..18ca228de7 100644 --- a/acceptance/api/v1/service_create_test.go +++ b/acceptance/api/v1/service_create_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/service_delete_test.go b/acceptance/api/v1/service_delete_test.go index 0c21487715..0d991a7318 100644 --- a/acceptance/api/v1/service_delete_test.go +++ b/acceptance/api/v1/service_delete_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/service_list_test.go b/acceptance/api/v1/service_list_test.go index 01160e0d76..52df4dd21f 100644 --- a/acceptance/api/v1/service_list_test.go +++ b/acceptance/api/v1/service_list_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/service_match_test.go b/acceptance/api/v1/service_match_test.go index 4b603598e1..e16dabfd89 100644 --- a/acceptance/api/v1/service_match_test.go +++ b/acceptance/api/v1/service_match_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/service_show_test.go b/acceptance/api/v1/service_show_test.go index cc71529d7f..107d8e054f 100644 --- a/acceptance/api/v1/service_show_test.go +++ b/acceptance/api/v1/service_show_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/service_unbind_test.go b/acceptance/api/v1/service_unbind_test.go index c2b725e4e1..2872d5c79c 100644 --- a/acceptance/api/v1/service_unbind_test.go +++ b/acceptance/api/v1/service_unbind_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/services_catalog_match_test.go b/acceptance/api/v1/services_catalog_match_test.go index 1ea0b64d18..8b739f8e08 100644 --- a/acceptance/api/v1/services_catalog_match_test.go +++ b/acceptance/api/v1/services_catalog_match_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/services_catalog_test.go b/acceptance/api/v1/services_catalog_test.go index ac51ed725e..5ba67509c0 100644 --- a/acceptance/api/v1/services_catalog_test.go +++ b/acceptance/api/v1/services_catalog_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/api/v1/suite_test.go b/acceptance/api/v1/suite_test.go index 7adff4db2f..c6d56f203c 100644 --- a/acceptance/api/v1/suite_test.go +++ b/acceptance/api/v1/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/acceptance/appcharts_test.go b/acceptance/appcharts_test.go index 343cedb846..fd12f3b076 100644 --- a/acceptance/appcharts_test.go +++ b/acceptance/appcharts_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/acceptance/apps/rails_test.go b/acceptance/apps/rails_test.go index b86a43c86a..d4eb681000 100644 --- a/acceptance/apps/rails_test.go +++ b/acceptance/apps/rails_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package apps_test import ( diff --git a/acceptance/apps/suite_test.go b/acceptance/apps/suite_test.go index 8c9dd4d2d7..1006af9de2 100644 --- a/acceptance/apps/suite_test.go +++ b/acceptance/apps/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package apps_test import ( diff --git a/acceptance/apps/wordpress_test.go b/acceptance/apps/wordpress_test.go index 6b86b200fe..480aa7eba6 100644 --- a/acceptance/apps/wordpress_test.go +++ b/acceptance/apps/wordpress_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package apps_test import ( diff --git a/acceptance/apps_env_test.go b/acceptance/apps_env_test.go index a842a59037..dcfeb8ae2f 100644 --- a/acceptance/apps_env_test.go +++ b/acceptance/apps_env_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/acceptance/apps_test.go b/acceptance/apps_test.go index 231315d180..2d91bd20e0 100644 --- a/acceptance/apps_test.go +++ b/acceptance/apps_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/acceptance/bindings_test.go b/acceptance/bindings_test.go index 3fa0e21d3d..20e7d2f1d2 100644 --- a/acceptance/bindings_test.go +++ b/acceptance/bindings_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/acceptance/configurations_test.go b/acceptance/configurations_test.go index 78a2df5637..86836b8800 100644 --- a/acceptance/configurations_test.go +++ b/acceptance/configurations_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/acceptance/helpers/auth/auth.go b/acceptance/helpers/auth/auth.go index 8eee0e8276..a7fa8b1780 100644 --- a/acceptance/helpers/auth/auth.go +++ b/acceptance/helpers/auth/auth.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package auth import ( diff --git a/acceptance/helpers/catalog/misc.go b/acceptance/helpers/catalog/misc.go index b878e24bc3..edd209b1e9 100644 --- a/acceptance/helpers/catalog/misc.go +++ b/acceptance/helpers/catalog/misc.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package catalog contains objects and resources, which are used by multiple tests package catalog diff --git a/acceptance/helpers/catalog/names.go b/acceptance/helpers/catalog/names.go index 5561929636..9d6f81ee3b 100644 --- a/acceptance/helpers/catalog/names.go +++ b/acceptance/helpers/catalog/names.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package catalog contains objects and resources, which are used by multiple tests package catalog diff --git a/acceptance/helpers/epinio/epinio.go b/acceptance/helpers/epinio/epinio.go index 56585b7076..167c2d086c 100644 --- a/acceptance/helpers/epinio/epinio.go +++ b/acceptance/helpers/epinio/epinio.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package epinio import ( diff --git a/acceptance/helpers/machine/appcharts.go b/acceptance/helpers/machine/appcharts.go index 8e97573a57..f7826af7d3 100644 --- a/acceptance/helpers/machine/appcharts.go +++ b/acceptance/helpers/machine/appcharts.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package machine import ( diff --git a/acceptance/helpers/machine/apps.go b/acceptance/helpers/machine/apps.go index c0035f0aec..b44d8e59f2 100644 --- a/acceptance/helpers/machine/apps.go +++ b/acceptance/helpers/machine/apps.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package machine import ( diff --git a/acceptance/helpers/machine/configurations.go b/acceptance/helpers/machine/configurations.go index 66337d49f8..062b3b6624 100644 --- a/acceptance/helpers/machine/configurations.go +++ b/acceptance/helpers/machine/configurations.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package machine import ( diff --git a/acceptance/helpers/machine/curl.go b/acceptance/helpers/machine/curl.go index 41d66ff67b..254354c6d2 100644 --- a/acceptance/helpers/machine/curl.go +++ b/acceptance/helpers/machine/curl.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package machine import ( diff --git a/acceptance/helpers/machine/machine.go b/acceptance/helpers/machine/machine.go index 7decb51c42..a7de48b8e8 100644 --- a/acceptance/helpers/machine/machine.go +++ b/acceptance/helpers/machine/machine.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package machine provides a number of utility functions encapsulating often-used sequences. // I.e. create/delete applications/configurations, bind/unbind configurations, etc. // This is done in the hope of enhancing the readability of various before/after blocks. diff --git a/acceptance/helpers/machine/services.go b/acceptance/helpers/machine/services.go index 66b5d1f504..49597528d0 100644 --- a/acceptance/helpers/machine/services.go +++ b/acceptance/helpers/machine/services.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package machine import ( diff --git a/acceptance/helpers/machine/users.go b/acceptance/helpers/machine/users.go index a8f48481c4..81252471fc 100644 --- a/acceptance/helpers/machine/users.go +++ b/acceptance/helpers/machine/users.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package machine import ( diff --git a/acceptance/helpers/matchers/matchers.go b/acceptance/helpers/matchers/matchers.go index bf594a4a30..4effdfa165 100644 --- a/acceptance/helpers/matchers/matchers.go +++ b/acceptance/helpers/matchers/matchers.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package matchers import ( diff --git a/acceptance/helpers/proc/proc.go b/acceptance/helpers/proc/proc.go index 9a843a090f..718a39bf7b 100644 --- a/acceptance/helpers/proc/proc.go +++ b/acceptance/helpers/proc/proc.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package proc import ( diff --git a/acceptance/helpers/route53/change.go b/acceptance/helpers/route53/change.go index c51f154532..208f932ea8 100644 --- a/acceptance/helpers/route53/change.go +++ b/acceptance/helpers/route53/change.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package route53 import ( diff --git a/acceptance/install/scenario1_test.go b/acceptance/install/scenario1_test.go index 4b1da7871a..a537df77d2 100644 --- a/acceptance/install/scenario1_test.go +++ b/acceptance/install/scenario1_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/acceptance/install/scenario2_test.go b/acceptance/install/scenario2_test.go index 5c0b7d3687..22fffba4fc 100644 --- a/acceptance/install/scenario2_test.go +++ b/acceptance/install/scenario2_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/acceptance/install/scenario3_test.go b/acceptance/install/scenario3_test.go index 673bd63f5f..7dddb33b43 100644 --- a/acceptance/install/scenario3_test.go +++ b/acceptance/install/scenario3_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/acceptance/install/scenario4_test.go b/acceptance/install/scenario4_test.go index de137e18c6..9faa01af4e 100644 --- a/acceptance/install/scenario4_test.go +++ b/acceptance/install/scenario4_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/acceptance/install/scenario5_test.go b/acceptance/install/scenario5_test.go index eb86920450..d5f5b72769 100644 --- a/acceptance/install/scenario5_test.go +++ b/acceptance/install/scenario5_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/acceptance/install/scenario6_test.go b/acceptance/install/scenario6_test.go index 89a31a8906..49315e0bc8 100644 --- a/acceptance/install/scenario6_test.go +++ b/acceptance/install/scenario6_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/acceptance/install/suite_test.go b/acceptance/install/suite_test.go index 5d4beb7009..22ea442917 100644 --- a/acceptance/install/suite_test.go +++ b/acceptance/install/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/acceptance/login_test.go b/acceptance/login_test.go index c5fbcad516..25861b401e 100644 --- a/acceptance/login_test.go +++ b/acceptance/login_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/acceptance/namespaces_test.go b/acceptance/namespaces_test.go index 75fc65d370..3d16018c23 100644 --- a/acceptance/namespaces_test.go +++ b/acceptance/namespaces_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/acceptance/services_test.go b/acceptance/services_test.go index eb8d569379..dba380e5d6 100644 --- a/acceptance/services_test.go +++ b/acceptance/services_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/acceptance/settings_test.go b/acceptance/settings_test.go index ea885daba8..25c12d6087 100644 --- a/acceptance/settings_test.go +++ b/acceptance/settings_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/acceptance/suite_test.go b/acceptance/suite_test.go index 85bd851e1c..8b63bbb4cc 100644 --- a/acceptance/suite_test.go +++ b/acceptance/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/acceptance/testenv/configuration.go b/acceptance/testenv/configuration.go index a086fe5b58..d605464cac 100644 --- a/acceptance/testenv/configuration.go +++ b/acceptance/testenv/configuration.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package testenv type LoadBalancerHostname struct { diff --git a/acceptance/testenv/env.go b/acceptance/testenv/env.go index 98a5b21ae0..86c00a5dd0 100644 --- a/acceptance/testenv/env.go +++ b/acceptance/testenv/env.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package testenv import ( diff --git a/acceptance/testenv/epinio.go b/acceptance/testenv/epinio.go index 187e995f34..76512d2957 100644 --- a/acceptance/testenv/epinio.go +++ b/acceptance/testenv/epinio.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package testenv import ( diff --git a/acceptance/testenv/patch.go b/acceptance/testenv/patch.go index a32a53b773..07294623aa 100644 --- a/acceptance/testenv/patch.go +++ b/acceptance/testenv/patch.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package testenv import ( diff --git a/acceptance/testenv/registry.go b/acceptance/testenv/registry.go index 4b2d952e00..9269d6dbce 100644 --- a/acceptance/testenv/registry.go +++ b/acceptance/testenv/registry.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package testenv import ( diff --git a/acceptance/testenv/root.go b/acceptance/testenv/root.go index 857738ce40..3a695f26db 100644 --- a/acceptance/testenv/root.go +++ b/acceptance/testenv/root.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package testenv import "path" diff --git a/acceptance/testenv/sleep.go b/acceptance/testenv/sleep.go index e615d6228e..d7ef4261a7 100644 --- a/acceptance/testenv/sleep.go +++ b/acceptance/testenv/sleep.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package testenv import ( diff --git a/acceptance/testenv/tmpdir.go b/acceptance/testenv/tmpdir.go index 78758868a6..ef0782fc4c 100644 --- a/acceptance/testenv/tmpdir.go +++ b/acceptance/testenv/tmpdir.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package testenv import ( diff --git a/acceptance/upgrade/suite_test.go b/acceptance/upgrade/suite_test.go index 2b5457760a..0340d3c393 100644 --- a/acceptance/upgrade/suite_test.go +++ b/acceptance/upgrade/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package upgrade_test import ( diff --git a/acceptance/upgrade/upgrade_test.go b/acceptance/upgrade/upgrade_test.go index af37c0e79f..30f6698abd 100644 --- a/acceptance/upgrade/upgrade_test.go +++ b/acceptance/upgrade/upgrade_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package upgrade_test import ( diff --git a/acceptance/users_test.go b/acceptance/users_test.go index a6c0ca51bc..3f13c6a5fe 100644 --- a/acceptance/users_test.go +++ b/acceptance/users_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package acceptance_test import ( diff --git a/assets/golang-sample-app/main.go b/assets/golang-sample-app/main.go index befe80fb1d..d0c002c3fe 100644 --- a/assets/golang-sample-app/main.go +++ b/assets/golang-sample-app/main.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/assets/tests/cluster-issuer-private-ca.yml b/assets/tests/cluster-issuer-private-ca.yml index 39dcf3dfc5..763808ffff 100644 --- a/assets/tests/cluster-issuer-private-ca.yml +++ b/assets/tests/cluster-issuer-private-ca.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + --- apiVersion: v1 kind: Secret diff --git a/assets/tests/config.yaml b/assets/tests/config.yaml index 9dde6559e3..a5a37cd747 100644 --- a/assets/tests/config.yaml +++ b/assets/tests/config.yaml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + certs: | -----BEGIN CERTIFICATE----- MIIC9DCCAdygAwIBAgIQbtHgetBY1W1X8nfINES3BjANBgkqhkiG9w0BAQsFADAU diff --git a/assets/tests/letsencrypt-staging.yaml b/assets/tests/letsencrypt-staging.yaml index 8b7bfa33fe..3580addbe2 100644 --- a/assets/tests/letsencrypt-staging.yaml +++ b/assets/tests/letsencrypt-staging.yaml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: cert-manager.io/v1 kind: ClusterIssuer metadata: diff --git a/assets/tests/my-postgresql-custom-svc.yaml b/assets/tests/my-postgresql-custom-svc.yaml index 8b85fcfb72..a1ad28c111 100644 --- a/assets/tests/my-postgresql-custom-svc.yaml +++ b/assets/tests/my-postgresql-custom-svc.yaml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: application.epinio.io/v1 kind: Service metadata: diff --git a/assets/tests/resources.yaml b/assets/tests/resources.yaml index 85348e509b..5f80cabc1e 100644 --- a/assets/tests/resources.yaml +++ b/assets/tests/resources.yaml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 was autogenerated by MetalLB's custom resource generator. apiVersion: metallb.io/v1beta1 kind: IPAddressPool diff --git a/codecov.yml b/codecov.yml index 1c88524411..d21f3f09e2 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + codecov: require_ci_to_pass: false notify: diff --git a/docs/explanations/architecture/container-registry.pikchr b/docs/explanations/architecture/container-registry.pikchr index f43ea04ea7..0f05d00a0f 100644 --- a/docs/explanations/architecture/container-registry.pikchr +++ b/docs/explanations/architecture/container-registry.pikchr @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + O: box "Service" "registry-node @30500" "nodeport 30500" width 1.2 diff --git a/docs/explanations/architecture/container-registry.sh b/docs/explanations/architecture/container-registry.sh index 0a08209e92..eb9947ac44 100755 --- a/docs/explanations/architecture/container-registry.sh +++ b/docs/explanations/architecture/container-registry.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. #pikchr container-registry.pikchr > container-registry.html pikchr --svg-only container-registry.pikchr > container-registry.svg diff --git a/docs/login.sh b/docs/login.sh index bd72777fc2..5876ad32c8 100755 --- a/docs/login.sh +++ b/docs/login.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -x diff --git a/go.mod b/go.mod index d02820eef8..6f59de0d7e 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + module github.com/epinio/epinio go 1.18 diff --git a/helpers/authtoken/suite_test.go b/helpers/authtoken/suite_test.go index b3459ead46..c96aec09b3 100644 --- a/helpers/authtoken/suite_test.go +++ b/helpers/authtoken/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package authtoken import ( diff --git a/helpers/authtoken/token.go b/helpers/authtoken/token.go index 844031cc3c..c8cc9e1f60 100644 --- a/helpers/authtoken/token.go +++ b/helpers/authtoken/token.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package authtoken creates JWT tokens to secure the websockets connections package authtoken diff --git a/helpers/authtoken/token_test.go b/helpers/authtoken/token_test.go index e5e51530af..defce6f324 100644 --- a/helpers/authtoken/token_test.go +++ b/helpers/authtoken/token_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package authtoken_test import ( diff --git a/helpers/bytes/bytes.go b/helpers/bytes/bytes.go index 56b681e4a6..4aa21d5c55 100644 --- a/helpers/bytes/bytes.go +++ b/helpers/bytes/bytes.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package bytes is a helper to convert bytes to a human readable string package bytes diff --git a/helpers/cahash/cahash.go b/helpers/cahash/cahash.go index 9c26cab834..d1a87747a5 100644 --- a/helpers/cahash/cahash.go +++ b/helpers/cahash/cahash.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cahash import ( diff --git a/helpers/error.go b/helpers/error.go index ef988e07bd..d182e62477 100644 --- a/helpers/error.go +++ b/helpers/error.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package helpers import "strings" diff --git a/helpers/exec.go b/helpers/exec.go index 63cfe8f342..8f75a8e525 100644 --- a/helpers/exec.go +++ b/helpers/exec.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package helpers import ( diff --git a/helpers/helpers_suite_test.go b/helpers/helpers_suite_test.go index 5a3d46aa5d..cfacec9d9d 100644 --- a/helpers/helpers_suite_test.go +++ b/helpers/helpers_suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package helpers_test import ( diff --git a/helpers/kubernetes/cluster.go b/helpers/kubernetes/cluster.go index a970710395..d4967f1989 100644 --- a/helpers/kubernetes/cluster.go +++ b/helpers/kubernetes/cluster.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/helpers/kubernetes/config/argtoenv.go b/helpers/kubernetes/config/argtoenv.go index f3137bd03d..d0e7d546a2 100644 --- a/helpers/kubernetes/config/argtoenv.go +++ b/helpers/kubernetes/config/argtoenv.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package config import ( diff --git a/helpers/kubernetes/config/checker.go b/helpers/kubernetes/config/checker.go index 296fa11fcb..4d59eaf517 100644 --- a/helpers/kubernetes/config/checker.go +++ b/helpers/kubernetes/config/checker.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package config import ( diff --git a/helpers/kubernetes/config/config.go b/helpers/kubernetes/config/config.go index e2883b84f6..28e3fb9c91 100644 --- a/helpers/kubernetes/config/config.go +++ b/helpers/kubernetes/config/config.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package config import ( diff --git a/helpers/kubernetes/config/getter.go b/helpers/kubernetes/config/getter.go index 468f99fb64..384fe4d279 100644 --- a/helpers/kubernetes/config/getter.go +++ b/helpers/kubernetes/config/getter.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package config import ( diff --git a/helpers/kubernetes/platform/generic/generic.go b/helpers/kubernetes/platform/generic/generic.go index e56824ef3a..3acdf43e61 100644 --- a/helpers/kubernetes/platform/generic/generic.go +++ b/helpers/kubernetes/platform/generic/generic.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package generic import ( diff --git a/helpers/kubernetes/platform/ibm/ibm.go b/helpers/kubernetes/platform/ibm/ibm.go index 553fd3bab1..2b03a178c5 100644 --- a/helpers/kubernetes/platform/ibm/ibm.go +++ b/helpers/kubernetes/platform/ibm/ibm.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package ibm import ( diff --git a/helpers/kubernetes/platform/k3s/k3s.go b/helpers/kubernetes/platform/k3s/k3s.go index 78aba1f9e4..306cb9d27c 100644 --- a/helpers/kubernetes/platform/k3s/k3s.go +++ b/helpers/kubernetes/platform/k3s/k3s.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package k3s import ( diff --git a/helpers/kubernetes/platform/kind/kind.go b/helpers/kubernetes/platform/kind/kind.go index 7ddb9805ff..5ab350f965 100644 --- a/helpers/kubernetes/platform/kind/kind.go +++ b/helpers/kubernetes/platform/kind/kind.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package kind import ( diff --git a/helpers/kubernetes/platform/minikube/minikube.go b/helpers/kubernetes/platform/minikube/minikube.go index e64c6a070e..7d263bb43a 100644 --- a/helpers/kubernetes/platform/minikube/minikube.go +++ b/helpers/kubernetes/platform/minikube/minikube.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package minikube import ( diff --git a/helpers/kubernetes/tailer/container_state.go b/helpers/kubernetes/tailer/container_state.go index ffeca4b367..0973734b74 100644 --- a/helpers/kubernetes/tailer/container_state.go +++ b/helpers/kubernetes/tailer/container_state.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package tailer import ( diff --git a/helpers/kubernetes/tailer/setup.go b/helpers/kubernetes/tailer/setup.go index be04abac24..1841ce1421 100644 --- a/helpers/kubernetes/tailer/setup.go +++ b/helpers/kubernetes/tailer/setup.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // tailer manages objects which tail the logs of a collection of pods specified by a label selector. // This is similar to what the cli tool `stern` does. package tailer diff --git a/helpers/kubernetes/tailer/tailer.go b/helpers/kubernetes/tailer/tailer.go index 7bc185ed9e..88bd81ba8c 100644 --- a/helpers/kubernetes/tailer/tailer.go +++ b/helpers/kubernetes/tailer/tailer.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package tailer import ( diff --git a/helpers/kubernetes/tailer/watcher.go b/helpers/kubernetes/tailer/watcher.go index cdeac37281..735dbf6f7d 100644 --- a/helpers/kubernetes/tailer/watcher.go +++ b/helpers/kubernetes/tailer/watcher.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package tailer import ( diff --git a/helpers/randstr/randstr.go b/helpers/randstr/randstr.go index 993f30e920..268d9c31e1 100644 --- a/helpers/randstr/randstr.go +++ b/helpers/randstr/randstr.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package randstr provides functions for the generation of random strings. // Useful, for example, to generate passwords and usernames for randomized credentials. package randstr diff --git a/helpers/routes/routes.go b/helpers/routes/routes.go index 9b52f51498..907bc98f64 100644 --- a/helpers/routes/routes.go +++ b/helpers/routes/routes.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package routes implements registered urls and parameter substitution package routes diff --git a/helpers/string.go b/helpers/string.go index 942930d1a6..866cee03ee 100644 --- a/helpers/string.go +++ b/helpers/string.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package helpers import ( diff --git a/helpers/tar.go b/helpers/tar.go index 87f016850e..52205c8ed1 100644 --- a/helpers/tar.go +++ b/helpers/tar.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package helpers import ( diff --git a/helpers/termui/dot_progress.go b/helpers/termui/dot_progress.go index e593b315cd..e47cf41316 100644 --- a/helpers/termui/dot_progress.go +++ b/helpers/termui/dot_progress.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package termui import ( diff --git a/helpers/termui/spin_progress.go b/helpers/termui/spin_progress.go index 91c27e13b3..2f6454acfd 100644 --- a/helpers/termui/spin_progress.go +++ b/helpers/termui/spin_progress.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package termui import ( diff --git a/helpers/termui/tables.go b/helpers/termui/tables.go index f5758008db..bdde340e01 100644 --- a/helpers/termui/tables.go +++ b/helpers/termui/tables.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package termui // WithTable prints a new table diff --git a/helpers/termui/ui.go b/helpers/termui/ui.go index 83edc0d1f4..f5139a6c9a 100644 --- a/helpers/termui/ui.go +++ b/helpers/termui/ui.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package termui import ( diff --git a/helpers/tools/tools.go b/helpers/tools/tools.go index f19ffe0cef..6ee1e51ee5 100644 --- a/helpers/tools/tools.go +++ b/helpers/tools/tools.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // +build tools package tools diff --git a/helpers/tracelog/logger.go b/helpers/tracelog/logger.go index fea913f62a..27e161a577 100644 --- a/helpers/tracelog/logger.go +++ b/helpers/tracelog/logger.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package tracelog provides a logger for debugging and tracing // This logger will not print anything, unless TRACE_LEVEL is at least 1 package tracelog diff --git a/images/Dockerfile b/images/Dockerfile index 650dcd4cb5..73bfc74468 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 as certs RUN apk --update --no-cache add ca-certificates diff --git a/images/linkerd-Dockerfile b/images/linkerd-Dockerfile index 7733a5230c..8e404f1fb8 100644 --- a/images/linkerd-Dockerfile +++ b/images/linkerd-Dockerfile @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 busybox AS downloader ARG LINKERD_VERSION ENV LINKERD_VERSION=$LINKERD_VERSION diff --git a/images/unpacker-Dockerfile b/images/unpacker-Dockerfile index c3bd233fca..583ce37c80 100644 --- a/images/unpacker-Dockerfile +++ b/images/unpacker-Dockerfile @@ -1,3 +1,14 @@ +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 registry.suse.com/bci/bci-base AS stage RUN zypper refresh && zypper --non-interactive install -f tar gzip unzip bzip2 xz findutils diff --git a/internal/api/v1/appchart/controller.go b/internal/api/v1/appchart/controller.go index d5d99689a6..f41652ef54 100644 --- a/internal/api/v1/appchart/controller.go +++ b/internal/api/v1/appchart/controller.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Appchart contains the API handlers to manage appcharts. package appchart diff --git a/internal/api/v1/appchart/index.go b/internal/api/v1/appchart/index.go index aa4ba80bef..b5e4f27fb2 100644 --- a/internal/api/v1/appchart/index.go +++ b/internal/api/v1/appchart/index.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package appchart import ( diff --git a/internal/api/v1/appchart/match.go b/internal/api/v1/appchart/match.go index b5494ab36b..463f1208e1 100644 --- a/internal/api/v1/appchart/match.go +++ b/internal/api/v1/appchart/match.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package appchart import ( diff --git a/internal/api/v1/appchart/show.go b/internal/api/v1/appchart/show.go index d35a5cfe4c..ec8a40c1fc 100644 --- a/internal/api/v1/appchart/show.go +++ b/internal/api/v1/appchart/show.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package appchart import ( diff --git a/internal/api/v1/application/application_suite_test.go b/internal/api/v1/application/application_suite_test.go index d9fd0dba09..12f3f9b1cd 100644 --- a/internal/api/v1/application/application_suite_test.go +++ b/internal/api/v1/application/application_suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application_test import ( diff --git a/internal/api/v1/application/controller.go b/internal/api/v1/application/controller.go index 93083ea4a0..17ed23d046 100644 --- a/internal/api/v1/application/controller.go +++ b/internal/api/v1/application/controller.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Application contains the API handlers to manage applications. Except for app environment. package application diff --git a/internal/api/v1/application/create.go b/internal/api/v1/application/create.go index 0f89391991..6903169a5f 100644 --- a/internal/api/v1/application/create.go +++ b/internal/api/v1/application/create.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/delete.go b/internal/api/v1/application/delete.go index 4caa8c316a..a0c8c9eef7 100644 --- a/internal/api/v1/application/delete.go +++ b/internal/api/v1/application/delete.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/deploy.go b/internal/api/v1/application/deploy.go index 38e3fbec04..f1ee81305b 100644 --- a/internal/api/v1/application/deploy.go +++ b/internal/api/v1/application/deploy.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/exec.go b/internal/api/v1/application/exec.go index 85675d4d2f..118b3c5edd 100644 --- a/internal/api/v1/application/exec.go +++ b/internal/api/v1/application/exec.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/fullindex.go b/internal/api/v1/application/fullindex.go index f8212eabd3..482d7ed8c3 100644 --- a/internal/api/v1/application/fullindex.go +++ b/internal/api/v1/application/fullindex.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/importgit.go b/internal/api/v1/application/importgit.go index b36964270b..ae5a7ab094 100644 --- a/internal/api/v1/application/importgit.go +++ b/internal/api/v1/application/importgit.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application // # Design Notes diff --git a/internal/api/v1/application/index.go b/internal/api/v1/application/index.go index d2d174a459..ab13167b61 100644 --- a/internal/api/v1/application/index.go +++ b/internal/api/v1/application/index.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/logs.go b/internal/api/v1/application/logs.go index 47dadb466c..d101efb562 100644 --- a/internal/api/v1/application/logs.go +++ b/internal/api/v1/application/logs.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/logs_test.go b/internal/api/v1/application/logs_test.go index b009e61d1e..e1316ca70a 100644 --- a/internal/api/v1/application/logs_test.go +++ b/internal/api/v1/application/logs_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application_test import ( diff --git a/internal/api/v1/application/match.go b/internal/api/v1/application/match.go index 4160e5b401..b24fe3707c 100644 --- a/internal/api/v1/application/match.go +++ b/internal/api/v1/application/match.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/part.go b/internal/api/v1/application/part.go index 197f1806e1..db34694bdc 100644 --- a/internal/api/v1/application/part.go +++ b/internal/api/v1/application/part.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/portforward.go b/internal/api/v1/application/portforward.go index 5863094a8c..8bcfaa9858 100644 --- a/internal/api/v1/application/portforward.go +++ b/internal/api/v1/application/portforward.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/restart.go b/internal/api/v1/application/restart.go index 93e07794d3..8e4e3d196f 100644 --- a/internal/api/v1/application/restart.go +++ b/internal/api/v1/application/restart.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/running.go b/internal/api/v1/application/running.go index b8f19ca695..2b35ab6d0a 100644 --- a/internal/api/v1/application/running.go +++ b/internal/api/v1/application/running.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/show.go b/internal/api/v1/application/show.go index 6e9a32533b..6368115506 100644 --- a/internal/api/v1/application/show.go +++ b/internal/api/v1/application/show.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/stage.go b/internal/api/v1/application/stage.go index a74e679ed8..34fd9cbfee 100644 --- a/internal/api/v1/application/stage.go +++ b/internal/api/v1/application/stage.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/update.go b/internal/api/v1/application/update.go index 6bb410d920..fc2b7ad453 100644 --- a/internal/api/v1/application/update.go +++ b/internal/api/v1/application/update.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/upload.go b/internal/api/v1/application/upload.go index 336cf19c39..c6b80e9264 100644 --- a/internal/api/v1/application/upload.go +++ b/internal/api/v1/application/upload.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/api/v1/application/validatecv.go b/internal/api/v1/application/validatecv.go index 7ffa7aa5be..27c9b595c8 100644 --- a/internal/api/v1/application/validatecv.go +++ b/internal/api/v1/application/validatecv.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application // Validate the custom chart values saved in the application CR against the declarations made by the diff --git a/internal/api/v1/auth.go b/internal/api/v1/auth.go index 8d89645c70..4e46c69dff 100644 --- a/internal/api/v1/auth.go +++ b/internal/api/v1/auth.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1 import ( diff --git a/internal/api/v1/auth_test.go b/internal/api/v1/auth_test.go index 3715f57d36..f6799d474d 100644 --- a/internal/api/v1/auth_test.go +++ b/internal/api/v1/auth_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/internal/api/v1/authtoken.go b/internal/api/v1/authtoken.go index 283c042632..bb08dab006 100644 --- a/internal/api/v1/authtoken.go +++ b/internal/api/v1/authtoken.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1 import ( diff --git a/internal/api/v1/configuration/configurationapps.go b/internal/api/v1/configuration/configurationapps.go index 14e0fd850e..a64f253256 100644 --- a/internal/api/v1/configuration/configurationapps.go +++ b/internal/api/v1/configuration/configurationapps.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/configuration/controller.go b/internal/api/v1/configuration/controller.go index b9db1771b5..9ab5a8ec11 100644 --- a/internal/api/v1/configuration/controller.go +++ b/internal/api/v1/configuration/controller.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Configuration contains the API handlers to manage configurations. Except for configuration/app bindings. package configuration diff --git a/internal/api/v1/configuration/create.go b/internal/api/v1/configuration/create.go index 23b6203b0c..7312903f55 100644 --- a/internal/api/v1/configuration/create.go +++ b/internal/api/v1/configuration/create.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/configuration/delete.go b/internal/api/v1/configuration/delete.go index 9b2e93aa27..d66edba886 100644 --- a/internal/api/v1/configuration/delete.go +++ b/internal/api/v1/configuration/delete.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/configuration/fullindex.go b/internal/api/v1/configuration/fullindex.go index 6708f9f566..4d5e24b7db 100644 --- a/internal/api/v1/configuration/fullindex.go +++ b/internal/api/v1/configuration/fullindex.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/configuration/index.go b/internal/api/v1/configuration/index.go index 6cf6716cfc..29c1a67142 100644 --- a/internal/api/v1/configuration/index.go +++ b/internal/api/v1/configuration/index.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/configuration/match.go b/internal/api/v1/configuration/match.go index 5685d4c45a..d883ec2a55 100644 --- a/internal/api/v1/configuration/match.go +++ b/internal/api/v1/configuration/match.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/configuration/replace.go b/internal/api/v1/configuration/replace.go index b7dc7ff12f..de8eef4ea4 100644 --- a/internal/api/v1/configuration/replace.go +++ b/internal/api/v1/configuration/replace.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/configuration/show.go b/internal/api/v1/configuration/show.go index 148bd8e72d..4faded5227 100644 --- a/internal/api/v1/configuration/show.go +++ b/internal/api/v1/configuration/show.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/configuration/update.go b/internal/api/v1/configuration/update.go index 4941da7792..6014e945f6 100644 --- a/internal/api/v1/configuration/update.go +++ b/internal/api/v1/configuration/update.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/configurationbinding/controller.go b/internal/api/v1/configurationbinding/controller.go index 2472cc7797..351313dce0 100644 --- a/internal/api/v1/configurationbinding/controller.go +++ b/internal/api/v1/configurationbinding/controller.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Configurationbinding contains the API handlers to manage configuration bindings. package configurationbinding diff --git a/internal/api/v1/configurationbinding/create.go b/internal/api/v1/configurationbinding/create.go index 5501444cad..cfd404fd5a 100644 --- a/internal/api/v1/configurationbinding/create.go +++ b/internal/api/v1/configurationbinding/create.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package configurationbinding import ( diff --git a/internal/api/v1/configurationbinding/delete.go b/internal/api/v1/configurationbinding/delete.go index 3064340831..e8416b49e5 100644 --- a/internal/api/v1/configurationbinding/delete.go +++ b/internal/api/v1/configurationbinding/delete.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package configurationbinding import ( diff --git a/internal/api/v1/configurationbinding/deletebinding.go b/internal/api/v1/configurationbinding/deletebinding.go index 759d84627c..100cefd0c8 100644 --- a/internal/api/v1/configurationbinding/deletebinding.go +++ b/internal/api/v1/configurationbinding/deletebinding.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package configurationbinding import ( diff --git a/internal/api/v1/deploy/deploy.go b/internal/api/v1/deploy/deploy.go index 66cbd7779e..efef198421 100644 --- a/internal/api/v1/deploy/deploy.go +++ b/internal/api/v1/deploy/deploy.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package deploy provides the functionality to deploy an application. package deploy diff --git a/internal/api/v1/docs/appchart.go b/internal/api/v1/docs/appchart.go index dbcfe909de..7bb99a4db6 100644 --- a/internal/api/v1/docs/appchart.go +++ b/internal/api/v1/docs/appchart.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package docs //go:generate swagger generate spec diff --git a/internal/api/v1/docs/application.go b/internal/api/v1/docs/application.go index 5bac2c86de..8f19a55123 100644 --- a/internal/api/v1/docs/application.go +++ b/internal/api/v1/docs/application.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package docs //go:generate swagger generate spec diff --git a/internal/api/v1/docs/configuration.go b/internal/api/v1/docs/configuration.go index 811ffec68f..6f0dc216fb 100644 --- a/internal/api/v1/docs/configuration.go +++ b/internal/api/v1/docs/configuration.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package docs //go:generate swagger generate spec diff --git a/internal/api/v1/docs/configurationbinding.go b/internal/api/v1/docs/configurationbinding.go index c58516dfbe..5f42221192 100644 --- a/internal/api/v1/docs/configurationbinding.go +++ b/internal/api/v1/docs/configurationbinding.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package docs //go:generate swagger generate spec diff --git a/internal/api/v1/docs/docs.go b/internal/api/v1/docs/docs.go index d78f901a54..620edd5606 100644 --- a/internal/api/v1/docs/docs.go +++ b/internal/api/v1/docs/docs.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Epinio API // // This is the API specification of the Epinio API diff --git a/internal/api/v1/docs/env.go b/internal/api/v1/docs/env.go index 14ab7f68bd..4da4886e10 100644 --- a/internal/api/v1/docs/env.go +++ b/internal/api/v1/docs/env.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package docs //go:generate swagger generate spec diff --git a/internal/api/v1/docs/info.go b/internal/api/v1/docs/info.go index e53b29fb3a..60438ce97e 100644 --- a/internal/api/v1/docs/info.go +++ b/internal/api/v1/docs/info.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package docs //go:generate swagger generate spec diff --git a/internal/api/v1/docs/namespace.go b/internal/api/v1/docs/namespace.go index 70576348d3..f42ed8ffdd 100644 --- a/internal/api/v1/docs/namespace.go +++ b/internal/api/v1/docs/namespace.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package docs import "github.com/epinio/epinio/pkg/api/core/v1/models" diff --git a/internal/api/v1/docs/service.go b/internal/api/v1/docs/service.go index 9b29815cb2..abb84f9c6a 100644 --- a/internal/api/v1/docs/service.go +++ b/internal/api/v1/docs/service.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package docs //go:generate swagger generate spec diff --git a/internal/api/v1/env/controller.go b/internal/api/v1/env/controller.go index d3a196371a..e51a8441dc 100644 --- a/internal/api/v1/env/controller.go +++ b/internal/api/v1/env/controller.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Env contains the API handlers to manage the application environment package env diff --git a/internal/api/v1/env/index.go b/internal/api/v1/env/index.go index 5bd3d53d4a..6d0b6f30c5 100644 --- a/internal/api/v1/env/index.go +++ b/internal/api/v1/env/index.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package env import ( diff --git a/internal/api/v1/env/match.go b/internal/api/v1/env/match.go index 9925250c8a..67c91c248b 100644 --- a/internal/api/v1/env/match.go +++ b/internal/api/v1/env/match.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package env import ( diff --git a/internal/api/v1/env/set.go b/internal/api/v1/env/set.go index 8a9601cfee..941db5a649 100644 --- a/internal/api/v1/env/set.go +++ b/internal/api/v1/env/set.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package env import ( diff --git a/internal/api/v1/env/show.go b/internal/api/v1/env/show.go index e8aef82de4..bd6af1eb67 100644 --- a/internal/api/v1/env/show.go +++ b/internal/api/v1/env/show.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package env import ( diff --git a/internal/api/v1/env/unset.go b/internal/api/v1/env/unset.go index a21aa7f30a..90c799604e 100644 --- a/internal/api/v1/env/unset.go +++ b/internal/api/v1/env/unset.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package env import ( diff --git a/internal/api/v1/info.go b/internal/api/v1/info.go index bf8b05563b..b7b11b2ae9 100644 --- a/internal/api/v1/info.go +++ b/internal/api/v1/info.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1 import ( diff --git a/internal/api/v1/namespace.go b/internal/api/v1/namespace.go index c4e95a471b..eaa622cf86 100644 --- a/internal/api/v1/namespace.go +++ b/internal/api/v1/namespace.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1 import ( diff --git a/internal/api/v1/namespace/controller.go b/internal/api/v1/namespace/controller.go index 871d02da3f..2c04f57921 100644 --- a/internal/api/v1/namespace/controller.go +++ b/internal/api/v1/namespace/controller.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Namespace contains the API handlers to manage namespaces. package namespace diff --git a/internal/api/v1/namespace/create.go b/internal/api/v1/namespace/create.go index 682cafee5d..4bc80d431c 100644 --- a/internal/api/v1/namespace/create.go +++ b/internal/api/v1/namespace/create.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/namespace/delete.go b/internal/api/v1/namespace/delete.go index 040188d18b..001ab65bba 100644 --- a/internal/api/v1/namespace/delete.go +++ b/internal/api/v1/namespace/delete.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/namespace/index.go b/internal/api/v1/namespace/index.go index 5edcd3fb28..0c39079165 100644 --- a/internal/api/v1/namespace/index.go +++ b/internal/api/v1/namespace/index.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/namespace/match.go b/internal/api/v1/namespace/match.go index ae53977e0a..bd34f7ed5b 100644 --- a/internal/api/v1/namespace/match.go +++ b/internal/api/v1/namespace/match.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/namespace/show.go b/internal/api/v1/namespace/show.go index a8237f6cd2..6241475914 100644 --- a/internal/api/v1/namespace/show.go +++ b/internal/api/v1/namespace/show.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/api/v1/response/response.go b/internal/api/v1/response/response.go index d851e157c4..f405314611 100644 --- a/internal/api/v1/response/response.go +++ b/internal/api/v1/response/response.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package response is used by all actions to write their final result as JSON package response diff --git a/internal/api/v1/router.go b/internal/api/v1/router.go index b717aedf64..d7dd5f27de 100644 --- a/internal/api/v1/router.go +++ b/internal/api/v1/router.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package v1 is the implementation of Epinio's API v1 // It has the router and controllers (handler funcs) for the API server. package v1 diff --git a/internal/api/v1/service/bind.go b/internal/api/v1/service/bind.go index 418349a89d..acdf28c291 100644 --- a/internal/api/v1/service/bind.go +++ b/internal/api/v1/service/bind.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/catalog.go b/internal/api/v1/service/catalog.go index 63266564f3..7972be267d 100644 --- a/internal/api/v1/service/catalog.go +++ b/internal/api/v1/service/catalog.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/catalogmatch.go b/internal/api/v1/service/catalogmatch.go index 0c0c5e7117..91a3a43a2f 100644 --- a/internal/api/v1/service/catalogmatch.go +++ b/internal/api/v1/service/catalogmatch.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/controller.go b/internal/api/v1/service/controller.go index 11022b2c14..2917605020 100644 --- a/internal/api/v1/service/controller.go +++ b/internal/api/v1/service/controller.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 // Controller represents all functionality of the API related to services diff --git a/internal/api/v1/service/create.go b/internal/api/v1/service/create.go index 1e9d323847..6a15a1e7b5 100644 --- a/internal/api/v1/service/create.go +++ b/internal/api/v1/service/create.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/delete.go b/internal/api/v1/service/delete.go index b8d0239704..607c7b53f4 100644 --- a/internal/api/v1/service/delete.go +++ b/internal/api/v1/service/delete.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/fullindex.go b/internal/api/v1/service/fullindex.go index 73c2b3e3d2..57e994bca5 100644 --- a/internal/api/v1/service/fullindex.go +++ b/internal/api/v1/service/fullindex.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/list.go b/internal/api/v1/service/list.go index 0aedf61337..ec51c9e3f0 100644 --- a/internal/api/v1/service/list.go +++ b/internal/api/v1/service/list.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/match.go b/internal/api/v1/service/match.go index ea40ce4911..4bf43ed1e2 100644 --- a/internal/api/v1/service/match.go +++ b/internal/api/v1/service/match.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/serviceapps.go b/internal/api/v1/service/serviceapps.go index b4cf902b2f..a80c87494f 100644 --- a/internal/api/v1/service/serviceapps.go +++ b/internal/api/v1/service/serviceapps.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/show.go b/internal/api/v1/service/show.go index 1521b7edd4..81c398e853 100644 --- a/internal/api/v1/service/show.go +++ b/internal/api/v1/service/show.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/unbind.go b/internal/api/v1/service/unbind.go index 47dc137823..93d64be232 100644 --- a/internal/api/v1/service/unbind.go +++ b/internal/api/v1/service/unbind.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/service/validate.go b/internal/api/v1/service/validate.go index 37fc2e5b43..5bd6c7d2b9 100644 --- a/internal/api/v1/service/validate.go +++ b/internal/api/v1/service/validate.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 import ( diff --git a/internal/api/v1/suite_test.go b/internal/api/v1/suite_test.go index 0503eb0f3e..21c4a64466 100644 --- a/internal/api/v1/suite_test.go +++ b/internal/api/v1/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1_test import ( diff --git a/internal/appchart/appchart.go b/internal/appchart/appchart.go index 31b623ee22..953916236f 100644 --- a/internal/appchart/appchart.go +++ b/internal/appchart/appchart.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package appchart collects the structures and functions that deal with epinio's app chart CR package appchart diff --git a/internal/application/application.go b/internal/application/application.go index b36b5d9c59..51c76fb2c5 100644 --- a/internal/application/application.go +++ b/internal/application/application.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package application collects the structures and functions that deal with application // workloads on k8s package application diff --git a/internal/application/configurations.go b/internal/application/configurations.go index a54867b386..2171a8615e 100644 --- a/internal/application/configurations.go +++ b/internal/application/configurations.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/application/env.go b/internal/application/env.go index 7e989487ef..5a89b5ec23 100644 --- a/internal/application/env.go +++ b/internal/application/env.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/application/ingresses.go b/internal/application/ingresses.go index f185028a57..54b4c6df6a 100644 --- a/internal/application/ingresses.go +++ b/internal/application/ingresses.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/application/origin.go b/internal/application/origin.go index 01b3b549c0..1536f472f5 100644 --- a/internal/application/origin.go +++ b/internal/application/origin.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/application/origin_test.go b/internal/application/origin_test.go index 77545364c3..4fb1ed6402 100644 --- a/internal/application/origin_test.go +++ b/internal/application/origin_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/application/scale.go b/internal/application/scale.go index 1964ae0e48..37a91bf810 100644 --- a/internal/application/scale.go +++ b/internal/application/scale.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/application/secret.go b/internal/application/secret.go index 892bb780e2..b2a9da924e 100644 --- a/internal/application/secret.go +++ b/internal/application/secret.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/application/services.go b/internal/application/services.go index 2e6a0d5199..11efb93a24 100644 --- a/internal/application/services.go +++ b/internal/application/services.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/application/suite_test.go b/internal/application/suite_test.go index 1b83c212e0..6eeaad5ca5 100644 --- a/internal/application/suite_test.go +++ b/internal/application/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application_test import ( diff --git a/internal/application/workload.go b/internal/application/workload.go index ab35675ef8..89b1e16f85 100644 --- a/internal/application/workload.go +++ b/internal/application/workload.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package application import ( diff --git a/internal/auth/auth.go b/internal/auth/auth.go index e5778af3be..ff1d61f969 100644 --- a/internal/auth/auth.go +++ b/internal/auth/auth.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package auth collects structures and functions around the // generation and processing of credentials. package auth diff --git a/internal/auth/auth_suite_test.go b/internal/auth/auth_suite_test.go index cc266fc4ed..c475b5dd7e 100644 --- a/internal/auth/auth_suite_test.go +++ b/internal/auth/auth_suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package auth_test import ( diff --git a/internal/auth/auth_test.go b/internal/auth/auth_test.go index 13661b67c2..380cec8da9 100644 --- a/internal/auth/auth_test.go +++ b/internal/auth/auth_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package auth collects structures and functions around the // generation and processing of credentials. package auth_test diff --git a/internal/auth/authfakes/fake_secret_interface.go b/internal/auth/authfakes/fake_secret_interface.go index 5da0bbd593..243d436b54 100644 --- a/internal/auth/authfakes/fake_secret_interface.go +++ b/internal/auth/authfakes/fake_secret_interface.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Code generated by counterfeiter. DO NOT EDIT. package authfakes diff --git a/internal/auth/certs.go b/internal/auth/certs.go index 389cb6778d..25a2a40dec 100644 --- a/internal/auth/certs.go +++ b/internal/auth/certs.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package auth import ( diff --git a/internal/auth/user.go b/internal/auth/user.go index 72f5319f87..603b7fc86a 100644 --- a/internal/auth/user.go +++ b/internal/auth/user.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package auth collects structures and functions around the // generation and processing of credentials. package auth diff --git a/internal/cli/admincmd/settings.go b/internal/cli/admincmd/settings.go index ca4261cafa..255100cc8e 100644 --- a/internal/cli/admincmd/settings.go +++ b/internal/cli/admincmd/settings.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package admincmd provides the commands of the admin CLI, which deals with // installing and configurations package admincmd diff --git a/internal/cli/apps.go b/internal/cli/apps.go index c4c2e99edf..63fb2ff9d1 100644 --- a/internal/cli/apps.go +++ b/internal/cli/apps.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/chart.go b/internal/cli/chart.go index 32c5b99ed7..adfcaca9de 100644 --- a/internal/cli/chart.go +++ b/internal/cli/chart.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/clientsync.go b/internal/cli/clientsync.go index 4e6844e2da..3de26185c6 100644 --- a/internal/cli/clientsync.go +++ b/internal/cli/clientsync.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/cmd_suite_test.go b/internal/cli/cmd_suite_test.go index 3bf9f5742f..3452e80e04 100644 --- a/internal/cli/cmd_suite_test.go +++ b/internal/cli/cmd_suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli_test import ( diff --git a/internal/cli/commons.go b/internal/cli/commons.go index d22a5ad1ae..406cb78a7a 100644 --- a/internal/cli/commons.go +++ b/internal/cli/commons.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/completion.go b/internal/cli/completion.go index ea3f78c7ad..c8c7993524 100644 --- a/internal/cli/completion.go +++ b/internal/cli/completion.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/configuration.go b/internal/cli/configuration.go index bc78224d28..1e2c716069 100644 --- a/internal/cli/configuration.go +++ b/internal/cli/configuration.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/debug.go b/internal/cli/debug.go index d86d616a48..f5214101ae 100644 --- a/internal/cli/debug.go +++ b/internal/cli/debug.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/delete.go b/internal/cli/delete.go index 4be6d58ff9..ef2c543750 100644 --- a/internal/cli/delete.go +++ b/internal/cli/delete.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/docs/generate-cli-docs.go b/internal/cli/docs/generate-cli-docs.go index ea47858abe..14538da05c 100644 --- a/internal/cli/docs/generate-cli-docs.go +++ b/internal/cli/docs/generate-cli-docs.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/internal/cli/env.go b/internal/cli/env.go index 4f85fe6339..8a185a8a71 100644 --- a/internal/cli/env.go +++ b/internal/cli/env.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/info.go b/internal/cli/info.go index 6b241a716d..2cec19bd79 100644 --- a/internal/cli/info.go +++ b/internal/cli/info.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/login.go b/internal/cli/login.go index a56b7d60b8..b554bada76 100644 --- a/internal/cli/login.go +++ b/internal/cli/login.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/logprinter/logprinter.go b/internal/cli/logprinter/logprinter.go index fbccbea576..ff855d84bb 100644 --- a/internal/cli/logprinter/logprinter.go +++ b/internal/cli/logprinter/logprinter.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package logprinter is used to print container log lines in color package logprinter diff --git a/internal/cli/logprinter/templates.go b/internal/cli/logprinter/templates.go index ce913f748f..885a56e5d2 100644 --- a/internal/cli/logprinter/templates.go +++ b/internal/cli/logprinter/templates.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package logprinter import ( diff --git a/internal/cli/namespaces.go b/internal/cli/namespaces.go index 5c40ea23ae..7ba870c275 100644 --- a/internal/cli/namespaces.go +++ b/internal/cli/namespaces.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/options.go b/internal/cli/options.go index 0ffcaed131..309411e04e 100644 --- a/internal/cli/options.go +++ b/internal/cli/options.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/push.go b/internal/cli/push.go index ba982bbe74..b0b06d825f 100644 --- a/internal/cli/push.go +++ b/internal/cli/push.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/root.go b/internal/cli/root.go index ac60bb628e..a6bd720732 100644 --- a/internal/cli/root.go +++ b/internal/cli/root.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package cli contains all definitions pertaining to the user-visible // commands of the epinio client. It provides the viper/cobra setup. package cli diff --git a/internal/cli/server.go b/internal/cli/server.go index e1e8c024a5..ba2dc441f0 100644 --- a/internal/cli/server.go +++ b/internal/cli/server.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/server/requestctx/context.go b/internal/cli/server/requestctx/context.go index 26ca4d3207..9e97eb36bc 100644 --- a/internal/cli/server/requestctx/context.go +++ b/internal/cli/server/requestctx/context.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package requestctx provides access to special fields in the http request's context package requestctx diff --git a/internal/cli/server/server.go b/internal/cli/server/server.go index a4a2559bb6..433dae52bc 100644 --- a/internal/cli/server/server.go +++ b/internal/cli/server/server.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 provides the Epinio http server package server diff --git a/internal/cli/services.go b/internal/cli/services.go index 92713e3906..0c3124e9a3 100644 --- a/internal/cli/services.go +++ b/internal/cli/services.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/settings.go b/internal/cli/settings.go index ac8bacc396..a0ec30c569 100644 --- a/internal/cli/settings.go +++ b/internal/cli/settings.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/settings/settings.go b/internal/cli/settings/settings.go index 3e181870ba..ea587f39dc 100644 --- a/internal/cli/settings/settings.go +++ b/internal/cli/settings/settings.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package settings import ( diff --git a/internal/cli/target.go b/internal/cli/target.go index eb8e538af8..eb7dcc74e2 100644 --- a/internal/cli/target.go +++ b/internal/cli/target.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cli import ( diff --git a/internal/cli/usercmd/app.go b/internal/cli/usercmd/app.go index c417949674..4917eff589 100644 --- a/internal/cli/usercmd/app.go +++ b/internal/cli/usercmd/app.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/app_test.go b/internal/cli/usercmd/app_test.go index f0a8b9230d..c051a3602e 100644 --- a/internal/cli/usercmd/app_test.go +++ b/internal/cli/usercmd/app_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd_test import ( diff --git a/internal/cli/usercmd/chart.go b/internal/cli/usercmd/chart.go index a7fb6cc0cc..08492f1d89 100644 --- a/internal/cli/usercmd/chart.go +++ b/internal/cli/usercmd/chart.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/client.go b/internal/cli/usercmd/client.go index b98be1fc43..5db49ac9b7 100644 --- a/internal/cli/usercmd/client.go +++ b/internal/cli/usercmd/client.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package usercmd provides Epinio CLI commands for users package usercmd diff --git a/internal/cli/usercmd/clientsync.go b/internal/cli/usercmd/clientsync.go index 4d3de8d9da..c95a22cc96 100644 --- a/internal/cli/usercmd/clientsync.go +++ b/internal/cli/usercmd/clientsync.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/configuration.go b/internal/cli/usercmd/configuration.go index 203e55e577..0e515adc4d 100644 --- a/internal/cli/usercmd/configuration.go +++ b/internal/cli/usercmd/configuration.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/env.go b/internal/cli/usercmd/env.go index 2f8576116c..bcc8668584 100644 --- a/internal/cli/usercmd/env.go +++ b/internal/cli/usercmd/env.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/info.go b/internal/cli/usercmd/info.go index 7675306831..fa79ecef64 100644 --- a/internal/cli/usercmd/info.go +++ b/internal/cli/usercmd/info.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/login.go b/internal/cli/usercmd/login.go index 7b05f6886c..c4fcdb90f2 100644 --- a/internal/cli/usercmd/login.go +++ b/internal/cli/usercmd/login.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/login_oidc.go b/internal/cli/usercmd/login_oidc.go index f807e579ed..291ba6bc8a 100644 --- a/internal/cli/usercmd/login_oidc.go +++ b/internal/cli/usercmd/login_oidc.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/namespace.go b/internal/cli/usercmd/namespace.go index f2d3a40d0e..38939de014 100644 --- a/internal/cli/usercmd/namespace.go +++ b/internal/cli/usercmd/namespace.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/push.go b/internal/cli/usercmd/push.go index 93a2209eab..91d9023aa9 100644 --- a/internal/cli/usercmd/push.go +++ b/internal/cli/usercmd/push.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/service.go b/internal/cli/usercmd/service.go index 0319133bf3..ce0be0bdd5 100644 --- a/internal/cli/usercmd/service.go +++ b/internal/cli/usercmd/service.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd import ( diff --git a/internal/cli/usercmd/suite_test.go b/internal/cli/usercmd/suite_test.go index adb3791912..e76a2c6f0c 100644 --- a/internal/cli/usercmd/suite_test.go +++ b/internal/cli/usercmd/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package usercmd_test import ( diff --git a/internal/cli/usercmd/usercmdfakes/fake_apiclient.go b/internal/cli/usercmd/usercmdfakes/fake_apiclient.go index 29441ae0f0..339cde384f 100644 --- a/internal/cli/usercmd/usercmdfakes/fake_apiclient.go +++ b/internal/cli/usercmd/usercmdfakes/fake_apiclient.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Code generated by counterfeiter. DO NOT EDIT. package usercmdfakes diff --git a/internal/configurations/configurations.go b/internal/configurations/configurations.go index dc3524d626..a657e105a4 100644 --- a/internal/configurations/configurations.go +++ b/internal/configurations/configurations.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package configurations encapsulates all the functionality around Epinio configurations // A Configuration is essentially a Secret with some Epinio specific labels. // This allows us to use any Secret as a Configuration as long as someone labels diff --git a/internal/configurations/configurations_suite_test.go b/internal/configurations/configurations_suite_test.go index 2e630e1555..803d3b61e9 100644 --- a/internal/configurations/configurations_suite_test.go +++ b/internal/configurations/configurations_suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package configurations_test import ( diff --git a/internal/configurations/configurations_test.go b/internal/configurations/configurations_test.go index d0074a5f17..9fb6c50596 100644 --- a/internal/configurations/configurations_test.go +++ b/internal/configurations/configurations_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package configurations_test import ( diff --git a/internal/dex/code_verifier.go b/internal/dex/code_verifier.go index b7cecb7bcd..46f810cf29 100644 --- a/internal/dex/code_verifier.go +++ b/internal/dex/code_verifier.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package dex import ( diff --git a/internal/dex/config.go b/internal/dex/config.go index d218d632d5..5a493b560a 100644 --- a/internal/dex/config.go +++ b/internal/dex/config.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package dex import ( diff --git a/internal/dex/dex.go b/internal/dex/dex.go index ec06be6bd9..1b4738d909 100644 --- a/internal/dex/dex.go +++ b/internal/dex/dex.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package dex import ( diff --git a/internal/domain/domain.go b/internal/domain/domain.go index 83358977ec..c62031afc1 100644 --- a/internal/domain/domain.go +++ b/internal/domain/domain.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package domain collects structures and functions around the domains the client works with. package domain diff --git a/internal/domain/domain_suite_test.go b/internal/domain/domain_suite_test.go index 9e34a1140e..7f16ddcd8a 100644 --- a/internal/domain/domain_suite_test.go +++ b/internal/domain/domain_suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package domain import ( diff --git a/internal/domain/match.go b/internal/domain/match.go index ca6583adea..ef2801cfdb 100644 --- a/internal/domain/match.go +++ b/internal/domain/match.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package domain import ( diff --git a/internal/domain/match_test.go b/internal/domain/match_test.go index 6c64511c13..5190da63b4 100644 --- a/internal/domain/match_test.go +++ b/internal/domain/match_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package domain import ( diff --git a/internal/duration/duration.go b/internal/duration/duration.go index 946bd32dc0..50df5d207d 100644 --- a/internal/duration/duration.go +++ b/internal/duration/duration.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package duration defines the various durations used throughout // Epinio, as timeouts, and other. package duration diff --git a/internal/errors/errors.go b/internal/errors/errors.go index 139d473f68..48958c4891 100644 --- a/internal/errors/errors.go +++ b/internal/errors/errors.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package errors is a collection of various custom errors returned by Epinio methods. // They are split in a separate package to avoid import loops. package errors diff --git a/internal/helm/helm.go b/internal/helm/helm.go index 24517febfb..6ae58b270a 100644 --- a/internal/helm/helm.go +++ b/internal/helm/helm.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package helm contains the epinio-specific core to the helm client libraries. It exposes // the functionality to deploy and remove helm charts/releases. package helm diff --git a/internal/helm/helm_test.go b/internal/helm/helm_test.go index c53dab1a19..dd219ef676 100644 --- a/internal/helm/helm_test.go +++ b/internal/helm/helm_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package helm import ( diff --git a/internal/helm/suite_test.go b/internal/helm/suite_test.go index 6a7efd0ddd..e6f2fd1bb1 100644 --- a/internal/helm/suite_test.go +++ b/internal/helm/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package helm_test import ( diff --git a/internal/helmchart/constants.go b/internal/helmchart/constants.go index 9ae6148515..b28b117959 100644 --- a/internal/helmchart/constants.go +++ b/internal/helmchart/constants.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package helmchart import "github.com/spf13/viper" diff --git a/internal/manifest/manifest.go b/internal/manifest/manifest.go index 59262b71c3..4fb1cc718e 100644 --- a/internal/manifest/manifest.go +++ b/internal/manifest/manifest.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package manifest import ( diff --git a/internal/manifest/manifest_test.go b/internal/manifest/manifest_test.go index f9897bc4d2..2d09876ca4 100644 --- a/internal/manifest/manifest_test.go +++ b/internal/manifest/manifest_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package manifest_test import ( diff --git a/internal/manifest/suite_test.go b/internal/manifest/suite_test.go index 6553ac8796..41d5682cc8 100644 --- a/internal/manifest/suite_test.go +++ b/internal/manifest/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package manifest_test import ( diff --git a/internal/names/names.go b/internal/names/names.go index c7eb93fadc..b65ccdd3d3 100644 --- a/internal/names/names.go +++ b/internal/names/names.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 collects functions encapsulating the rules for // constructing a variety of kube resource names package names diff --git a/internal/names/names_test.go b/internal/names/names_test.go index a61e7fd9af..8231c0dbf8 100644 --- a/internal/names/names_test.go +++ b/internal/names/names_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/internal/names/suite_test.go b/internal/names/suite_test.go index a6e226a06f..8d08136fb8 100644 --- a/internal/names/suite_test.go +++ b/internal/names/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/internal/namespaces/namespaces.go b/internal/namespaces/namespaces.go index a847e94fdd..89ef6224b6 100644 --- a/internal/namespaces/namespaces.go +++ b/internal/namespaces/namespaces.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package namespaces encapsulates all the functionality around Epinio-controlled namespaces // TODO: Consider moving this + the applications + the configurations packages under // "models". diff --git a/internal/registry/registry.go b/internal/registry/registry.go index 0e215f9e54..a4df073066 100644 --- a/internal/registry/registry.go +++ b/internal/registry/registry.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package registry implements the various functions needed to store and retrieve images // from a container registry. package registry diff --git a/internal/registry/registry_test.go b/internal/registry/registry_test.go index 6bc1dabb1e..85bcd9cff4 100644 --- a/internal/registry/registry_test.go +++ b/internal/registry/registry_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package registry_test import ( diff --git a/internal/registry/suite_test.go b/internal/registry/suite_test.go index 356025b58d..5cff59c492 100644 --- a/internal/registry/suite_test.go +++ b/internal/registry/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package registry_test import ( diff --git a/internal/routes/routes.go b/internal/routes/routes.go index ccf10c274b..12d70c1880 100644 --- a/internal/routes/routes.go +++ b/internal/routes/routes.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package routes import ( diff --git a/internal/routes/routes_test.go b/internal/routes/routes_test.go index 92016c8dcf..e074009775 100644 --- a/internal/routes/routes_test.go +++ b/internal/routes/routes_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package routes_test import ( diff --git a/internal/routes/suite_test.go b/internal/routes/suite_test.go index be13c19397..077266341b 100644 --- a/internal/routes/suite_test.go +++ b/internal/routes/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package routes_test import ( diff --git a/internal/s3manager/s3manager.go b/internal/s3manager/s3manager.go index 7c7f7f0050..e3fd309f04 100644 --- a/internal/s3manager/s3manager.go +++ b/internal/s3manager/s3manager.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package s3manager implements the various functions needed to store and retrieve // files from an S3 API compatible endpoint (AWS S3, Minio, etc) package s3manager diff --git a/internal/s3manager/s3manager_test.go b/internal/s3manager/s3manager_test.go index f611f5b57a..2562d6cbbb 100644 --- a/internal/s3manager/s3manager_test.go +++ b/internal/s3manager/s3manager_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package s3manager_test import ( diff --git a/internal/s3manager/suite_test.go b/internal/s3manager/suite_test.go index d86cc4ab87..2b14e145c7 100644 --- a/internal/s3manager/suite_test.go +++ b/internal/s3manager/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package s3manager_test import ( diff --git a/internal/selfupdater/posixupdater.go b/internal/selfupdater/posixupdater.go index 2e32bd4e2a..1be24e59d6 100644 --- a/internal/selfupdater/posixupdater.go +++ b/internal/selfupdater/posixupdater.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package selfupdater import ( diff --git a/internal/selfupdater/selfupdater.go b/internal/selfupdater/selfupdater.go index 79f75fa533..5276919965 100644 --- a/internal/selfupdater/selfupdater.go +++ b/internal/selfupdater/selfupdater.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package selfupdater is used to replace the current running binary, with // a given version. It is used to sync the cli to the server version. package selfupdater diff --git a/internal/selfupdater/windowsupdater.go b/internal/selfupdater/windowsupdater.go index d9c40bffbc..da61470480 100644 --- a/internal/selfupdater/windowsupdater.go +++ b/internal/selfupdater/windowsupdater.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package selfupdater import ( diff --git a/internal/services/catalog.go b/internal/services/catalog.go index 04e900de7d..e68d7eacd2 100644 --- a/internal/services/catalog.go +++ b/internal/services/catalog.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package services import ( diff --git a/internal/services/client.go b/internal/services/client.go index f5183fb2fe..6b8f6342a9 100644 --- a/internal/services/client.go +++ b/internal/services/client.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package services import ( diff --git a/internal/services/instances.go b/internal/services/instances.go index bac8b960c3..b82030eea3 100644 --- a/internal/services/instances.go +++ b/internal/services/instances.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package services import ( diff --git a/internal/services/instances_test.go b/internal/services/instances_test.go index 0c75ba0286..e092c0a512 100644 --- a/internal/services/instances_test.go +++ b/internal/services/instances_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package services_test import ( diff --git a/internal/services/suite_test.go b/internal/services/suite_test.go index 1411e5de20..e79825a591 100644 --- a/internal/services/suite_test.go +++ b/internal/services/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package services_test import ( diff --git a/internal/version/version.go b/internal/version/version.go index e1ef7aa6f8..398d9c1c38 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 contains the variable holding the client's version number. package version diff --git a/main.go b/main.go index 6580d41c19..36c8ad8702 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 "github.com/epinio/epinio/internal/cli" diff --git a/main_test.go b/main_test.go index 87c0139957..0edc0c3d08 100644 --- a/main_test.go +++ b/main_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/pkg/api/core/v1/client/app_restart_test.go b/pkg/api/core/v1/client/app_restart_test.go index cdb21af85f..e9870b5228 100644 --- a/pkg/api/core/v1/client/app_restart_test.go +++ b/pkg/api/core/v1/client/app_restart_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/pkg/api/core/v1/client/apps.go b/pkg/api/core/v1/client/apps.go index fc565f794a..11dbe6d735 100644 --- a/pkg/api/core/v1/client/apps.go +++ b/pkg/api/core/v1/client/apps.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/api/core/v1/client/apps_test.go b/pkg/api/core/v1/client/apps_test.go index d01965ed87..1f270536ef 100644 --- a/pkg/api/core/v1/client/apps_test.go +++ b/pkg/api/core/v1/client/apps_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/pkg/api/core/v1/client/chart.go b/pkg/api/core/v1/client/chart.go index a2e02d0908..73e44582c0 100644 --- a/pkg/api/core/v1/client/chart.go +++ b/pkg/api/core/v1/client/chart.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/api/core/v1/client/client.go b/pkg/api/core/v1/client/client.go index 1b677d1526..ece4a2e7b4 100644 --- a/pkg/api/core/v1/client/client.go +++ b/pkg/api/core/v1/client/client.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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 connects to the Epinio API's endpoints package client diff --git a/pkg/api/core/v1/client/configurations.go b/pkg/api/core/v1/client/configurations.go index c7c9006afb..a43a83e218 100644 --- a/pkg/api/core/v1/client/configurations.go +++ b/pkg/api/core/v1/client/configurations.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/api/core/v1/client/envs.go b/pkg/api/core/v1/client/envs.go index 6dbe3a5b56..a8cf5f69c0 100644 --- a/pkg/api/core/v1/client/envs.go +++ b/pkg/api/core/v1/client/envs.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/api/core/v1/client/http.go b/pkg/api/core/v1/client/http.go index 8c324eb179..23f64c25f4 100644 --- a/pkg/api/core/v1/client/http.go +++ b/pkg/api/core/v1/client/http.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/api/core/v1/client/info.go b/pkg/api/core/v1/client/info.go index 271a494b0d..3b18b429fc 100644 --- a/pkg/api/core/v1/client/info.go +++ b/pkg/api/core/v1/client/info.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/api/core/v1/client/namespaces.go b/pkg/api/core/v1/client/namespaces.go index c7b2cf6f12..7e47648d70 100644 --- a/pkg/api/core/v1/client/namespaces.go +++ b/pkg/api/core/v1/client/namespaces.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/api/core/v1/client/services.go b/pkg/api/core/v1/client/services.go index 142520c742..5c5e9ea3a4 100644 --- a/pkg/api/core/v1/client/services.go +++ b/pkg/api/core/v1/client/services.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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/api/core/v1/client/suite_test.go b/pkg/api/core/v1/client/suite_test.go index 6125aa1e04..5ea36f9b5b 100644 --- a/pkg/api/core/v1/client/suite_test.go +++ b/pkg/api/core/v1/client/suite_test.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES 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_test import ( diff --git a/pkg/api/core/v1/errors/errors.go b/pkg/api/core/v1/errors/errors.go index dfc14e8008..ce4d936ab0 100644 --- a/pkg/api/core/v1/errors/errors.go +++ b/pkg/api/core/v1/errors/errors.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package errors import ( diff --git a/pkg/api/core/v1/models/app.go b/pkg/api/core/v1/models/app.go index 93cc45d5ab..9e1339282e 100644 --- a/pkg/api/core/v1/models/app.go +++ b/pkg/api/core/v1/models/app.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package models import ( diff --git a/pkg/api/core/v1/models/env.go b/pkg/api/core/v1/models/env.go index a7473ab605..6c47f1b3c1 100644 --- a/pkg/api/core/v1/models/env.go +++ b/pkg/api/core/v1/models/env.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package models // __ATTENTION__ Functionally identical to AppSettings, AppSettingList diff --git a/pkg/api/core/v1/models/models.go b/pkg/api/core/v1/models/models.go index 8b19b7c38a..2fce7a091c 100644 --- a/pkg/api/core/v1/models/models.go +++ b/pkg/api/core/v1/models/models.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package models contains the types (mostly structures) encapsulating // the API requests and reponses used by the communication between // epinio client and APIserver. diff --git a/pkg/api/core/v1/models/namespace.go b/pkg/api/core/v1/models/namespace.go index 025a7be225..2872e67d9f 100644 --- a/pkg/api/core/v1/models/namespace.go +++ b/pkg/api/core/v1/models/namespace.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package models // Namespace has all the namespace properties, i.e. name, app names, and configuration names diff --git a/pkg/api/core/v1/models/settings.go b/pkg/api/core/v1/models/settings.go index efb33cb0d4..ce3c3b720d 100644 --- a/pkg/api/core/v1/models/settings.go +++ b/pkg/api/core/v1/models/settings.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package models // __ATTENTION__ Functionally identical to EnvVariableMap, EnvVariableList diff --git a/pkg/api/core/v1/models/sort.go b/pkg/api/core/v1/models/sort.go index e69a35785d..8ee3f76b61 100644 --- a/pkg/api/core/v1/models/sort.go +++ b/pkg/api/core/v1/models/sort.go @@ -1,3 +1,14 @@ +// Copyright © 2021 - 2023 SUSE LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package models // Implement the Sort interface for configuration response slices diff --git a/scripts/acceptance-cluster-setup-kind.sh b/scripts/acceptance-cluster-setup-kind.sh index b33beaa41e..9324629126 100755 --- a/scripts/acceptance-cluster-setup-kind.sh +++ b/scripts/acceptance-cluster-setup-kind.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/acceptance-cluster-setup.sh b/scripts/acceptance-cluster-setup.sh index bf0378bf5a..043a8bacc7 100755 --- a/scripts/acceptance-cluster-setup.sh +++ b/scripts/acceptance-cluster-setup.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/build-images.sh b/scripts/build-images.sh index b78df24c8b..eb2246ee7a 100755 --- a/scripts/build-images.sh +++ b/scripts/build-images.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/cli-docs-generate.sh b/scripts/cli-docs-generate.sh index e57f394ba2..6b8b032ad8 100755 --- a/scripts/cli-docs-generate.sh +++ b/scripts/cli-docs-generate.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/collect-coverage.sh b/scripts/collect-coverage.sh index e9805cdcc6..b8c1fea9cc 100755 --- a/scripts/collect-coverage.sh +++ b/scripts/collect-coverage.sh @@ -1,4 +1,14 @@ #!/bin/sh +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -ex diff --git a/scripts/get-free-ip.sh b/scripts/get-free-ip.sh index 7bd69eadb1..06e606a43e 100755 --- a/scripts/get-free-ip.sh +++ b/scripts/get-free-ip.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/get-latest-epinio-win.sh b/scripts/get-latest-epinio-win.sh index 66d16d3608..e1dbca66d9 100755 --- a/scripts/get-latest-epinio-win.sh +++ b/scripts/get-latest-epinio-win.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. ORG=epinio PROJECT=epinio diff --git a/scripts/get-latest-epinio.sh b/scripts/get-latest-epinio.sh index caa337074b..a5cf0cfc1b 100755 --- a/scripts/get-latest-epinio.sh +++ b/scripts/get-latest-epinio.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. ORG=epinio PROJECT=epinio diff --git a/scripts/helpers.sh b/scripts/helpers.sh index aedebbf8b2..f73cdd348e 100644 --- a/scripts/helpers.sh +++ b/scripts/helpers.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/install-epinio-ui.sh b/scripts/install-epinio-ui.sh index 961ec28edb..8ff30c7f54 100755 --- a/scripts/install-epinio-ui.sh +++ b/scripts/install-epinio-ui.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/kdump.sh b/scripts/kdump.sh index 1ba2011871..cef77247b4 100755 --- a/scripts/kdump.sh +++ b/scripts/kdump.sh @@ -1,8 +1,17 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. dst="${1:-resources}" - rm -rf "${dst}" mkdir -p "${dst}" diff --git a/scripts/minikube-delete.sh b/scripts/minikube-delete.sh index 443fea5280..1fecae5a4c 100755 --- a/scripts/minikube-delete.sh +++ b/scripts/minikube-delete.sh @@ -1,4 +1,15 @@ #!/usr/bin/env bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + source scripts/include/setup.sh require_tools minikube diff --git a/scripts/minikube-start.sh b/scripts/minikube-start.sh index 2f2cb55f7f..44ada96b3d 100755 --- a/scripts/minikube-start.sh +++ b/scripts/minikube-start.sh @@ -1,4 +1,15 @@ #!/usr/bin/env bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + source scripts/include/setup.sh require_tools minikube diff --git a/scripts/patch-epinio-deployment.sh b/scripts/patch-epinio-deployment.sh index f5ea896ec2..fc1cbaf1bf 100755 --- a/scripts/patch-epinio-deployment.sh +++ b/scripts/patch-epinio-deployment.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/prepare-environment-k3d.sh b/scripts/prepare-environment-k3d.sh index b390718d3c..51081e1157 100755 --- a/scripts/prepare-environment-k3d.sh +++ b/scripts/prepare-environment-k3d.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/remove-github-action-runner.sh b/scripts/remove-github-action-runner.sh index c02b39ddc6..08863d27c9 100755 --- a/scripts/remove-github-action-runner.sh +++ b/scripts/remove-github-action-runner.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 can be used to remove a Github Action Runner on an openSUSE or SLE # distro. It will unconfigure the service and unregister the runner. diff --git a/scripts/remove-helm-repos.sh b/scripts/remove-helm-repos.sh index e5c4fb998a..f452d2a243 100755 --- a/scripts/remove-helm-repos.sh +++ b/scripts/remove-helm-repos.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/setup-github-action-runner.sh b/scripts/setup-github-action-runner.sh index 66fe14264b..882d4c0511 100755 --- a/scripts/setup-github-action-runner.sh +++ b/scripts/setup-github-action-runner.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 can be used to create a Github Action Runner on an openSUSE or SLE # distro. It installs all the needed dependencies to run the acceptance tests diff --git a/scripts/swagger-serve.sh b/scripts/swagger-serve.sh index 5dd0a61ffc..1da77596c4 100755 --- a/scripts/swagger-serve.sh +++ b/scripts/swagger-serve.sh @@ -1,4 +1,14 @@ #!/bin/bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 -e diff --git a/scripts/tools-install.sh b/scripts/tools-install.sh index 491541fe6d..92a2a552e8 100755 --- a/scripts/tools-install.sh +++ b/scripts/tools-install.sh @@ -1,4 +1,14 @@ #!/usr/bin/env bash +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. function colorize { local color=$1 diff --git a/scripts/tools/helm.sh b/scripts/tools/helm.sh index 7ca3cfb6b6..87e88d9da7 100755 --- a/scripts/tools/helm.sh +++ b/scripts/tools/helm.sh @@ -1,4 +1,15 @@ +#!/bin/bash set -e +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. VERSION="3.9.0" diff --git a/scripts/tools/jq.sh b/scripts/tools/jq.sh index d43e0a8e3b..00edcb0f39 100644 --- a/scripts/tools/jq.sh +++ b/scripts/tools/jq.sh @@ -1,4 +1,15 @@ +#!/bin/bash set -e +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. VERSION="1.6" diff --git a/scripts/tools/k3d.sh b/scripts/tools/k3d.sh index f495192c49..9fe2785d4f 100644 --- a/scripts/tools/k3d.sh +++ b/scripts/tools/k3d.sh @@ -1,4 +1,15 @@ +#!/bin/bash set -e +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. VERSION="5.0.0" diff --git a/scripts/tools/shellcheck.sh b/scripts/tools/shellcheck.sh index 9a9e5cb42a..e5ac662db3 100644 --- a/scripts/tools/shellcheck.sh +++ b/scripts/tools/shellcheck.sh @@ -1,4 +1,15 @@ +#!/bin/bash set -e +# Copyright © 2021 - 2023 SUSE LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. VERSION="0.7.0"