From a4270facf12d25feaa47de2c9fb69b5eece0a090 Mon Sep 17 00:00:00 2001 From: Sherin Varughese Date: Wed, 3 Mar 2021 13:49:59 -0500 Subject: [PATCH] add copyright (#101) * add copyright * additional updates * update copyright in makefile --- .travis.yml | 1 + Makefile | 1 + build/Configfile | 3 +++ build/build.sh | 2 ++ build/deploy-to-cluster.sh | 2 ++ build/install-dependencies.sh | 2 ++ build/run-e2e-tests.sh | 2 ++ build/run-unit-tests.sh | 2 ++ go.mod | 1 + main.go | 1 + pkg/config/config.go | 1 + pkg/config/config_test.go | 1 + pkg/config/kubeClient.go | 1 + pkg/informer/informer.go | 1 + pkg/informer/informer_test.go | 1 + pkg/reconciler/reconciler.go | 1 + pkg/reconciler/reconciler_test.go | 1 + pkg/send/httpsClient.go | 1 + pkg/send/sender.go | 1 + pkg/send/sender_test.go | 2 ++ pkg/transforms/appdeployable.go | 1 + pkg/transforms/appdeployable_test.go | 1 + pkg/transforms/apphelmcr.go | 1 + pkg/transforms/apphelmcr_test.go | 1 + pkg/transforms/application.go | 1 + pkg/transforms/application_test.go | 1 + pkg/transforms/channel.go | 1 + pkg/transforms/channel_test.go | 1 + pkg/transforms/common.go | 1 + pkg/transforms/common_test.go | 2 ++ pkg/transforms/cronjob.go | 1 + pkg/transforms/cronjob_test.go | 1 + pkg/transforms/daemonset.go | 1 + pkg/transforms/daemonset_test.go | 1 + pkg/transforms/deployment.go | 1 + pkg/transforms/deployment_test.go | 1 + pkg/transforms/deploymentconfig.go | 1 + pkg/transforms/deploymentconfig_test.go | 1 + pkg/transforms/genericresource.go | 1 + pkg/transforms/helmrelease.go | 2 ++ pkg/transforms/helmrelease_test.go | 2 ++ pkg/transforms/job.go | 1 + pkg/transforms/job_test.go | 1 + pkg/transforms/namespace.go | 1 + pkg/transforms/namespace_test.go | 1 + pkg/transforms/node.go | 1 + pkg/transforms/node_test.go | 1 + pkg/transforms/persistentvolume.go | 1 + pkg/transforms/persistentvolume_test.go | 1 + pkg/transforms/persistentvolumeclaim.go | 1 + pkg/transforms/persistentvolumeclaim_test.go | 1 + pkg/transforms/placementbinding.go | 1 + pkg/transforms/placementbinding_test.go | 1 + pkg/transforms/placementpolicy.go | 1 + pkg/transforms/placementpolicy_test.go | 1 + pkg/transforms/placementrule.go | 1 + pkg/transforms/placementrule_test.go | 2 ++ pkg/transforms/pod.go | 1 + pkg/transforms/pod_test.go | 1 + pkg/transforms/policy.go | 1 + pkg/transforms/policy_test.go | 1 + pkg/transforms/replicaset.go | 1 + pkg/transforms/replicaset_test.go | 2 ++ pkg/transforms/service.go | 1 + pkg/transforms/service_test.go | 1 + pkg/transforms/statefulset.go | 1 + pkg/transforms/statefulset_test.go | 1 + pkg/transforms/subscription.go | 1 + pkg/transforms/subscription_test.go | 1 + pkg/transforms/testutils.go | 1 + pkg/transforms/transformer.go | 1 + pkg/transforms/transformer_test.go | 1 + readme.md | 2 +- tests/e2e/kind/kind-collector-test.config.yaml | 2 ++ tests/e2e/resourceBudgetTest.sh | 1 + tests/e2e/runTests.sh | 1 + 76 files changed, 90 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 303601d6..dca86b12 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ # Copyright (c) 2020 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project os: - linux diff --git a/Makefile b/Makefile index 56a121e9..ef07debd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ # Copyright (c) 2020 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project include build/Configfile BINDIR ?= output diff --git a/build/Configfile b/build/Configfile index 010c163e..6b548509 100644 --- a/build/Configfile +++ b/build/Configfile @@ -1,3 +1,6 @@ +# Copyright (c) 2021 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project + ifdef GIT IMAGE_VERSION :=$(shell git rev-parse --short HEAD) VCS_URL ?=$(shell git config --get remote.origin.url) diff --git a/build/build.sh b/build/build.sh index fec2ac7a..2ec9ed6c 100755 --- a/build/build.sh +++ b/build/build.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright (c) 2021 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project echo " > Running build.sh" set -e diff --git a/build/deploy-to-cluster.sh b/build/deploy-to-cluster.sh index 3670335c..69559703 100755 --- a/build/deploy-to-cluster.sh +++ b/build/deploy-to-cluster.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright (c) 2021 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project echo " > Running deploy-to-cluster.sh" set -e diff --git a/build/install-dependencies.sh b/build/install-dependencies.sh index 001e81b4..7b50a076 100755 --- a/build/install-dependencies.sh +++ b/build/install-dependencies.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright (c) 2021 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project echo " > Running install-dependencies.sh" set -e diff --git a/build/run-e2e-tests.sh b/build/run-e2e-tests.sh index d3263db3..d0b8242d 100755 --- a/build/run-e2e-tests.sh +++ b/build/run-e2e-tests.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright (c) 2021 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project echo " > Running run-e2e-test.sh" set -e diff --git a/build/run-unit-tests.sh b/build/run-unit-tests.sh index 9e0c72bb..db004515 100755 --- a/build/run-unit-tests.sh +++ b/build/run-unit-tests.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright (c) 2021 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project echo " > Running run-unit-tests.sh" set -e diff --git a/go.mod b/go.mod index cd1680c7..e85a10d7 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,5 @@ // Copyright (c) 2020 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project module github.com/open-cluster-management/search-collector diff --git a/main.go b/main.go index bd1189f7..b10c8a63 100644 --- a/main.go +++ b/main.go @@ -7,6 +7,7 @@ irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package main diff --git a/pkg/config/config.go b/pkg/config/config.go index 355121ec..9654b8f1 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020, 2021 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package config diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go index 43e84d9c..4e74d354 100644 --- a/pkg/config/config_test.go +++ b/pkg/config/config_test.go @@ -1,4 +1,5 @@ // Copyright (c) 2021 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project package config diff --git a/pkg/config/kubeClient.go b/pkg/config/kubeClient.go index f2edf522..6b233948 100644 --- a/pkg/config/kubeClient.go +++ b/pkg/config/kubeClient.go @@ -1,4 +1,5 @@ // Copyright (c) 2020 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project package config diff --git a/pkg/informer/informer.go b/pkg/informer/informer.go index cbc69ccb..ca6e099c 100644 --- a/pkg/informer/informer.go +++ b/pkg/informer/informer.go @@ -1,4 +1,5 @@ // Copyright (c) 2020 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project package informer diff --git a/pkg/informer/informer_test.go b/pkg/informer/informer_test.go index c87ae707..43865826 100644 --- a/pkg/informer/informer_test.go +++ b/pkg/informer/informer_test.go @@ -1,4 +1,5 @@ // Copyright (c) 2020 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project package informer diff --git a/pkg/reconciler/reconciler.go b/pkg/reconciler/reconciler.go index b1c45c7f..3470c8f4 100644 --- a/pkg/reconciler/reconciler.go +++ b/pkg/reconciler/reconciler.go @@ -7,6 +7,7 @@ irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package reconciler diff --git a/pkg/reconciler/reconciler_test.go b/pkg/reconciler/reconciler_test.go index f3c51843..92053cec 100644 --- a/pkg/reconciler/reconciler_test.go +++ b/pkg/reconciler/reconciler_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package reconciler diff --git a/pkg/send/httpsClient.go b/pkg/send/httpsClient.go index ae6fde0c..d98338db 100644 --- a/pkg/send/httpsClient.go +++ b/pkg/send/httpsClient.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. */ // Copyright (c) 2020 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project package send diff --git a/pkg/send/sender.go b/pkg/send/sender.go index 03265d5a..c6208b33 100644 --- a/pkg/send/sender.go +++ b/pkg/send/sender.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package send diff --git a/pkg/send/sender_test.go b/pkg/send/sender_test.go index 8a4bf166..5454ebc5 100644 --- a/pkg/send/sender_test.go +++ b/pkg/send/sender_test.go @@ -4,6 +4,8 @@ OCO Source Materials (C) Copyright IBM Corporation 2019 All Rights Reserved The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office. +// Copyright (c) 2021 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project */ package send diff --git a/pkg/transforms/appdeployable.go b/pkg/transforms/appdeployable.go index 8dc81370..75f3b347 100644 --- a/pkg/transforms/appdeployable.go +++ b/pkg/transforms/appdeployable.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/appdeployable_test.go b/pkg/transforms/appdeployable_test.go index eee97405..1b4d101d 100644 --- a/pkg/transforms/appdeployable_test.go +++ b/pkg/transforms/appdeployable_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/apphelmcr.go b/pkg/transforms/apphelmcr.go index 7a9b9799..f92eba0c 100644 --- a/pkg/transforms/apphelmcr.go +++ b/pkg/transforms/apphelmcr.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/apphelmcr_test.go b/pkg/transforms/apphelmcr_test.go index 59006c00..3cfe01cf 100644 --- a/pkg/transforms/apphelmcr_test.go +++ b/pkg/transforms/apphelmcr_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/application.go b/pkg/transforms/application.go index c8c3647d..e6d36784 100644 --- a/pkg/transforms/application.go +++ b/pkg/transforms/application.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/application_test.go b/pkg/transforms/application_test.go index fbfd70ad..fe8be78a 100644 --- a/pkg/transforms/application_test.go +++ b/pkg/transforms/application_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/channel.go b/pkg/transforms/channel.go index 60973575..ac9ff8a3 100644 --- a/pkg/transforms/channel.go +++ b/pkg/transforms/channel.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/channel_test.go b/pkg/transforms/channel_test.go index 2665a1be..7d20dde9 100644 --- a/pkg/transforms/channel_test.go +++ b/pkg/transforms/channel_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/common.go b/pkg/transforms/common.go index d845036d..125dbdee 100644 --- a/pkg/transforms/common.go +++ b/pkg/transforms/common.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/common_test.go b/pkg/transforms/common_test.go index d08b2c0a..ec02b58c 100644 --- a/pkg/transforms/common_test.go +++ b/pkg/transforms/common_test.go @@ -4,6 +4,8 @@ OCO Source Materials (C) Copyright IBM Corporation 2019 All Rights Reserved The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office. +// Copyright (c) 2021 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project */ package transforms diff --git a/pkg/transforms/cronjob.go b/pkg/transforms/cronjob.go index cbebc427..8446a1ec 100644 --- a/pkg/transforms/cronjob.go +++ b/pkg/transforms/cronjob.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/cronjob_test.go b/pkg/transforms/cronjob_test.go index a328777d..d67cea7c 100644 --- a/pkg/transforms/cronjob_test.go +++ b/pkg/transforms/cronjob_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/daemonset.go b/pkg/transforms/daemonset.go index 2b8d2531..4d51e8a6 100644 --- a/pkg/transforms/daemonset.go +++ b/pkg/transforms/daemonset.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/daemonset_test.go b/pkg/transforms/daemonset_test.go index 1b253383..721f5917 100644 --- a/pkg/transforms/daemonset_test.go +++ b/pkg/transforms/daemonset_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/deployment.go b/pkg/transforms/deployment.go index 5de183ac..7d58a21a 100644 --- a/pkg/transforms/deployment.go +++ b/pkg/transforms/deployment.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/deployment_test.go b/pkg/transforms/deployment_test.go index 36974d73..310fe42e 100644 --- a/pkg/transforms/deployment_test.go +++ b/pkg/transforms/deployment_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/deploymentconfig.go b/pkg/transforms/deploymentconfig.go index 33f8c996..c11b1676 100644 --- a/pkg/transforms/deploymentconfig.go +++ b/pkg/transforms/deploymentconfig.go @@ -1,6 +1,7 @@ /* Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/deploymentconfig_test.go b/pkg/transforms/deploymentconfig_test.go index 0692175a..7e5c59d3 100644 --- a/pkg/transforms/deploymentconfig_test.go +++ b/pkg/transforms/deploymentconfig_test.go @@ -1,6 +1,7 @@ /* Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/genericresource.go b/pkg/transforms/genericresource.go index 140fdc15..eb08ca8c 100644 --- a/pkg/transforms/genericresource.go +++ b/pkg/transforms/genericresource.go @@ -1,4 +1,5 @@ // Copyright (c) 2020 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/helmrelease.go b/pkg/transforms/helmrelease.go index a835e1f1..45030f4b 100644 --- a/pkg/transforms/helmrelease.go +++ b/pkg/transforms/helmrelease.go @@ -4,6 +4,8 @@ OCO Source Materials (C) Copyright IBM Corporation 2019 All Rights Reserved The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office. +// Copyright (c) 2021 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project */ package transforms diff --git a/pkg/transforms/helmrelease_test.go b/pkg/transforms/helmrelease_test.go index a15fbd9d..65a7b34f 100644 --- a/pkg/transforms/helmrelease_test.go +++ b/pkg/transforms/helmrelease_test.go @@ -4,6 +4,8 @@ OCO Source Materials (C) Copyright IBM Corporation 2019 All Rights Reserved The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office. +// Copyright (c) 2021 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project */ package transforms diff --git a/pkg/transforms/job.go b/pkg/transforms/job.go index f1603b9c..afb61147 100644 --- a/pkg/transforms/job.go +++ b/pkg/transforms/job.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/job_test.go b/pkg/transforms/job_test.go index e4736e81..da91951d 100644 --- a/pkg/transforms/job_test.go +++ b/pkg/transforms/job_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/namespace.go b/pkg/transforms/namespace.go index a343c64b..b5c8d0ad 100644 --- a/pkg/transforms/namespace.go +++ b/pkg/transforms/namespace.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/namespace_test.go b/pkg/transforms/namespace_test.go index 9e63cbba..b3a41861 100644 --- a/pkg/transforms/namespace_test.go +++ b/pkg/transforms/namespace_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/node.go b/pkg/transforms/node.go index b77180f2..11d99a02 100644 --- a/pkg/transforms/node.go +++ b/pkg/transforms/node.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020, 2021 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/node_test.go b/pkg/transforms/node_test.go index af293f57..7b88e726 100644 --- a/pkg/transforms/node_test.go +++ b/pkg/transforms/node_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/persistentvolume.go b/pkg/transforms/persistentvolume.go index 9144d7f0..c9bd5f64 100644 --- a/pkg/transforms/persistentvolume.go +++ b/pkg/transforms/persistentvolume.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/persistentvolume_test.go b/pkg/transforms/persistentvolume_test.go index 63f4a1bf..d2df7ebe 100644 --- a/pkg/transforms/persistentvolume_test.go +++ b/pkg/transforms/persistentvolume_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/persistentvolumeclaim.go b/pkg/transforms/persistentvolumeclaim.go index 07c0bd77..029238c7 100644 --- a/pkg/transforms/persistentvolumeclaim.go +++ b/pkg/transforms/persistentvolumeclaim.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/persistentvolumeclaim_test.go b/pkg/transforms/persistentvolumeclaim_test.go index b33e1788..9dbbd16a 100644 --- a/pkg/transforms/persistentvolumeclaim_test.go +++ b/pkg/transforms/persistentvolumeclaim_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/placementbinding.go b/pkg/transforms/placementbinding.go index ec62ecf6..6f4fb8ec 100644 --- a/pkg/transforms/placementbinding.go +++ b/pkg/transforms/placementbinding.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/placementbinding_test.go b/pkg/transforms/placementbinding_test.go index 23116dc3..a8f2889a 100644 --- a/pkg/transforms/placementbinding_test.go +++ b/pkg/transforms/placementbinding_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/placementpolicy.go b/pkg/transforms/placementpolicy.go index 56cfafb3..b60ce566 100644 --- a/pkg/transforms/placementpolicy.go +++ b/pkg/transforms/placementpolicy.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/placementpolicy_test.go b/pkg/transforms/placementpolicy_test.go index 0d23f0d1..12189e12 100644 --- a/pkg/transforms/placementpolicy_test.go +++ b/pkg/transforms/placementpolicy_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/placementrule.go b/pkg/transforms/placementrule.go index 15256e25..02a88f8d 100644 --- a/pkg/transforms/placementrule.go +++ b/pkg/transforms/placementrule.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/placementrule_test.go b/pkg/transforms/placementrule_test.go index 23d068a0..7e0771ec 100644 --- a/pkg/transforms/placementrule_test.go +++ b/pkg/transforms/placementrule_test.go @@ -4,6 +4,8 @@ OCO Source Materials (C) Copyright IBM Corporation 2019 All Rights Reserved The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office. +// Copyright (c) 2021 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project */ package transforms diff --git a/pkg/transforms/pod.go b/pkg/transforms/pod.go index 7ea9ec08..920ce68e 100644 --- a/pkg/transforms/pod.go +++ b/pkg/transforms/pod.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/pod_test.go b/pkg/transforms/pod_test.go index cbc2a3d0..c25bdc61 100644 --- a/pkg/transforms/pod_test.go +++ b/pkg/transforms/pod_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/policy.go b/pkg/transforms/policy.go index ae1455c8..7578aff5 100644 --- a/pkg/transforms/policy.go +++ b/pkg/transforms/policy.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/policy_test.go b/pkg/transforms/policy_test.go index d42755cb..21c05e42 100644 --- a/pkg/transforms/policy_test.go +++ b/pkg/transforms/policy_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/replicaset.go b/pkg/transforms/replicaset.go index 430e49ad..b971a5b8 100644 --- a/pkg/transforms/replicaset.go +++ b/pkg/transforms/replicaset.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/replicaset_test.go b/pkg/transforms/replicaset_test.go index 878a197b..985e00fe 100644 --- a/pkg/transforms/replicaset_test.go +++ b/pkg/transforms/replicaset_test.go @@ -4,6 +4,8 @@ OCO Source Materials (C) Copyright IBM Corporation 2019 All Rights Reserved The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office. +// Copyright (c) 2021 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project */ package transforms diff --git a/pkg/transforms/service.go b/pkg/transforms/service.go index 72953e0b..06c27b64 100644 --- a/pkg/transforms/service.go +++ b/pkg/transforms/service.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/service_test.go b/pkg/transforms/service_test.go index 172d8a42..cdedc1e4 100644 --- a/pkg/transforms/service_test.go +++ b/pkg/transforms/service_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms import ( diff --git a/pkg/transforms/statefulset.go b/pkg/transforms/statefulset.go index 1e997ed4..eb34030b 100644 --- a/pkg/transforms/statefulset.go +++ b/pkg/transforms/statefulset.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/statefulset_test.go b/pkg/transforms/statefulset_test.go index 18b651ea..7529b4a9 100644 --- a/pkg/transforms/statefulset_test.go +++ b/pkg/transforms/statefulset_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/subscription.go b/pkg/transforms/subscription.go index 65add5bf..e2187773 100644 --- a/pkg/transforms/subscription.go +++ b/pkg/transforms/subscription.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/subscription_test.go b/pkg/transforms/subscription_test.go index 59598367..f22d1b91 100644 --- a/pkg/transforms/subscription_test.go +++ b/pkg/transforms/subscription_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/testutils.go b/pkg/transforms/testutils.go index 01e9f41a..8e651420 100644 --- a/pkg/transforms/testutils.go +++ b/pkg/transforms/testutils.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. */ // Copyright (c) 2020 Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project // Contains utils for use in testing. package transforms diff --git a/pkg/transforms/transformer.go b/pkg/transforms/transformer.go index 30f82010..3fac877d 100644 --- a/pkg/transforms/transformer.go +++ b/pkg/transforms/transformer.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/pkg/transforms/transformer_test.go b/pkg/transforms/transformer_test.go index 3eed3819..5d138510 100644 --- a/pkg/transforms/transformer_test.go +++ b/pkg/transforms/transformer_test.go @@ -6,6 +6,7 @@ The source code for this program is not published or otherwise divested of its t irrespective of what has been deposited with the U.S. Copyright Office. Copyright (c) 2020 Red Hat, Inc. */ +// Copyright Contributors to the Open Cluster Management project package transforms diff --git a/readme.md b/readme.md index 73777616..c27110d7 100644 --- a/readme.md +++ b/readme.md @@ -11,7 +11,7 @@ The data model is documented at ./pkg/transforms/README.md ## Usage and Configuration ### Running Locally -> **Pre-requisite:** Go v1.13 +> **Pre-requisite:** Go v1.15 1. Fetch Dependencies: `make deps` > **TIP 1:** You may need to install mercurial. `brew install mercurial` > diff --git a/tests/e2e/kind/kind-collector-test.config.yaml b/tests/e2e/kind/kind-collector-test.config.yaml index d0322b65..0bdc61f7 100644 --- a/tests/e2e/kind/kind-collector-test.config.yaml +++ b/tests/e2e/kind/kind-collector-test.config.yaml @@ -1,3 +1,5 @@ +# Copyright (c) 2021 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: diff --git a/tests/e2e/resourceBudgetTest.sh b/tests/e2e/resourceBudgetTest.sh index 4de0cf40..93bc471b 100755 --- a/tests/e2e/resourceBudgetTest.sh +++ b/tests/e2e/resourceBudgetTest.sh @@ -1,6 +1,7 @@ #!/bin/bash # Copyright (c) 2020 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project echo "=== TEST: Memory and CPU budget ===\n" diff --git a/tests/e2e/runTests.sh b/tests/e2e/runTests.sh index 4d4853d8..f49c99cc 100755 --- a/tests/e2e/runTests.sh +++ b/tests/e2e/runTests.sh @@ -1,5 +1,6 @@ #!/bin/bash # Copyright (c) 2020 Red Hat, Inc. +# Copyright Contributors to the Open Cluster Management project sh tests/e2e/resourceBudgetTest.sh $1 \ No newline at end of file