From bea172d705cfc5e223911218044a7a5842ef8989 Mon Sep 17 00:00:00 2001 From: runseb Date: Thu, 17 Dec 2015 15:44:53 +0100 Subject: [PATCH] Improve license headers --- Makefile | 14 ++++++++++ common/types.go | 3 ++ dm/dm.go | 3 ++ expandybird/Makefile | 16 +++++++++-- expandybird/expander/expander.go | 3 ++ expandybird/expander/expander_test.go | 3 ++ expandybird/expansion/expansion.py | 7 +++-- expandybird/expansion/expansion_test.py | 6 ++-- expandybird/expansion/file_expander.py | 5 ++-- expandybird/expansion/sandbox_loader.py | 4 ++- expandybird/expansion/schema_validation.py | 5 ++-- .../expansion/schema_validation_test.py | 5 ++-- .../expansion/schema_validation_utils.py | 5 ++-- expandybird/main.go | 3 ++ expandybird/service/service.go | 3 ++ expandybird/service/service_test.go | 3 ++ get-install.sh | 13 +++++++++ hack/dm-push.sh | 14 ++++++++++ manager/Makefile | 16 +++++++++-- manager/deployments.go | 3 ++ manager/main.go | 3 ++ manager/manager/deployer.go | 3 ++ manager/manager/deployer_test.go | 3 ++ manager/manager/expander.go | 3 ++ manager/manager/expander_test.go | 3 ++ manager/manager/manager.go | 3 ++ manager/manager/manager_test.go | 3 ++ manager/manager/typeresolver.go | 3 ++ manager/manager/typeresolver_test.go | 3 ++ manager/repository/repository.go | 3 ++ manager/repository/repository_test.go | 3 ++ registry/github_package_registry.go | 3 ++ registry/github_registry.go | 3 ++ registry/registry.go | 3 ++ registry/registryprovider.go | 3 ++ resourcifier/Makefile | 16 +++++++++-- resourcifier/configurations.go | 3 ++ resourcifier/configurator/configurator.go | 3 ++ resourcifier/main.go | 3 ++ util/httpclient.go | 3 ++ util/httpclient_test.go | 3 ++ util/httputil.go | 3 ++ util/kubernetesutil.go | 3 ++ util/kubernetesutil_test.go | 3 ++ util/templateutil.go | 3 ++ version/version.go | 28 ++++++++++--------- 46 files changed, 215 insertions(+), 35 deletions(-) diff --git a/Makefile b/Makefile index 50f46197a..ccc9d537b 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,17 @@ +# Copyright 2015 The Kubernetes Authors All rights reserved. +# +# 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. + SUBDIRS := expandybird/. resourcifier/. manager/. TARGETS := all build test push container clean diff --git a/common/types.go b/common/types.go index 8cc238bf3..2f07783a7 100644 --- a/common/types.go +++ b/common/types.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/dm/dm.go b/dm/dm.go index 5a988bbcf..1c24f3e7a 100644 --- a/dm/dm.go +++ b/dm/dm.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/expandybird/Makefile b/expandybird/Makefile index eb6ecc41a..a79e0d65d 100644 --- a/expandybird/Makefile +++ b/expandybird/Makefile @@ -1,6 +1,16 @@ -# Makefile for the Docker image $(DOCKER_REGISTRY)/$(PROJECT)/expandybird -# MAINTAINER: Jack Greenfield -# If you update this image please check the tag value before pushing. +# Copyright 2015 The Kubernetes Authors All rights reserved. +# +# 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. .PHONY : all build test push container clean diff --git a/expandybird/expander/expander.go b/expandybird/expander/expander.go index d39390869..aed66ea8f 100644 --- a/expandybird/expander/expander.go +++ b/expandybird/expander/expander.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/expandybird/expander/expander_test.go b/expandybird/expander/expander_test.go index 738730b5b..64aef8aef 100644 --- a/expandybird/expander/expander_test.go +++ b/expandybird/expander/expander_test.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/expandybird/expansion/expansion.py b/expandybird/expansion/expansion.py index 917d616af..ef012f90d 100755 --- a/expandybird/expansion/expansion.py +++ b/expandybird/expansion/expansion.py @@ -1,17 +1,18 @@ #!/usr/bin/env python - -###################################################################### +# # Copyright 2015 The Kubernetes Authors All rights reserved. +# # 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. -###################################################################### """Template expansion utilities.""" diff --git a/expandybird/expansion/expansion_test.py b/expandybird/expansion/expansion_test.py index 264d5e272..0b780175e 100644 --- a/expandybird/expansion/expansion_test.py +++ b/expandybird/expansion/expansion_test.py @@ -1,15 +1,17 @@ -###################################################################### # Copyright 2015 The Kubernetes Authors All rights reserved. +# # 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. -###################################################################### + """Basic unit tests for template expansion library.""" import expansion diff --git a/expandybird/expansion/file_expander.py b/expandybird/expansion/file_expander.py index e458bf2a1..efb7074c5 100644 --- a/expandybird/expansion/file_expander.py +++ b/expandybird/expansion/file_expander.py @@ -1,15 +1,16 @@ -###################################################################### # Copyright 2015 The Kubernetes Authors All rights reserved. +# # 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. -###################################################################### """App allowing expansion from file names instead of cmdline arguments.""" import os.path diff --git a/expandybird/expansion/sandbox_loader.py b/expandybird/expansion/sandbox_loader.py index f0fcde48c..f610db429 100644 --- a/expandybird/expansion/sandbox_loader.py +++ b/expandybird/expansion/sandbox_loader.py @@ -1,9 +1,11 @@ -###################################################################### # Copyright 2015 The Kubernetes Authors All rights reserved. +# # 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/expandybird/expansion/schema_validation.py b/expandybird/expansion/schema_validation.py index f82b94ff8..5f63b3195 100644 --- a/expandybird/expansion/schema_validation.py +++ b/expandybird/expansion/schema_validation.py @@ -1,15 +1,16 @@ -###################################################################### # Copyright 2015 The Kubernetes Authors All rights reserved. +# # 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. -###################################################################### """Validation of Template properties for deployment manager v2.""" diff --git a/expandybird/expansion/schema_validation_test.py b/expandybird/expansion/schema_validation_test.py index 3f8f4b38f..66eba73ac 100644 --- a/expandybird/expansion/schema_validation_test.py +++ b/expandybird/expansion/schema_validation_test.py @@ -1,15 +1,16 @@ -###################################################################### # Copyright 2015 The Kubernetes Authors All rights reserved. +# # 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 unittest diff --git a/expandybird/expansion/schema_validation_utils.py b/expandybird/expansion/schema_validation_utils.py index 2aac82677..1870d9a8d 100644 --- a/expandybird/expansion/schema_validation_utils.py +++ b/expandybird/expansion/schema_validation_utils.py @@ -1,15 +1,16 @@ -###################################################################### # Copyright 2015 The Kubernetes Authors All rights reserved. +# # 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. -###################################################################### """Helper functions for Schema Validation.""" diff --git a/expandybird/main.go b/expandybird/main.go index 0e2e55854..df2d3714e 100644 --- a/expandybird/main.go +++ b/expandybird/main.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/expandybird/service/service.go b/expandybird/service/service.go index 760050283..063edd11a 100644 --- a/expandybird/service/service.go +++ b/expandybird/service/service.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/expandybird/service/service_test.go b/expandybird/service/service_test.go index 989dbb2cc..c2a921737 100644 --- a/expandybird/service/service_test.go +++ b/expandybird/service/service_test.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/get-install.sh b/get-install.sh index bb3477fbd..be8f34d14 100755 --- a/get-install.sh +++ b/get-install.sh @@ -1,4 +1,17 @@ #!/usr/bin/env bash +# Copyright 2015 The Kubernetes Authors All rights reserved. +# +# 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 -euo pipefail diff --git a/hack/dm-push.sh b/hack/dm-push.sh index 63d9b1256..00d4a8b1c 100755 --- a/hack/dm-push.sh +++ b/hack/dm-push.sh @@ -1,5 +1,19 @@ #!/usr/bin/env bash # +# Copyright 2015 The Kubernetes Authors All rights reserved. +# +# 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. + # Run this from deployment-manager root to build and push the dm client plus # kubernetes install config into the publicly readable GCS bucket gs://get-dm. # diff --git a/manager/Makefile b/manager/Makefile index afbaeaf88..51be0e8dd 100644 --- a/manager/Makefile +++ b/manager/Makefile @@ -1,6 +1,16 @@ -# Makefile for the Docker image $(DOCKER_REGISTRY)/$(PROJECT)/manager -# MAINTAINER: Jack Greenfield -# If you update this image please check the tag value before pushing. +# Copyright 2015 The Kubernetes Authors All rights reserved. +# +# 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. .PHONY : all build test push container clean .project diff --git a/manager/deployments.go b/manager/deployments.go index 3ca7a2a3e..dceb966c1 100644 --- a/manager/deployments.go +++ b/manager/deployments.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/main.go b/manager/main.go index e124e0b20..e455cc413 100644 --- a/manager/main.go +++ b/manager/main.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/manager/deployer.go b/manager/manager/deployer.go index ae80b047a..14fe71494 100644 --- a/manager/manager/deployer.go +++ b/manager/manager/deployer.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/manager/deployer_test.go b/manager/manager/deployer_test.go index 5ba9a9f03..535536364 100644 --- a/manager/manager/deployer_test.go +++ b/manager/manager/deployer_test.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/manager/expander.go b/manager/manager/expander.go index ed724f3e7..95875ea14 100644 --- a/manager/manager/expander.go +++ b/manager/manager/expander.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/manager/expander_test.go b/manager/manager/expander_test.go index a4760c34b..59d302cbf 100644 --- a/manager/manager/expander_test.go +++ b/manager/manager/expander_test.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/manager/manager.go b/manager/manager/manager.go index 69c0041a0..d1c6c518a 100644 --- a/manager/manager/manager.go +++ b/manager/manager/manager.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/manager/manager_test.go b/manager/manager/manager_test.go index c93153cff..a52e73d55 100644 --- a/manager/manager/manager_test.go +++ b/manager/manager/manager_test.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/manager/typeresolver.go b/manager/manager/typeresolver.go index 85c0c2993..fbc291050 100644 --- a/manager/manager/typeresolver.go +++ b/manager/manager/typeresolver.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/manager/typeresolver_test.go b/manager/manager/typeresolver_test.go index d4f4f9a47..b2e9f78ee 100644 --- a/manager/manager/typeresolver_test.go +++ b/manager/manager/typeresolver_test.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/repository/repository.go b/manager/repository/repository.go index 97cb864b2..8a5385fd1 100644 --- a/manager/repository/repository.go +++ b/manager/repository/repository.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/manager/repository/repository_test.go b/manager/repository/repository_test.go index f660e1bba..43dfa8ea5 100644 --- a/manager/repository/repository_test.go +++ b/manager/repository/repository_test.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/registry/github_package_registry.go b/registry/github_package_registry.go index e74aed99e..096c3c23a 100644 --- a/registry/github_package_registry.go +++ b/registry/github_package_registry.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/registry/github_registry.go b/registry/github_registry.go index d5933fc00..0f06dd3ea 100644 --- a/registry/github_registry.go +++ b/registry/github_registry.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/registry/registry.go b/registry/registry.go index 884b84ba7..e53844e74 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/registry/registryprovider.go b/registry/registryprovider.go index e4a833fe0..d4454451c 100644 --- a/registry/registryprovider.go +++ b/registry/registryprovider.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/resourcifier/Makefile b/resourcifier/Makefile index 54956e717..7ac3e3f69 100644 --- a/resourcifier/Makefile +++ b/resourcifier/Makefile @@ -1,5 +1,17 @@ -# Makefile for the Docker image $(DOCKER_REGISTRY)/$(PROJECT)/resourcifier -# MAINTAINER: Jack Greenfield +# Copyright 2015 The Kubernetes Authors All rights reserved. +# +# 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. + # If you update this image please check the tag value before pushing. .PHONY : all build test push container clean diff --git a/resourcifier/configurations.go b/resourcifier/configurations.go index 818981559..09842eb08 100644 --- a/resourcifier/configurations.go +++ b/resourcifier/configurations.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/resourcifier/configurator/configurator.go b/resourcifier/configurator/configurator.go index c82435fcd..3337ea5e4 100644 --- a/resourcifier/configurator/configurator.go +++ b/resourcifier/configurator/configurator.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/resourcifier/main.go b/resourcifier/main.go index db1cb309b..d00f5a70f 100644 --- a/resourcifier/main.go +++ b/resourcifier/main.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/util/httpclient.go b/util/httpclient.go index 7a009d463..699030a7e 100644 --- a/util/httpclient.go +++ b/util/httpclient.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/util/httpclient_test.go b/util/httpclient_test.go index 393c0e12a..c7b7eef46 100644 --- a/util/httpclient_test.go +++ b/util/httpclient_test.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/util/httputil.go b/util/httputil.go index d1d9105b0..572f940b9 100644 --- a/util/httputil.go +++ b/util/httputil.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/util/kubernetesutil.go b/util/kubernetesutil.go index b27e6d7a6..25c14d9bc 100644 --- a/util/kubernetesutil.go +++ b/util/kubernetesutil.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/util/kubernetesutil_test.go b/util/kubernetesutil_test.go index 3864354b2..c2dbe0b87 100644 --- a/util/kubernetesutil_test.go +++ b/util/kubernetesutil_test.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/util/templateutil.go b/util/templateutil.go index e24da977b..40c9419d8 100644 --- a/util/templateutil.go +++ b/util/templateutil.go @@ -1,9 +1,12 @@ /* Copyright 2015 The Kubernetes Authors All rights reserved. + 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/version/version.go b/version/version.go index 886a70925..35b47d089 100644 --- a/version/version.go +++ b/version/version.go @@ -1,16 +1,18 @@ -// Copyright 2015 Google Inc. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* +Copyright 2015 The Kubernetes Authors All rights reserved. + +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 version