From 47c4a55f5fac878671461aacb197ea3c1113d01a Mon Sep 17 00:00:00 2001 From: fanmin shi Date: Thu, 8 Mar 2018 13:12:02 -0800 Subject: [PATCH] *: add License to all *.go files --- commands/operator-sdk/cmd/build.go | 14 ++++++++++++++ commands/operator-sdk/cmd/generate.go | 14 ++++++++++++++ commands/operator-sdk/cmd/generate/k8s.go | 14 ++++++++++++++ commands/operator-sdk/cmd/new.go | 14 ++++++++++++++ commands/operator-sdk/cmd/root.go | 14 ++++++++++++++ commands/operator-sdk/error/error.go | 14 ++++++++++++++ commands/operator-sdk/main.go | 14 ++++++++++++++ pkg/generator/api_tmpls.go | 14 ++++++++++++++ pkg/generator/build_tmpls.go | 14 ++++++++++++++ pkg/generator/codegen_tmpls.go | 14 ++++++++++++++ pkg/generator/deploy_tmpl.go | 14 ++++++++++++++ pkg/generator/gen_api_doc.go | 14 ++++++++++++++ pkg/generator/gen_api_register.go | 14 ++++++++++++++ pkg/generator/gen_api_types.go | 14 ++++++++++++++ pkg/generator/gen_build.go | 14 ++++++++++++++ pkg/generator/gen_codegen.go | 14 ++++++++++++++ pkg/generator/gen_config.go | 14 ++++++++++++++ pkg/generator/gen_deploy.go | 14 ++++++++++++++ pkg/generator/gen_deps.go | 14 ++++++++++++++ pkg/generator/gen_handler.go | 14 ++++++++++++++ pkg/generator/gen_main.go | 14 ++++++++++++++ pkg/generator/generator.go | 14 ++++++++++++++ pkg/generator/generator_test.go | 14 ++++++++++++++ pkg/generator/gopkg_tmpls.go | 14 ++++++++++++++ pkg/generator/handler_tmpl.go | 14 ++++++++++++++ pkg/generator/main_tmpl.go | 14 ++++++++++++++ pkg/k8sclient/client.go | 14 ++++++++++++++ pkg/sdk/action/action.go | 14 ++++++++++++++ pkg/sdk/api.go | 14 ++++++++++++++ pkg/sdk/handler/handler.go | 14 ++++++++++++++ pkg/sdk/informer/informer.go | 14 ++++++++++++++ pkg/sdk/informer/sync.go | 14 ++++++++++++++ pkg/sdk/types/types.go | 14 ++++++++++++++ pkg/util/k8sutil/k8sutil.go | 14 ++++++++++++++ 34 files changed, 476 insertions(+) diff --git a/commands/operator-sdk/cmd/build.go b/commands/operator-sdk/cmd/build.go index c9361f7ade..9349b79c87 100644 --- a/commands/operator-sdk/cmd/build.go +++ b/commands/operator-sdk/cmd/build.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cmd import ( diff --git a/commands/operator-sdk/cmd/generate.go b/commands/operator-sdk/cmd/generate.go index fc2e95a87c..c5601867f0 100644 --- a/commands/operator-sdk/cmd/generate.go +++ b/commands/operator-sdk/cmd/generate.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cmd import ( diff --git a/commands/operator-sdk/cmd/generate/k8s.go b/commands/operator-sdk/cmd/generate/k8s.go index 616cffbac2..5d61f60fde 100644 --- a/commands/operator-sdk/cmd/generate/k8s.go +++ b/commands/operator-sdk/cmd/generate/k8s.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generate import ( diff --git a/commands/operator-sdk/cmd/new.go b/commands/operator-sdk/cmd/new.go index 3a41239290..a2eb24b386 100644 --- a/commands/operator-sdk/cmd/new.go +++ b/commands/operator-sdk/cmd/new.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cmd import ( diff --git a/commands/operator-sdk/cmd/root.go b/commands/operator-sdk/cmd/root.go index b9d3863492..2f09596d75 100644 --- a/commands/operator-sdk/cmd/root.go +++ b/commands/operator-sdk/cmd/root.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package cmd import "github.com/spf13/cobra" diff --git a/commands/operator-sdk/error/error.go b/commands/operator-sdk/error/error.go index 3774af97a6..08ae9b0b9e 100644 --- a/commands/operator-sdk/error/error.go +++ b/commands/operator-sdk/error/error.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 error import ( diff --git a/commands/operator-sdk/main.go b/commands/operator-sdk/main.go index ad5cc46c09..22be5feddf 100644 --- a/commands/operator-sdk/main.go +++ b/commands/operator-sdk/main.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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/pkg/generator/api_tmpls.go b/pkg/generator/api_tmpls.go index 60b24a12e2..e69c7d023c 100644 --- a/pkg/generator/api_tmpls.go +++ b/pkg/generator/api_tmpls.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator // apiDocTmpl is the template for apis/../doc.go diff --git a/pkg/generator/build_tmpls.go b/pkg/generator/build_tmpls.go index 7e80553198..1eadd6d448 100644 --- a/pkg/generator/build_tmpls.go +++ b/pkg/generator/build_tmpls.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator const buildTmpl = `#!/usr/bin/env bash diff --git a/pkg/generator/codegen_tmpls.go b/pkg/generator/codegen_tmpls.go index 41b9c7e999..6d2a3823e8 100644 --- a/pkg/generator/codegen_tmpls.go +++ b/pkg/generator/codegen_tmpls.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator const boilerplateTmpl = `/* diff --git a/pkg/generator/deploy_tmpl.go b/pkg/generator/deploy_tmpl.go index 8f578d2eed..6df9f57294 100644 --- a/pkg/generator/deploy_tmpl.go +++ b/pkg/generator/deploy_tmpl.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator const operatorYamlTmpl = `apiVersion: apiextensions.k8s.io/v1beta1 diff --git a/pkg/generator/gen_api_doc.go b/pkg/generator/gen_api_doc.go index df544d1788..bfb9f3f476 100644 --- a/pkg/generator/gen_api_doc.go +++ b/pkg/generator/gen_api_doc.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/gen_api_register.go b/pkg/generator/gen_api_register.go index 23035139c2..b5e2d756f2 100644 --- a/pkg/generator/gen_api_register.go +++ b/pkg/generator/gen_api_register.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/gen_api_types.go b/pkg/generator/gen_api_types.go index 40e888d695..46b39aa666 100644 --- a/pkg/generator/gen_api_types.go +++ b/pkg/generator/gen_api_types.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/gen_build.go b/pkg/generator/gen_build.go index c1f8ad16a6..88122461d3 100644 --- a/pkg/generator/gen_build.go +++ b/pkg/generator/gen_build.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/gen_codegen.go b/pkg/generator/gen_codegen.go index f36be84037..f163c5cee4 100644 --- a/pkg/generator/gen_codegen.go +++ b/pkg/generator/gen_codegen.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/gen_config.go b/pkg/generator/gen_config.go index d66b2296ad..113ff809ef 100644 --- a/pkg/generator/gen_config.go +++ b/pkg/generator/gen_config.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/gen_deploy.go b/pkg/generator/gen_deploy.go index 8562879838..59eb10473f 100644 --- a/pkg/generator/gen_deploy.go +++ b/pkg/generator/gen_deploy.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/gen_deps.go b/pkg/generator/gen_deps.go index dac1d564cf..364e291cf9 100644 --- a/pkg/generator/gen_deps.go +++ b/pkg/generator/gen_deps.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import "io" diff --git a/pkg/generator/gen_handler.go b/pkg/generator/gen_handler.go index 2589708bd1..d8e19429b9 100644 --- a/pkg/generator/gen_handler.go +++ b/pkg/generator/gen_handler.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/gen_main.go b/pkg/generator/gen_main.go index 8633d20e3d..348b3abd5e 100644 --- a/pkg/generator/gen_main.go +++ b/pkg/generator/gen_main.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/generator.go b/pkg/generator/generator.go index c7bbd2f0ee..8b6799203a 100644 --- a/pkg/generator/generator.go +++ b/pkg/generator/generator.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/generator_test.go b/pkg/generator/generator_test.go index cf83254fbd..2d4798db9d 100644 --- a/pkg/generator/generator_test.go +++ b/pkg/generator/generator_test.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator import ( diff --git a/pkg/generator/gopkg_tmpls.go b/pkg/generator/gopkg_tmpls.go index 0d6f2f1af9..ebb89d0cc1 100644 --- a/pkg/generator/gopkg_tmpls.go +++ b/pkg/generator/gopkg_tmpls.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator const gopkgLockTmpl = `[[projects]] diff --git a/pkg/generator/handler_tmpl.go b/pkg/generator/handler_tmpl.go index c4da2cd4b6..43a2ee9671 100644 --- a/pkg/generator/handler_tmpl.go +++ b/pkg/generator/handler_tmpl.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator // handlerTmpl is the template for stub/handler.go. diff --git a/pkg/generator/main_tmpl.go b/pkg/generator/main_tmpl.go index dcb1272a17..7be332fdf7 100644 --- a/pkg/generator/main_tmpl.go +++ b/pkg/generator/main_tmpl.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 generator // mainTmpl is the template for cmd/main.go. diff --git a/pkg/k8sclient/client.go b/pkg/k8sclient/client.go index 0f97db340b..96d29c9fba 100644 --- a/pkg/k8sclient/client.go +++ b/pkg/k8sclient/client.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 k8sclient import ( diff --git a/pkg/sdk/action/action.go b/pkg/sdk/action/action.go index a1d8cbf97f..5182455f7a 100644 --- a/pkg/sdk/action/action.go +++ b/pkg/sdk/action/action.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 action import ( diff --git a/pkg/sdk/api.go b/pkg/sdk/api.go index 6981051524..acd4e30a43 100644 --- a/pkg/sdk/api.go +++ b/pkg/sdk/api.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 sdk import ( diff --git a/pkg/sdk/handler/handler.go b/pkg/sdk/handler/handler.go index 6eef6b03f1..2ec0b301ed 100644 --- a/pkg/sdk/handler/handler.go +++ b/pkg/sdk/handler/handler.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 handler import ( diff --git a/pkg/sdk/informer/informer.go b/pkg/sdk/informer/informer.go index 69fa64eab2..c26fd6f5d6 100644 --- a/pkg/sdk/informer/informer.go +++ b/pkg/sdk/informer/informer.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 informer import ( diff --git a/pkg/sdk/informer/sync.go b/pkg/sdk/informer/sync.go index 2405a26e6b..0d29ce91eb 100644 --- a/pkg/sdk/informer/sync.go +++ b/pkg/sdk/informer/sync.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 informer import ( diff --git a/pkg/sdk/types/types.go b/pkg/sdk/types/types.go index 5a7d083297..58643cbe42 100644 --- a/pkg/sdk/types/types.go +++ b/pkg/sdk/types/types.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 types import ( diff --git a/pkg/util/k8sutil/k8sutil.go b/pkg/util/k8sutil/k8sutil.go index 7b166e2d74..bc59e28fbe 100644 --- a/pkg/util/k8sutil/k8sutil.go +++ b/pkg/util/k8sutil/k8sutil.go @@ -1,3 +1,17 @@ +// Copyright 2018 The Operator-SDK 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 k8sutil import (