From 354af0a7509874e4725c2683911cf86e3ea420ca Mon Sep 17 00:00:00 2001 From: dmatch01 Date: Tue, 24 Aug 2021 13:11:59 -0500 Subject: [PATCH 1/2] Copyright updates part 6. Signed-off-by: dmatch01 --- pkg/controller/metrics/cmd/builder.go | 14 +++++++++ pkg/controller/metrics/cmd/server/start.go | 14 +++++++++ .../metrics/dynamicmapper/fake_discovery.go | 14 +++++++++ .../metrics/dynamicmapper/mapper.go | 31 +++++++++++++++++++ .../metrics/dynamicmapper/mapper_test.go | 14 +++++++++ pkg/controller/metrics/provider/errors.go | 14 +++++++++ .../metrics/provider/helpers/helpers.go | 14 +++++++++ pkg/controller/metrics/provider/interfaces.go | 14 +++++++++ .../metrics/provider/interfaces_test.go | 14 +++++++++ .../metrics/provider/resource_lister.go | 14 +++++++++ 10 files changed, 157 insertions(+) diff --git a/pkg/controller/metrics/cmd/builder.go b/pkg/controller/metrics/cmd/builder.go index 234c99160..1cee4ee79 100644 --- a/pkg/controller/metrics/cmd/builder.go +++ b/pkg/controller/metrics/cmd/builder.go @@ -13,7 +13,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +/* +Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package cmd import ( diff --git a/pkg/controller/metrics/cmd/server/start.go b/pkg/controller/metrics/cmd/server/start.go index 2b60e056b..6bb383933 100644 --- a/pkg/controller/metrics/cmd/server/start.go +++ b/pkg/controller/metrics/cmd/server/start.go @@ -13,7 +13,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +/* +Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package server import ( diff --git a/pkg/controller/metrics/dynamicmapper/fake_discovery.go b/pkg/controller/metrics/dynamicmapper/fake_discovery.go index a1153fc99..8b32af650 100644 --- a/pkg/controller/metrics/dynamicmapper/fake_discovery.go +++ b/pkg/controller/metrics/dynamicmapper/fake_discovery.go @@ -13,7 +13,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +/* +Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package dynamicmapper import ( diff --git a/pkg/controller/metrics/dynamicmapper/mapper.go b/pkg/controller/metrics/dynamicmapper/mapper.go index e6aaded6b..bdbf2f003 100644 --- a/pkg/controller/metrics/dynamicmapper/mapper.go +++ b/pkg/controller/metrics/dynamicmapper/mapper.go @@ -1,3 +1,34 @@ +/* +Copyright 2019 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +/* + */ +Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package dynamicmapper import ( diff --git a/pkg/controller/metrics/dynamicmapper/mapper_test.go b/pkg/controller/metrics/dynamicmapper/mapper_test.go index 03aa8693c..cb477a905 100644 --- a/pkg/controller/metrics/dynamicmapper/mapper_test.go +++ b/pkg/controller/metrics/dynamicmapper/mapper_test.go @@ -13,7 +13,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +/* +Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package dynamicmapper import ( diff --git a/pkg/controller/metrics/provider/errors.go b/pkg/controller/metrics/provider/errors.go index 821f2addb..1fd5db987 100644 --- a/pkg/controller/metrics/provider/errors.go +++ b/pkg/controller/metrics/provider/errors.go @@ -13,7 +13,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +/* +Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package provider import ( diff --git a/pkg/controller/metrics/provider/helpers/helpers.go b/pkg/controller/metrics/provider/helpers/helpers.go index 85f6377d0..c868c8ed7 100644 --- a/pkg/controller/metrics/provider/helpers/helpers.go +++ b/pkg/controller/metrics/provider/helpers/helpers.go @@ -13,7 +13,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +/* +Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package helpers import ( diff --git a/pkg/controller/metrics/provider/interfaces.go b/pkg/controller/metrics/provider/interfaces.go index cde7e5cce..2b6897dd9 100644 --- a/pkg/controller/metrics/provider/interfaces.go +++ b/pkg/controller/metrics/provider/interfaces.go @@ -13,7 +13,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +/* +Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package provider import ( diff --git a/pkg/controller/metrics/provider/interfaces_test.go b/pkg/controller/metrics/provider/interfaces_test.go index d970ab52e..7d68bbdc7 100644 --- a/pkg/controller/metrics/provider/interfaces_test.go +++ b/pkg/controller/metrics/provider/interfaces_test.go @@ -13,7 +13,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +/* +Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package provider import ( diff --git a/pkg/controller/metrics/provider/resource_lister.go b/pkg/controller/metrics/provider/resource_lister.go index 36a755baf..d7731f1e1 100644 --- a/pkg/controller/metrics/provider/resource_lister.go +++ b/pkg/controller/metrics/provider/resource_lister.go @@ -13,7 +13,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +/* +Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package provider import ( From 9e7627796f2037d6892e650d2716f9206933b16c Mon Sep 17 00:00:00 2001 From: dmatch01 Date: Tue, 24 Aug 2021 13:17:41 -0500 Subject: [PATCH 2/2] Fix syntax. Signed-off-by: dmatch01 --- pkg/controller/metrics/dynamicmapper/mapper.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/controller/metrics/dynamicmapper/mapper.go b/pkg/controller/metrics/dynamicmapper/mapper.go index bdbf2f003..077d67395 100644 --- a/pkg/controller/metrics/dynamicmapper/mapper.go +++ b/pkg/controller/metrics/dynamicmapper/mapper.go @@ -14,7 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. */ /* - */ Copyright 2019, 2021 The Multi-Cluster App Dispatcher Authors. Licensed under the Apache License, Version 2.0 (the "License");