From 11723445919635177977c46a7b025686d9291987 Mon Sep 17 00:00:00 2001 From: Jacob Salway Date: Tue, 20 Aug 2024 23:37:49 +1000 Subject: [PATCH] Add license comment --- internal/scheduler/yunikorn/maps.go | 16 ++++++++++++++++ internal/scheduler/yunikorn/maps_test.go | 16 ++++++++++++++++ .../yunikorn/resourceusage/executor_count.go | 16 ++++++++++++++++ .../resourceusage/executor_count_test.go | 16 ++++++++++++++++ .../scheduler/yunikorn/resourceusage/java.go | 16 ++++++++++++++++ .../yunikorn/resourceusage/java_test.go | 16 ++++++++++++++++ .../scheduler/yunikorn/resourceusage/memory.go | 16 ++++++++++++++++ .../yunikorn/resourceusage/memory_test.go | 16 ++++++++++++++++ .../yunikorn/resourceusage/resource_usage.go | 16 ++++++++++++++++ .../resourceusage/resource_usage_test.go | 16 ++++++++++++++++ internal/scheduler/yunikorn/scheduler.go | 16 ++++++++++++++++ internal/scheduler/yunikorn/scheduler_test.go | 16 ++++++++++++++++ 12 files changed, 192 insertions(+) diff --git a/internal/scheduler/yunikorn/maps.go b/internal/scheduler/yunikorn/maps.go index f7c06ff10..703e7e0ff 100644 --- a/internal/scheduler/yunikorn/maps.go +++ b/internal/scheduler/yunikorn/maps.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package yunikorn import "maps" diff --git a/internal/scheduler/yunikorn/maps_test.go b/internal/scheduler/yunikorn/maps_test.go index bbb6f3b2f..9a9275f60 100644 --- a/internal/scheduler/yunikorn/maps_test.go +++ b/internal/scheduler/yunikorn/maps_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package yunikorn import ( diff --git a/internal/scheduler/yunikorn/resourceusage/executor_count.go b/internal/scheduler/yunikorn/resourceusage/executor_count.go index 42c50c2b3..aa4858b1a 100644 --- a/internal/scheduler/yunikorn/resourceusage/executor_count.go +++ b/internal/scheduler/yunikorn/resourceusage/executor_count.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package resourceusage import "github.com/kubeflow/spark-operator/api/v1beta2" diff --git a/internal/scheduler/yunikorn/resourceusage/executor_count_test.go b/internal/scheduler/yunikorn/resourceusage/executor_count_test.go index 200cf11cf..6602e4961 100644 --- a/internal/scheduler/yunikorn/resourceusage/executor_count_test.go +++ b/internal/scheduler/yunikorn/resourceusage/executor_count_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package resourceusage import ( diff --git a/internal/scheduler/yunikorn/resourceusage/java.go b/internal/scheduler/yunikorn/resourceusage/java.go index c603b2afb..8b56d64aa 100644 --- a/internal/scheduler/yunikorn/resourceusage/java.go +++ b/internal/scheduler/yunikorn/resourceusage/java.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package resourceusage import ( diff --git a/internal/scheduler/yunikorn/resourceusage/java_test.go b/internal/scheduler/yunikorn/resourceusage/java_test.go index cb4b48d01..d9d1ae59e 100644 --- a/internal/scheduler/yunikorn/resourceusage/java_test.go +++ b/internal/scheduler/yunikorn/resourceusage/java_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package resourceusage import ( diff --git a/internal/scheduler/yunikorn/resourceusage/memory.go b/internal/scheduler/yunikorn/resourceusage/memory.go index aea854656..397f1e209 100644 --- a/internal/scheduler/yunikorn/resourceusage/memory.go +++ b/internal/scheduler/yunikorn/resourceusage/memory.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package resourceusage import ( diff --git a/internal/scheduler/yunikorn/resourceusage/memory_test.go b/internal/scheduler/yunikorn/resourceusage/memory_test.go index 95c6c57cf..f7fa64b7d 100644 --- a/internal/scheduler/yunikorn/resourceusage/memory_test.go +++ b/internal/scheduler/yunikorn/resourceusage/memory_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package resourceusage import ( diff --git a/internal/scheduler/yunikorn/resourceusage/resource_usage.go b/internal/scheduler/yunikorn/resourceusage/resource_usage.go index 34c99a002..adc3e0e98 100644 --- a/internal/scheduler/yunikorn/resourceusage/resource_usage.go +++ b/internal/scheduler/yunikorn/resourceusage/resource_usage.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package resourceusage import ( diff --git a/internal/scheduler/yunikorn/resourceusage/resource_usage_test.go b/internal/scheduler/yunikorn/resourceusage/resource_usage_test.go index 72a30d096..8cadb800f 100644 --- a/internal/scheduler/yunikorn/resourceusage/resource_usage_test.go +++ b/internal/scheduler/yunikorn/resourceusage/resource_usage_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package resourceusage import ( diff --git a/internal/scheduler/yunikorn/scheduler.go b/internal/scheduler/yunikorn/scheduler.go index a1eb695e8..f98ccce2c 100644 --- a/internal/scheduler/yunikorn/scheduler.go +++ b/internal/scheduler/yunikorn/scheduler.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package yunikorn import ( diff --git a/internal/scheduler/yunikorn/scheduler_test.go b/internal/scheduler/yunikorn/scheduler_test.go index c5da6443a..ec9537382 100644 --- a/internal/scheduler/yunikorn/scheduler_test.go +++ b/internal/scheduler/yunikorn/scheduler_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 The Kubeflow 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 + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package yunikorn import (