From 59f0ab97c25e1f13cf3ba176c3ef56504d646934 Mon Sep 17 00:00:00 2001 From: Shingo Omura Date: Sat, 14 Jun 2025 22:21:00 +0900 Subject: [PATCH] Add boilerplate header to go files Signed-off-by: Shingo Omura --- .../api/standard_attributes.go | 16 ++++++++++++++++ .../deviceattribute/attribute.go | 16 ++++++++++++++++ .../deviceattribute/attribute_test.go | 16 ++++++++++++++++ .../deviceattribute/pci.go | 16 ++++++++++++++++ .../deviceattribute/pci_test.go | 16 ++++++++++++++++ .../dynamic-resource-allocation/testing/file.go | 16 ++++++++++++++++ .../dynamic-resource-allocation/utils/pci.go | 16 ++++++++++++++++ .../utils/pci_test.go | 16 ++++++++++++++++ .../dynamic-resource-allocation/utils/sysfs.go | 16 ++++++++++++++++ 9 files changed, 144 insertions(+) diff --git a/staging/src/k8s.io/dynamic-resource-allocation/api/standard_attributes.go b/staging/src/k8s.io/dynamic-resource-allocation/api/standard_attributes.go index 0d0a0f51616..b209bc7cdf2 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/api/standard_attributes.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/api/standard_attributes.go @@ -1,3 +1,19 @@ +/* +Copyright 2025 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. +*/ + package api const ( diff --git a/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/attribute.go b/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/attribute.go index f6f23ab099c..41b4129823d 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/attribute.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/attribute.go @@ -1,3 +1,19 @@ +/* +Copyright 2025 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. +*/ + package deviceattribute import resourceapi "k8s.io/dynamic-resource-allocation/api" diff --git a/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/attribute_test.go b/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/attribute_test.go index 3a5e5cff089..ae04b5f2a51 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/attribute_test.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/attribute_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2025 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. +*/ + package deviceattribute import ( diff --git a/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/pci.go b/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/pci.go index 7a739c7065b..2d9afef6644 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/pci.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/pci.go @@ -1,3 +1,19 @@ +/* +Copyright 2025 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. +*/ + package deviceattribute import ( diff --git a/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/pci_test.go b/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/pci_test.go index 2bd234fb0f2..3f4b4ffe54a 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/pci_test.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/pci_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2025 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. +*/ + package deviceattribute import ( diff --git a/staging/src/k8s.io/dynamic-resource-allocation/testing/file.go b/staging/src/k8s.io/dynamic-resource-allocation/testing/file.go index 27eb56aaf9b..0c68c6955b3 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/testing/file.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/testing/file.go @@ -1,3 +1,19 @@ +/* +Copyright 2025 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. +*/ + package testing import ( diff --git a/staging/src/k8s.io/dynamic-resource-allocation/utils/pci.go b/staging/src/k8s.io/dynamic-resource-allocation/utils/pci.go index c5f7713e7cf..a0404b5e2af 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/utils/pci.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/utils/pci.go @@ -1,3 +1,19 @@ +/* +Copyright 2025 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. +*/ + package utils import ( diff --git a/staging/src/k8s.io/dynamic-resource-allocation/utils/pci_test.go b/staging/src/k8s.io/dynamic-resource-allocation/utils/pci_test.go index 758ab2ac0ab..1c45612f76a 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/utils/pci_test.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/utils/pci_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2025 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. +*/ + package utils import ( diff --git a/staging/src/k8s.io/dynamic-resource-allocation/utils/sysfs.go b/staging/src/k8s.io/dynamic-resource-allocation/utils/sysfs.go index f1822c5982c..b0c732a900a 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/utils/sysfs.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/utils/sysfs.go @@ -1,3 +1,19 @@ +/* +Copyright 2025 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. +*/ + package utils import "path/filepath"