diff --git a/Makefile b/Makefile index 7a748cad948..c1562bce64d 100644 --- a/Makefile +++ b/Makefile @@ -76,3 +76,7 @@ endif # Prettier UI format check for Katib v1beta1. prettier-check: npm run format:check --prefix pkg/ui/v1beta1/frontend + +# Update boilerplate for the source code. +update-boilerplate: + ./hack/boilerplate/update-boilerplate.sh diff --git a/cmd/db-manager/v1beta1/main.go b/cmd/db-manager/v1beta1/main.go index 238f5abcfc1..7d894dfaba0 100644 --- a/cmd/db-manager/v1beta1/main.go +++ b/cmd/db-manager/v1beta1/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 main import ( diff --git a/cmd/db-manager/v1beta1/main_test.go b/cmd/db-manager/v1beta1/main_test.go index e91e136125a..2360f95cec5 100644 --- a/cmd/db-manager/v1beta1/main_test.go +++ b/cmd/db-manager/v1beta1/main_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 main import ( diff --git a/cmd/earlystopping/medianstop/v1beta1/main.py b/cmd/earlystopping/medianstop/v1beta1/main.py index 65e781ad82b..f61ef465521 100644 --- a/cmd/earlystopping/medianstop/v1beta1/main.py +++ b/cmd/earlystopping/medianstop/v1beta1/main.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import time import logging diff --git a/cmd/katib-controller/v1beta1/main.go b/cmd/katib-controller/v1beta1/main.go index b2a2a6d17f5..681c8d62b33 100644 --- a/cmd/katib-controller/v1beta1/main.go +++ b/cmd/katib-controller/v1beta1/main.go @@ -1,9 +1,12 @@ /* -Copyright 2018 The Kubeflow Authors +Copyright 2021 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 + 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. diff --git a/cmd/metricscollector/v1beta1/file-metricscollector/main.go b/cmd/metricscollector/v1beta1/file-metricscollector/main.go index ced2ec2d800..71f31703b0a 100644 --- a/cmd/metricscollector/v1beta1/file-metricscollector/main.go +++ b/cmd/metricscollector/v1beta1/file-metricscollector/main.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubeflow Authors +Copyright 2021 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. diff --git a/cmd/metricscollector/v1beta1/tfevent-metricscollector/main.py b/cmd/metricscollector/v1beta1/tfevent-metricscollector/main.py index d9d8c71e414..ec2f93798c5 100644 --- a/cmd/metricscollector/v1beta1/tfevent-metricscollector/main.py +++ b/cmd/metricscollector/v1beta1/tfevent-metricscollector/main.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import argparse import api_pb2 diff --git a/cmd/new-ui/v1beta1/main.go b/cmd/new-ui/v1beta1/main.go index 6d288a542a4..afbf2fd0e39 100644 --- a/cmd/new-ui/v1beta1/main.go +++ b/cmd/new-ui/v1beta1/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 main import ( diff --git a/cmd/suggestion/chocolate/v1beta1/main.py b/cmd/suggestion/chocolate/v1beta1/main.py index 86647cbd3a5..2b0336aa7cd 100644 --- a/cmd/suggestion/chocolate/v1beta1/main.py +++ b/cmd/suggestion/chocolate/v1beta1/main.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import time from pkg.apis.manager.v1beta1.python import api_pb2_grpc diff --git a/cmd/suggestion/goptuna/v1beta1/main.go b/cmd/suggestion/goptuna/v1beta1/main.go index c359451730d..e41c0f8f37a 100644 --- a/cmd/suggestion/goptuna/v1beta1/main.go +++ b/cmd/suggestion/goptuna/v1beta1/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 main import ( diff --git a/cmd/suggestion/hyperband/v1beta1/main.py b/cmd/suggestion/hyperband/v1beta1/main.py index c1517171ee3..8aab00dd428 100644 --- a/cmd/suggestion/hyperband/v1beta1/main.py +++ b/cmd/suggestion/hyperband/v1beta1/main.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import time from pkg.apis.manager.v1beta1.python import api_pb2_grpc diff --git a/cmd/suggestion/hyperopt/v1beta1/main.py b/cmd/suggestion/hyperopt/v1beta1/main.py index c80abb7e356..3fe736a2908 100644 --- a/cmd/suggestion/hyperopt/v1beta1/main.py +++ b/cmd/suggestion/hyperopt/v1beta1/main.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import time from pkg.apis.manager.v1beta1.python import api_pb2_grpc diff --git a/cmd/suggestion/nas/darts/v1beta1/main.py b/cmd/suggestion/nas/darts/v1beta1/main.py index 4d8bf9085d0..0a55d4456d8 100644 --- a/cmd/suggestion/nas/darts/v1beta1/main.py +++ b/cmd/suggestion/nas/darts/v1beta1/main.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc from concurrent import futures import time diff --git a/cmd/suggestion/nas/enas/v1beta1/main.py b/cmd/suggestion/nas/enas/v1beta1/main.py index 59ae9cbe2e0..cbb4a45e567 100644 --- a/cmd/suggestion/nas/enas/v1beta1/main.py +++ b/cmd/suggestion/nas/enas/v1beta1/main.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc from concurrent import futures import time diff --git a/cmd/suggestion/skopt/v1beta1/main.py b/cmd/suggestion/skopt/v1beta1/main.py index c948f592d3b..86da16b24c0 100644 --- a/cmd/suggestion/skopt/v1beta1/main.py +++ b/cmd/suggestion/skopt/v1beta1/main.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import time from pkg.apis.manager.v1beta1.python import api_pb2_grpc diff --git a/cmd/ui/v1beta1/main.go b/cmd/ui/v1beta1/main.go index a260013dad0..88b3ac9f539 100644 --- a/cmd/ui/v1beta1/main.go +++ b/cmd/ui/v1beta1/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 main import ( diff --git a/hack/boilerplate.go.txt b/hack/boilerplate/boilerplate.go.txt similarity index 92% rename from hack/boilerplate.go.txt rename to hack/boilerplate/boilerplate.go.txt index a32e3b8c6a3..98d4fabccf2 100644 --- a/hack/boilerplate.go.txt +++ b/hack/boilerplate/boilerplate.go.txt @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -12,4 +12,5 @@ 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. -*/ \ No newline at end of file +*/ + diff --git a/hack/boilerplate/boilerplate.py.txt b/hack/boilerplate/boilerplate.py.txt new file mode 100644 index 00000000000..943a496db3d --- /dev/null +++ b/hack/boilerplate/boilerplate.py.txt @@ -0,0 +1,14 @@ +# Copyright 2021 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 +# +# 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. + diff --git a/hack/boilerplate/boilerplate.sh.txt b/hack/boilerplate/boilerplate.sh.txt new file mode 100644 index 00000000000..943a496db3d --- /dev/null +++ b/hack/boilerplate/boilerplate.sh.txt @@ -0,0 +1,14 @@ +# Copyright 2021 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 +# +# 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. + diff --git a/hack/boilerplate/update-boilerplate.sh b/hack/boilerplate/update-boilerplate.sh new file mode 100755 index 00000000000..14294744ada --- /dev/null +++ b/hack/boilerplate/update-boilerplate.sh @@ -0,0 +1,82 @@ +#!/bin/bash + +# Copyright 2021 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 +# +# 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. + +# This script is used to update or add the boilerplate. + +# ------------------ Go files ------------------ +# Exclude client, gRPC manager, swagger, deepcopy and mock from the search. +find_go_files=$( + find ./cmd ./pkg ./hack ./test -name "*.go" \ + ! -path "./pkg/client/*" \ + ! -path "./pkg/apis/manager/*" \ + ! -path "./pkg/apis/v1beta1/*" \ + ! -path "./pkg/apis/controller/*.deepcopy.go" \ + ! -path "./pkg/mock/*" +) + +for i in ${find_go_files}; do + # If the 2nd line starts with "Copyright", remove the current boilerplate. + if [[ $(sed -n 2p $i) =~ "Copyright" ]]; then + echo "Remove the current boilerplate and add the new boilerplate to $i" + tail -n +17 $i >$i.tmp + # Otherwise, copy the whole file. + else + echo "Add the new boilerplate to $i" + cat $i >$i.tmp + fi + # Add the new boilerplate to the file. + cat ./hack/boilerplate/boilerplate.go.txt $i.tmp >$i && rm $i.tmp +done + +# ------------------ Python files ------------------ +# Exclude gRPC manager and __init__.py files from the search. +find_python_files=$( + find ./cmd ./pkg ./hack ./test -name "*.py" \ + ! -path "./pkg/apis/manager/*" \ + ! -path "*__init__.py" +) + +for i in ${find_python_files}; do + # If the 1st line starts with "# Copyright", remove the boilerplate. + if [[ $(sed -n 1p $i) =~ "# Copyright" ]]; then + echo "Remove the current boilerplate and add the new boilerplate to $i" + tail -n +15 $i >$i.tmp + # Otherwise, copy the whole file. + else + echo "Add the new boilerplate to $i" + cat $i >$i.tmp + fi + # Add the new boilerplate to the file. + cat ./hack/boilerplate/boilerplate.py.txt $i.tmp >$i && rm $i.tmp +done + +# ------------------ Shell files ------------------ +find_shell_files=$(find ./pkg ./hack ./scripts ./test -name "*.sh") + +for i in ${find_shell_files}; do + # If the 3rd line starts with "# Copyright", remove the boilerplate. + # In the shell files we should save the first line. + if [[ $(sed -n 3p $i) =~ "# Copyright" ]]; then + echo "Remove the current boilerplate and add the new boilerplate to $i" + sed -e "2,15d" $i >$i.tmp + # Otherwise, copy the whole file. + else + echo "Add the new boilerplate to $i" + cat $i >$i.tmp + fi + # Add the new boilerplate to the file. + (head -2 $i.tmp && cat ./hack/boilerplate/boilerplate.sh.txt && tail -n +3 $i.tmp) >$i && rm $i.tmp +done diff --git a/hack/cert-generator.sh b/hack/cert-generator.sh index 53ef4d57fb2..ef6d1fcf373 100755 --- a/hack/cert-generator.sh +++ b/hack/cert-generator.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2021 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 +# +# 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. + set -e service="katib-controller" diff --git a/hack/gen-python-sdk/gen-sdk.sh b/hack/gen-python-sdk/gen-sdk.sh index fd25941aba8..da6b41fe7d2 100755 --- a/hack/gen-python-sdk/gen-sdk.sh +++ b/hack/gen-python-sdk/gen-sdk.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash -# Copyright 2019 The Kubeflow Authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, diff --git a/hack/gen-python-sdk/post_gen.py b/hack/gen-python-sdk/post_gen.py index 065fc58178d..e927312427a 100644 --- a/hack/gen-python-sdk/post_gen.py +++ b/hack/gen-python-sdk/post_gen.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import os import shutil import sys diff --git a/hack/swagger/main.go b/hack/swagger/main.go index 3fe2326ee87..caa97a9fcd7 100644 --- a/hack/swagger/main.go +++ b/hack/swagger/main.go @@ -1,9 +1,12 @@ /* -Copyright 2019 kubeflow.org. +Copyright 2021 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 + 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. diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index b522d3217c3..bd4c6168ae1 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -1,12 +1,12 @@ #!/bin/bash -# Copyright 2019 The Kubeflow Authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, @@ -52,4 +52,4 @@ ${CODEGEN_PKG}/generate-groups.sh \ github.com/kubeflow/katib/pkg/client/controller \ github.com/kubeflow/katib/pkg/apis/controller \ "${GROUP_VERSIONS}" \ - --go-header-file ${PROJECT_ROOT}/hack/boilerplate.go.txt + --go-header-file ${PROJECT_ROOT}/hack/boilerplate/boilerplate.go.txt diff --git a/hack/update-gofmt.sh b/hack/update-gofmt.sh index 12c0d92b09a..640035458d9 100755 --- a/hack/update-gofmt.sh +++ b/hack/update-gofmt.sh @@ -1,12 +1,12 @@ #!/bin/bash -# Copyright 2019 The Kubeflow Authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, diff --git a/hack/update-openapigen.sh b/hack/update-openapigen.sh index 19441cacf1f..1012bf4d6c1 100755 --- a/hack/update-openapigen.sh +++ b/hack/update-openapigen.sh @@ -1,12 +1,12 @@ #!/bin/bash -# Copyright 2019 The Kubeflow Authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, @@ -47,7 +47,7 @@ for VERSION in ${VERSION_LIST[@]}; do echo "Generating OpenAPI specification for ${VERSION} ..." go run ${CODEGEN_PKG}/cmd/openapi-gen/main.go \ - --go-header-file ${PROJECT_ROOT}/hack/boilerplate.go.txt \ + --go-header-file ${PROJECT_ROOT}/hack/boilerplate/boilerplate.go.txt \ --input-dirs github.com/kubeflow/katib/pkg/apis/controller/common/${VERSION},github.com/kubeflow/katib/pkg/apis/controller/experiments/${VERSION},github.com/kubeflow/katib/pkg/apis/controller/suggestions/${VERSION},github.com/kubeflow/katib/pkg/apis/controller/trials/${VERSION} \ --output-package github.com/kubeflow/katib/pkg/apis/${VERSION} \ $@ diff --git a/hack/verify-gofmt.sh b/hack/verify-gofmt.sh index 096e2e2097a..e93ebba00aa 100755 --- a/hack/verify-gofmt.sh +++ b/hack/verify-gofmt.sh @@ -1,11 +1,12 @@ #!/usr/bin/env bash -# Copyright 2019 The Kubeflow Authors. + +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, diff --git a/hack/verify-golint.sh b/hack/verify-golint.sh index d3fe81cfbb9..f38c7a62a9c 100755 --- a/hack/verify-golint.sh +++ b/hack/verify-golint.sh @@ -1,12 +1,12 @@ #!/bin/bash -# Copyright 2019 The Kubeflow Authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, diff --git a/pkg/apis/controller/addtoscheme_katib_v1beta1.go b/pkg/apis/controller/addtoscheme_katib_v1beta1.go index 4383507193b..f91fb6aad6e 100644 --- a/pkg/apis/controller/addtoscheme_katib_v1beta1.go +++ b/pkg/apis/controller/addtoscheme_katib_v1beta1.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/addtoscheme_pytorchjob_v1.go b/pkg/apis/controller/addtoscheme_pytorchjob_v1.go index 1a419e8cd7e..bf3158db671 100644 --- a/pkg/apis/controller/addtoscheme_pytorchjob_v1.go +++ b/pkg/apis/controller/addtoscheme_pytorchjob_v1.go @@ -1,8 +1,12 @@ /* +Copyright 2021 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 + 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. diff --git a/pkg/apis/controller/addtoscheme_tfjob_v1.go b/pkg/apis/controller/addtoscheme_tfjob_v1.go index 6426bb9377e..377f6564540 100644 --- a/pkg/apis/controller/addtoscheme_tfjob_v1.go +++ b/pkg/apis/controller/addtoscheme_tfjob_v1.go @@ -1,8 +1,12 @@ /* +Copyright 2021 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 + 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. diff --git a/pkg/apis/controller/apis.go b/pkg/apis/controller/apis.go index 1b60eafb172..bbfa2abf3b5 100644 --- a/pkg/apis/controller/apis.go +++ b/pkg/apis/controller/apis.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/common/group.go b/pkg/apis/controller/common/group.go index ef2179672a8..6ebec3983d6 100644 --- a/pkg/apis/controller/common/group.go +++ b/pkg/apis/controller/common/group.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/apis/controller/common/v1beta1/common_types.go b/pkg/apis/controller/common/v1beta1/common_types.go index 6f7c9a86aa8..ba91f88b628 100644 --- a/pkg/apis/controller/common/v1beta1/common_types.go +++ b/pkg/apis/controller/common/v1beta1/common_types.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/common/v1beta1/doc.go b/pkg/apis/controller/common/v1beta1/doc.go index e8f74bdf7ee..dd03797cd90 100644 --- a/pkg/apis/controller/common/v1beta1/doc.go +++ b/pkg/apis/controller/common/v1beta1/doc.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/common/v1beta1/register.go b/pkg/apis/controller/common/v1beta1/register.go index bdb7b15e530..284859ffe17 100644 --- a/pkg/apis/controller/common/v1beta1/register.go +++ b/pkg/apis/controller/common/v1beta1/register.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/apis/controller/common/v1beta1/zz_generated.deepcopy.go b/pkg/apis/controller/common/v1beta1/zz_generated.deepcopy.go index 1aa5928a5d7..dbbfe119913 100644 --- a/pkg/apis/controller/common/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/controller/common/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -15,6 +15,7 @@ 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. */ + // Code generated by deepcopy-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/apis/controller/experiments/group.go b/pkg/apis/controller/experiments/group.go index 925c5761b97..a4aebb3cc60 100644 --- a/pkg/apis/controller/experiments/group.go +++ b/pkg/apis/controller/experiments/group.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/apis/controller/experiments/v1beta1/constants.go b/pkg/apis/controller/experiments/v1beta1/constants.go index 3e38d345389..ad91dc28616 100644 --- a/pkg/apis/controller/experiments/v1beta1/constants.go +++ b/pkg/apis/controller/experiments/v1beta1/constants.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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 v1beta1 const ( diff --git a/pkg/apis/controller/experiments/v1beta1/doc.go b/pkg/apis/controller/experiments/v1beta1/doc.go index 45f8da8d586..78205741a71 100644 --- a/pkg/apis/controller/experiments/v1beta1/doc.go +++ b/pkg/apis/controller/experiments/v1beta1/doc.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/experiments/v1beta1/experiment_defaults.go b/pkg/apis/controller/experiments/v1beta1/experiment_defaults.go index b418c80a136..3b54d50310d 100644 --- a/pkg/apis/controller/experiments/v1beta1/experiment_defaults.go +++ b/pkg/apis/controller/experiments/v1beta1/experiment_defaults.go @@ -1,7 +1,5 @@ -// +build !ignore_autogenerated - /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -15,7 +13,6 @@ 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. */ -// Code generated by main. DO NOT EDIT. package v1beta1 diff --git a/pkg/apis/controller/experiments/v1beta1/experiment_types.go b/pkg/apis/controller/experiments/v1beta1/experiment_types.go index 4a48a33016c..2d6c32ec56b 100644 --- a/pkg/apis/controller/experiments/v1beta1/experiment_types.go +++ b/pkg/apis/controller/experiments/v1beta1/experiment_types.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/experiments/v1beta1/register.go b/pkg/apis/controller/experiments/v1beta1/register.go index 4016f518e5e..2997ea53c7c 100644 --- a/pkg/apis/controller/experiments/v1beta1/register.go +++ b/pkg/apis/controller/experiments/v1beta1/register.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/experiments/v1beta1/util.go b/pkg/apis/controller/experiments/v1beta1/util.go index f044e2d0bec..9a2a5996afa 100644 --- a/pkg/apis/controller/experiments/v1beta1/util.go +++ b/pkg/apis/controller/experiments/v1beta1/util.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/experiments/v1beta1/zz_generated.deepcopy.go b/pkg/apis/controller/experiments/v1beta1/zz_generated.deepcopy.go index 6e0191f9627..5893387ab44 100644 --- a/pkg/apis/controller/experiments/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/controller/experiments/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -15,6 +15,7 @@ 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. */ + // Code generated by deepcopy-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/apis/controller/suggestions/group.go b/pkg/apis/controller/suggestions/group.go index 46a1bb171d3..6c7c45bac25 100644 --- a/pkg/apis/controller/suggestions/group.go +++ b/pkg/apis/controller/suggestions/group.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/apis/controller/suggestions/v1beta1/doc.go b/pkg/apis/controller/suggestions/v1beta1/doc.go index 6fa46aac495..38376d73461 100644 --- a/pkg/apis/controller/suggestions/v1beta1/doc.go +++ b/pkg/apis/controller/suggestions/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/apis/controller/suggestions/v1beta1/register.go b/pkg/apis/controller/suggestions/v1beta1/register.go index 6e820ddd457..dc4425a532c 100644 --- a/pkg/apis/controller/suggestions/v1beta1/register.go +++ b/pkg/apis/controller/suggestions/v1beta1/register.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/apis/controller/suggestions/v1beta1/suggestion_types.go b/pkg/apis/controller/suggestions/v1beta1/suggestion_types.go index e19b44d1b6b..8de6c48bafd 100644 --- a/pkg/apis/controller/suggestions/v1beta1/suggestion_types.go +++ b/pkg/apis/controller/suggestions/v1beta1/suggestion_types.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/apis/controller/suggestions/v1beta1/util.go b/pkg/apis/controller/suggestions/v1beta1/util.go index 2273f918fef..d786f999069 100644 --- a/pkg/apis/controller/suggestions/v1beta1/util.go +++ b/pkg/apis/controller/suggestions/v1beta1/util.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/apis/controller/suggestions/v1beta1/zz_generated.deepcopy.go b/pkg/apis/controller/suggestions/v1beta1/zz_generated.deepcopy.go index db7e13d8fb3..9f641950508 100644 --- a/pkg/apis/controller/suggestions/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/controller/suggestions/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -15,6 +15,7 @@ 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. */ + // Code generated by deepcopy-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/apis/controller/trials/group.go b/pkg/apis/controller/trials/group.go index c61da260189..ff1b49d5c69 100644 --- a/pkg/apis/controller/trials/group.go +++ b/pkg/apis/controller/trials/group.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/apis/controller/trials/v1beta1/doc.go b/pkg/apis/controller/trials/v1beta1/doc.go index 139f1217ec3..b676607802c 100644 --- a/pkg/apis/controller/trials/v1beta1/doc.go +++ b/pkg/apis/controller/trials/v1beta1/doc.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/trials/v1beta1/register.go b/pkg/apis/controller/trials/v1beta1/register.go index aa07c04381c..5c2fd99331b 100644 --- a/pkg/apis/controller/trials/v1beta1/register.go +++ b/pkg/apis/controller/trials/v1beta1/register.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/trials/v1beta1/trial_types.go b/pkg/apis/controller/trials/v1beta1/trial_types.go index 14c1ce5a032..383f5723e20 100644 --- a/pkg/apis/controller/trials/v1beta1/trial_types.go +++ b/pkg/apis/controller/trials/v1beta1/trial_types.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/trials/v1beta1/util.go b/pkg/apis/controller/trials/v1beta1/util.go index c208adbfed4..35400c3561b 100644 --- a/pkg/apis/controller/trials/v1beta1/util.go +++ b/pkg/apis/controller/trials/v1beta1/util.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/apis/controller/trials/v1beta1/zz_generated.deepcopy.go b/pkg/apis/controller/trials/v1beta1/zz_generated.deepcopy.go index 9cb23085c3d..e80f67d152d 100644 --- a/pkg/apis/controller/trials/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/controller/trials/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -15,6 +15,7 @@ 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. */ + // Code generated by deepcopy-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/apis/manager/health/build.sh b/pkg/apis/manager/health/build.sh index 489913909bc..b4385864c41 100755 --- a/pkg/apis/manager/health/build.sh +++ b/pkg/apis/manager/health/build.sh @@ -1,5 +1,22 @@ +#!/bin/bash + +# Copyright 2021 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 +# +# 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. + set -x set -e + proto="health.proto" docker run -it --rm -v $PWD:$(pwd) -w $(pwd) znly/protoc --python_out=plugins=grpc:./python --go_out=plugins=grpc:. -I. $proto docker run -it --rm -v $PWD:$(pwd) -w $(pwd) znly/protoc --plugin=protoc-gen-grpc=/usr/bin/grpc_python_plugin --python_out=./python --grpc_out=./python -I. $proto diff --git a/pkg/apis/manager/v1beta1/build.sh b/pkg/apis/manager/v1beta1/build.sh index 74a1f5b2a18..ed0b99648a3 100755 --- a/pkg/apis/manager/v1beta1/build.sh +++ b/pkg/apis/manager/v1beta1/build.sh @@ -1,5 +1,22 @@ +#!/bin/bash + +# Copyright 2021 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 +# +# 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. + set -x set -e + for proto in api.proto; do docker run -it --rm -v $PWD:$(pwd) -w $(pwd) znly/protoc --python_out=plugins=grpc:./python --go_out=plugins=grpc:. -I. $proto docker run -it --rm -v $PWD:$(pwd) -w $(pwd) znly/protoc --plugin=protoc-gen-grpc=/usr/bin/grpc_python_plugin --python_out=./python --grpc_out=./python -I. $proto diff --git a/pkg/apis/v1beta1/openapi_generated.go b/pkg/apis/v1beta1/openapi_generated.go index d866be1afd1..eda774ed101 100644 --- a/pkg/apis/v1beta1/openapi_generated.go +++ b/pkg/apis/v1beta1/openapi_generated.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -15,6 +15,7 @@ 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. */ + // Code generated by main. DO NOT EDIT. // This file was autogenerated by openapi-gen. Do not edit it manually! diff --git a/pkg/client/controller/clientset/versioned/clientset.go b/pkg/client/controller/clientset/versioned/clientset.go index 9513faa873d..3207bf77589 100644 --- a/pkg/client/controller/clientset/versioned/clientset.go +++ b/pkg/client/controller/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package versioned diff --git a/pkg/client/controller/clientset/versioned/doc.go b/pkg/client/controller/clientset/versioned/doc.go index e4009e355c3..e10b2fe3d03 100644 --- a/pkg/client/controller/clientset/versioned/doc.go +++ b/pkg/client/controller/clientset/versioned/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // This package has the automatically generated clientset. diff --git a/pkg/client/controller/clientset/versioned/fake/clientset_generated.go b/pkg/client/controller/clientset/versioned/fake/clientset_generated.go index 1f7ef03db26..823e5affae5 100644 --- a/pkg/client/controller/clientset/versioned/fake/clientset_generated.go +++ b/pkg/client/controller/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package fake diff --git a/pkg/client/controller/clientset/versioned/fake/doc.go b/pkg/client/controller/clientset/versioned/fake/doc.go index f67f4a59c81..e2b36155c15 100644 --- a/pkg/client/controller/clientset/versioned/fake/doc.go +++ b/pkg/client/controller/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // This package has the automatically generated fake clientset. diff --git a/pkg/client/controller/clientset/versioned/fake/register.go b/pkg/client/controller/clientset/versioned/fake/register.go index f54f3d785c5..5746b37f226 100644 --- a/pkg/client/controller/clientset/versioned/fake/register.go +++ b/pkg/client/controller/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package fake diff --git a/pkg/client/controller/clientset/versioned/scheme/doc.go b/pkg/client/controller/clientset/versioned/scheme/doc.go index 3e4eab09004..41f028db278 100644 --- a/pkg/client/controller/clientset/versioned/scheme/doc.go +++ b/pkg/client/controller/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // This package contains the scheme of the automatically generated clientset. diff --git a/pkg/client/controller/clientset/versioned/scheme/register.go b/pkg/client/controller/clientset/versioned/scheme/register.go index 7205940120d..cdc056f75a7 100644 --- a/pkg/client/controller/clientset/versioned/scheme/register.go +++ b/pkg/client/controller/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package scheme diff --git a/pkg/client/controller/clientset/versioned/typed/common/v1beta1/common_client.go b/pkg/client/controller/clientset/versioned/typed/common/v1beta1/common_client.go index 5805beefb7a..573613e464f 100644 --- a/pkg/client/controller/clientset/versioned/typed/common/v1beta1/common_client.go +++ b/pkg/client/controller/clientset/versioned/typed/common/v1beta1/common_client.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/clientset/versioned/typed/common/v1beta1/doc.go b/pkg/client/controller/clientset/versioned/typed/common/v1beta1/doc.go index 53012c76fea..cea3c87d54a 100644 --- a/pkg/client/controller/clientset/versioned/typed/common/v1beta1/doc.go +++ b/pkg/client/controller/clientset/versioned/typed/common/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // This package has the automatically generated typed clients. diff --git a/pkg/client/controller/clientset/versioned/typed/common/v1beta1/fake/doc.go b/pkg/client/controller/clientset/versioned/typed/common/v1beta1/fake/doc.go index 38939b5c8bc..8d5a6b6f36e 100644 --- a/pkg/client/controller/clientset/versioned/typed/common/v1beta1/fake/doc.go +++ b/pkg/client/controller/clientset/versioned/typed/common/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // Package fake has the automatically generated clients. diff --git a/pkg/client/controller/clientset/versioned/typed/common/v1beta1/fake/fake_common_client.go b/pkg/client/controller/clientset/versioned/typed/common/v1beta1/fake/fake_common_client.go index af9bbc4dadc..651612c80bc 100644 --- a/pkg/client/controller/clientset/versioned/typed/common/v1beta1/fake/fake_common_client.go +++ b/pkg/client/controller/clientset/versioned/typed/common/v1beta1/fake/fake_common_client.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package fake diff --git a/pkg/client/controller/clientset/versioned/typed/common/v1beta1/generated_expansion.go b/pkg/client/controller/clientset/versioned/typed/common/v1beta1/generated_expansion.go index ba4e58e80cd..9e0e175e9f8 100644 --- a/pkg/client/controller/clientset/versioned/typed/common/v1beta1/generated_expansion.go +++ b/pkg/client/controller/clientset/versioned/typed/common/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/doc.go b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/doc.go index 53012c76fea..cea3c87d54a 100644 --- a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/doc.go +++ b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // This package has the automatically generated typed clients. diff --git a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/experiment.go b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/experiment.go index 1400809c25c..2a3fcdb25e8 100644 --- a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/experiment.go +++ b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/experiment.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/experiments_client.go b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/experiments_client.go index f79d80dede4..c43c2606052 100644 --- a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/experiments_client.go +++ b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/experiments_client.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/doc.go b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/doc.go index 38939b5c8bc..8d5a6b6f36e 100644 --- a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/doc.go +++ b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // Package fake has the automatically generated clients. diff --git a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/fake_experiment.go b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/fake_experiment.go index b7e2f414dc8..f70e7a355d0 100644 --- a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/fake_experiment.go +++ b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/fake_experiment.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package fake diff --git a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/fake_experiments_client.go b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/fake_experiments_client.go index a0cf3901fa8..63254719a77 100644 --- a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/fake_experiments_client.go +++ b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/fake/fake_experiments_client.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package fake diff --git a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/generated_expansion.go b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/generated_expansion.go index 1b2f2b75f62..7303f42123a 100644 --- a/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/generated_expansion.go +++ b/pkg/client/controller/clientset/versioned/typed/experiments/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/doc.go b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/doc.go index 53012c76fea..cea3c87d54a 100644 --- a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/doc.go +++ b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // This package has the automatically generated typed clients. diff --git a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/doc.go b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/doc.go index 38939b5c8bc..8d5a6b6f36e 100644 --- a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/doc.go +++ b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // Package fake has the automatically generated clients. diff --git a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/fake_suggestion.go b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/fake_suggestion.go index a33781e16b3..5b79bdc15a4 100644 --- a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/fake_suggestion.go +++ b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/fake_suggestion.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package fake diff --git a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/fake_suggestions_client.go b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/fake_suggestions_client.go index 94ab2eda93d..1f5dc6b7e16 100644 --- a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/fake_suggestions_client.go +++ b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/fake/fake_suggestions_client.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package fake diff --git a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/generated_expansion.go b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/generated_expansion.go index a5864d46ac6..9bcb8402eaa 100644 --- a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/generated_expansion.go +++ b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/suggestion.go b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/suggestion.go index d3f5047203c..086e7b124cd 100644 --- a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/suggestion.go +++ b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/suggestion.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/suggestions_client.go b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/suggestions_client.go index d035f0aa6c2..96660fef66c 100644 --- a/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/suggestions_client.go +++ b/pkg/client/controller/clientset/versioned/typed/suggestions/v1beta1/suggestions_client.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/doc.go b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/doc.go index 53012c76fea..cea3c87d54a 100644 --- a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/doc.go +++ b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // This package has the automatically generated typed clients. diff --git a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/doc.go b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/doc.go index 38939b5c8bc..8d5a6b6f36e 100644 --- a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/doc.go +++ b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. // Package fake has the automatically generated clients. diff --git a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/fake_trial.go b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/fake_trial.go index e98fd66e68d..a01856e361b 100644 --- a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/fake_trial.go +++ b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/fake_trial.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package fake diff --git a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/fake_trials_client.go b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/fake_trials_client.go index a4b58e1e594..2a5daa14764 100644 --- a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/fake_trials_client.go +++ b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/fake/fake_trials_client.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package fake diff --git a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/generated_expansion.go b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/generated_expansion.go index 77c0712e608..17259d67286 100644 --- a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/generated_expansion.go +++ b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/trial.go b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/trial.go index c165de361a2..e7d400b46ad 100644 --- a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/trial.go +++ b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/trial.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/trials_client.go b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/trials_client.go index fc0d242b9a9..f6ee4702c87 100644 --- a/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/trials_client.go +++ b/pkg/client/controller/clientset/versioned/typed/trials/v1beta1/trials_client.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by client-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/informers/externalversions/experiments/interface.go b/pkg/client/controller/informers/externalversions/experiments/interface.go index 2bb801813ce..b82cdebf673 100644 --- a/pkg/client/controller/informers/externalversions/experiments/interface.go +++ b/pkg/client/controller/informers/externalversions/experiments/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package experiments diff --git a/pkg/client/controller/informers/externalversions/experiments/v1beta1/experiment.go b/pkg/client/controller/informers/externalversions/experiments/v1beta1/experiment.go index 1ea43a05e37..1e17e2f0098 100644 --- a/pkg/client/controller/informers/externalversions/experiments/v1beta1/experiment.go +++ b/pkg/client/controller/informers/externalversions/experiments/v1beta1/experiment.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/informers/externalversions/experiments/v1beta1/interface.go b/pkg/client/controller/informers/externalversions/experiments/v1beta1/interface.go index aa71e24ec51..e42220186f0 100644 --- a/pkg/client/controller/informers/externalversions/experiments/v1beta1/interface.go +++ b/pkg/client/controller/informers/externalversions/experiments/v1beta1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/informers/externalversions/factory.go b/pkg/client/controller/informers/externalversions/factory.go index 31acc80767e..adab23b2b2e 100644 --- a/pkg/client/controller/informers/externalversions/factory.go +++ b/pkg/client/controller/informers/externalversions/factory.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package externalversions diff --git a/pkg/client/controller/informers/externalversions/generic.go b/pkg/client/controller/informers/externalversions/generic.go index d5ef3fd6a8e..4837b45bd2b 100644 --- a/pkg/client/controller/informers/externalversions/generic.go +++ b/pkg/client/controller/informers/externalversions/generic.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package externalversions diff --git a/pkg/client/controller/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/client/controller/informers/externalversions/internalinterfaces/factory_interfaces.go index e47738902ef..840262a054c 100644 --- a/pkg/client/controller/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/client/controller/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package internalinterfaces diff --git a/pkg/client/controller/informers/externalversions/suggestions/interface.go b/pkg/client/controller/informers/externalversions/suggestions/interface.go index e1c1be637b3..aee3c722ec2 100644 --- a/pkg/client/controller/informers/externalversions/suggestions/interface.go +++ b/pkg/client/controller/informers/externalversions/suggestions/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package suggestions diff --git a/pkg/client/controller/informers/externalversions/suggestions/v1beta1/interface.go b/pkg/client/controller/informers/externalversions/suggestions/v1beta1/interface.go index 5dc58549797..8e5cb2c29d2 100644 --- a/pkg/client/controller/informers/externalversions/suggestions/v1beta1/interface.go +++ b/pkg/client/controller/informers/externalversions/suggestions/v1beta1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/informers/externalversions/suggestions/v1beta1/suggestion.go b/pkg/client/controller/informers/externalversions/suggestions/v1beta1/suggestion.go index c2f0b4a5d05..8c518efe743 100644 --- a/pkg/client/controller/informers/externalversions/suggestions/v1beta1/suggestion.go +++ b/pkg/client/controller/informers/externalversions/suggestions/v1beta1/suggestion.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/informers/externalversions/trials/interface.go b/pkg/client/controller/informers/externalversions/trials/interface.go index d71580cf538..6f79560d26e 100644 --- a/pkg/client/controller/informers/externalversions/trials/interface.go +++ b/pkg/client/controller/informers/externalversions/trials/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package trials diff --git a/pkg/client/controller/informers/externalversions/trials/v1beta1/interface.go b/pkg/client/controller/informers/externalversions/trials/v1beta1/interface.go index 7deceb26ae6..88cb1b45d19 100644 --- a/pkg/client/controller/informers/externalversions/trials/v1beta1/interface.go +++ b/pkg/client/controller/informers/externalversions/trials/v1beta1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/informers/externalversions/trials/v1beta1/trial.go b/pkg/client/controller/informers/externalversions/trials/v1beta1/trial.go index a9fed483703..067756eadc9 100644 --- a/pkg/client/controller/informers/externalversions/trials/v1beta1/trial.go +++ b/pkg/client/controller/informers/externalversions/trials/v1beta1/trial.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by informer-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/listers/experiments/v1beta1/expansion_generated.go b/pkg/client/controller/listers/experiments/v1beta1/expansion_generated.go index 1d4db1893bb..6a6b5452bbd 100644 --- a/pkg/client/controller/listers/experiments/v1beta1/expansion_generated.go +++ b/pkg/client/controller/listers/experiments/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by lister-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/listers/experiments/v1beta1/experiment.go b/pkg/client/controller/listers/experiments/v1beta1/experiment.go index d19d5d5d9f7..3878eeadeff 100644 --- a/pkg/client/controller/listers/experiments/v1beta1/experiment.go +++ b/pkg/client/controller/listers/experiments/v1beta1/experiment.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by lister-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/listers/suggestions/v1beta1/expansion_generated.go b/pkg/client/controller/listers/suggestions/v1beta1/expansion_generated.go index 3b626e7aaaa..185948f489e 100644 --- a/pkg/client/controller/listers/suggestions/v1beta1/expansion_generated.go +++ b/pkg/client/controller/listers/suggestions/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by lister-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/listers/suggestions/v1beta1/suggestion.go b/pkg/client/controller/listers/suggestions/v1beta1/suggestion.go index a1f73156fa9..8958cdf6741 100644 --- a/pkg/client/controller/listers/suggestions/v1beta1/suggestion.go +++ b/pkg/client/controller/listers/suggestions/v1beta1/suggestion.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by lister-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/listers/trials/v1beta1/expansion_generated.go b/pkg/client/controller/listers/trials/v1beta1/expansion_generated.go index c309de36383..08149dbf896 100644 --- a/pkg/client/controller/listers/trials/v1beta1/expansion_generated.go +++ b/pkg/client/controller/listers/trials/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by lister-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/client/controller/listers/trials/v1beta1/trial.go b/pkg/client/controller/listers/trials/v1beta1/trial.go index bea7d6b40f7..e2b53e0d8c5 100644 --- a/pkg/client/controller/listers/trials/v1beta1/trial.go +++ b/pkg/client/controller/listers/trials/v1beta1/trial.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. @@ -13,6 +13,7 @@ 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. */ + // Code generated by lister-gen. DO NOT EDIT. package v1beta1 diff --git a/pkg/common/v1beta1/katib_manager_util.go b/pkg/common/v1beta1/katib_manager_util.go index 0dd97e5ba5b..b9c21d5ec5c 100644 --- a/pkg/common/v1beta1/katib_manager_util.go +++ b/pkg/common/v1beta1/katib_manager_util.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/add_experiment.go b/pkg/controller.v1beta1/add_experiment.go index b3f683aab27..5e2e50dc667 100644 --- a/pkg/controller.v1beta1/add_experiment.go +++ b/pkg/controller.v1beta1/add_experiment.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/add_suggestion.go b/pkg/controller.v1beta1/add_suggestion.go index b312d2869c4..e498f948cbb 100644 --- a/pkg/controller.v1beta1/add_suggestion.go +++ b/pkg/controller.v1beta1/add_suggestion.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/add_trial.go b/pkg/controller.v1beta1/add_trial.go index 6725294f56d..16c4ec53f03 100644 --- a/pkg/controller.v1beta1/add_trial.go +++ b/pkg/controller.v1beta1/add_trial.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/consts/const.go b/pkg/controller.v1beta1/consts/const.go index ed635600e40..f7a91cc1f87 100644 --- a/pkg/controller.v1beta1/consts/const.go +++ b/pkg/controller.v1beta1/consts/const.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 consts import ( diff --git a/pkg/controller.v1beta1/controller.go b/pkg/controller.v1beta1/controller.go index b2acc50372b..9304320a957 100644 --- a/pkg/controller.v1beta1/controller.go +++ b/pkg/controller.v1beta1/controller.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/experiment/experiment_controller.go b/pkg/controller.v1beta1/experiment/experiment_controller.go index 4a6ef062f19..1bbc288d7bf 100644 --- a/pkg/controller.v1beta1/experiment/experiment_controller.go +++ b/pkg/controller.v1beta1/experiment/experiment_controller.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/experiment/experiment_controller_status.go b/pkg/controller.v1beta1/experiment/experiment_controller_status.go index 08cf4c22138..116c9f182c5 100644 --- a/pkg/controller.v1beta1/experiment/experiment_controller_status.go +++ b/pkg/controller.v1beta1/experiment/experiment_controller_status.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 experiment import ( diff --git a/pkg/controller.v1beta1/experiment/experiment_controller_suite_test.go b/pkg/controller.v1beta1/experiment/experiment_controller_suite_test.go index 1121d79744a..fc652862b5c 100644 --- a/pkg/controller.v1beta1/experiment/experiment_controller_suite_test.go +++ b/pkg/controller.v1beta1/experiment/experiment_controller_suite_test.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/experiment/experiment_controller_test.go b/pkg/controller.v1beta1/experiment/experiment_controller_test.go index 9cd52e7598b..28bb3399b58 100644 --- a/pkg/controller.v1beta1/experiment/experiment_controller_test.go +++ b/pkg/controller.v1beta1/experiment/experiment_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 experiment import ( diff --git a/pkg/controller.v1beta1/experiment/experiment_controller_util.go b/pkg/controller.v1beta1/experiment/experiment_controller_util.go index 5f83fe9eb6f..52865e211ad 100644 --- a/pkg/controller.v1beta1/experiment/experiment_controller_util.go +++ b/pkg/controller.v1beta1/experiment/experiment_controller_util.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 experiment import ( diff --git a/pkg/controller.v1beta1/experiment/manifest/generator.go b/pkg/controller.v1beta1/experiment/manifest/generator.go index 684681d9232..52705829224 100644 --- a/pkg/controller.v1beta1/experiment/manifest/generator.go +++ b/pkg/controller.v1beta1/experiment/manifest/generator.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 manifest import ( diff --git a/pkg/controller.v1beta1/experiment/manifest/generator_test.go b/pkg/controller.v1beta1/experiment/manifest/generator_test.go index 960ab2deff3..17dd2adffea 100644 --- a/pkg/controller.v1beta1/experiment/manifest/generator_test.go +++ b/pkg/controller.v1beta1/experiment/manifest/generator_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 manifest import ( diff --git a/pkg/controller.v1beta1/experiment/suggestion/suggestion.go b/pkg/controller.v1beta1/experiment/suggestion/suggestion.go index fc90e8082fa..fa181da6f77 100644 --- a/pkg/controller.v1beta1/experiment/suggestion/suggestion.go +++ b/pkg/controller.v1beta1/experiment/suggestion/suggestion.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestion import ( diff --git a/pkg/controller.v1beta1/experiment/util/prometheus_metrics.go b/pkg/controller.v1beta1/experiment/util/prometheus_metrics.go index 4671cca3d3c..e697f537b32 100644 --- a/pkg/controller.v1beta1/experiment/util/prometheus_metrics.go +++ b/pkg/controller.v1beta1/experiment/util/prometheus_metrics.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/experiment/util/status_util.go b/pkg/controller.v1beta1/experiment/util/status_util.go index 38ba4407105..e9048a48eed 100644 --- a/pkg/controller.v1beta1/experiment/util/status_util.go +++ b/pkg/controller.v1beta1/experiment/util/status_util.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/suggestion/composer/composer.go b/pkg/controller.v1beta1/suggestion/composer/composer.go index 48d428536fe..8b57fc9e9c6 100644 --- a/pkg/controller.v1beta1/suggestion/composer/composer.go +++ b/pkg/controller.v1beta1/suggestion/composer/composer.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 composer import ( diff --git a/pkg/controller.v1beta1/suggestion/composer/composer_test.go b/pkg/controller.v1beta1/suggestion/composer/composer_test.go index 1763de4b182..1e9b516cfbb 100644 --- a/pkg/controller.v1beta1/suggestion/composer/composer_test.go +++ b/pkg/controller.v1beta1/suggestion/composer/composer_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 composer import ( diff --git a/pkg/controller.v1beta1/suggestion/suggestion_controller.go b/pkg/controller.v1beta1/suggestion/suggestion_controller.go index 24b6c6eb7c1..0b2b7bd6707 100644 --- a/pkg/controller.v1beta1/suggestion/suggestion_controller.go +++ b/pkg/controller.v1beta1/suggestion/suggestion_controller.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/suggestion/suggestion_controller_status.go b/pkg/controller.v1beta1/suggestion/suggestion_controller_status.go index 1af2c177ea7..65c58379b60 100644 --- a/pkg/controller.v1beta1/suggestion/suggestion_controller_status.go +++ b/pkg/controller.v1beta1/suggestion/suggestion_controller_status.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestion import ( diff --git a/pkg/controller.v1beta1/suggestion/suggestion_controller_suite_test.go b/pkg/controller.v1beta1/suggestion/suggestion_controller_suite_test.go index bf7a20baf69..70b0247dc20 100644 --- a/pkg/controller.v1beta1/suggestion/suggestion_controller_suite_test.go +++ b/pkg/controller.v1beta1/suggestion/suggestion_controller_suite_test.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/suggestion/suggestion_controller_test.go b/pkg/controller.v1beta1/suggestion/suggestion_controller_test.go index b9665b470b3..17ee4cb8681 100644 --- a/pkg/controller.v1beta1/suggestion/suggestion_controller_test.go +++ b/pkg/controller.v1beta1/suggestion/suggestion_controller_test.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/suggestion/suggestion_controller_util.go b/pkg/controller.v1beta1/suggestion/suggestion_controller_util.go index 39e101a2fa4..bab1220607a 100644 --- a/pkg/controller.v1beta1/suggestion/suggestion_controller_util.go +++ b/pkg/controller.v1beta1/suggestion/suggestion_controller_util.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestion import ( diff --git a/pkg/controller.v1beta1/suggestion/suggestionclient/algorithm_settings.go b/pkg/controller.v1beta1/suggestion/suggestionclient/algorithm_settings.go index 5ba70e0f825..127007c10cd 100644 --- a/pkg/controller.v1beta1/suggestion/suggestionclient/algorithm_settings.go +++ b/pkg/controller.v1beta1/suggestion/suggestionclient/algorithm_settings.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestionclient import ( diff --git a/pkg/controller.v1beta1/suggestion/suggestionclient/nas.go b/pkg/controller.v1beta1/suggestion/suggestionclient/nas.go index 6a02c8108a7..b85a52aec06 100644 --- a/pkg/controller.v1beta1/suggestion/suggestionclient/nas.go +++ b/pkg/controller.v1beta1/suggestion/suggestionclient/nas.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestionclient import ( diff --git a/pkg/controller.v1beta1/suggestion/suggestionclient/suggestionclient.go b/pkg/controller.v1beta1/suggestion/suggestionclient/suggestionclient.go index adfb0b5fd57..b14bf9913a5 100644 --- a/pkg/controller.v1beta1/suggestion/suggestionclient/suggestionclient.go +++ b/pkg/controller.v1beta1/suggestion/suggestionclient/suggestionclient.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestionclient import ( diff --git a/pkg/controller.v1beta1/suggestion/suggestionclient/suggestionclient_test.go b/pkg/controller.v1beta1/suggestion/suggestionclient/suggestionclient_test.go index c8881c989ed..c9c7dd22a73 100644 --- a/pkg/controller.v1beta1/suggestion/suggestionclient/suggestionclient_test.go +++ b/pkg/controller.v1beta1/suggestion/suggestionclient/suggestionclient_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestionclient import ( diff --git a/pkg/controller.v1beta1/trial/managerclient/managerclient.go b/pkg/controller.v1beta1/trial/managerclient/managerclient.go index ae35c9ae017..855da53b655 100644 --- a/pkg/controller.v1beta1/trial/managerclient/managerclient.go +++ b/pkg/controller.v1beta1/trial/managerclient/managerclient.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 managerclient import ( diff --git a/pkg/controller.v1beta1/trial/trial_controller.go b/pkg/controller.v1beta1/trial/trial_controller.go index 8135d3bad1a..48cfb07d54e 100644 --- a/pkg/controller.v1beta1/trial/trial_controller.go +++ b/pkg/controller.v1beta1/trial/trial_controller.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/trial/trial_controller_status.go b/pkg/controller.v1beta1/trial/trial_controller_status.go index 9f4670ba32c..ecdae09ad1c 100644 --- a/pkg/controller.v1beta1/trial/trial_controller_status.go +++ b/pkg/controller.v1beta1/trial/trial_controller_status.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 trial import ( diff --git a/pkg/controller.v1beta1/trial/trial_controller_suite_test.go b/pkg/controller.v1beta1/trial/trial_controller_suite_test.go index 5e55e6c96b7..9ce7725a9b4 100644 --- a/pkg/controller.v1beta1/trial/trial_controller_suite_test.go +++ b/pkg/controller.v1beta1/trial/trial_controller_suite_test.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/trial/trial_controller_test.go b/pkg/controller.v1beta1/trial/trial_controller_test.go index cbf1bf6091c..2a5b43d2d5d 100644 --- a/pkg/controller.v1beta1/trial/trial_controller_test.go +++ b/pkg/controller.v1beta1/trial/trial_controller_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 trial import ( diff --git a/pkg/controller.v1beta1/trial/trial_controller_util.go b/pkg/controller.v1beta1/trial/trial_controller_util.go index e9bc87c0950..d1ecace9802 100644 --- a/pkg/controller.v1beta1/trial/trial_controller_util.go +++ b/pkg/controller.v1beta1/trial/trial_controller_util.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/trial/util/flag_util.go b/pkg/controller.v1beta1/trial/util/flag_util.go index 4a1ef56e4b6..1be97e9026d 100644 --- a/pkg/controller.v1beta1/trial/util/flag_util.go +++ b/pkg/controller.v1beta1/trial/util/flag_util.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 util import ( diff --git a/pkg/controller.v1beta1/trial/util/job_util.go b/pkg/controller.v1beta1/trial/util/job_util.go index 16d3d4ff271..b4294297e8f 100644 --- a/pkg/controller.v1beta1/trial/util/job_util.go +++ b/pkg/controller.v1beta1/trial/util/job_util.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 util import ( diff --git a/pkg/controller.v1beta1/trial/util/job_util_test.go b/pkg/controller.v1beta1/trial/util/job_util_test.go index 1975b347342..906b0ab10db 100644 --- a/pkg/controller.v1beta1/trial/util/job_util_test.go +++ b/pkg/controller.v1beta1/trial/util/job_util_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 util import ( diff --git a/pkg/controller.v1beta1/trial/util/prometheus_metrics.go b/pkg/controller.v1beta1/trial/util/prometheus_metrics.go index 1cf3e892d3f..7cecc26f1cf 100644 --- a/pkg/controller.v1beta1/trial/util/prometheus_metrics.go +++ b/pkg/controller.v1beta1/trial/util/prometheus_metrics.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/util/annotations.go b/pkg/controller.v1beta1/util/annotations.go index f0350ba236c..ccd5a378747 100644 --- a/pkg/controller.v1beta1/util/annotations.go +++ b/pkg/controller.v1beta1/util/annotations.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/controller.v1beta1/util/labels.go b/pkg/controller.v1beta1/util/labels.go index bf345d6ad8a..610bebeb1e5 100644 --- a/pkg/controller.v1beta1/util/labels.go +++ b/pkg/controller.v1beta1/util/labels.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 util import ( diff --git a/pkg/controller.v1beta1/util/suggestion.go b/pkg/controller.v1beta1/util/suggestion.go index ad443b7d415..00921a47341 100644 --- a/pkg/controller.v1beta1/util/suggestion.go +++ b/pkg/controller.v1beta1/util/suggestion.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 util import ( diff --git a/pkg/controller.v1beta1/util/unstructured.go b/pkg/controller.v1beta1/util/unstructured.go index 1d0b55800ce..edbd75c8113 100644 --- a/pkg/controller.v1beta1/util/unstructured.go +++ b/pkg/controller.v1beta1/util/unstructured.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 util import ( diff --git a/pkg/db/v1beta1/common/const.go b/pkg/db/v1beta1/common/const.go index 0d1d0cac161..6a279529478 100644 --- a/pkg/db/v1beta1/common/const.go +++ b/pkg/db/v1beta1/common/const.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 common const ( diff --git a/pkg/db/v1beta1/common/kdb.go b/pkg/db/v1beta1/common/kdb.go index aaa5bf10bf2..fde254aa8cb 100644 --- a/pkg/db/v1beta1/common/kdb.go +++ b/pkg/db/v1beta1/common/kdb.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 common import ( diff --git a/pkg/db/v1beta1/db.go b/pkg/db/v1beta1/db.go index e5a1c570692..321acca5371 100644 --- a/pkg/db/v1beta1/db.go +++ b/pkg/db/v1beta1/db.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 db import ( diff --git a/pkg/db/v1beta1/mysql/init.go b/pkg/db/v1beta1/mysql/init.go index fd4ecd26a4b..344c48c4bcf 100644 --- a/pkg/db/v1beta1/mysql/init.go +++ b/pkg/db/v1beta1/mysql/init.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 mysql import ( diff --git a/pkg/db/v1beta1/mysql/mysql.go b/pkg/db/v1beta1/mysql/mysql.go index a04ea734b15..4a94c5e446c 100644 --- a/pkg/db/v1beta1/mysql/mysql.go +++ b/pkg/db/v1beta1/mysql/mysql.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 mysql import ( diff --git a/pkg/db/v1beta1/mysql/mysql_test.go b/pkg/db/v1beta1/mysql/mysql_test.go index dcb328a3541..e4e2b83cc79 100644 --- a/pkg/db/v1beta1/mysql/mysql_test.go +++ b/pkg/db/v1beta1/mysql/mysql_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 mysql import ( diff --git a/pkg/earlystopping/v1beta1/medianstop/service.py b/pkg/earlystopping/v1beta1/medianstop/service.py index 956fed70e66..0952491b0eb 100644 --- a/pkg/earlystopping/v1beta1/medianstop/service.py +++ b/pkg/earlystopping/v1beta1/medianstop/service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import logging from kubernetes import client, config import multiprocessing diff --git a/pkg/metricscollector/v1beta1/common/const.go b/pkg/metricscollector/v1beta1/common/const.go index cf1a8934a85..b7ac0948e8d 100644 --- a/pkg/metricscollector/v1beta1/common/const.go +++ b/pkg/metricscollector/v1beta1/common/const.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. @@ -12,6 +13,7 @@ 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 common import ( diff --git a/pkg/metricscollector/v1beta1/common/const.py b/pkg/metricscollector/v1beta1/common/const.py index 3c418816a71..9c03af48345 100644 --- a/pkg/metricscollector/v1beta1/common/const.py +++ b/pkg/metricscollector/v1beta1/common/const.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + # Default value for interval between running processes check DEFAULT_POLL_INTERVAL = 1 # Default value for timeout before invoke error during running processes check diff --git a/pkg/metricscollector/v1beta1/common/pns.go b/pkg/metricscollector/v1beta1/common/pns.go index c621572b39d..7fc19b51e3e 100644 --- a/pkg/metricscollector/v1beta1/common/pns.go +++ b/pkg/metricscollector/v1beta1/common/pns.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/metricscollector/v1beta1/common/pns.py b/pkg/metricscollector/v1beta1/common/pns.py index 873955c34d0..b45942c3f8b 100644 --- a/pkg/metricscollector/v1beta1/common/pns.py +++ b/pkg/metricscollector/v1beta1/common/pns.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import os import psutil import sys diff --git a/pkg/metricscollector/v1beta1/file-metricscollector/file-metricscollector.go b/pkg/metricscollector/v1beta1/file-metricscollector/file-metricscollector.go index d4e351c4e48..421cbb5f187 100644 --- a/pkg/metricscollector/v1beta1/file-metricscollector/file-metricscollector.go +++ b/pkg/metricscollector/v1beta1/file-metricscollector/file-metricscollector.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 sidecarmetricscollector import ( diff --git a/pkg/metricscollector/v1beta1/tfevent-metricscollector/tfevent_loader.py b/pkg/metricscollector/v1beta1/tfevent-metricscollector/tfevent_loader.py index d758fc07551..c14652ff60d 100644 --- a/pkg/metricscollector/v1beta1/tfevent-metricscollector/tfevent_loader.py +++ b/pkg/metricscollector/v1beta1/tfevent-metricscollector/tfevent_loader.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import tensorflow as tf import os from datetime import datetime diff --git a/pkg/new-ui/v1beta1/backend.go b/pkg/new-ui/v1beta1/backend.go index 8c8f884f6a8..66f906bc517 100644 --- a/pkg/new-ui/v1beta1/backend.go +++ b/pkg/new-ui/v1beta1/backend.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/new-ui/v1beta1/hp.go b/pkg/new-ui/v1beta1/hp.go index 6d1ebfca7a1..e606d932bf7 100644 --- a/pkg/new-ui/v1beta1/hp.go +++ b/pkg/new-ui/v1beta1/hp.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/new-ui/v1beta1/nas.go b/pkg/new-ui/v1beta1/nas.go index 84f6b2b64c4..5856cf61aed 100644 --- a/pkg/new-ui/v1beta1/nas.go +++ b/pkg/new-ui/v1beta1/nas.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/new-ui/v1beta1/types.go b/pkg/new-ui/v1beta1/types.go index c949bbda557..6e294461430 100644 --- a/pkg/new-ui/v1beta1/types.go +++ b/pkg/new-ui/v1beta1/types.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/new-ui/v1beta1/util.go b/pkg/new-ui/v1beta1/util.go index 01387629d2d..f6a038e5d39 100644 --- a/pkg/new-ui/v1beta1/util.go +++ b/pkg/new-ui/v1beta1/util.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/suggestion/v1beta1/bayesianoptimization/acquisition_func.py b/pkg/suggestion/v1beta1/bayesianoptimization/acquisition_func.py index 9e061c6bd76..0b7a11f2d25 100644 --- a/pkg/suggestion/v1beta1/bayesianoptimization/acquisition_func.py +++ b/pkg/suggestion/v1beta1/bayesianoptimization/acquisition_func.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + """ module for acquisition function""" import numpy as np from scipy.stats import norm diff --git a/pkg/suggestion/v1beta1/bayesianoptimization/algorithm_manager.py b/pkg/suggestion/v1beta1/bayesianoptimization/algorithm_manager.py index 912bc5df9f5..1102be0d266 100644 --- a/pkg/suggestion/v1beta1/bayesianoptimization/algorithm_manager.py +++ b/pkg/suggestion/v1beta1/bayesianoptimization/algorithm_manager.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + """ module for algorithm manager """ import numpy as np diff --git a/pkg/suggestion/v1beta1/bayesianoptimization/bayesian_optimization_algorithm.py b/pkg/suggestion/v1beta1/bayesianoptimization/bayesian_optimization_algorithm.py index 02daf7f70cc..b7b8e023492 100644 --- a/pkg/suggestion/v1beta1/bayesianoptimization/bayesian_optimization_algorithm.py +++ b/pkg/suggestion/v1beta1/bayesianoptimization/bayesian_optimization_algorithm.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + """ module for bayesian optimization algorithm """ import numpy as np from sklearn.preprocessing import MinMaxScaler diff --git a/pkg/suggestion/v1beta1/bayesianoptimization/global_optimizer.py b/pkg/suggestion/v1beta1/bayesianoptimization/global_optimizer.py index 541da8539f3..942ce8f6897 100644 --- a/pkg/suggestion/v1beta1/bayesianoptimization/global_optimizer.py +++ b/pkg/suggestion/v1beta1/bayesianoptimization/global_optimizer.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + """ module for the global optimizer DIRECT algorithm is used in this case """ diff --git a/pkg/suggestion/v1beta1/bayesianoptimization/model/gp.py b/pkg/suggestion/v1beta1/bayesianoptimization/model/gp.py index 446238c0669..5827c488534 100644 --- a/pkg/suggestion/v1beta1/bayesianoptimization/model/gp.py +++ b/pkg/suggestion/v1beta1/bayesianoptimization/model/gp.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + """ module for gaussian process prior """ from sklearn.gaussian_process.kernels import RBF, Matern from sklearn.gaussian_process import GaussianProcessRegressor diff --git a/pkg/suggestion/v1beta1/bayesianoptimization/model/rf.py b/pkg/suggestion/v1beta1/bayesianoptimization/model/rf.py index 8778b921e78..426cbba5858 100644 --- a/pkg/suggestion/v1beta1/bayesianoptimization/model/rf.py +++ b/pkg/suggestion/v1beta1/bayesianoptimization/model/rf.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import numpy as np import forestci as fci from sklearn.ensemble import RandomForestRegressor diff --git a/pkg/suggestion/v1beta1/bayesianoptimization/utils.py b/pkg/suggestion/v1beta1/bayesianoptimization/utils.py index a63bfb3b169..de3a1a40aac 100644 --- a/pkg/suggestion/v1beta1/bayesianoptimization/utils.py +++ b/pkg/suggestion/v1beta1/bayesianoptimization/utils.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import os import logging from logging import getLogger, StreamHandler diff --git a/pkg/suggestion/v1beta1/chocolate/base_service.py b/pkg/suggestion/v1beta1/chocolate/base_service.py index 2789b56b76f..b97d699fa6a 100644 --- a/pkg/suggestion/v1beta1/chocolate/base_service.py +++ b/pkg/suggestion/v1beta1/chocolate/base_service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import chocolate as choco import logging import base64 diff --git a/pkg/suggestion/v1beta1/chocolate/service.py b/pkg/suggestion/v1beta1/chocolate/service.py index c2577f44a46..8c0d9330aef 100644 --- a/pkg/suggestion/v1beta1/chocolate/service.py +++ b/pkg/suggestion/v1beta1/chocolate/service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import logging import grpc diff --git a/pkg/suggestion/v1beta1/goptuna/converter.go b/pkg/suggestion/v1beta1/goptuna/converter.go index 974f73bd18b..077f3816409 100644 --- a/pkg/suggestion/v1beta1/goptuna/converter.go +++ b/pkg/suggestion/v1beta1/goptuna/converter.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestion_goptuna_v1beta1 import ( diff --git a/pkg/suggestion/v1beta1/goptuna/converter_test.go b/pkg/suggestion/v1beta1/goptuna/converter_test.go index ca2c827d90d..dc8998fc0ac 100644 --- a/pkg/suggestion/v1beta1/goptuna/converter_test.go +++ b/pkg/suggestion/v1beta1/goptuna/converter_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestion_goptuna_v1beta1 import ( diff --git a/pkg/suggestion/v1beta1/goptuna/sample.go b/pkg/suggestion/v1beta1/goptuna/sample.go index 3425c4ef367..9b1bfd44b24 100644 --- a/pkg/suggestion/v1beta1/goptuna/sample.go +++ b/pkg/suggestion/v1beta1/goptuna/sample.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestion_goptuna_v1beta1 import ( diff --git a/pkg/suggestion/v1beta1/goptuna/service.go b/pkg/suggestion/v1beta1/goptuna/service.go index e7f7e737bdf..36f8435d1ed 100644 --- a/pkg/suggestion/v1beta1/goptuna/service.go +++ b/pkg/suggestion/v1beta1/goptuna/service.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestion_goptuna_v1beta1 import ( diff --git a/pkg/suggestion/v1beta1/goptuna/service_test.go b/pkg/suggestion/v1beta1/goptuna/service_test.go index d8669daa1f3..0bc5b2b159c 100644 --- a/pkg/suggestion/v1beta1/goptuna/service_test.go +++ b/pkg/suggestion/v1beta1/goptuna/service_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 suggestion_goptuna_v1beta1_test import ( diff --git a/pkg/suggestion/v1beta1/hyperband/parameter.py b/pkg/suggestion/v1beta1/hyperband/parameter.py index e2c03e16246..8ef125c226d 100644 --- a/pkg/suggestion/v1beta1/hyperband/parameter.py +++ b/pkg/suggestion/v1beta1/hyperband/parameter.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import numpy as np from sklearn.preprocessing import MinMaxScaler diff --git a/pkg/suggestion/v1beta1/hyperband/parsing_util.py b/pkg/suggestion/v1beta1/hyperband/parsing_util.py index bba7e3ce4ec..0d38df6ec64 100644 --- a/pkg/suggestion/v1beta1/hyperband/parsing_util.py +++ b/pkg/suggestion/v1beta1/hyperband/parsing_util.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + """ Module containing helper functions to translate objects that come to/from the grpc API into the format accepted/returned by the different diff --git a/pkg/suggestion/v1beta1/hyperband/service.py b/pkg/suggestion/v1beta1/hyperband/service.py index 194f67f1198..8b4995ceb44 100644 --- a/pkg/suggestion/v1beta1/hyperband/service.py +++ b/pkg/suggestion/v1beta1/hyperband/service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import math import traceback import grpc diff --git a/pkg/suggestion/v1beta1/hyperopt/base_service.py b/pkg/suggestion/v1beta1/hyperopt/base_service.py index fdd541c5cdc..59a7f490497 100644 --- a/pkg/suggestion/v1beta1/hyperopt/base_service.py +++ b/pkg/suggestion/v1beta1/hyperopt/base_service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import hyperopt import numpy as np import logging diff --git a/pkg/suggestion/v1beta1/hyperopt/service.py b/pkg/suggestion/v1beta1/hyperopt/service.py index 586ceeddd5a..8bd7ef05ad5 100644 --- a/pkg/suggestion/v1beta1/hyperopt/service.py +++ b/pkg/suggestion/v1beta1/hyperopt/service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import logging import grpc diff --git a/pkg/suggestion/v1beta1/internal/base_health_service.py b/pkg/suggestion/v1beta1/internal/base_health_service.py index 509f9423367..4f4944c5c16 100644 --- a/pkg/suggestion/v1beta1/internal/base_health_service.py +++ b/pkg/suggestion/v1beta1/internal/base_health_service.py @@ -1,16 +1,17 @@ -# Copyright 2015 gRPC authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. + """Reference implementation for health checking in gRPC Python.""" import collections diff --git a/pkg/suggestion/v1beta1/internal/constant.py b/pkg/suggestion/v1beta1/internal/constant.py index e0b9715e938..a6ab94e3ef5 100644 --- a/pkg/suggestion/v1beta1/internal/constant.py +++ b/pkg/suggestion/v1beta1/internal/constant.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + MAX_GOAL = "MAXIMIZE" MIN_GOAL = "MINIMIZE" diff --git a/pkg/suggestion/v1beta1/internal/search_space.py b/pkg/suggestion/v1beta1/internal/search_space.py index 01966b099c9..590b22c3ce3 100644 --- a/pkg/suggestion/v1beta1/internal/search_space.py +++ b/pkg/suggestion/v1beta1/internal/search_space.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import logging from pkg.apis.manager.v1beta1.python import api_pb2 as api diff --git a/pkg/suggestion/v1beta1/internal/trial.py b/pkg/suggestion/v1beta1/internal/trial.py index 590a382f223..3dc03b9e151 100644 --- a/pkg/suggestion/v1beta1/internal/trial.py +++ b/pkg/suggestion/v1beta1/internal/trial.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import logging from pkg.apis.manager.v1beta1.python import api_pb2 as api diff --git a/pkg/suggestion/v1beta1/nas/darts/service.py b/pkg/suggestion/v1beta1/nas/darts/service.py index c3d2a5a7209..bc274857b21 100644 --- a/pkg/suggestion/v1beta1/nas/darts/service.py +++ b/pkg/suggestion/v1beta1/nas/darts/service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import logging from logging import getLogger, StreamHandler, INFO import json diff --git a/pkg/suggestion/v1beta1/nas/enas/AlgorithmSettings.py b/pkg/suggestion/v1beta1/nas/enas/AlgorithmSettings.py index 064b503a533..f5daba402b0 100644 --- a/pkg/suggestion/v1beta1/nas/enas/AlgorithmSettings.py +++ b/pkg/suggestion/v1beta1/nas/enas/AlgorithmSettings.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + algorithmSettingsValidator = { "controller_hidden_size": [int, [1, 'inf']], diff --git a/pkg/suggestion/v1beta1/nas/enas/Controller.py b/pkg/suggestion/v1beta1/nas/enas/Controller.py index cb3ec4021b7..c3f231d8045 100755 --- a/pkg/suggestion/v1beta1/nas/enas/Controller.py +++ b/pkg/suggestion/v1beta1/nas/enas/Controller.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import tensorflow as tf import numpy as np diff --git a/pkg/suggestion/v1beta1/nas/enas/Operation.py b/pkg/suggestion/v1beta1/nas/enas/Operation.py index f09c48df86c..4a02fb0189d 100644 --- a/pkg/suggestion/v1beta1/nas/enas/Operation.py +++ b/pkg/suggestion/v1beta1/nas/enas/Operation.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import itertools import numpy as np from pkg.apis.manager.v1beta1.python import api_pb2 diff --git a/pkg/suggestion/v1beta1/nas/enas/service.py b/pkg/suggestion/v1beta1/nas/enas/service.py index f71c81a8b17..8631bb8a57a 100644 --- a/pkg/suggestion/v1beta1/nas/enas/service.py +++ b/pkg/suggestion/v1beta1/nas/enas/service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import logging from logging import getLogger, StreamHandler, INFO import json diff --git a/pkg/suggestion/v1beta1/skopt/base_service.py b/pkg/suggestion/v1beta1/skopt/base_service.py index 2e7717e18f7..e0203ee57e7 100644 --- a/pkg/suggestion/v1beta1/skopt/base_service.py +++ b/pkg/suggestion/v1beta1/skopt/base_service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import datetime import logging import skopt diff --git a/pkg/suggestion/v1beta1/skopt/service.py b/pkg/suggestion/v1beta1/skopt/service.py index 93429f71bfd..4f153b33b1b 100644 --- a/pkg/suggestion/v1beta1/skopt/service.py +++ b/pkg/suggestion/v1beta1/skopt/service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import logging from pkg.apis.manager.v1beta1.python import api_pb2 diff --git a/pkg/ui/v1beta1/backend.go b/pkg/ui/v1beta1/backend.go index 19d86b1bd0e..4ae19be05fa 100644 --- a/pkg/ui/v1beta1/backend.go +++ b/pkg/ui/v1beta1/backend.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/ui/v1beta1/hp.go b/pkg/ui/v1beta1/hp.go index 84de2a333f0..740c8743b88 100644 --- a/pkg/ui/v1beta1/hp.go +++ b/pkg/ui/v1beta1/hp.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/ui/v1beta1/nas.go b/pkg/ui/v1beta1/nas.go index 84f6b2b64c4..5856cf61aed 100644 --- a/pkg/ui/v1beta1/nas.go +++ b/pkg/ui/v1beta1/nas.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/ui/v1beta1/types.go b/pkg/ui/v1beta1/types.go index b81d72add81..2c80163f9d4 100644 --- a/pkg/ui/v1beta1/types.go +++ b/pkg/ui/v1beta1/types.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/ui/v1beta1/util.go b/pkg/ui/v1beta1/util.go index 0df6b8444e7..9e7fc549162 100644 --- a/pkg/ui/v1beta1/util.go +++ b/pkg/ui/v1beta1/util.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 v1beta1 import ( diff --git a/pkg/util/v1beta1/env/env.go b/pkg/util/v1beta1/env/env.go index 3de45f1865f..a69e2b585ab 100644 --- a/pkg/util/v1beta1/env/env.go +++ b/pkg/util/v1beta1/env/env.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 env import "os" diff --git a/pkg/util/v1beta1/env/env_test.go b/pkg/util/v1beta1/env/env_test.go index b1f5d0caf74..6c8f350b681 100644 --- a/pkg/util/v1beta1/env/env_test.go +++ b/pkg/util/v1beta1/env/env_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 env import ( diff --git a/pkg/util/v1beta1/katibclient/katib_client.go b/pkg/util/v1beta1/katibclient/katib_client.go index bf5eeb6b087..2f7d530704b 100644 --- a/pkg/util/v1beta1/katibclient/katib_client.go +++ b/pkg/util/v1beta1/katibclient/katib_client.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/pkg/util/v1beta1/katibconfig/config.go b/pkg/util/v1beta1/katibconfig/config.go index 1d46ebcb56c..27de36af956 100644 --- a/pkg/util/v1beta1/katibconfig/config.go +++ b/pkg/util/v1beta1/katibconfig/config.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 katibconfig import ( diff --git a/pkg/webhook/v1beta1/common/const.go b/pkg/webhook/v1beta1/common/const.go index 2ec4b28efaa..d360de4d4aa 100644 --- a/pkg/webhook/v1beta1/common/const.go +++ b/pkg/webhook/v1beta1/common/const.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/webhook/v1beta1/experiment/mutate_webhook.go b/pkg/webhook/v1beta1/experiment/mutate_webhook.go index ca82e146cb6..ed7e8330d4a 100644 --- a/pkg/webhook/v1beta1/experiment/mutate_webhook.go +++ b/pkg/webhook/v1beta1/experiment/mutate_webhook.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/webhook/v1beta1/experiment/validation_webhook.go b/pkg/webhook/v1beta1/experiment/validation_webhook.go index 9defe92d77e..bb56a761530 100644 --- a/pkg/webhook/v1beta1/experiment/validation_webhook.go +++ b/pkg/webhook/v1beta1/experiment/validation_webhook.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/webhook/v1beta1/experiment/validator/validator.go b/pkg/webhook/v1beta1/experiment/validator/validator.go index c043ed46792..36a4bc47988 100644 --- a/pkg/webhook/v1beta1/experiment/validator/validator.go +++ b/pkg/webhook/v1beta1/experiment/validator/validator.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 validator import ( diff --git a/pkg/webhook/v1beta1/experiment/validator/validator_test.go b/pkg/webhook/v1beta1/experiment/validator/validator_test.go index 6b2c25e5b22..c2f1ad6fe94 100644 --- a/pkg/webhook/v1beta1/experiment/validator/validator_test.go +++ b/pkg/webhook/v1beta1/experiment/validator/validator_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 validator import ( diff --git a/pkg/webhook/v1beta1/pod/const.go b/pkg/webhook/v1beta1/pod/const.go index 7853ae52389..afa999c2c4e 100644 --- a/pkg/webhook/v1beta1/pod/const.go +++ b/pkg/webhook/v1beta1/pod/const.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/webhook/v1beta1/pod/inject_webhook.go b/pkg/webhook/v1beta1/pod/inject_webhook.go index 1f81eaeece4..f85f97cd0f7 100644 --- a/pkg/webhook/v1beta1/pod/inject_webhook.go +++ b/pkg/webhook/v1beta1/pod/inject_webhook.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/webhook/v1beta1/pod/inject_webhook_test.go b/pkg/webhook/v1beta1/pod/inject_webhook_test.go index 0823dc84083..48063fd0455 100644 --- a/pkg/webhook/v1beta1/pod/inject_webhook_test.go +++ b/pkg/webhook/v1beta1/pod/inject_webhook_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 pod import ( diff --git a/pkg/webhook/v1beta1/pod/utils.go b/pkg/webhook/v1beta1/pod/utils.go index 9e59959a3b1..71bd6efa93c 100644 --- a/pkg/webhook/v1beta1/pod/utils.go +++ b/pkg/webhook/v1beta1/pod/utils.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors. +Copyright 2021 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. diff --git a/pkg/webhook/v1beta1/webhook.go b/pkg/webhook/v1beta1/webhook.go index 8fd37c6f5f5..3a83f11267a 100644 --- a/pkg/webhook/v1beta1/webhook.go +++ b/pkg/webhook/v1beta1/webhook.go @@ -1,4 +1,5 @@ /* +Copyright 2021 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. diff --git a/scripts/mockgen.sh b/scripts/mockgen.sh index d596a5051a8..fa00d6fe347 100755 --- a/scripts/mockgen.sh +++ b/scripts/mockgen.sh @@ -1,12 +1,12 @@ #!/bin/bash -# Copyright 2018 The Kubeflow Authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, diff --git a/scripts/update-readme-toc.sh b/scripts/update-readme-toc.sh index 1cbaaa48233..a5ddaf0b94c 100755 --- a/scripts/update-readme-toc.sh +++ b/scripts/update-readme-toc.sh @@ -1,5 +1,19 @@ #!/usr/bin/env bash +# Copyright 2021 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 +# +# 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. + SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/.. cd ${SCRIPT_ROOT} diff --git a/scripts/v1beta1/build.sh b/scripts/v1beta1/build.sh index f60d09ed028..4454669e36b 100755 --- a/scripts/v1beta1/build.sh +++ b/scripts/v1beta1/build.sh @@ -1,12 +1,12 @@ #!/bin/bash -# Copyright 2020 The Kubeflow Authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, diff --git a/scripts/v1beta1/deploy.sh b/scripts/v1beta1/deploy.sh index 3782347a467..b030ab3e3b6 100755 --- a/scripts/v1beta1/deploy.sh +++ b/scripts/v1beta1/deploy.sh @@ -6,7 +6,7 @@ # 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 +# 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, diff --git a/scripts/v1beta1/push.sh b/scripts/v1beta1/push.sh index 30b3953fdd0..4c6b3f8e036 100755 --- a/scripts/v1beta1/push.sh +++ b/scripts/v1beta1/push.sh @@ -6,7 +6,7 @@ # 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 +# 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, diff --git a/scripts/v1beta1/release.sh b/scripts/v1beta1/release.sh index c4663bbe518..19b86c2c64d 100755 --- a/scripts/v1beta1/release.sh +++ b/scripts/v1beta1/release.sh @@ -6,7 +6,7 @@ # 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 +# 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, diff --git a/scripts/v1beta1/undeploy.sh b/scripts/v1beta1/undeploy.sh index 1202c582632..3d173702f45 100755 --- a/scripts/v1beta1/undeploy.sh +++ b/scripts/v1beta1/undeploy.sh @@ -6,7 +6,7 @@ # 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 +# 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, diff --git a/scripts/v1beta1/update-trial-images.sh b/scripts/v1beta1/update-trial-images.sh index 1fdbbfeb66b..2bfe7f6911e 100755 --- a/scripts/v1beta1/update-trial-images.sh +++ b/scripts/v1beta1/update-trial-images.sh @@ -6,7 +6,7 @@ # 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 +# 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, diff --git a/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py b/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py index 2e558429ee7..4a7212bbf5a 100644 --- a/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py +++ b/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py @@ -4,13 +4,14 @@ # 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 +# 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. + import multiprocessing from kubernetes import client, config diff --git a/sdk/python/v1beta1/kubeflow/katib/constants/__init__.py b/sdk/python/v1beta1/kubeflow/katib/constants/__init__.py index ede60a09abd..e69de29bb2d 100644 --- a/sdk/python/v1beta1/kubeflow/katib/constants/__init__.py +++ b/sdk/python/v1beta1/kubeflow/katib/constants/__init__.py @@ -1,13 +0,0 @@ -# Copyright 2019 kubeflow.org. -# -# 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. diff --git a/sdk/python/v1beta1/kubeflow/katib/constants/constants.py b/sdk/python/v1beta1/kubeflow/katib/constants/constants.py index 7c956409389..1b49fd477c9 100644 --- a/sdk/python/v1beta1/kubeflow/katib/constants/constants.py +++ b/sdk/python/v1beta1/kubeflow/katib/constants/constants.py @@ -1,4 +1,4 @@ -# Copyright 2019 kubeflow.org. +# Copyright 2021 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. diff --git a/sdk/python/v1beta1/kubeflow/katib/utils/__init__.py b/sdk/python/v1beta1/kubeflow/katib/utils/__init__.py index ede60a09abd..e69de29bb2d 100644 --- a/sdk/python/v1beta1/kubeflow/katib/utils/__init__.py +++ b/sdk/python/v1beta1/kubeflow/katib/utils/__init__.py @@ -1,13 +0,0 @@ -# Copyright 2019 kubeflow.org. -# -# 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. diff --git a/sdk/python/v1beta1/kubeflow/katib/utils/utils.py b/sdk/python/v1beta1/kubeflow/katib/utils/utils.py index 6e291791b09..537cfa2c7fc 100644 --- a/sdk/python/v1beta1/kubeflow/katib/utils/utils.py +++ b/sdk/python/v1beta1/kubeflow/katib/utils/utils.py @@ -1,4 +1,4 @@ -# Copyright 2019 kubeflow.org. +# Copyright 2021 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. @@ -14,22 +14,23 @@ import os + def is_running_in_k8s(): - return os.path.isdir('/var/run/secrets/kubernetes.io/') + return os.path.isdir('/var/run/secrets/kubernetes.io/') def get_current_k8s_namespace(): - with open('/var/run/secrets/kubernetes.io/serviceaccount/namespace', 'r') as f: - return f.readline() + with open('/var/run/secrets/kubernetes.io/serviceaccount/namespace', 'r') as f: + return f.readline() def get_default_target_namespace(): - if not is_running_in_k8s(): - return 'default' - return get_current_k8s_namespace() + if not is_running_in_k8s(): + return 'default' + return get_current_k8s_namespace() def set_katib_namespace(katib): - katib_namespace = katib.metadata.namespace - namespace = katib_namespace or get_default_target_namespace() - return namespace + katib_namespace = katib.metadata.namespace + namespace = katib_namespace or get_default_target_namespace() + return namespace diff --git a/sdk/python/v1beta1/setup.py b/sdk/python/v1beta1/setup.py index 48e22900327..7acf64c453d 100644 --- a/sdk/python/v1beta1/setup.py +++ b/sdk/python/v1beta1/setup.py @@ -1,4 +1,4 @@ -# Copyright 2019 kubeflow.org. +# Copyright 2021 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. diff --git a/test/e2e/v1beta1/run-e2e-experiment.go b/test/e2e/v1beta1/run-e2e-experiment.go index 35abd6a845b..289a9664590 100644 --- a/test/e2e/v1beta1/run-e2e-experiment.go +++ b/test/e2e/v1beta1/run-e2e-experiment.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 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 + + 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 main import ( diff --git a/test/earlystopping/v1beta1/test_medianstop_service.py b/test/earlystopping/v1beta1/test_medianstop_service.py index 75636ab311c..65e19876be3 100644 --- a/test/earlystopping/v1beta1/test_medianstop_service.py +++ b/test/earlystopping/v1beta1/test_medianstop_service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import grpc_testing import unittest diff --git a/test/scripts/v1beta1/python-tests.sh b/test/scripts/v1beta1/python-tests.sh index 87cd8482f62..9e10814fdb5 100755 --- a/test/scripts/v1beta1/python-tests.sh +++ b/test/scripts/v1beta1/python-tests.sh @@ -1,12 +1,12 @@ #!/bin/bash -# Copyright 2020 The Kubeflow Authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, diff --git a/test/scripts/v1beta1/run-e2e-experiment.sh b/test/scripts/v1beta1/run-e2e-experiment.sh index 97a09fab693..75cce6bedbe 100755 --- a/test/scripts/v1beta1/run-e2e-experiment.sh +++ b/test/scripts/v1beta1/run-e2e-experiment.sh @@ -1,12 +1,12 @@ #!/bin/bash -# Copyright 2020 The Kubeflow Authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, diff --git a/test/scripts/v1beta1/setup-katib.sh b/test/scripts/v1beta1/setup-katib.sh index 94877f6e615..bcd91648648 100755 --- a/test/scripts/v1beta1/setup-katib.sh +++ b/test/scripts/v1beta1/setup-katib.sh @@ -1,12 +1,12 @@ #!/bin/bash -# Copyright 2020 The Kubeflow Authors. +# Copyright 2021 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 # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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, diff --git a/test/suggestion/v1beta1/test_chocolate_service.py b/test/suggestion/v1beta1/test_chocolate_service.py index d6c4fa8d553..77a95d906a0 100644 --- a/test/suggestion/v1beta1/test_chocolate_service.py +++ b/test/suggestion/v1beta1/test_chocolate_service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import grpc_testing import unittest diff --git a/test/suggestion/v1beta1/test_darts_service.py b/test/suggestion/v1beta1/test_darts_service.py index b8ae3243066..26f82b624bc 100644 --- a/test/suggestion/v1beta1/test_darts_service.py +++ b/test/suggestion/v1beta1/test_darts_service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import grpc_testing import unittest diff --git a/test/suggestion/v1beta1/test_enas_service.py b/test/suggestion/v1beta1/test_enas_service.py index cdf8fc56dc7..adbe69b537a 100644 --- a/test/suggestion/v1beta1/test_enas_service.py +++ b/test/suggestion/v1beta1/test_enas_service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import grpc_testing import unittest diff --git a/test/suggestion/v1beta1/test_hyperband_service.py b/test/suggestion/v1beta1/test_hyperband_service.py index 20093f23b08..010b0e5509e 100644 --- a/test/suggestion/v1beta1/test_hyperband_service.py +++ b/test/suggestion/v1beta1/test_hyperband_service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import grpc_testing import unittest diff --git a/test/suggestion/v1beta1/test_hyperopt_service.py b/test/suggestion/v1beta1/test_hyperopt_service.py index 13edc78233d..26aeff7b43b 100644 --- a/test/suggestion/v1beta1/test_hyperopt_service.py +++ b/test/suggestion/v1beta1/test_hyperopt_service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import unittest import grpc diff --git a/test/suggestion/v1beta1/test_skopt_service.py b/test/suggestion/v1beta1/test_skopt_service.py index af3e2e71575..1bf623a8079 100644 --- a/test/suggestion/v1beta1/test_skopt_service.py +++ b/test/suggestion/v1beta1/test_skopt_service.py @@ -1,3 +1,17 @@ +# Copyright 2021 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 +# +# 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. + import grpc import grpc_testing import unittest