From 61d46c26b81b0bf83583aa10a315b46140d65104 Mon Sep 17 00:00:00 2001 From: Jingfang Liu Date: Fri, 10 May 2019 10:20:20 -0700 Subject: [PATCH] fix the boilerplate copyright header (#1064) --- internal/plugintest/plugintestenv.go | 9 ++++++--- pkg/commands/edit/set/setnamespace.go | 2 +- pkg/commands/edit/set/setnamespace_test.go | 2 +- pkg/inventory/constants.go | 2 +- pkg/inventory/inventory.go | 2 +- pkg/inventory/inventory_test.go | 2 +- pkg/loader/loadrestrictions_string.go | 16 ++++++++++++++++ pkg/plugins/compiler.go | 9 ++++++--- pkg/plugins/compiler_test.go | 9 ++++++--- pkg/plugins/execplugin_test.go | 9 ++++++--- pkg/resid/itemid.go | 3 ++- pkg/resid/resid_test.go | 16 ++++++++++++++++ pkg/resmap/legacygeneratorargs.go | 16 ++++++++++++++++ pkg/target/chartinflatorexecplugin_test.go | 13 ++++++++----- pkg/target/generatoroptions_test.go | 9 ++++++--- pkg/target/generatorplugin_test.go | 9 ++++++--- pkg/target/plugindir_test.go | 9 ++++++--- pkg/target/transformerplugin_test.go | 9 ++++++--- pkg/transformers/refvars.go | 16 ++++++++++++++++ pkg/transformers/refvars_test.go | 16 ++++++++++++++++ pkg/types/errors.go | 2 +- pkg/types/genargs.go | 2 +- pkg/types/genargs_test.go | 9 ++++++--- plugin/builtin/ConfigMapGenerator.go | 16 ++++++++++++++++ plugin/builtin/ConfigMapGenerator_test.go | 16 ++++++++++++++++ plugin/builtin/SecretGenerator.go | 16 ++++++++++++++++ plugin/builtin/SecretGenerator_test.go | 16 ++++++++++++++++ plugin/someteam.example.com/v1/DatePrefixer.go | 16 ++++++++++++++++ .../someteam.example.com/v1/ServiceGenerator.go | 16 ++++++++++++++++ plugin/someteam.example.com/v1/StringPrefixer.go | 16 ++++++++++++++++ plugin/someteam.example.com/v1/kvMaker.go | 16 ++++++++++++++++ 31 files changed, 279 insertions(+), 40 deletions(-) diff --git a/internal/plugintest/plugintestenv.go b/internal/plugintest/plugintestenv.go index 0a9cfc86d..70eac0a42 100644 --- a/internal/plugintest/plugintestenv.go +++ b/internal/plugintest/plugintestenv.go @@ -1,10 +1,13 @@ /* Copyright 2019 The Kubernetes Authors. - Licensed under the Apache License, Version 2.0 (the "License"); + +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 + + 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 diff --git a/pkg/commands/edit/set/setnamespace.go b/pkg/commands/edit/set/setnamespace.go index 63c5dd17b..520292fda 100644 --- a/pkg/commands/edit/set/setnamespace.go +++ b/pkg/commands/edit/set/setnamespace.go @@ -5,7 +5,7 @@ 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/commands/edit/set/setnamespace_test.go b/pkg/commands/edit/set/setnamespace_test.go index f19153169..99b239ce0 100644 --- a/pkg/commands/edit/set/setnamespace_test.go +++ b/pkg/commands/edit/set/setnamespace_test.go @@ -5,7 +5,7 @@ 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/inventory/constants.go b/pkg/inventory/constants.go index 47439d437..05f7c6a57 100644 --- a/pkg/inventory/constants.go +++ b/pkg/inventory/constants.go @@ -5,7 +5,7 @@ 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/inventory/inventory.go b/pkg/inventory/inventory.go index f8a5f1a94..a2c0e83e7 100644 --- a/pkg/inventory/inventory.go +++ b/pkg/inventory/inventory.go @@ -5,7 +5,7 @@ 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/inventory/inventory_test.go b/pkg/inventory/inventory_test.go index 68bc2f934..05c125524 100644 --- a/pkg/inventory/inventory_test.go +++ b/pkg/inventory/inventory_test.go @@ -5,7 +5,7 @@ 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/loader/loadrestrictions_string.go b/pkg/loader/loadrestrictions_string.go index 126ce3613..42ddca791 100644 --- a/pkg/loader/loadrestrictions_string.go +++ b/pkg/loader/loadrestrictions_string.go @@ -1,3 +1,19 @@ +/* +Copyright 2019 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + // Code generated by "stringer -type=loadRestrictions"; DO NOT EDIT. package loader diff --git a/pkg/plugins/compiler.go b/pkg/plugins/compiler.go index 1ddbf0be4..125861403 100644 --- a/pkg/plugins/compiler.go +++ b/pkg/plugins/compiler.go @@ -1,10 +1,13 @@ /* Copyright 2019 The Kubernetes Authors. - Licensed under the Apache License, Version 2.0 (the "License"); + +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 + + 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 diff --git a/pkg/plugins/compiler_test.go b/pkg/plugins/compiler_test.go index 990d2b5b0..233f6bfbe 100644 --- a/pkg/plugins/compiler_test.go +++ b/pkg/plugins/compiler_test.go @@ -1,10 +1,13 @@ /* Copyright 2019 The Kubernetes Authors. - Licensed under the Apache License, Version 2.0 (the "License"); + +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 + + 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 diff --git a/pkg/plugins/execplugin_test.go b/pkg/plugins/execplugin_test.go index 169865494..a2f2d294a 100644 --- a/pkg/plugins/execplugin_test.go +++ b/pkg/plugins/execplugin_test.go @@ -1,10 +1,13 @@ /* Copyright 2019 The Kubernetes Authors. - Licensed under the Apache License, Version 2.0 (the "License"); + +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 + + 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 diff --git a/pkg/resid/itemid.go b/pkg/resid/itemid.go index 2f7559b3d..b56d4ed1a 100644 --- a/pkg/resid/itemid.go +++ b/pkg/resid/itemid.go @@ -17,6 +17,7 @@ limitations under the License. package resid import ( + "fmt" "strings" "sigs.k8s.io/kustomize/pkg/gvk" @@ -53,7 +54,7 @@ func (i ItemId) String() string { []string{i.Gvk.String(), ns, nm}, separator) } -func (i ItemId) Equals(b ItemId) bool { +func (i ItemId) Equals(b fmt.Stringer) bool { return i.String() == b.String() } diff --git a/pkg/resid/resid_test.go b/pkg/resid/resid_test.go index c7a0a1af0..abd9c481f 100644 --- a/pkg/resid/resid_test.go +++ b/pkg/resid/resid_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2018 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package resid import ( diff --git a/pkg/resmap/legacygeneratorargs.go b/pkg/resmap/legacygeneratorargs.go index f98f0a8e8..5bef46bc5 100644 --- a/pkg/resmap/legacygeneratorargs.go +++ b/pkg/resmap/legacygeneratorargs.go @@ -1,3 +1,19 @@ +/* +Copyright 2018 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package resmap import ( diff --git a/pkg/target/chartinflatorexecplugin_test.go b/pkg/target/chartinflatorexecplugin_test.go index eb47ae627..5d9da2ce7 100644 --- a/pkg/target/chartinflatorexecplugin_test.go +++ b/pkg/target/chartinflatorexecplugin_test.go @@ -1,20 +1,23 @@ // +build notravis -// Disabled on travis, because don't want to install helm on travis. - /* Copyright 2019 The Kubernetes Authors. - Licensed under the Apache License, Version 2.0 (the "License"); + +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 + + 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. */ +// Disabled on travis, because don't want to install helm on travis. + package target_test import ( diff --git a/pkg/target/generatoroptions_test.go b/pkg/target/generatoroptions_test.go index d55c541a9..80eb85d03 100644 --- a/pkg/target/generatoroptions_test.go +++ b/pkg/target/generatoroptions_test.go @@ -1,10 +1,13 @@ /* Copyright 2019 The Kubernetes Authors. - Licensed under the Apache License, Version 2.0 (the "License"); + +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 + + 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 diff --git a/pkg/target/generatorplugin_test.go b/pkg/target/generatorplugin_test.go index f7096d4df..a0e5565b8 100644 --- a/pkg/target/generatorplugin_test.go +++ b/pkg/target/generatorplugin_test.go @@ -1,10 +1,13 @@ /* Copyright 2019 The Kubernetes Authors. - Licensed under the Apache License, Version 2.0 (the "License"); + +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 + + 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 diff --git a/pkg/target/plugindir_test.go b/pkg/target/plugindir_test.go index 698edafcb..56a879a19 100644 --- a/pkg/target/plugindir_test.go +++ b/pkg/target/plugindir_test.go @@ -1,10 +1,13 @@ /* Copyright 2019 The Kubernetes Authors. - Licensed under the Apache License, Version 2.0 (the "License"); + +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 + + 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 diff --git a/pkg/target/transformerplugin_test.go b/pkg/target/transformerplugin_test.go index a734f6638..745390311 100644 --- a/pkg/target/transformerplugin_test.go +++ b/pkg/target/transformerplugin_test.go @@ -1,10 +1,13 @@ /* Copyright 2019 The Kubernetes Authors. - Licensed under the Apache License, Version 2.0 (the "License"); + +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 + + 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 diff --git a/pkg/transformers/refvars.go b/pkg/transformers/refvars.go index b31ec6e7a..b985a1393 100644 --- a/pkg/transformers/refvars.go +++ b/pkg/transformers/refvars.go @@ -1,3 +1,19 @@ +/* +Copyright 2018 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package transformers import ( diff --git a/pkg/transformers/refvars_test.go b/pkg/transformers/refvars_test.go index 6e6826fad..4ec703810 100644 --- a/pkg/transformers/refvars_test.go +++ b/pkg/transformers/refvars_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2018 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package transformers import ( diff --git a/pkg/types/errors.go b/pkg/types/errors.go index a94ec12e9..7515f2323 100644 --- a/pkg/types/errors.go +++ b/pkg/types/errors.go @@ -5,7 +5,7 @@ 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/types/genargs.go b/pkg/types/genargs.go index fc25dcdc9..a6e265ad9 100644 --- a/pkg/types/genargs.go +++ b/pkg/types/genargs.go @@ -5,7 +5,7 @@ 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/types/genargs_test.go b/pkg/types/genargs_test.go index a50dfd967..a613aaa8c 100644 --- a/pkg/types/genargs_test.go +++ b/pkg/types/genargs_test.go @@ -1,10 +1,13 @@ /* Copyright 2018 The Kubernetes Authors. - Licensed under the Apache License, Version 2.0 (the "License"); + +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 + + 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 diff --git a/plugin/builtin/ConfigMapGenerator.go b/plugin/builtin/ConfigMapGenerator.go index 5cd6b1f44..afb5cf9f6 100644 --- a/plugin/builtin/ConfigMapGenerator.go +++ b/plugin/builtin/ConfigMapGenerator.go @@ -1,5 +1,21 @@ // +build plugin +/* +Copyright 2019 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/plugin/builtin/ConfigMapGenerator_test.go b/plugin/builtin/ConfigMapGenerator_test.go index 989b48db3..7e3a0c488 100644 --- a/plugin/builtin/ConfigMapGenerator_test.go +++ b/plugin/builtin/ConfigMapGenerator_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2018 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package builtin import ( diff --git a/plugin/builtin/SecretGenerator.go b/plugin/builtin/SecretGenerator.go index 22188306f..e789b7271 100644 --- a/plugin/builtin/SecretGenerator.go +++ b/plugin/builtin/SecretGenerator.go @@ -1,5 +1,21 @@ // +build plugin +/* +Copyright 2019 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/plugin/builtin/SecretGenerator_test.go b/plugin/builtin/SecretGenerator_test.go index a229bc4b2..59a9eb13e 100644 --- a/plugin/builtin/SecretGenerator_test.go +++ b/plugin/builtin/SecretGenerator_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2018 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package builtin import ( diff --git a/plugin/someteam.example.com/v1/DatePrefixer.go b/plugin/someteam.example.com/v1/DatePrefixer.go index e34d1f9f0..88d3e3493 100644 --- a/plugin/someteam.example.com/v1/DatePrefixer.go +++ b/plugin/someteam.example.com/v1/DatePrefixer.go @@ -1,5 +1,21 @@ // +build plugin +/* +Copyright 2019 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/plugin/someteam.example.com/v1/ServiceGenerator.go b/plugin/someteam.example.com/v1/ServiceGenerator.go index baf077087..9137a2146 100644 --- a/plugin/someteam.example.com/v1/ServiceGenerator.go +++ b/plugin/someteam.example.com/v1/ServiceGenerator.go @@ -1,5 +1,21 @@ // +build plugin +/* +Copyright 2019 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/plugin/someteam.example.com/v1/StringPrefixer.go b/plugin/someteam.example.com/v1/StringPrefixer.go index 38094eb70..6f3dac2fd 100644 --- a/plugin/someteam.example.com/v1/StringPrefixer.go +++ b/plugin/someteam.example.com/v1/StringPrefixer.go @@ -1,5 +1,21 @@ // +build plugin +/* +Copyright 2019 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + // Assuming GOPATH is something like // ~/gopath // and this source file is located at diff --git a/plugin/someteam.example.com/v1/kvMaker.go b/plugin/someteam.example.com/v1/kvMaker.go index 584beb431..401a6e622 100644 --- a/plugin/someteam.example.com/v1/kvMaker.go +++ b/plugin/someteam.example.com/v1/kvMaker.go @@ -1,5 +1,21 @@ // +build plugin +/* +Copyright 2019 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main var database = map[string]string{