From 715977b99645ec634c8e01b0a0a24df54efa6396 Mon Sep 17 00:00:00 2001 From: wass3rw3rk <49894298+wass3rw3rk@users.noreply.github.com> Date: Fri, 22 Sep 2023 11:03:22 -0500 Subject: [PATCH] chore(license): update source code headers + copyright year --- .github/README.md | 4 ++-- .golangci.yml | 4 +--- Dockerfile | 4 +--- Dockerfile-alpine | 4 +--- LICENSE | 2 +- Makefile | 4 +--- api/build.go | 4 +--- api/doc.go | 4 +--- api/executor.go | 4 +--- api/health.go | 4 +--- api/metrics.go | 4 +--- api/pipeline.go | 4 +--- api/register.go | 4 +--- api/repo.go | 4 +--- api/shutdown.go | 4 +--- api/version.go | 4 +--- cmd/vela-worker/client.go | 4 +--- cmd/vela-worker/exec.go | 4 +--- cmd/vela-worker/flags.go | 4 +--- cmd/vela-worker/main.go | 6 ++---- cmd/vela-worker/operate.go | 4 +--- cmd/vela-worker/register.go | 4 +--- cmd/vela-worker/run.go | 4 +--- cmd/vela-worker/server.go | 4 +--- cmd/vela-worker/start.go | 4 +--- cmd/vela-worker/validate.go | 4 +--- cmd/vela-worker/worker.go | 4 +--- docker-compose.yml | 4 +--- executor/context.go | 4 +--- executor/context_test.go | 4 +--- executor/doc.go | 4 +--- executor/engine.go | 4 +--- executor/executor.go | 4 +--- executor/executor_test.go | 4 +--- executor/flags.go | 4 +--- executor/linux/api.go | 4 +--- executor/linux/api_test.go | 4 +--- executor/linux/build.go | 4 +--- executor/linux/build_test.go | 4 +--- executor/linux/doc.go | 4 +--- executor/linux/driver.go | 4 +--- executor/linux/driver_test.go | 4 +--- executor/linux/linux.go | 4 +--- executor/linux/linux_test.go | 4 +--- executor/linux/opts.go | 4 +--- executor/linux/opts_test.go | 4 +--- executor/linux/secret.go | 4 +--- executor/linux/secret_test.go | 4 +--- executor/linux/service.go | 4 +--- executor/linux/service_test.go | 4 +--- executor/linux/stage.go | 4 +--- executor/linux/stage_test.go | 4 +--- executor/linux/step.go | 4 +--- executor/linux/step_test.go | 4 +--- executor/local/api.go | 4 +--- executor/local/api_test.go | 4 +--- executor/local/build.go | 4 +--- executor/local/build_test.go | 4 +--- executor/local/doc.go | 4 +--- executor/local/driver.go | 4 +--- executor/local/driver_test.go | 4 +--- executor/local/local.go | 4 +--- executor/local/local_test.go | 4 +--- executor/local/opts.go | 4 +--- executor/local/opts_test.go | 4 +--- executor/local/service.go | 4 +--- executor/local/service_test.go | 4 +--- executor/local/stage.go | 4 +--- executor/local/stage_test.go | 4 +--- executor/local/step.go | 4 +--- executor/local/step_test.go | 4 +--- executor/setup.go | 4 +--- executor/setup_test.go | 4 +--- internal/build/doc.go | 4 +--- internal/build/snapshot.go | 4 +--- internal/build/snapshot_test.go | 4 +--- internal/build/upload.go | 4 +--- internal/build/upload_test.go | 4 +--- internal/context/context.go | 4 +--- internal/context/context_test.go | 4 +--- internal/context/doc.go | 4 +--- internal/doc.go | 4 +--- internal/image/doc.go | 4 +--- internal/image/image.go | 4 +--- internal/image/image_test.go | 4 +--- internal/internal.go | 4 +--- internal/message/doc.go | 4 +--- internal/message/stream.go | 4 +--- internal/service/doc.go | 4 +--- internal/service/environment.go | 4 +--- internal/service/environment_test.go | 4 +--- internal/service/load.go | 4 +--- internal/service/load_test.go | 4 +--- internal/service/snapshot.go | 4 +--- internal/service/snapshot_test.go | 4 +--- internal/service/upload.go | 4 +--- internal/service/upload_test.go | 4 +--- internal/step/doc.go | 4 +--- internal/step/environment.go | 4 +--- internal/step/environment_test.go | 4 +--- internal/step/load.go | 4 +--- internal/step/load_test.go | 4 +--- internal/step/skip.go | 4 +--- internal/step/skip_test.go | 4 +--- internal/step/snapshot.go | 4 +--- internal/step/snapshot_test.go | 4 +--- internal/step/upload.go | 4 +--- internal/step/upload_test.go | 4 +--- internal/volume/doc.go | 4 +--- internal/volume/volume.go | 4 +--- internal/volume/volume_test.go | 4 +--- mock/doc.go | 4 +--- mock/docker/config.go | 4 +--- mock/docker/container.go | 4 +--- mock/docker/distribution.go | 4 +--- mock/docker/doc.go | 4 +--- mock/docker/docker.go | 4 +--- mock/docker/image.go | 4 +--- mock/docker/mock.go | 4 +--- mock/docker/network.go | 4 +--- mock/docker/node.go | 4 +--- mock/docker/plugin.go | 4 +--- mock/docker/secret.go | 4 +--- mock/docker/service.go | 4 +--- mock/docker/swarm.go | 4 +--- mock/docker/system.go | 4 +--- mock/docker/volume.go | 4 +--- mock/mock.go | 4 +--- mock/worker/build.go | 4 +--- mock/worker/doc.go | 4 +--- mock/worker/executor.go | 4 +--- mock/worker/pipeline.go | 4 +--- mock/worker/register.go | 4 +--- mock/worker/repo.go | 4 +--- mock/worker/server.go | 4 +--- router/build.go | 4 +--- router/build_test.go | 4 +--- router/doc.go | 4 +--- router/executor.go | 4 +--- router/executor_test.go | 4 +--- router/middleware/doc.go | 4 +--- router/middleware/executor.go | 4 +--- router/middleware/executor/executor.go | 4 +--- router/middleware/executor/executor_test.go | 4 +--- router/middleware/executor_test.go | 4 +--- router/middleware/header.go | 4 +--- router/middleware/header_test.go | 4 +--- router/middleware/logger.go | 4 +--- router/middleware/logger_test.go | 4 +--- router/middleware/payload.go | 4 +--- router/middleware/payload_test.go | 4 +--- router/middleware/perm/doc.go | 4 +--- router/middleware/perm/perm.go | 4 +--- router/middleware/perm/perm_test.go | 4 +--- router/middleware/register_token.go | 4 +--- router/middleware/register_token_test.go | 4 +--- router/middleware/server.go | 4 +--- router/middleware/server_test.go | 4 +--- router/middleware/token/doc.go | 4 +--- router/middleware/token/token.go | 4 +--- router/middleware/token/token_test.go | 4 +--- router/middleware/worker.go | 4 +--- router/middleware/worker_test.go | 4 +--- router/pipeline.go | 4 +--- router/pipeline_test.go | 4 +--- router/repo.go | 4 +--- router/repo_test.go | 4 +--- router/router.go | 4 +--- router/router_test.go | 4 +--- runtime/context.go | 4 +--- runtime/context_test.go | 4 +--- runtime/doc.go | 4 +--- runtime/docker/build.go | 4 +--- runtime/docker/build_test.go | 4 +--- runtime/docker/container.go | 4 +--- runtime/docker/container_test.go | 4 +--- runtime/docker/doc.go | 4 +--- runtime/docker/docker.go | 4 +--- runtime/docker/docker_test.go | 4 +--- runtime/docker/driver.go | 4 +--- runtime/docker/driver_test.go | 4 +--- runtime/docker/image.go | 4 +--- runtime/docker/image_test.go | 4 +--- runtime/docker/network.go | 4 +--- runtime/docker/network_test.go | 4 +--- runtime/docker/opts.go | 4 +--- runtime/docker/opts_test.go | 4 +--- runtime/docker/volume.go | 4 +--- runtime/docker/volume_test.go | 4 +--- runtime/engine.go | 4 +--- runtime/flags.go | 4 +--- runtime/kubernetes/apis/doc.go | 4 +--- runtime/kubernetes/apis/vela/register.go | 4 +--- runtime/kubernetes/apis/vela/v1alpha1/doc.go | 4 +--- runtime/kubernetes/apis/vela/v1alpha1/register.go | 4 +--- runtime/kubernetes/apis/vela/v1alpha1/types.go | 4 +--- .../kubernetes/apis/vela/v1alpha1/zz_generated.deepcopy.go | 4 +--- runtime/kubernetes/build.go | 4 +--- runtime/kubernetes/build_test.go | 4 +--- runtime/kubernetes/codegen/header.go.txt | 4 +--- runtime/kubernetes/container.go | 4 +--- runtime/kubernetes/container_test.go | 4 +--- runtime/kubernetes/doc.go | 4 +--- runtime/kubernetes/driver.go | 4 +--- runtime/kubernetes/driver_test.go | 4 +--- .../kubernetes/generated/clientset/versioned/clientset.go | 4 +--- runtime/kubernetes/generated/clientset/versioned/doc.go | 4 +--- .../clientset/versioned/fake/clientset_generated.go | 4 +--- .../kubernetes/generated/clientset/versioned/fake/doc.go | 4 +--- .../generated/clientset/versioned/fake/register.go | 4 +--- .../kubernetes/generated/clientset/versioned/scheme/doc.go | 4 +--- .../generated/clientset/versioned/scheme/register.go | 4 +--- .../clientset/versioned/typed/vela/v1alpha1/doc.go | 4 +--- .../clientset/versioned/typed/vela/v1alpha1/fake/doc.go | 4 +--- .../typed/vela/v1alpha1/fake/fake_pipelinepodstemplate.go | 4 +--- .../versioned/typed/vela/v1alpha1/fake/fake_vela_client.go | 4 +--- .../versioned/typed/vela/v1alpha1/generated_expansion.go | 4 +--- .../versioned/typed/vela/v1alpha1/pipelinepodstemplate.go | 4 +--- .../clientset/versioned/typed/vela/v1alpha1/vela_client.go | 4 +--- runtime/kubernetes/image.go | 4 +--- runtime/kubernetes/image_test.go | 4 +--- runtime/kubernetes/kubernetes.go | 4 +--- runtime/kubernetes/kubernetes_test.go | 4 +--- runtime/kubernetes/mock.go | 4 +--- runtime/kubernetes/network.go | 4 +--- runtime/kubernetes/network_test.go | 4 +--- runtime/kubernetes/opts.go | 4 +--- runtime/kubernetes/opts_test.go | 4 +--- runtime/kubernetes/pod_tracker.go | 4 +--- runtime/kubernetes/pod_tracker_test.go | 4 +--- runtime/kubernetes/volume.go | 4 +--- runtime/kubernetes/volume_test.go | 4 +--- runtime/runtime.go | 4 +--- runtime/runtime_test.go | 4 +--- runtime/setup.go | 4 +--- runtime/setup_test.go | 4 +--- version/version.go | 4 +--- 237 files changed, 239 insertions(+), 709 deletions(-) diff --git a/.github/README.md b/.github/README.md index ffbb08cd..7c5fa45b 100644 --- a/.github/README.md +++ b/.github/README.md @@ -34,8 +34,8 @@ Please see our [support](SUPPORT.md) documentation for further instructions. ## Copyright and License ``` -Copyright (c) 2022 Target Brands, Inc. +Copyright 2019 Target Brands, Inc. ``` -[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) +[Apache License, Version 2.0](../LICENSE) diff --git a/.golangci.yml b/.golangci.yml index 97b6d15a..44382f6f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -35,9 +35,7 @@ linters-settings: # https://github.com/denis-tingaikin/go-header goheader: template: |- - Copyright (c) {{ YEAR }} Target Brands, Inc. All rights reserved. - - Use of this source code is governed by the LICENSE file in this repository. + SPDX-License-Identifier: Apache-2.0 # https://github.com/client9/misspell misspell: diff --git a/Dockerfile b/Dockerfile index a5b5726d..0a70cbfb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,4 @@ -# Copyright (c) 2022 Target Brands, Inc. All rights reserved. -# -# Use of this source code is governed by the LICENSE file in this repository. +# SPDX-License-Identifier: Apache-2.0 FROM alpine:3.18.3@sha256:c5c5fda71656f28e49ac9c5416b3643eaa6a108a8093151d6d1afc9463be8e33 as certs diff --git a/Dockerfile-alpine b/Dockerfile-alpine index e66160cc..ef20cfb7 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,6 +1,4 @@ -# Copyright (c) 2022 Target Brands, Inc. All rights reserved. -# -# Use of this source code is governed by the LICENSE file in this repository. +# SPDX-License-Identifier: Apache-2.0 FROM alpine:3.18.3@sha256:c5c5fda71656f28e49ac9c5416b3643eaa6a108a8093151d6d1afc9463be8e33 diff --git a/LICENSE b/LICENSE index 3abdb036..1decd39e 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright (c) 2022 Target Brands, Inc. + Copyright 2019 Target Brands, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/Makefile b/Makefile index 17a3f42a..2c4adfdd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,4 @@ -# Copyright (c) 2022 Target Brands, Inc. All rights reserved. -# -# Use of this source code is governed by the LICENSE file in this repository. +# SPDX-License-Identifier: Apache-2.0 # capture the current date we build the application from BUILD_DATE = $(shell date +%Y-%m-%dT%H:%M:%SZ) diff --git a/api/build.go b/api/build.go index 71e70d60..ab15b247 100644 --- a/api/build.go +++ b/api/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/doc.go b/api/doc.go index bba5c985..13e6a665 100644 --- a/api/doc.go +++ b/api/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package api provides the handlers for the Vela API. // diff --git a/api/executor.go b/api/executor.go index b9ff3949..3bde86b0 100644 --- a/api/executor.go +++ b/api/executor.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/health.go b/api/health.go index daa61090..b8a7dd2f 100644 --- a/api/health.go +++ b/api/health.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/metrics.go b/api/metrics.go index 02bb550f..d2aeae49 100644 --- a/api/metrics.go +++ b/api/metrics.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/pipeline.go b/api/pipeline.go index 7f266478..7087986a 100644 --- a/api/pipeline.go +++ b/api/pipeline.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/register.go b/api/register.go index ad7c6a4f..c530d28c 100644 --- a/api/register.go +++ b/api/register.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/repo.go b/api/repo.go index 473e9295..16544827 100644 --- a/api/repo.go +++ b/api/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/shutdown.go b/api/shutdown.go index e4d19351..e7ac9a6f 100644 --- a/api/shutdown.go +++ b/api/shutdown.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/version.go b/api/version.go index acbbb82b..bfd05a4c 100644 --- a/api/version.go +++ b/api/version.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/cmd/vela-worker/client.go b/cmd/vela-worker/client.go index 1f225856..7101af8a 100644 --- a/cmd/vela-worker/client.go +++ b/cmd/vela-worker/client.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-worker/exec.go b/cmd/vela-worker/exec.go index 8fb62239..e37d9d56 100644 --- a/cmd/vela-worker/exec.go +++ b/cmd/vela-worker/exec.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-worker/flags.go b/cmd/vela-worker/flags.go index 23d7b025..b6b91f91 100644 --- a/cmd/vela-worker/flags.go +++ b/cmd/vela-worker/flags.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-worker/main.go b/cmd/vela-worker/main.go index cef5fd75..53d4f67d 100644 --- a/cmd/vela-worker/main.go +++ b/cmd/vela-worker/main.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main @@ -55,7 +53,7 @@ func main() { app.Name = "vela-worker" app.HelpName = "vela-worker" app.Usage = "Vela build daemon designed for executing pipelines" - app.Copyright = "Copyright (c) 2022 Target Brands, Inc. All rights reserved." + app.Copyright = "Copyright 2019 Target Brands, Inc. All rights reserved." app.Authors = []*cli.Author{ { Name: "Vela Admins", diff --git a/cmd/vela-worker/operate.go b/cmd/vela-worker/operate.go index dfd84ed8..e472e1a5 100644 --- a/cmd/vela-worker/operate.go +++ b/cmd/vela-worker/operate.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-worker/register.go b/cmd/vela-worker/register.go index 5621fe1c..76ffab99 100644 --- a/cmd/vela-worker/register.go +++ b/cmd/vela-worker/register.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-worker/run.go b/cmd/vela-worker/run.go index 9b01f543..e8af8cd3 100644 --- a/cmd/vela-worker/run.go +++ b/cmd/vela-worker/run.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-worker/server.go b/cmd/vela-worker/server.go index e540fb29..1d694fc1 100644 --- a/cmd/vela-worker/server.go +++ b/cmd/vela-worker/server.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-worker/start.go b/cmd/vela-worker/start.go index 6f3b6077..7b497dc0 100644 --- a/cmd/vela-worker/start.go +++ b/cmd/vela-worker/start.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-worker/validate.go b/cmd/vela-worker/validate.go index 82d1b79a..b3c7f773 100644 --- a/cmd/vela-worker/validate.go +++ b/cmd/vela-worker/validate.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-worker/worker.go b/cmd/vela-worker/worker.go index aecc1a61..19c6c41b 100644 --- a/cmd/vela-worker/worker.go +++ b/cmd/vela-worker/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/docker-compose.yml b/docker-compose.yml index 80e0b31e..f50d7d07 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,4 @@ -# Copyright (c) 2022 Target Brands, Inc. All rights reserved. -# -# Use of this source code is governed by the LICENSE file in this repository. +# SPDX-License-Identifier: Apache-2.0 version: '3' services: diff --git a/executor/context.go b/executor/context.go index f6c5acf9..f473e0ec 100644 --- a/executor/context.go +++ b/executor/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executor diff --git a/executor/context_test.go b/executor/context_test.go index 280ee973..c98c4169 100644 --- a/executor/context_test.go +++ b/executor/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executor diff --git a/executor/doc.go b/executor/doc.go index b5a194f5..10ee7434 100644 --- a/executor/doc.go +++ b/executor/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package executor provides the ability for Vela to // integrate with different supported operating diff --git a/executor/engine.go b/executor/engine.go index 7f2f9048..f81b72d0 100644 --- a/executor/engine.go +++ b/executor/engine.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executor diff --git a/executor/executor.go b/executor/executor.go index b13fae91..6b77112a 100644 --- a/executor/executor.go +++ b/executor/executor.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executor diff --git a/executor/executor_test.go b/executor/executor_test.go index 082d7946..108a9cd6 100644 --- a/executor/executor_test.go +++ b/executor/executor_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executor diff --git a/executor/flags.go b/executor/flags.go index ee31ecd2..ace1c662 100644 --- a/executor/flags.go +++ b/executor/flags.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executor diff --git a/executor/linux/api.go b/executor/linux/api.go index c47da637..5df1c399 100644 --- a/executor/linux/api.go +++ b/executor/linux/api.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/api_test.go b/executor/linux/api_test.go index 75f75a84..705f485b 100644 --- a/executor/linux/api_test.go +++ b/executor/linux/api_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/build.go b/executor/linux/build.go index fdf6a69f..a6dc21c7 100644 --- a/executor/linux/build.go +++ b/executor/linux/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/build_test.go b/executor/linux/build_test.go index 2bc35cca..573d3aad 100644 --- a/executor/linux/build_test.go +++ b/executor/linux/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/doc.go b/executor/linux/doc.go index fa22e227..ecf1a7df 100644 --- a/executor/linux/doc.go +++ b/executor/linux/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package linux provides the ability for Vela to // integrate with a Linux as an operating system. diff --git a/executor/linux/driver.go b/executor/linux/driver.go index 22b9ec64..bbf3a56e 100644 --- a/executor/linux/driver.go +++ b/executor/linux/driver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/driver_test.go b/executor/linux/driver_test.go index 1efc0804..9f12d86b 100644 --- a/executor/linux/driver_test.go +++ b/executor/linux/driver_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/linux.go b/executor/linux/linux.go index 6c9bf921..095b8e33 100644 --- a/executor/linux/linux.go +++ b/executor/linux/linux.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/linux_test.go b/executor/linux/linux_test.go index 5384e749..2f4000f1 100644 --- a/executor/linux/linux_test.go +++ b/executor/linux/linux_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/opts.go b/executor/linux/opts.go index 2365d9e5..0695a70e 100644 --- a/executor/linux/opts.go +++ b/executor/linux/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/opts_test.go b/executor/linux/opts_test.go index a16be68c..7eb8f606 100644 --- a/executor/linux/opts_test.go +++ b/executor/linux/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/secret.go b/executor/linux/secret.go index 986037a2..bc34fd65 100644 --- a/executor/linux/secret.go +++ b/executor/linux/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/secret_test.go b/executor/linux/secret_test.go index e88d23b2..dc2c8ed3 100644 --- a/executor/linux/secret_test.go +++ b/executor/linux/secret_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/service.go b/executor/linux/service.go index 40dcf310..cdcad7aa 100644 --- a/executor/linux/service.go +++ b/executor/linux/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/service_test.go b/executor/linux/service_test.go index 44c820ab..eed5b02c 100644 --- a/executor/linux/service_test.go +++ b/executor/linux/service_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/stage.go b/executor/linux/stage.go index 869faf27..62660970 100644 --- a/executor/linux/stage.go +++ b/executor/linux/stage.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/stage_test.go b/executor/linux/stage_test.go index 3bd2e684..f79e2155 100644 --- a/executor/linux/stage_test.go +++ b/executor/linux/stage_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/step.go b/executor/linux/step.go index df0454f2..afebcbf8 100644 --- a/executor/linux/step.go +++ b/executor/linux/step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/linux/step_test.go b/executor/linux/step_test.go index 447cbf29..061a82a1 100644 --- a/executor/linux/step_test.go +++ b/executor/linux/step_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package linux diff --git a/executor/local/api.go b/executor/local/api.go index 671ff79c..b90b7e6a 100644 --- a/executor/local/api.go +++ b/executor/local/api.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/api_test.go b/executor/local/api_test.go index fa0e7a15..6fc5ea52 100644 --- a/executor/local/api_test.go +++ b/executor/local/api_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/build.go b/executor/local/build.go index 2fa79ff8..b5d24aa0 100644 --- a/executor/local/build.go +++ b/executor/local/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/build_test.go b/executor/local/build_test.go index ac5ba4f3..099f99dc 100644 --- a/executor/local/build_test.go +++ b/executor/local/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/doc.go b/executor/local/doc.go index 33dc2532..e812db30 100644 --- a/executor/local/doc.go +++ b/executor/local/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package local provides the ability for Vela to // integrate with the local system. diff --git a/executor/local/driver.go b/executor/local/driver.go index 27bd6cb8..981ddf1d 100644 --- a/executor/local/driver.go +++ b/executor/local/driver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/driver_test.go b/executor/local/driver_test.go index 171b9a1a..75d68114 100644 --- a/executor/local/driver_test.go +++ b/executor/local/driver_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/local.go b/executor/local/local.go index db589f84..bcadbdc4 100644 --- a/executor/local/local.go +++ b/executor/local/local.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/local_test.go b/executor/local/local_test.go index 113f4e70..37992945 100644 --- a/executor/local/local_test.go +++ b/executor/local/local_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/opts.go b/executor/local/opts.go index 78ff1513..8e13510d 100644 --- a/executor/local/opts.go +++ b/executor/local/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/opts_test.go b/executor/local/opts_test.go index ad98be49..64080c4e 100644 --- a/executor/local/opts_test.go +++ b/executor/local/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/service.go b/executor/local/service.go index cf465039..f049d1fd 100644 --- a/executor/local/service.go +++ b/executor/local/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/service_test.go b/executor/local/service_test.go index 304c28ae..0c762690 100644 --- a/executor/local/service_test.go +++ b/executor/local/service_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/stage.go b/executor/local/stage.go index 7aabae3d..5a920b7b 100644 --- a/executor/local/stage.go +++ b/executor/local/stage.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/stage_test.go b/executor/local/stage_test.go index fa680351..9df4a425 100644 --- a/executor/local/stage_test.go +++ b/executor/local/stage_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/step.go b/executor/local/step.go index 6a195f4b..d2202419 100644 --- a/executor/local/step.go +++ b/executor/local/step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/local/step_test.go b/executor/local/step_test.go index 8d452a92..339d068d 100644 --- a/executor/local/step_test.go +++ b/executor/local/step_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/executor/setup.go b/executor/setup.go index 32446334..f60e31b3 100644 --- a/executor/setup.go +++ b/executor/setup.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executor diff --git a/executor/setup_test.go b/executor/setup_test.go index 638bf90c..bdde2c58 100644 --- a/executor/setup_test.go +++ b/executor/setup_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executor diff --git a/internal/build/doc.go b/internal/build/doc.go index 5c15988e..fdcde712 100644 --- a/internal/build/doc.go +++ b/internal/build/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package build provides the ability for Vela to // manipulate and manage a build from a pipeline. diff --git a/internal/build/snapshot.go b/internal/build/snapshot.go index 02b96458..ccdea732 100644 --- a/internal/build/snapshot.go +++ b/internal/build/snapshot.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/internal/build/snapshot_test.go b/internal/build/snapshot_test.go index 6cb8726e..a98c0718 100644 --- a/internal/build/snapshot_test.go +++ b/internal/build/snapshot_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/internal/build/upload.go b/internal/build/upload.go index f39b6c94..df81325c 100644 --- a/internal/build/upload.go +++ b/internal/build/upload.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/internal/build/upload_test.go b/internal/build/upload_test.go index 7afa7c5d..25aba480 100644 --- a/internal/build/upload_test.go +++ b/internal/build/upload_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/internal/context/context.go b/internal/context/context.go index 04cea667..2faea532 100644 --- a/internal/context/context.go +++ b/internal/context/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package context diff --git a/internal/context/context_test.go b/internal/context/context_test.go index 140fa5fb..4e1ba5d3 100644 --- a/internal/context/context_test.go +++ b/internal/context/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package context diff --git a/internal/context/doc.go b/internal/context/doc.go index c7c2f795..60e8fe45 100644 --- a/internal/context/doc.go +++ b/internal/context/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package context provides context utilities. // diff --git a/internal/doc.go b/internal/doc.go index 7aaad1f6..1025ef0b 100644 --- a/internal/doc.go +++ b/internal/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package internal provides a collection of internal // packages used for the Vela executor systems. diff --git a/internal/image/doc.go b/internal/image/doc.go index fa21f0c0..dc8c0f28 100644 --- a/internal/image/doc.go +++ b/internal/image/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package image provides the ability for Vela to manage // and manipulate an image provided for a container. diff --git a/internal/image/image.go b/internal/image/image.go index d662a464..8072157f 100644 --- a/internal/image/image.go +++ b/internal/image/image.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package image diff --git a/internal/image/image_test.go b/internal/image/image_test.go index ba06215b..d38d4f87 100644 --- a/internal/image/image_test.go +++ b/internal/image/image_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package image diff --git a/internal/internal.go b/internal/internal.go index c1bc3e4a..6c8e40c8 100644 --- a/internal/internal.go +++ b/internal/internal.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package internal diff --git a/internal/message/doc.go b/internal/message/doc.go index 84920b80..a5c9665a 100644 --- a/internal/message/doc.go +++ b/internal/message/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package message provides message types used in the executor. // These types have to be in a separate package to prevent circular imports. diff --git a/internal/message/stream.go b/internal/message/stream.go index 9534f38e..1683e4bf 100644 --- a/internal/message/stream.go +++ b/internal/message/stream.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package message diff --git a/internal/service/doc.go b/internal/service/doc.go index 34a0aa0f..29904922 100644 --- a/internal/service/doc.go +++ b/internal/service/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package service provides the ability for Vela to // manipulate and manage a service from a pipeline. diff --git a/internal/service/environment.go b/internal/service/environment.go index 53051edc..92c9ee64 100644 --- a/internal/service/environment.go +++ b/internal/service/environment.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/service/environment_test.go b/internal/service/environment_test.go index 42c87134..b00fa8c1 100644 --- a/internal/service/environment_test.go +++ b/internal/service/environment_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/service/load.go b/internal/service/load.go index 250731df..7de02caa 100644 --- a/internal/service/load.go +++ b/internal/service/load.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/service/load_test.go b/internal/service/load_test.go index 881bc148..2a1fb2d1 100644 --- a/internal/service/load_test.go +++ b/internal/service/load_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/service/snapshot.go b/internal/service/snapshot.go index c42e03b1..2db4df87 100644 --- a/internal/service/snapshot.go +++ b/internal/service/snapshot.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/service/snapshot_test.go b/internal/service/snapshot_test.go index 7e48cef4..bf38aa66 100644 --- a/internal/service/snapshot_test.go +++ b/internal/service/snapshot_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/service/upload.go b/internal/service/upload.go index 40eac48b..a13e0fca 100644 --- a/internal/service/upload.go +++ b/internal/service/upload.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/service/upload_test.go b/internal/service/upload_test.go index 08b758b1..904cde80 100644 --- a/internal/service/upload_test.go +++ b/internal/service/upload_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/step/doc.go b/internal/step/doc.go index 7209e373..1817a423 100644 --- a/internal/step/doc.go +++ b/internal/step/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package step provides the ability for Vela to // manipulate and manage a step from a pipeline. diff --git a/internal/step/environment.go b/internal/step/environment.go index 057004b9..48fb1638 100644 --- a/internal/step/environment.go +++ b/internal/step/environment.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/internal/step/environment_test.go b/internal/step/environment_test.go index ca35e38a..93323dc2 100644 --- a/internal/step/environment_test.go +++ b/internal/step/environment_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/internal/step/load.go b/internal/step/load.go index e6f92075..46b02904 100644 --- a/internal/step/load.go +++ b/internal/step/load.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/internal/step/load_test.go b/internal/step/load_test.go index 6ab3e026..2358a934 100644 --- a/internal/step/load_test.go +++ b/internal/step/load_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/internal/step/skip.go b/internal/step/skip.go index 4ee0e3e1..2a3df16f 100644 --- a/internal/step/skip.go +++ b/internal/step/skip.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/internal/step/skip_test.go b/internal/step/skip_test.go index 16a023c6..620362fd 100644 --- a/internal/step/skip_test.go +++ b/internal/step/skip_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/internal/step/snapshot.go b/internal/step/snapshot.go index 1b44a653..88ece98c 100644 --- a/internal/step/snapshot.go +++ b/internal/step/snapshot.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/internal/step/snapshot_test.go b/internal/step/snapshot_test.go index af9a49f3..0d4556c9 100644 --- a/internal/step/snapshot_test.go +++ b/internal/step/snapshot_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/internal/step/upload.go b/internal/step/upload.go index 3a917dc5..781d0243 100644 --- a/internal/step/upload.go +++ b/internal/step/upload.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/internal/step/upload_test.go b/internal/step/upload_test.go index 7fe607bb..77522cfe 100644 --- a/internal/step/upload_test.go +++ b/internal/step/upload_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/internal/volume/doc.go b/internal/volume/doc.go index f5b36a01..9d8db8cb 100644 --- a/internal/volume/doc.go +++ b/internal/volume/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package volume provides the ability for Vela to manage // and manipulate a volume provided for a container. diff --git a/internal/volume/volume.go b/internal/volume/volume.go index 697a4524..9574fcb3 100644 --- a/internal/volume/volume.go +++ b/internal/volume/volume.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package volume diff --git a/internal/volume/volume_test.go b/internal/volume/volume_test.go index 3946be19..760233b9 100644 --- a/internal/volume/volume_test.go +++ b/internal/volume/volume_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package volume diff --git a/mock/doc.go b/mock/doc.go index 9e9203b5..da6c7b1f 100644 --- a/mock/doc.go +++ b/mock/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package mock provides a collection of mock // packages used for a Vela worker. diff --git a/mock/docker/config.go b/mock/docker/config.go index ebf385cb..c6250344 100644 --- a/mock/docker/config.go +++ b/mock/docker/config.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code package docker diff --git a/mock/docker/container.go b/mock/docker/container.go index a39cf3f3..75a538b9 100644 --- a/mock/docker/container.go +++ b/mock/docker/container.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/distribution.go b/mock/docker/distribution.go index fa1e0ebf..3c134434 100644 --- a/mock/docker/distribution.go +++ b/mock/docker/distribution.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/doc.go b/mock/docker/doc.go index 24fa2ed8..3fe16fc3 100644 --- a/mock/docker/doc.go +++ b/mock/docker/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package docker provides a mock for using the Docker API. // diff --git a/mock/docker/docker.go b/mock/docker/docker.go index 58752c18..e8961ea9 100644 --- a/mock/docker/docker.go +++ b/mock/docker/docker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/image.go b/mock/docker/image.go index d3cb7dd4..720a44cd 100644 --- a/mock/docker/image.go +++ b/mock/docker/image.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/mock.go b/mock/docker/mock.go index 5a4014ac..367aa097 100644 --- a/mock/docker/mock.go +++ b/mock/docker/mock.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/network.go b/mock/docker/network.go index d00b1a7b..5a83e9cc 100644 --- a/mock/docker/network.go +++ b/mock/docker/network.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/node.go b/mock/docker/node.go index f582d7f1..c294747a 100644 --- a/mock/docker/node.go +++ b/mock/docker/node.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/plugin.go b/mock/docker/plugin.go index 22c63dd2..473dd106 100644 --- a/mock/docker/plugin.go +++ b/mock/docker/plugin.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/secret.go b/mock/docker/secret.go index add60b1f..6396ff55 100644 --- a/mock/docker/secret.go +++ b/mock/docker/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code package docker diff --git a/mock/docker/service.go b/mock/docker/service.go index e33be0db..72a3e562 100644 --- a/mock/docker/service.go +++ b/mock/docker/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/swarm.go b/mock/docker/swarm.go index c43bf6ca..933d2751 100644 --- a/mock/docker/swarm.go +++ b/mock/docker/swarm.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/system.go b/mock/docker/system.go index 850f10fb..0b9b054f 100644 --- a/mock/docker/system.go +++ b/mock/docker/system.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/docker/volume.go b/mock/docker/volume.go index 952471d6..796d22be 100644 --- a/mock/docker/volume.go +++ b/mock/docker/volume.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/mock/mock.go b/mock/mock.go index 9b5d8104..9408d046 100644 --- a/mock/mock.go +++ b/mock/mock.go @@ -1,5 +1,3 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package mock diff --git a/mock/worker/build.go b/mock/worker/build.go index d8e05fc9..e4bc70b0 100644 --- a/mock/worker/build.go +++ b/mock/worker/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/mock/worker/doc.go b/mock/worker/doc.go index 4f30620b..7f657cdc 100644 --- a/mock/worker/doc.go +++ b/mock/worker/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package worker provides a mock for using the Worker API. // diff --git a/mock/worker/executor.go b/mock/worker/executor.go index f9af3c47..9662b077 100644 --- a/mock/worker/executor.go +++ b/mock/worker/executor.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/mock/worker/pipeline.go b/mock/worker/pipeline.go index 9184615d..278d8e57 100644 --- a/mock/worker/pipeline.go +++ b/mock/worker/pipeline.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/mock/worker/register.go b/mock/worker/register.go index 1e874be5..89a9ef7a 100644 --- a/mock/worker/register.go +++ b/mock/worker/register.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/mock/worker/repo.go b/mock/worker/repo.go index da6d1d47..dba23dfa 100644 --- a/mock/worker/repo.go +++ b/mock/worker/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/mock/worker/server.go b/mock/worker/server.go index b5067b46..ed9c8719 100644 --- a/mock/worker/server.go +++ b/mock/worker/server.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/router/build.go b/router/build.go index 8f0f05c3..9ff39218 100644 --- a/router/build.go +++ b/router/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/build_test.go b/router/build_test.go index 19eac607..b8cc8d81 100644 --- a/router/build_test.go +++ b/router/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/doc.go b/router/doc.go index 8ce29ea8..dc01d638 100644 --- a/router/doc.go +++ b/router/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package router provides the routing engine for Vela // to serve and process API requests. diff --git a/router/executor.go b/router/executor.go index 522fa197..e6c09871 100644 --- a/router/executor.go +++ b/router/executor.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/executor_test.go b/router/executor_test.go index 90456e9d..34c71b44 100644 --- a/router/executor_test.go +++ b/router/executor_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/middleware/doc.go b/router/middleware/doc.go index 09d15234..757d5173 100644 --- a/router/middleware/doc.go +++ b/router/middleware/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package middleware provides the ability for injecting Vela // resources into the middleware chain for the API. diff --git a/router/middleware/executor.go b/router/middleware/executor.go index 3ea92897..a24acd1e 100644 --- a/router/middleware/executor.go +++ b/router/middleware/executor.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/executor/executor.go b/router/middleware/executor/executor.go index b8e3d65c..eeb3fdcd 100644 --- a/router/middleware/executor/executor.go +++ b/router/middleware/executor/executor.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executor diff --git a/router/middleware/executor/executor_test.go b/router/middleware/executor/executor_test.go index 6b3af032..6421e07b 100644 --- a/router/middleware/executor/executor_test.go +++ b/router/middleware/executor/executor_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executor diff --git a/router/middleware/executor_test.go b/router/middleware/executor_test.go index 65611db0..81d8a6a1 100644 --- a/router/middleware/executor_test.go +++ b/router/middleware/executor_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/header.go b/router/middleware/header.go index 57eedcce..3fd4c10c 100644 --- a/router/middleware/header.go +++ b/router/middleware/header.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/header_test.go b/router/middleware/header_test.go index 248d43d9..c11af88e 100644 --- a/router/middleware/header_test.go +++ b/router/middleware/header_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/logger.go b/router/middleware/logger.go index 3c610141..a18294e9 100644 --- a/router/middleware/logger.go +++ b/router/middleware/logger.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/logger_test.go b/router/middleware/logger_test.go index 71553472..83c8d374 100644 --- a/router/middleware/logger_test.go +++ b/router/middleware/logger_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/payload.go b/router/middleware/payload.go index c2241fa9..fff9b226 100644 --- a/router/middleware/payload.go +++ b/router/middleware/payload.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/payload_test.go b/router/middleware/payload_test.go index 235cec5b..6b9bc180 100644 --- a/router/middleware/payload_test.go +++ b/router/middleware/payload_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/perm/doc.go b/router/middleware/perm/doc.go index 0f42c133..02d15877 100644 --- a/router/middleware/perm/doc.go +++ b/router/middleware/perm/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package perm provides the ability for inserting // Vela user permissions resources into or extracting Vela user permissions diff --git a/router/middleware/perm/perm.go b/router/middleware/perm/perm.go index 85dd60d8..ad73490e 100644 --- a/router/middleware/perm/perm.go +++ b/router/middleware/perm/perm.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package perm diff --git a/router/middleware/perm/perm_test.go b/router/middleware/perm/perm_test.go index c0e634a0..41cb0cdc 100644 --- a/router/middleware/perm/perm_test.go +++ b/router/middleware/perm/perm_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package perm diff --git a/router/middleware/register_token.go b/router/middleware/register_token.go index 177fd3f2..661ebf24 100644 --- a/router/middleware/register_token.go +++ b/router/middleware/register_token.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/register_token_test.go b/router/middleware/register_token_test.go index afe8241d..a924d359 100644 --- a/router/middleware/register_token_test.go +++ b/router/middleware/register_token_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/server.go b/router/middleware/server.go index 3c93dbfb..66d2799c 100644 --- a/router/middleware/server.go +++ b/router/middleware/server.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/server_test.go b/router/middleware/server_test.go index a1221287..3eae66f8 100644 --- a/router/middleware/server_test.go +++ b/router/middleware/server_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/token/doc.go b/router/middleware/token/doc.go index a13ef8cf..42811b3b 100644 --- a/router/middleware/token/doc.go +++ b/router/middleware/token/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package token provides the ability for inserting // Vela token resources into or extracting Vela token diff --git a/router/middleware/token/token.go b/router/middleware/token/token.go index 5e437e99..19570df3 100644 --- a/router/middleware/token/token.go +++ b/router/middleware/token/token.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package token diff --git a/router/middleware/token/token_test.go b/router/middleware/token/token_test.go index 5dc5f3ee..2c00cd32 100644 --- a/router/middleware/token/token_test.go +++ b/router/middleware/token/token_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package token diff --git a/router/middleware/worker.go b/router/middleware/worker.go index 4b8576a8..f5d2ce65 100644 --- a/router/middleware/worker.go +++ b/router/middleware/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/worker_test.go b/router/middleware/worker_test.go index 7b9294ff..44df42ba 100644 --- a/router/middleware/worker_test.go +++ b/router/middleware/worker_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/pipeline.go b/router/pipeline.go index 42868bf2..0776c576 100644 --- a/router/pipeline.go +++ b/router/pipeline.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/pipeline_test.go b/router/pipeline_test.go index f5a3e090..462acde7 100644 --- a/router/pipeline_test.go +++ b/router/pipeline_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/repo.go b/router/repo.go index 0f011451..deecbe52 100644 --- a/router/repo.go +++ b/router/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/repo_test.go b/router/repo_test.go index 613c5963..d614d421 100644 --- a/router/repo_test.go +++ b/router/repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/router.go b/router/router.go index 7de750f4..bc598c5c 100644 --- a/router/router.go +++ b/router/router.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package router Vela worker // diff --git a/router/router_test.go b/router/router_test.go index 128d91fd..2e1f5d82 100644 --- a/router/router_test.go +++ b/router/router_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/runtime/context.go b/runtime/context.go index 47487716..bd071460 100644 --- a/runtime/context.go +++ b/runtime/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package runtime diff --git a/runtime/context_test.go b/runtime/context_test.go index ddac5db8..d8088201 100644 --- a/runtime/context_test.go +++ b/runtime/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package runtime diff --git a/runtime/doc.go b/runtime/doc.go index 46169ce4..721fcae8 100644 --- a/runtime/doc.go +++ b/runtime/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package runtime provides the ability for Vela to // integrate with different supported Runtime diff --git a/runtime/docker/build.go b/runtime/docker/build.go index e47145b2..e49e4217 100644 --- a/runtime/docker/build.go +++ b/runtime/docker/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/build_test.go b/runtime/docker/build_test.go index 1b678f8e..cc556cec 100644 --- a/runtime/docker/build_test.go +++ b/runtime/docker/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/container.go b/runtime/docker/container.go index 5ec9edff..1c896f1d 100644 --- a/runtime/docker/container.go +++ b/runtime/docker/container.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/container_test.go b/runtime/docker/container_test.go index 0f98ec1a..ada72242 100644 --- a/runtime/docker/container_test.go +++ b/runtime/docker/container_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/doc.go b/runtime/docker/doc.go index 93a977a5..e3e3e2e0 100644 --- a/runtime/docker/doc.go +++ b/runtime/docker/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package docker provides the ability for Vela to // integrate with Docker as a runtime environment. diff --git a/runtime/docker/docker.go b/runtime/docker/docker.go index f5c7ee03..b13038bf 100644 --- a/runtime/docker/docker.go +++ b/runtime/docker/docker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/docker_test.go b/runtime/docker/docker_test.go index 6a816ed9..ee159675 100644 --- a/runtime/docker/docker_test.go +++ b/runtime/docker/docker_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/driver.go b/runtime/docker/driver.go index 13872594..e2d94f15 100644 --- a/runtime/docker/driver.go +++ b/runtime/docker/driver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/driver_test.go b/runtime/docker/driver_test.go index 917cccae..e062708b 100644 --- a/runtime/docker/driver_test.go +++ b/runtime/docker/driver_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/image.go b/runtime/docker/image.go index 8aa45f01..136cd233 100644 --- a/runtime/docker/image.go +++ b/runtime/docker/image.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/image_test.go b/runtime/docker/image_test.go index 1dbdd1ae..5cd2a0ce 100644 --- a/runtime/docker/image_test.go +++ b/runtime/docker/image_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/network.go b/runtime/docker/network.go index 9140eaf5..edb5406d 100644 --- a/runtime/docker/network.go +++ b/runtime/docker/network.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/network_test.go b/runtime/docker/network_test.go index 6638ad90..152dbcd3 100644 --- a/runtime/docker/network_test.go +++ b/runtime/docker/network_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/opts.go b/runtime/docker/opts.go index 2c373e91..be9b32f8 100644 --- a/runtime/docker/opts.go +++ b/runtime/docker/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/opts_test.go b/runtime/docker/opts_test.go index 52250a3f..5f97a6c8 100644 --- a/runtime/docker/opts_test.go +++ b/runtime/docker/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/volume.go b/runtime/docker/volume.go index 0e76a9e0..79c58b04 100644 --- a/runtime/docker/volume.go +++ b/runtime/docker/volume.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/docker/volume_test.go b/runtime/docker/volume_test.go index 39700bcc..6cb802c9 100644 --- a/runtime/docker/volume_test.go +++ b/runtime/docker/volume_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/runtime/engine.go b/runtime/engine.go index 6b538a4c..79f3a37a 100644 --- a/runtime/engine.go +++ b/runtime/engine.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package runtime diff --git a/runtime/flags.go b/runtime/flags.go index cc00fb75..054de9d5 100644 --- a/runtime/flags.go +++ b/runtime/flags.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package runtime diff --git a/runtime/kubernetes/apis/doc.go b/runtime/kubernetes/apis/doc.go index 12ffd8cb..3b0e5caf 100644 --- a/runtime/kubernetes/apis/doc.go +++ b/runtime/kubernetes/apis/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package apis defines the worker-config CRD and related utilities. // diff --git a/runtime/kubernetes/apis/vela/register.go b/runtime/kubernetes/apis/vela/register.go index 7c08bd25..91c8a1ad 100644 --- a/runtime/kubernetes/apis/vela/register.go +++ b/runtime/kubernetes/apis/vela/register.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vela diff --git a/runtime/kubernetes/apis/vela/v1alpha1/doc.go b/runtime/kubernetes/apis/vela/v1alpha1/doc.go index 44ad049d..b3fa6c07 100644 --- a/runtime/kubernetes/apis/vela/v1alpha1/doc.go +++ b/runtime/kubernetes/apis/vela/v1alpha1/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // +kubebuilder:object:generate=true // +kubebuilder:validation:Optional diff --git a/runtime/kubernetes/apis/vela/v1alpha1/register.go b/runtime/kubernetes/apis/vela/v1alpha1/register.go index f6ec17a4..45fc1acf 100644 --- a/runtime/kubernetes/apis/vela/v1alpha1/register.go +++ b/runtime/kubernetes/apis/vela/v1alpha1/register.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/runtime/kubernetes/apis/vela/v1alpha1/types.go b/runtime/kubernetes/apis/vela/v1alpha1/types.go index d0979d9e..5fda9ff2 100644 --- a/runtime/kubernetes/apis/vela/v1alpha1/types.go +++ b/runtime/kubernetes/apis/vela/v1alpha1/types.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/runtime/kubernetes/apis/vela/v1alpha1/zz_generated.deepcopy.go b/runtime/kubernetes/apis/vela/v1alpha1/zz_generated.deepcopy.go index 01bb54ce..4ecb1d31 100644 --- a/runtime/kubernetes/apis/vela/v1alpha1/zz_generated.deepcopy.go +++ b/runtime/kubernetes/apis/vela/v1alpha1/zz_generated.deepcopy.go @@ -1,8 +1,6 @@ //go:build !ignore_autogenerated -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by controller-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/build.go b/runtime/kubernetes/build.go index a72c3b24..61324325 100644 --- a/runtime/kubernetes/build.go +++ b/runtime/kubernetes/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/build_test.go b/runtime/kubernetes/build_test.go index d8722c7b..02bab009 100644 --- a/runtime/kubernetes/build_test.go +++ b/runtime/kubernetes/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/codegen/header.go.txt b/runtime/kubernetes/codegen/header.go.txt index ca49b354..cdc649ac 100644 --- a/runtime/kubernetes/codegen/header.go.txt +++ b/runtime/kubernetes/codegen/header.go.txt @@ -1,3 +1 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 diff --git a/runtime/kubernetes/container.go b/runtime/kubernetes/container.go index b6fa66c0..8f4801a1 100644 --- a/runtime/kubernetes/container.go +++ b/runtime/kubernetes/container.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/container_test.go b/runtime/kubernetes/container_test.go index 9383491f..f945fafe 100644 --- a/runtime/kubernetes/container_test.go +++ b/runtime/kubernetes/container_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/doc.go b/runtime/kubernetes/doc.go index 75582084..aafd8180 100644 --- a/runtime/kubernetes/doc.go +++ b/runtime/kubernetes/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package kubernetes provides the ability for Vela to // integrate with Kubernetes as a runtime environment. diff --git a/runtime/kubernetes/driver.go b/runtime/kubernetes/driver.go index 9b7594fc..6adadbfc 100644 --- a/runtime/kubernetes/driver.go +++ b/runtime/kubernetes/driver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/driver_test.go b/runtime/kubernetes/driver_test.go index e744471b..222537b6 100644 --- a/runtime/kubernetes/driver_test.go +++ b/runtime/kubernetes/driver_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/generated/clientset/versioned/clientset.go b/runtime/kubernetes/generated/clientset/versioned/clientset.go index 81cbb5d4..539e0a9c 100644 --- a/runtime/kubernetes/generated/clientset/versioned/clientset.go +++ b/runtime/kubernetes/generated/clientset/versioned/clientset.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/doc.go b/runtime/kubernetes/generated/clientset/versioned/doc.go index ebe2e2ee..d57789b0 100644 --- a/runtime/kubernetes/generated/clientset/versioned/doc.go +++ b/runtime/kubernetes/generated/clientset/versioned/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/fake/clientset_generated.go b/runtime/kubernetes/generated/clientset/versioned/fake/clientset_generated.go index eaaafa77..2a3563ee 100644 --- a/runtime/kubernetes/generated/clientset/versioned/fake/clientset_generated.go +++ b/runtime/kubernetes/generated/clientset/versioned/fake/clientset_generated.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/fake/doc.go b/runtime/kubernetes/generated/clientset/versioned/fake/doc.go index cdc483d7..9322fa19 100644 --- a/runtime/kubernetes/generated/clientset/versioned/fake/doc.go +++ b/runtime/kubernetes/generated/clientset/versioned/fake/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/fake/register.go b/runtime/kubernetes/generated/clientset/versioned/fake/register.go index 7ce53f3e..124cfe21 100644 --- a/runtime/kubernetes/generated/clientset/versioned/fake/register.go +++ b/runtime/kubernetes/generated/clientset/versioned/fake/register.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/scheme/doc.go b/runtime/kubernetes/generated/clientset/versioned/scheme/doc.go index d7ba191f..32b514ab 100644 --- a/runtime/kubernetes/generated/clientset/versioned/scheme/doc.go +++ b/runtime/kubernetes/generated/clientset/versioned/scheme/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/scheme/register.go b/runtime/kubernetes/generated/clientset/versioned/scheme/register.go index bab57b34..83678554 100644 --- a/runtime/kubernetes/generated/clientset/versioned/scheme/register.go +++ b/runtime/kubernetes/generated/clientset/versioned/scheme/register.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/doc.go b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/doc.go index fbb938d5..0c631224 100644 --- a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/doc.go +++ b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/doc.go b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/doc.go index df959f2f..33961c5a 100644 --- a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/doc.go +++ b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/fake_pipelinepodstemplate.go b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/fake_pipelinepodstemplate.go index ade6f633..771a36ce 100644 --- a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/fake_pipelinepodstemplate.go +++ b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/fake_pipelinepodstemplate.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/fake_vela_client.go b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/fake_vela_client.go index 118423d6..ca035652 100644 --- a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/fake_vela_client.go +++ b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/fake/fake_vela_client.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/generated_expansion.go b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/generated_expansion.go index b1acc5a5..aba21a58 100644 --- a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/generated_expansion.go +++ b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/generated_expansion.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/pipelinepodstemplate.go b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/pipelinepodstemplate.go index ed18f335..b2edaee6 100644 --- a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/pipelinepodstemplate.go +++ b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/pipelinepodstemplate.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/vela_client.go b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/vela_client.go index 425899ae..fc128214 100644 --- a/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/vela_client.go +++ b/runtime/kubernetes/generated/clientset/versioned/typed/vela/v1alpha1/vela_client.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Code generated by client-gen. DO NOT EDIT. diff --git a/runtime/kubernetes/image.go b/runtime/kubernetes/image.go index 3eae504d..68ceb0e1 100644 --- a/runtime/kubernetes/image.go +++ b/runtime/kubernetes/image.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/image_test.go b/runtime/kubernetes/image_test.go index 8fcc4bf9..6841dea9 100644 --- a/runtime/kubernetes/image_test.go +++ b/runtime/kubernetes/image_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/kubernetes.go b/runtime/kubernetes/kubernetes.go index 35dd9846..e8778fb9 100644 --- a/runtime/kubernetes/kubernetes.go +++ b/runtime/kubernetes/kubernetes.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/kubernetes_test.go b/runtime/kubernetes/kubernetes_test.go index 60e2a5ed..72c60f15 100644 --- a/runtime/kubernetes/kubernetes_test.go +++ b/runtime/kubernetes/kubernetes_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/mock.go b/runtime/kubernetes/mock.go index 99666bcc..3e92a96c 100644 --- a/runtime/kubernetes/mock.go +++ b/runtime/kubernetes/mock.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/network.go b/runtime/kubernetes/network.go index 81ccfac1..be6a1a50 100644 --- a/runtime/kubernetes/network.go +++ b/runtime/kubernetes/network.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/network_test.go b/runtime/kubernetes/network_test.go index 4cf79e1c..dc6199d2 100644 --- a/runtime/kubernetes/network_test.go +++ b/runtime/kubernetes/network_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/opts.go b/runtime/kubernetes/opts.go index 81076406..424f52bb 100644 --- a/runtime/kubernetes/opts.go +++ b/runtime/kubernetes/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/opts_test.go b/runtime/kubernetes/opts_test.go index 83055545..0508729d 100644 --- a/runtime/kubernetes/opts_test.go +++ b/runtime/kubernetes/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/pod_tracker.go b/runtime/kubernetes/pod_tracker.go index 65e1b2d8..4f763968 100644 --- a/runtime/kubernetes/pod_tracker.go +++ b/runtime/kubernetes/pod_tracker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/pod_tracker_test.go b/runtime/kubernetes/pod_tracker_test.go index 79b84621..e149ac99 100644 --- a/runtime/kubernetes/pod_tracker_test.go +++ b/runtime/kubernetes/pod_tracker_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/volume.go b/runtime/kubernetes/volume.go index c22bab7f..315b1c7b 100644 --- a/runtime/kubernetes/volume.go +++ b/runtime/kubernetes/volume.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/kubernetes/volume_test.go b/runtime/kubernetes/volume_test.go index 2a4b745d..fd1c0f24 100644 --- a/runtime/kubernetes/volume_test.go +++ b/runtime/kubernetes/volume_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package kubernetes diff --git a/runtime/runtime.go b/runtime/runtime.go index d4c25acc..e30b3d2c 100644 --- a/runtime/runtime.go +++ b/runtime/runtime.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package runtime diff --git a/runtime/runtime_test.go b/runtime/runtime_test.go index 54b0f7cd..474a9e8e 100644 --- a/runtime/runtime_test.go +++ b/runtime/runtime_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package runtime diff --git a/runtime/setup.go b/runtime/setup.go index b4dd3f2a..293fce08 100644 --- a/runtime/setup.go +++ b/runtime/setup.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package runtime diff --git a/runtime/setup_test.go b/runtime/setup_test.go index ef07452d..67c6047e 100644 --- a/runtime/setup_test.go +++ b/runtime/setup_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package runtime diff --git a/version/version.go b/version/version.go index 30312ee2..f6dfde32 100644 --- a/version/version.go +++ b/version/version.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package version