From 55205821b1815cc7ad0c9c67538d69e0e81357a8 Mon Sep 17 00:00:00 2001 From: Camila Macedo Date: Wed, 28 Oct 2020 09:36:12 -0300 Subject: [PATCH] :bug: fix copyright info when has not owner set --- 1 | 156 ++++++++++++++++++ .../internal/templates/boilerplate.go | 4 + .../templates/config/hack/boilerplate.go | 19 +-- .../project-v2-addon/api/v1/admiral_types.go | 1 + .../project-v2-addon/api/v1/captain_types.go | 1 + .../api/v1/firstmate_types.go | 1 + .../api/v1/groupversion_info.go | 1 + .../api/v1/zz_generated.deepcopy.go | 1 + .../controllers/admiral_controller.go | 1 + .../controllers/captain_controller.go | 1 + .../controllers/firstmate_controller.go | 1 + .../controllers/suite_test.go | 1 + .../project-v2-addon/hack/boilerplate.go.txt | 1 + testdata/project-v2-addon/main.go | 1 + .../apis/crew/v1/captain_types.go | 1 + .../apis/crew/v1/captain_webhook.go | 1 + .../apis/crew/v1/groupversion_info.go | 1 + .../apis/crew/v1/zz_generated.deepcopy.go | 1 + .../apis/foo.policy/v1/groupversion_info.go | 1 + .../foo.policy/v1/healthcheckpolicy_types.go | 1 + .../foo.policy/v1/zz_generated.deepcopy.go | 1 + .../v1beta1/groupversion_info.go | 1 + .../sea-creatures/v1beta1/kraken_types.go | 1 + .../v1beta1/zz_generated.deepcopy.go | 1 + .../v1beta2/groupversion_info.go | 1 + .../sea-creatures/v1beta2/leviathan_types.go | 1 + .../v1beta2/zz_generated.deepcopy.go | 1 + .../apis/ship/v1/destroyer_types.go | 1 + .../apis/ship/v1/destroyer_webhook.go | 1 + .../apis/ship/v1/groupversion_info.go | 1 + .../apis/ship/v1/zz_generated.deepcopy.go | 1 + .../apis/ship/v1beta1/frigate_types.go | 1 + .../apis/ship/v1beta1/frigate_webhook.go | 1 + .../apis/ship/v1beta1/groupversion_info.go | 1 + .../ship/v1beta1/zz_generated.deepcopy.go | 1 + .../apis/ship/v2alpha1/cruiser_types.go | 1 + .../apis/ship/v2alpha1/cruiser_webhook.go | 1 + .../apis/ship/v2alpha1/groupversion_info.go | 1 + .../ship/v2alpha1/zz_generated.deepcopy.go | 1 + .../controllers/crew/captain_controller.go | 1 + .../controllers/crew/suite_test.go | 1 + .../healthcheckpolicy_controller.go | 1 + .../controllers/foo.policy/suite_test.go | 1 + .../sea-creatures/kraken_controller.go | 1 + .../sea-creatures/leviathan_controller.go | 1 + .../controllers/sea-creatures/suite_test.go | 1 + .../controllers/ship/cruiser_controller.go | 1 + .../controllers/ship/destroyer_controller.go | 1 + .../controllers/ship/frigate_controller.go | 1 + .../controllers/ship/suite_test.go | 1 + .../hack/boilerplate.go.txt | 1 + testdata/project-v2-multigroup/main.go | 1 + testdata/project-v2/api/v1/admiral_types.go | 1 + testdata/project-v2/api/v1/admiral_webhook.go | 1 + testdata/project-v2/api/v1/captain_types.go | 1 + testdata/project-v2/api/v1/captain_webhook.go | 1 + testdata/project-v2/api/v1/firstmate_types.go | 1 + .../project-v2/api/v1/firstmate_webhook.go | 1 + .../project-v2/api/v1/groupversion_info.go | 1 + .../api/v1/zz_generated.deepcopy.go | 1 + .../controllers/admiral_controller.go | 1 + .../controllers/captain_controller.go | 1 + .../controllers/firstmate_controller.go | 1 + testdata/project-v2/controllers/suite_test.go | 1 + testdata/project-v2/hack/boilerplate.go.txt | 1 + testdata/project-v2/main.go | 1 + .../project-v3-addon/api/v1/admiral_types.go | 3 +- .../project-v3-addon/api/v1/captain_types.go | 3 +- .../api/v1/firstmate_types.go | 3 +- .../api/v1/groupversion_info.go | 3 +- .../api/v1/zz_generated.deepcopy.go | 3 +- .../controllers/admiral_controller.go | 3 +- .../controllers/captain_controller.go | 3 +- .../controllers/firstmate_controller.go | 3 +- .../controllers/suite_test.go | 3 +- .../project-v3-addon/hack/boilerplate.go.txt | 3 +- testdata/project-v3-addon/main.go | 3 +- .../apis/crew/v1/captain_types.go | 3 +- .../apis/crew/v1/captain_webhook.go | 3 +- .../apis/crew/v1/groupversion_info.go | 3 +- .../apis/crew/v1/zz_generated.deepcopy.go | 3 +- .../apis/foo.policy/v1/groupversion_info.go | 3 +- .../foo.policy/v1/healthcheckpolicy_types.go | 3 +- .../foo.policy/v1/zz_generated.deepcopy.go | 3 +- .../v1beta1/groupversion_info.go | 3 +- .../sea-creatures/v1beta1/kraken_types.go | 3 +- .../v1beta1/zz_generated.deepcopy.go | 3 +- .../v1beta2/groupversion_info.go | 3 +- .../sea-creatures/v1beta2/leviathan_types.go | 3 +- .../v1beta2/zz_generated.deepcopy.go | 3 +- .../apis/ship/v1/destroyer_types.go | 3 +- .../apis/ship/v1/destroyer_webhook.go | 3 +- .../apis/ship/v1/groupversion_info.go | 3 +- .../apis/ship/v1/zz_generated.deepcopy.go | 3 +- .../apis/ship/v1beta1/frigate_types.go | 3 +- .../apis/ship/v1beta1/frigate_webhook.go | 3 +- .../apis/ship/v1beta1/groupversion_info.go | 3 +- .../ship/v1beta1/zz_generated.deepcopy.go | 3 +- .../apis/ship/v2alpha1/cruiser_types.go | 3 +- .../apis/ship/v2alpha1/cruiser_webhook.go | 3 +- .../apis/ship/v2alpha1/groupversion_info.go | 3 +- .../ship/v2alpha1/zz_generated.deepcopy.go | 3 +- .../apis/v1/groupversion_info.go | 3 +- .../apis/v1/lakers_types.go | 3 +- .../apis/v1/lakers_webhook.go | 3 +- .../apis/v1/zz_generated.deepcopy.go | 3 +- .../controllers/crew/captain_controller.go | 3 +- .../controllers/crew/suite_test.go | 3 +- .../healthcheckpolicy_controller.go | 3 +- .../controllers/foo.policy/suite_test.go | 3 +- .../controllers/lakers_controller.go | 3 +- .../sea-creatures/kraken_controller.go | 3 +- .../sea-creatures/leviathan_controller.go | 3 +- .../controllers/sea-creatures/suite_test.go | 3 +- .../controllers/ship/cruiser_controller.go | 3 +- .../controllers/ship/destroyer_controller.go | 3 +- .../controllers/ship/frigate_controller.go | 3 +- .../controllers/ship/suite_test.go | 3 +- .../controllers/suite_test.go | 3 +- .../hack/boilerplate.go.txt | 3 +- testdata/project-v3-multigroup/main.go | 3 +- testdata/project-v3/api/v1/admiral_types.go | 3 +- testdata/project-v3/api/v1/admiral_webhook.go | 3 +- testdata/project-v3/api/v1/captain_types.go | 3 +- testdata/project-v3/api/v1/captain_webhook.go | 3 +- testdata/project-v3/api/v1/firstmate_types.go | 3 +- .../project-v3/api/v1/firstmate_webhook.go | 3 +- .../project-v3/api/v1/groupversion_info.go | 3 +- .../api/v1/zz_generated.deepcopy.go | 3 +- .../controllers/admiral_controller.go | 3 +- .../controllers/captain_controller.go | 3 +- .../controllers/firstmate_controller.go | 3 +- testdata/project-v3/controllers/suite_test.go | 3 +- testdata/project-v3/hack/boilerplate.go.txt | 3 +- testdata/project-v3/main.go | 3 +- 135 files changed, 300 insertions(+), 149 deletions(-) create mode 100644 1 diff --git a/1 b/1 new file mode 100644 index 00000000000..842542dd1a5 --- /dev/null +++ b/1 @@ -0,0 +1,156 @@ +# This is a combination of 2 commits. +# This is the 1st commit message: + +:bug: fix copyright info when has not owner set + +# This is the commit message #2: + + +# Please enter the commit message for your changes. Lines starting +# with '#' will be ignored, and an empty message aborts the commit. +# +# Date: Wed Oct 28 09:36:12 2020 -0300 +# +# interactive rebase in progress; onto 30d9998e +# Last commands done (3 commands done): +# pick 1cd4e651 :bug: fix copyright info when has not owner set +# squash be2f2bee dd +# No commands remaining. +# You are currently rebasing branch 'fix-1620' on '30d9998e'. +# +# Changes to be committed: +# modified: pkg/plugin/v2/scaffolds/internal/templates/boilerplate.go +# modified: pkg/plugin/v3/scaffolds/internal/templates/config/hack/boilerplate.go +# modified: testdata/project-v2-addon/api/v1/admiral_types.go +# modified: testdata/project-v2-addon/api/v1/captain_types.go +# modified: testdata/project-v2-addon/api/v1/firstmate_types.go +# modified: testdata/project-v2-addon/api/v1/groupversion_info.go +# modified: testdata/project-v2-addon/api/v1/zz_generated.deepcopy.go +# modified: testdata/project-v2-addon/controllers/admiral_controller.go +# modified: testdata/project-v2-addon/controllers/captain_controller.go +# modified: testdata/project-v2-addon/controllers/firstmate_controller.go +# modified: testdata/project-v2-addon/controllers/suite_test.go +# modified: testdata/project-v2-addon/hack/boilerplate.go.txt +# modified: testdata/project-v2-addon/main.go +# modified: testdata/project-v2-multigroup/apis/crew/v1/captain_types.go +# modified: testdata/project-v2-multigroup/apis/crew/v1/captain_webhook.go +# modified: testdata/project-v2-multigroup/apis/crew/v1/groupversion_info.go +# modified: testdata/project-v2-multigroup/apis/crew/v1/zz_generated.deepcopy.go +# modified: testdata/project-v2-multigroup/apis/foo.policy/v1/groupversion_info.go +# modified: testdata/project-v2-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go +# modified: testdata/project-v2-multigroup/apis/foo.policy/v1/zz_generated.deepcopy.go +# modified: testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/groupversion_info.go +# modified: testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/kraken_types.go +# modified: testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/zz_generated.deepcopy.go +# modified: testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/groupversion_info.go +# modified: testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go +# modified: testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/zz_generated.deepcopy.go +# modified: testdata/project-v2-multigroup/apis/ship/v1/destroyer_types.go +# modified: testdata/project-v2-multigroup/apis/ship/v1/destroyer_webhook.go +# modified: testdata/project-v2-multigroup/apis/ship/v1/groupversion_info.go +# modified: testdata/project-v2-multigroup/apis/ship/v1/zz_generated.deepcopy.go +# modified: testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_types.go +# modified: testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_webhook.go +# modified: testdata/project-v2-multigroup/apis/ship/v1beta1/groupversion_info.go +# modified: testdata/project-v2-multigroup/apis/ship/v1beta1/zz_generated.deepcopy.go +# modified: testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_types.go +# modified: testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_webhook.go +# modified: testdata/project-v2-multigroup/apis/ship/v2alpha1/groupversion_info.go +# modified: testdata/project-v2-multigroup/apis/ship/v2alpha1/zz_generated.deepcopy.go +# modified: testdata/project-v2-multigroup/controllers/crew/captain_controller.go +# modified: testdata/project-v2-multigroup/controllers/crew/suite_test.go +# modified: testdata/project-v2-multigroup/controllers/foo.policy/healthcheckpolicy_controller.go +# modified: testdata/project-v2-multigroup/controllers/foo.policy/suite_test.go +# modified: testdata/project-v2-multigroup/controllers/sea-creatures/kraken_controller.go +# modified: testdata/project-v2-multigroup/controllers/sea-creatures/leviathan_controller.go +# modified: testdata/project-v2-multigroup/controllers/sea-creatures/suite_test.go +# modified: testdata/project-v2-multigroup/controllers/ship/cruiser_controller.go +# modified: testdata/project-v2-multigroup/controllers/ship/destroyer_controller.go +# modified: testdata/project-v2-multigroup/controllers/ship/frigate_controller.go +# modified: testdata/project-v2-multigroup/controllers/ship/suite_test.go +# modified: testdata/project-v2-multigroup/hack/boilerplate.go.txt +# modified: testdata/project-v2-multigroup/main.go +# modified: testdata/project-v2/api/v1/admiral_types.go +# modified: testdata/project-v2/api/v1/admiral_webhook.go +# modified: testdata/project-v2/api/v1/captain_types.go +# modified: testdata/project-v2/api/v1/captain_webhook.go +# modified: testdata/project-v2/api/v1/firstmate_types.go +# modified: testdata/project-v2/api/v1/firstmate_webhook.go +# modified: testdata/project-v2/api/v1/groupversion_info.go +# modified: testdata/project-v2/api/v1/zz_generated.deepcopy.go +# modified: testdata/project-v2/controllers/admiral_controller.go +# modified: testdata/project-v2/controllers/captain_controller.go +# modified: testdata/project-v2/controllers/firstmate_controller.go +# modified: testdata/project-v2/controllers/suite_test.go +# modified: testdata/project-v2/hack/boilerplate.go.txt +# modified: testdata/project-v2/main.go +# modified: testdata/project-v3-addon/api/v1/admiral_types.go +# modified: testdata/project-v3-addon/api/v1/captain_types.go +# modified: testdata/project-v3-addon/api/v1/firstmate_types.go +# modified: testdata/project-v3-addon/api/v1/groupversion_info.go +# modified: testdata/project-v3-addon/api/v1/zz_generated.deepcopy.go +# modified: testdata/project-v3-addon/controllers/admiral_controller.go +# modified: testdata/project-v3-addon/controllers/captain_controller.go +# modified: testdata/project-v3-addon/controllers/firstmate_controller.go +# modified: testdata/project-v3-addon/controllers/suite_test.go +# modified: testdata/project-v3-addon/hack/boilerplate.go.txt +# modified: testdata/project-v3-addon/main.go +# modified: testdata/project-v3-multigroup/apis/crew/v1/captain_types.go +# modified: testdata/project-v3-multigroup/apis/crew/v1/captain_webhook.go +# modified: testdata/project-v3-multigroup/apis/crew/v1/groupversion_info.go +# modified: testdata/project-v3-multigroup/apis/crew/v1/zz_generated.deepcopy.go +# modified: testdata/project-v3-multigroup/apis/foo.policy/v1/groupversion_info.go +# modified: testdata/project-v3-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go +# modified: testdata/project-v3-multigroup/apis/foo.policy/v1/zz_generated.deepcopy.go +# modified: testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/groupversion_info.go +# modified: testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/kraken_types.go +# modified: testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/zz_generated.deepcopy.go +# modified: testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/groupversion_info.go +# modified: testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go +# modified: testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/zz_generated.deepcopy.go +# modified: testdata/project-v3-multigroup/apis/ship/v1/destroyer_types.go +# modified: testdata/project-v3-multigroup/apis/ship/v1/destroyer_webhook.go +# modified: testdata/project-v3-multigroup/apis/ship/v1/groupversion_info.go +# modified: testdata/project-v3-multigroup/apis/ship/v1/zz_generated.deepcopy.go +# modified: testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_types.go +# modified: testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_webhook.go +# modified: testdata/project-v3-multigroup/apis/ship/v1beta1/groupversion_info.go +# modified: testdata/project-v3-multigroup/apis/ship/v1beta1/zz_generated.deepcopy.go +# modified: testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_types.go +# modified: testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_webhook.go +# modified: testdata/project-v3-multigroup/apis/ship/v2alpha1/groupversion_info.go +# modified: testdata/project-v3-multigroup/apis/ship/v2alpha1/zz_generated.deepcopy.go +# modified: testdata/project-v3-multigroup/apis/v1/groupversion_info.go +# modified: testdata/project-v3-multigroup/apis/v1/lakers_types.go +# modified: testdata/project-v3-multigroup/apis/v1/lakers_webhook.go +# modified: testdata/project-v3-multigroup/apis/v1/zz_generated.deepcopy.go +# modified: testdata/project-v3-multigroup/controllers/crew/captain_controller.go +# modified: testdata/project-v3-multigroup/controllers/crew/suite_test.go +# modified: testdata/project-v3-multigroup/controllers/foo.policy/healthcheckpolicy_controller.go +# modified: testdata/project-v3-multigroup/controllers/foo.policy/suite_test.go +# modified: testdata/project-v3-multigroup/controllers/lakers_controller.go +# modified: testdata/project-v3-multigroup/controllers/sea-creatures/kraken_controller.go +# modified: testdata/project-v3-multigroup/controllers/sea-creatures/leviathan_controller.go +# modified: testdata/project-v3-multigroup/controllers/sea-creatures/suite_test.go +# modified: testdata/project-v3-multigroup/controllers/ship/cruiser_controller.go +# modified: testdata/project-v3-multigroup/controllers/ship/destroyer_controller.go +# modified: testdata/project-v3-multigroup/controllers/ship/frigate_controller.go +# modified: testdata/project-v3-multigroup/controllers/ship/suite_test.go +# modified: testdata/project-v3-multigroup/controllers/suite_test.go +# modified: testdata/project-v3-multigroup/hack/boilerplate.go.txt +# modified: testdata/project-v3-multigroup/main.go +# modified: testdata/project-v3/api/v1/admiral_types.go +# modified: testdata/project-v3/api/v1/admiral_webhook.go +# modified: testdata/project-v3/api/v1/captain_types.go +# modified: testdata/project-v3/api/v1/captain_webhook.go +# modified: testdata/project-v3/api/v1/firstmate_types.go +# modified: testdata/project-v3/api/v1/firstmate_webhook.go +# modified: testdata/project-v3/api/v1/groupversion_info.go +# modified: testdata/project-v3/api/v1/zz_generated.deepcopy.go +# modified: testdata/project-v3/controllers/admiral_controller.go +# modified: testdata/project-v3/controllers/captain_controller.go +# modified: testdata/project-v3/controllers/firstmate_controller.go +# modified: testdata/project-v3/controllers/suite_test.go +# modified: testdata/project-v3/hack/boilerplate.go.txt +# modified: testdata/project-v3/main.go +# diff --git a/pkg/plugin/v2/scaffolds/internal/templates/boilerplate.go b/pkg/plugin/v2/scaffolds/internal/templates/boilerplate.go index fc53e1a3156..b0979a46d13 100644 --- a/pkg/plugin/v2/scaffolds/internal/templates/boilerplate.go +++ b/pkg/plugin/v2/scaffolds/internal/templates/boilerplate.go @@ -71,6 +71,8 @@ func (f *Boilerplate) SetTemplateDefaults() error { const apache = `/* {{ if .Owner -}} Copyright {{ .Year }} {{ .Owner }}. +{{ else }} +Copyright {{ .Year }}. {{- end }} Licensed under the Apache License, Version 2.0 (the "License"); @@ -89,5 +91,7 @@ limitations under the License. const none = `/* {{ if .Owner -}} Copyright {{ .Year }} {{ .Owner }}. +{{ else }} +Copyright {{ .Year }}. {{- end }} */` diff --git a/pkg/plugin/v3/scaffolds/internal/templates/config/hack/boilerplate.go b/pkg/plugin/v3/scaffolds/internal/templates/config/hack/boilerplate.go index 4518c1587d7..a954fbf2677 100644 --- a/pkg/plugin/v3/scaffolds/internal/templates/config/hack/boilerplate.go +++ b/pkg/plugin/v3/scaffolds/internal/templates/config/hack/boilerplate.go @@ -37,8 +37,8 @@ type Boilerplate struct { // Owner is the copyright owner - e.g. "The Kubernetes Authors" Owner string - // Year is the copyright year - Year string + // Copyright is data add in the License header + Copyright string } // SetTemplateDefaults implements input.Template @@ -47,8 +47,10 @@ func (f *Boilerplate) SetTemplateDefaults() error { f.Path = filepath.Join("hack", "boilerplate.go.txt") } - if f.Year == "" { - f.Year = fmt.Sprintf("%v", time.Now().Year()) + if f.Owner != "" { + f.Copyright = fmt.Sprintf("Copyright %v %v", time.Now().Year(), f.Owner) + } else { + f.Copyright = fmt.Sprintf("Copyright %v", time.Now().Year()) } // Boilerplate given @@ -69,10 +71,7 @@ func (f *Boilerplate) SetTemplateDefaults() error { } const apache = `/* -{{ if .Owner -}} -Copyright {{ .Year }} {{ .Owner }}. -{{- end }} - +{{ .Copyright }} 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 @@ -87,7 +86,5 @@ limitations under the License. */` const none = `/* -{{ if .Owner -}} -Copyright {{ .Year }} {{ .Owner }}. -{{- end }} +{{ .Copyright }} */` diff --git a/testdata/project-v2-addon/api/v1/admiral_types.go b/testdata/project-v2-addon/api/v1/admiral_types.go index 291f0d85d3b..d137518d460 100644 --- a/testdata/project-v2-addon/api/v1/admiral_types.go +++ b/testdata/project-v2-addon/api/v1/admiral_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-addon/api/v1/captain_types.go b/testdata/project-v2-addon/api/v1/captain_types.go index 6f41be850f2..879dde2e8e6 100644 --- a/testdata/project-v2-addon/api/v1/captain_types.go +++ b/testdata/project-v2-addon/api/v1/captain_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-addon/api/v1/firstmate_types.go b/testdata/project-v2-addon/api/v1/firstmate_types.go index f91458a5b14..d8e9fdf7e64 100644 --- a/testdata/project-v2-addon/api/v1/firstmate_types.go +++ b/testdata/project-v2-addon/api/v1/firstmate_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-addon/api/v1/groupversion_info.go b/testdata/project-v2-addon/api/v1/groupversion_info.go index 16821d46605..0a2723808d7 100644 --- a/testdata/project-v2-addon/api/v1/groupversion_info.go +++ b/testdata/project-v2-addon/api/v1/groupversion_info.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-addon/api/v1/zz_generated.deepcopy.go b/testdata/project-v2-addon/api/v1/zz_generated.deepcopy.go index 86eef8d4a66..31060a4ddc4 100644 --- a/testdata/project-v2-addon/api/v1/zz_generated.deepcopy.go +++ b/testdata/project-v2-addon/api/v1/zz_generated.deepcopy.go @@ -3,6 +3,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-addon/controllers/admiral_controller.go b/testdata/project-v2-addon/controllers/admiral_controller.go index 80a2c7f2c37..774f0881c5e 100644 --- a/testdata/project-v2-addon/controllers/admiral_controller.go +++ b/testdata/project-v2-addon/controllers/admiral_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-addon/controllers/captain_controller.go b/testdata/project-v2-addon/controllers/captain_controller.go index fc3bed7d8f7..e92550927c9 100644 --- a/testdata/project-v2-addon/controllers/captain_controller.go +++ b/testdata/project-v2-addon/controllers/captain_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-addon/controllers/firstmate_controller.go b/testdata/project-v2-addon/controllers/firstmate_controller.go index a20539ecca8..1b2e7fc2a35 100644 --- a/testdata/project-v2-addon/controllers/firstmate_controller.go +++ b/testdata/project-v2-addon/controllers/firstmate_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-addon/controllers/suite_test.go b/testdata/project-v2-addon/controllers/suite_test.go index 7a1e21d2a31..2c36d7842f8 100644 --- a/testdata/project-v2-addon/controllers/suite_test.go +++ b/testdata/project-v2-addon/controllers/suite_test.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-addon/hack/boilerplate.go.txt b/testdata/project-v2-addon/hack/boilerplate.go.txt index b75c7954b88..8de12360a49 100644 --- a/testdata/project-v2-addon/hack/boilerplate.go.txt +++ b/testdata/project-v2-addon/hack/boilerplate.go.txt @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-addon/main.go b/testdata/project-v2-addon/main.go index 7dd06f2b47c..7a7d193a258 100644 --- a/testdata/project-v2-addon/main.go +++ b/testdata/project-v2-addon/main.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/crew/v1/captain_types.go b/testdata/project-v2-multigroup/apis/crew/v1/captain_types.go index e2c00209e5d..ace7eac2df7 100644 --- a/testdata/project-v2-multigroup/apis/crew/v1/captain_types.go +++ b/testdata/project-v2-multigroup/apis/crew/v1/captain_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/crew/v1/captain_webhook.go b/testdata/project-v2-multigroup/apis/crew/v1/captain_webhook.go index 6f206e0f7e5..d2db2b652b4 100644 --- a/testdata/project-v2-multigroup/apis/crew/v1/captain_webhook.go +++ b/testdata/project-v2-multigroup/apis/crew/v1/captain_webhook.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/crew/v1/groupversion_info.go b/testdata/project-v2-multigroup/apis/crew/v1/groupversion_info.go index 16821d46605..0a2723808d7 100644 --- a/testdata/project-v2-multigroup/apis/crew/v1/groupversion_info.go +++ b/testdata/project-v2-multigroup/apis/crew/v1/groupversion_info.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/crew/v1/zz_generated.deepcopy.go b/testdata/project-v2-multigroup/apis/crew/v1/zz_generated.deepcopy.go index be62a68e8c3..5f53be7ce4b 100644 --- a/testdata/project-v2-multigroup/apis/crew/v1/zz_generated.deepcopy.go +++ b/testdata/project-v2-multigroup/apis/crew/v1/zz_generated.deepcopy.go @@ -3,6 +3,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/foo.policy/v1/groupversion_info.go b/testdata/project-v2-multigroup/apis/foo.policy/v1/groupversion_info.go index 5608d284538..3660dc59da9 100644 --- a/testdata/project-v2-multigroup/apis/foo.policy/v1/groupversion_info.go +++ b/testdata/project-v2-multigroup/apis/foo.policy/v1/groupversion_info.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go b/testdata/project-v2-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go index 0ca36dae0bd..322d0e36606 100644 --- a/testdata/project-v2-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go +++ b/testdata/project-v2-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/foo.policy/v1/zz_generated.deepcopy.go b/testdata/project-v2-multigroup/apis/foo.policy/v1/zz_generated.deepcopy.go index 95ae2daa6bb..76173918fb8 100644 --- a/testdata/project-v2-multigroup/apis/foo.policy/v1/zz_generated.deepcopy.go +++ b/testdata/project-v2-multigroup/apis/foo.policy/v1/zz_generated.deepcopy.go @@ -3,6 +3,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/groupversion_info.go b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/groupversion_info.go index 8126ea238b7..7f6182d4ab5 100644 --- a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/groupversion_info.go +++ b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/groupversion_info.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/kraken_types.go b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/kraken_types.go index 0edf5c6a61f..54719952a08 100644 --- a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/kraken_types.go +++ b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/kraken_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/zz_generated.deepcopy.go b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/zz_generated.deepcopy.go index 9ef217c7947..72d2e55c4ff 100644 --- a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/zz_generated.deepcopy.go +++ b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/zz_generated.deepcopy.go @@ -3,6 +3,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/groupversion_info.go b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/groupversion_info.go index e280a1ae97c..8bf310cbd28 100644 --- a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/groupversion_info.go +++ b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/groupversion_info.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go index 587ad25f55f..085578bb7f0 100644 --- a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go +++ b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/zz_generated.deepcopy.go b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/zz_generated.deepcopy.go index b6960c5d93b..5ce99155d5a 100644 --- a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/zz_generated.deepcopy.go +++ b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/zz_generated.deepcopy.go @@ -3,6 +3,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v1/destroyer_types.go b/testdata/project-v2-multigroup/apis/ship/v1/destroyer_types.go index c2153c98054..6e0ed696b1d 100644 --- a/testdata/project-v2-multigroup/apis/ship/v1/destroyer_types.go +++ b/testdata/project-v2-multigroup/apis/ship/v1/destroyer_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v1/destroyer_webhook.go b/testdata/project-v2-multigroup/apis/ship/v1/destroyer_webhook.go index 3fba6666a28..bea1d56dfcd 100644 --- a/testdata/project-v2-multigroup/apis/ship/v1/destroyer_webhook.go +++ b/testdata/project-v2-multigroup/apis/ship/v1/destroyer_webhook.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v1/groupversion_info.go b/testdata/project-v2-multigroup/apis/ship/v1/groupversion_info.go index 1cb2de6dd6a..fcc8c777d3d 100644 --- a/testdata/project-v2-multigroup/apis/ship/v1/groupversion_info.go +++ b/testdata/project-v2-multigroup/apis/ship/v1/groupversion_info.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v1/zz_generated.deepcopy.go b/testdata/project-v2-multigroup/apis/ship/v1/zz_generated.deepcopy.go index 8adc54549f2..646f803fcda 100644 --- a/testdata/project-v2-multigroup/apis/ship/v1/zz_generated.deepcopy.go +++ b/testdata/project-v2-multigroup/apis/ship/v1/zz_generated.deepcopy.go @@ -3,6 +3,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_types.go b/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_types.go index 6f392ba7a0d..31c9eeef660 100644 --- a/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_types.go +++ b/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_webhook.go b/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_webhook.go index 06327f54b3d..f0033ab1be1 100644 --- a/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_webhook.go +++ b/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_webhook.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v1beta1/groupversion_info.go b/testdata/project-v2-multigroup/apis/ship/v1beta1/groupversion_info.go index 09119c7cd7e..58766775582 100644 --- a/testdata/project-v2-multigroup/apis/ship/v1beta1/groupversion_info.go +++ b/testdata/project-v2-multigroup/apis/ship/v1beta1/groupversion_info.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v1beta1/zz_generated.deepcopy.go b/testdata/project-v2-multigroup/apis/ship/v1beta1/zz_generated.deepcopy.go index 5da84c8d477..33b485a5c55 100644 --- a/testdata/project-v2-multigroup/apis/ship/v1beta1/zz_generated.deepcopy.go +++ b/testdata/project-v2-multigroup/apis/ship/v1beta1/zz_generated.deepcopy.go @@ -3,6 +3,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_types.go b/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_types.go index 8d8f065d9f8..79c51463596 100644 --- a/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_types.go +++ b/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_webhook.go b/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_webhook.go index eeb241633e8..00c39a72691 100644 --- a/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_webhook.go +++ b/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_webhook.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v2alpha1/groupversion_info.go b/testdata/project-v2-multigroup/apis/ship/v2alpha1/groupversion_info.go index 93b6d3dc548..cde93fe7fcc 100644 --- a/testdata/project-v2-multigroup/apis/ship/v2alpha1/groupversion_info.go +++ b/testdata/project-v2-multigroup/apis/ship/v2alpha1/groupversion_info.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/apis/ship/v2alpha1/zz_generated.deepcopy.go b/testdata/project-v2-multigroup/apis/ship/v2alpha1/zz_generated.deepcopy.go index 2aa29fbd0c5..24b6a08af3b 100644 --- a/testdata/project-v2-multigroup/apis/ship/v2alpha1/zz_generated.deepcopy.go +++ b/testdata/project-v2-multigroup/apis/ship/v2alpha1/zz_generated.deepcopy.go @@ -3,6 +3,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/crew/captain_controller.go b/testdata/project-v2-multigroup/controllers/crew/captain_controller.go index 2c4125e68ae..906607cb93a 100644 --- a/testdata/project-v2-multigroup/controllers/crew/captain_controller.go +++ b/testdata/project-v2-multigroup/controllers/crew/captain_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/crew/suite_test.go b/testdata/project-v2-multigroup/controllers/crew/suite_test.go index a60ba01768e..329d34060b7 100644 --- a/testdata/project-v2-multigroup/controllers/crew/suite_test.go +++ b/testdata/project-v2-multigroup/controllers/crew/suite_test.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/foo.policy/healthcheckpolicy_controller.go b/testdata/project-v2-multigroup/controllers/foo.policy/healthcheckpolicy_controller.go index 99a54781c3d..677e52e634d 100644 --- a/testdata/project-v2-multigroup/controllers/foo.policy/healthcheckpolicy_controller.go +++ b/testdata/project-v2-multigroup/controllers/foo.policy/healthcheckpolicy_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/foo.policy/suite_test.go b/testdata/project-v2-multigroup/controllers/foo.policy/suite_test.go index aae53ef9e43..4012f6bd8b9 100644 --- a/testdata/project-v2-multigroup/controllers/foo.policy/suite_test.go +++ b/testdata/project-v2-multigroup/controllers/foo.policy/suite_test.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/sea-creatures/kraken_controller.go b/testdata/project-v2-multigroup/controllers/sea-creatures/kraken_controller.go index 750498d39ca..945ac3ac2f4 100644 --- a/testdata/project-v2-multigroup/controllers/sea-creatures/kraken_controller.go +++ b/testdata/project-v2-multigroup/controllers/sea-creatures/kraken_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/sea-creatures/leviathan_controller.go b/testdata/project-v2-multigroup/controllers/sea-creatures/leviathan_controller.go index dd32ce5d000..f05796d6557 100644 --- a/testdata/project-v2-multigroup/controllers/sea-creatures/leviathan_controller.go +++ b/testdata/project-v2-multigroup/controllers/sea-creatures/leviathan_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/sea-creatures/suite_test.go b/testdata/project-v2-multigroup/controllers/sea-creatures/suite_test.go index 333399337c4..ec3e8e0448a 100644 --- a/testdata/project-v2-multigroup/controllers/sea-creatures/suite_test.go +++ b/testdata/project-v2-multigroup/controllers/sea-creatures/suite_test.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/ship/cruiser_controller.go b/testdata/project-v2-multigroup/controllers/ship/cruiser_controller.go index f8b0d01d336..d96fb7b384b 100644 --- a/testdata/project-v2-multigroup/controllers/ship/cruiser_controller.go +++ b/testdata/project-v2-multigroup/controllers/ship/cruiser_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/ship/destroyer_controller.go b/testdata/project-v2-multigroup/controllers/ship/destroyer_controller.go index d2f07107b87..98f561bf357 100644 --- a/testdata/project-v2-multigroup/controllers/ship/destroyer_controller.go +++ b/testdata/project-v2-multigroup/controllers/ship/destroyer_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/ship/frigate_controller.go b/testdata/project-v2-multigroup/controllers/ship/frigate_controller.go index b9887cda17d..fbcb752526c 100644 --- a/testdata/project-v2-multigroup/controllers/ship/frigate_controller.go +++ b/testdata/project-v2-multigroup/controllers/ship/frigate_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/controllers/ship/suite_test.go b/testdata/project-v2-multigroup/controllers/ship/suite_test.go index bff73c3d2c0..43723d3d8bc 100644 --- a/testdata/project-v2-multigroup/controllers/ship/suite_test.go +++ b/testdata/project-v2-multigroup/controllers/ship/suite_test.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/hack/boilerplate.go.txt b/testdata/project-v2-multigroup/hack/boilerplate.go.txt index b75c7954b88..8de12360a49 100644 --- a/testdata/project-v2-multigroup/hack/boilerplate.go.txt +++ b/testdata/project-v2-multigroup/hack/boilerplate.go.txt @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2-multigroup/main.go b/testdata/project-v2-multigroup/main.go index c4572f3ffc0..e3114dffbb6 100644 --- a/testdata/project-v2-multigroup/main.go +++ b/testdata/project-v2-multigroup/main.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/api/v1/admiral_types.go b/testdata/project-v2/api/v1/admiral_types.go index ab0e80fc432..cbd2402edff 100644 --- a/testdata/project-v2/api/v1/admiral_types.go +++ b/testdata/project-v2/api/v1/admiral_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/api/v1/admiral_webhook.go b/testdata/project-v2/api/v1/admiral_webhook.go index 8add0a90b92..e8b6d25d764 100644 --- a/testdata/project-v2/api/v1/admiral_webhook.go +++ b/testdata/project-v2/api/v1/admiral_webhook.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/api/v1/captain_types.go b/testdata/project-v2/api/v1/captain_types.go index e2c00209e5d..ace7eac2df7 100644 --- a/testdata/project-v2/api/v1/captain_types.go +++ b/testdata/project-v2/api/v1/captain_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/api/v1/captain_webhook.go b/testdata/project-v2/api/v1/captain_webhook.go index 6f206e0f7e5..d2db2b652b4 100644 --- a/testdata/project-v2/api/v1/captain_webhook.go +++ b/testdata/project-v2/api/v1/captain_webhook.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/api/v1/firstmate_types.go b/testdata/project-v2/api/v1/firstmate_types.go index b3509c629dc..87b1c76b310 100644 --- a/testdata/project-v2/api/v1/firstmate_types.go +++ b/testdata/project-v2/api/v1/firstmate_types.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/api/v1/firstmate_webhook.go b/testdata/project-v2/api/v1/firstmate_webhook.go index 703a865c107..eee65be345a 100644 --- a/testdata/project-v2/api/v1/firstmate_webhook.go +++ b/testdata/project-v2/api/v1/firstmate_webhook.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/api/v1/groupversion_info.go b/testdata/project-v2/api/v1/groupversion_info.go index 16821d46605..0a2723808d7 100644 --- a/testdata/project-v2/api/v1/groupversion_info.go +++ b/testdata/project-v2/api/v1/groupversion_info.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/api/v1/zz_generated.deepcopy.go b/testdata/project-v2/api/v1/zz_generated.deepcopy.go index 7015b52ea8e..2a10a58b8c9 100644 --- a/testdata/project-v2/api/v1/zz_generated.deepcopy.go +++ b/testdata/project-v2/api/v1/zz_generated.deepcopy.go @@ -3,6 +3,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/controllers/admiral_controller.go b/testdata/project-v2/controllers/admiral_controller.go index c3fe66835e0..604edc90c0c 100644 --- a/testdata/project-v2/controllers/admiral_controller.go +++ b/testdata/project-v2/controllers/admiral_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/controllers/captain_controller.go b/testdata/project-v2/controllers/captain_controller.go index 167cd8e06f0..4a85c519f7f 100644 --- a/testdata/project-v2/controllers/captain_controller.go +++ b/testdata/project-v2/controllers/captain_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/controllers/firstmate_controller.go b/testdata/project-v2/controllers/firstmate_controller.go index e9517f3dcc8..81392418bfc 100644 --- a/testdata/project-v2/controllers/firstmate_controller.go +++ b/testdata/project-v2/controllers/firstmate_controller.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/controllers/suite_test.go b/testdata/project-v2/controllers/suite_test.go index 3567d134501..dbfc101b600 100644 --- a/testdata/project-v2/controllers/suite_test.go +++ b/testdata/project-v2/controllers/suite_test.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/hack/boilerplate.go.txt b/testdata/project-v2/hack/boilerplate.go.txt index b75c7954b88..8de12360a49 100644 --- a/testdata/project-v2/hack/boilerplate.go.txt +++ b/testdata/project-v2/hack/boilerplate.go.txt @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v2/main.go b/testdata/project-v2/main.go index 9f3a99aa5ce..50d97300353 100644 --- a/testdata/project-v2/main.go +++ b/testdata/project-v2/main.go @@ -1,6 +1,7 @@ /* Copyright 2020 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 diff --git a/testdata/project-v3-addon/api/v1/admiral_types.go b/testdata/project-v3-addon/api/v1/admiral_types.go index 291f0d85d3b..9f4694d4d93 100644 --- a/testdata/project-v3-addon/api/v1/admiral_types.go +++ b/testdata/project-v3-addon/api/v1/admiral_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-addon/api/v1/captain_types.go b/testdata/project-v3-addon/api/v1/captain_types.go index 6f41be850f2..a4479dbbb41 100644 --- a/testdata/project-v3-addon/api/v1/captain_types.go +++ b/testdata/project-v3-addon/api/v1/captain_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-addon/api/v1/firstmate_types.go b/testdata/project-v3-addon/api/v1/firstmate_types.go index f91458a5b14..5bbcce66a60 100644 --- a/testdata/project-v3-addon/api/v1/firstmate_types.go +++ b/testdata/project-v3-addon/api/v1/firstmate_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-addon/api/v1/groupversion_info.go b/testdata/project-v3-addon/api/v1/groupversion_info.go index 16821d46605..ccd72f92e1b 100644 --- a/testdata/project-v3-addon/api/v1/groupversion_info.go +++ b/testdata/project-v3-addon/api/v1/groupversion_info.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-addon/api/v1/zz_generated.deepcopy.go b/testdata/project-v3-addon/api/v1/zz_generated.deepcopy.go index 86eef8d4a66..4968f941c0a 100644 --- a/testdata/project-v3-addon/api/v1/zz_generated.deepcopy.go +++ b/testdata/project-v3-addon/api/v1/zz_generated.deepcopy.go @@ -1,8 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-addon/controllers/admiral_controller.go b/testdata/project-v3-addon/controllers/admiral_controller.go index 938c7657ad8..e659d0a79ad 100644 --- a/testdata/project-v3-addon/controllers/admiral_controller.go +++ b/testdata/project-v3-addon/controllers/admiral_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-addon/controllers/captain_controller.go b/testdata/project-v3-addon/controllers/captain_controller.go index aa5817763bf..8e076b5b39e 100644 --- a/testdata/project-v3-addon/controllers/captain_controller.go +++ b/testdata/project-v3-addon/controllers/captain_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-addon/controllers/firstmate_controller.go b/testdata/project-v3-addon/controllers/firstmate_controller.go index cf8a7182569..6f707a58a02 100644 --- a/testdata/project-v3-addon/controllers/firstmate_controller.go +++ b/testdata/project-v3-addon/controllers/firstmate_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-addon/controllers/suite_test.go b/testdata/project-v3-addon/controllers/suite_test.go index 3c600ebd2d6..8c8e1b40ed1 100644 --- a/testdata/project-v3-addon/controllers/suite_test.go +++ b/testdata/project-v3-addon/controllers/suite_test.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-addon/hack/boilerplate.go.txt b/testdata/project-v3-addon/hack/boilerplate.go.txt index b75c7954b88..1ad0e41130f 100644 --- a/testdata/project-v3-addon/hack/boilerplate.go.txt +++ b/testdata/project-v3-addon/hack/boilerplate.go.txt @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-addon/main.go b/testdata/project-v3-addon/main.go index b5f0dac2750..0ebeb0f3897 100644 --- a/testdata/project-v3-addon/main.go +++ b/testdata/project-v3-addon/main.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/crew/v1/captain_types.go b/testdata/project-v3-multigroup/apis/crew/v1/captain_types.go index e2c00209e5d..26bd26ba224 100644 --- a/testdata/project-v3-multigroup/apis/crew/v1/captain_types.go +++ b/testdata/project-v3-multigroup/apis/crew/v1/captain_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/crew/v1/captain_webhook.go b/testdata/project-v3-multigroup/apis/crew/v1/captain_webhook.go index 6f206e0f7e5..4098e9dbdc7 100644 --- a/testdata/project-v3-multigroup/apis/crew/v1/captain_webhook.go +++ b/testdata/project-v3-multigroup/apis/crew/v1/captain_webhook.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/crew/v1/groupversion_info.go b/testdata/project-v3-multigroup/apis/crew/v1/groupversion_info.go index 16821d46605..ccd72f92e1b 100644 --- a/testdata/project-v3-multigroup/apis/crew/v1/groupversion_info.go +++ b/testdata/project-v3-multigroup/apis/crew/v1/groupversion_info.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/crew/v1/zz_generated.deepcopy.go b/testdata/project-v3-multigroup/apis/crew/v1/zz_generated.deepcopy.go index be62a68e8c3..5d634e16c3c 100644 --- a/testdata/project-v3-multigroup/apis/crew/v1/zz_generated.deepcopy.go +++ b/testdata/project-v3-multigroup/apis/crew/v1/zz_generated.deepcopy.go @@ -1,8 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/foo.policy/v1/groupversion_info.go b/testdata/project-v3-multigroup/apis/foo.policy/v1/groupversion_info.go index 5608d284538..79721940ac7 100644 --- a/testdata/project-v3-multigroup/apis/foo.policy/v1/groupversion_info.go +++ b/testdata/project-v3-multigroup/apis/foo.policy/v1/groupversion_info.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go b/testdata/project-v3-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go index 0ca36dae0bd..4d3d1895a9d 100644 --- a/testdata/project-v3-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go +++ b/testdata/project-v3-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/foo.policy/v1/zz_generated.deepcopy.go b/testdata/project-v3-multigroup/apis/foo.policy/v1/zz_generated.deepcopy.go index 95ae2daa6bb..2875df58cb1 100644 --- a/testdata/project-v3-multigroup/apis/foo.policy/v1/zz_generated.deepcopy.go +++ b/testdata/project-v3-multigroup/apis/foo.policy/v1/zz_generated.deepcopy.go @@ -1,8 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/groupversion_info.go b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/groupversion_info.go index 8126ea238b7..0b9ed01afb4 100644 --- a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/groupversion_info.go +++ b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/groupversion_info.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/kraken_types.go b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/kraken_types.go index 0edf5c6a61f..d284f71b805 100644 --- a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/kraken_types.go +++ b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/kraken_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/zz_generated.deepcopy.go b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/zz_generated.deepcopy.go index 9ef217c7947..85b80122f4b 100644 --- a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/zz_generated.deepcopy.go +++ b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/zz_generated.deepcopy.go @@ -1,8 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/groupversion_info.go b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/groupversion_info.go index e280a1ae97c..0bbb8842893 100644 --- a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/groupversion_info.go +++ b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/groupversion_info.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go index 587ad25f55f..51e03da1c99 100644 --- a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go +++ b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/zz_generated.deepcopy.go b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/zz_generated.deepcopy.go index b6960c5d93b..d52a7a794fd 100644 --- a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/zz_generated.deepcopy.go +++ b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/zz_generated.deepcopy.go @@ -1,8 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v1/destroyer_types.go b/testdata/project-v3-multigroup/apis/ship/v1/destroyer_types.go index c2153c98054..37c744cc02d 100644 --- a/testdata/project-v3-multigroup/apis/ship/v1/destroyer_types.go +++ b/testdata/project-v3-multigroup/apis/ship/v1/destroyer_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v1/destroyer_webhook.go b/testdata/project-v3-multigroup/apis/ship/v1/destroyer_webhook.go index 3fba6666a28..da337ae59a8 100644 --- a/testdata/project-v3-multigroup/apis/ship/v1/destroyer_webhook.go +++ b/testdata/project-v3-multigroup/apis/ship/v1/destroyer_webhook.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v1/groupversion_info.go b/testdata/project-v3-multigroup/apis/ship/v1/groupversion_info.go index 1cb2de6dd6a..aa91fdf3763 100644 --- a/testdata/project-v3-multigroup/apis/ship/v1/groupversion_info.go +++ b/testdata/project-v3-multigroup/apis/ship/v1/groupversion_info.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v1/zz_generated.deepcopy.go b/testdata/project-v3-multigroup/apis/ship/v1/zz_generated.deepcopy.go index 8adc54549f2..820b2483be2 100644 --- a/testdata/project-v3-multigroup/apis/ship/v1/zz_generated.deepcopy.go +++ b/testdata/project-v3-multigroup/apis/ship/v1/zz_generated.deepcopy.go @@ -1,8 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_types.go b/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_types.go index 6f392ba7a0d..70a7add20db 100644 --- a/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_types.go +++ b/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_webhook.go b/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_webhook.go index 06327f54b3d..3830e24f723 100644 --- a/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_webhook.go +++ b/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_webhook.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v1beta1/groupversion_info.go b/testdata/project-v3-multigroup/apis/ship/v1beta1/groupversion_info.go index 09119c7cd7e..79f331d74ae 100644 --- a/testdata/project-v3-multigroup/apis/ship/v1beta1/groupversion_info.go +++ b/testdata/project-v3-multigroup/apis/ship/v1beta1/groupversion_info.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v1beta1/zz_generated.deepcopy.go b/testdata/project-v3-multigroup/apis/ship/v1beta1/zz_generated.deepcopy.go index 5da84c8d477..65b11d5a7a3 100644 --- a/testdata/project-v3-multigroup/apis/ship/v1beta1/zz_generated.deepcopy.go +++ b/testdata/project-v3-multigroup/apis/ship/v1beta1/zz_generated.deepcopy.go @@ -1,8 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_types.go b/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_types.go index 8d8f065d9f8..1fe48d7c71c 100644 --- a/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_types.go +++ b/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_webhook.go b/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_webhook.go index eeb241633e8..706a21d82ef 100644 --- a/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_webhook.go +++ b/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_webhook.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v2alpha1/groupversion_info.go b/testdata/project-v3-multigroup/apis/ship/v2alpha1/groupversion_info.go index 93b6d3dc548..933a5656d30 100644 --- a/testdata/project-v3-multigroup/apis/ship/v2alpha1/groupversion_info.go +++ b/testdata/project-v3-multigroup/apis/ship/v2alpha1/groupversion_info.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/ship/v2alpha1/zz_generated.deepcopy.go b/testdata/project-v3-multigroup/apis/ship/v2alpha1/zz_generated.deepcopy.go index 2aa29fbd0c5..14d7137362b 100644 --- a/testdata/project-v3-multigroup/apis/ship/v2alpha1/zz_generated.deepcopy.go +++ b/testdata/project-v3-multigroup/apis/ship/v2alpha1/zz_generated.deepcopy.go @@ -1,8 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/v1/groupversion_info.go b/testdata/project-v3-multigroup/apis/v1/groupversion_info.go index 5ae47f26fb7..1ac901e78cc 100644 --- a/testdata/project-v3-multigroup/apis/v1/groupversion_info.go +++ b/testdata/project-v3-multigroup/apis/v1/groupversion_info.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/v1/lakers_types.go b/testdata/project-v3-multigroup/apis/v1/lakers_types.go index 8c5c43a368c..fa4a59ea4c6 100644 --- a/testdata/project-v3-multigroup/apis/v1/lakers_types.go +++ b/testdata/project-v3-multigroup/apis/v1/lakers_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/v1/lakers_webhook.go b/testdata/project-v3-multigroup/apis/v1/lakers_webhook.go index c026c70cadd..b5499731628 100644 --- a/testdata/project-v3-multigroup/apis/v1/lakers_webhook.go +++ b/testdata/project-v3-multigroup/apis/v1/lakers_webhook.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/apis/v1/zz_generated.deepcopy.go b/testdata/project-v3-multigroup/apis/v1/zz_generated.deepcopy.go index 40fd14b7d9e..cb9726a1962 100644 --- a/testdata/project-v3-multigroup/apis/v1/zz_generated.deepcopy.go +++ b/testdata/project-v3-multigroup/apis/v1/zz_generated.deepcopy.go @@ -1,8 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/crew/captain_controller.go b/testdata/project-v3-multigroup/controllers/crew/captain_controller.go index 0e8460e46f0..4ab94dda294 100644 --- a/testdata/project-v3-multigroup/controllers/crew/captain_controller.go +++ b/testdata/project-v3-multigroup/controllers/crew/captain_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/crew/suite_test.go b/testdata/project-v3-multigroup/controllers/crew/suite_test.go index d564b56c321..45a0e2f3286 100644 --- a/testdata/project-v3-multigroup/controllers/crew/suite_test.go +++ b/testdata/project-v3-multigroup/controllers/crew/suite_test.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/foo.policy/healthcheckpolicy_controller.go b/testdata/project-v3-multigroup/controllers/foo.policy/healthcheckpolicy_controller.go index 69fdb4ec09d..87280923d67 100644 --- a/testdata/project-v3-multigroup/controllers/foo.policy/healthcheckpolicy_controller.go +++ b/testdata/project-v3-multigroup/controllers/foo.policy/healthcheckpolicy_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/foo.policy/suite_test.go b/testdata/project-v3-multigroup/controllers/foo.policy/suite_test.go index 82e3a82065d..27d4f2bfd35 100644 --- a/testdata/project-v3-multigroup/controllers/foo.policy/suite_test.go +++ b/testdata/project-v3-multigroup/controllers/foo.policy/suite_test.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/lakers_controller.go b/testdata/project-v3-multigroup/controllers/lakers_controller.go index bce4c586208..a469ecd607a 100644 --- a/testdata/project-v3-multigroup/controllers/lakers_controller.go +++ b/testdata/project-v3-multigroup/controllers/lakers_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/sea-creatures/kraken_controller.go b/testdata/project-v3-multigroup/controllers/sea-creatures/kraken_controller.go index 6eafe139a64..b62ba76a613 100644 --- a/testdata/project-v3-multigroup/controllers/sea-creatures/kraken_controller.go +++ b/testdata/project-v3-multigroup/controllers/sea-creatures/kraken_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/sea-creatures/leviathan_controller.go b/testdata/project-v3-multigroup/controllers/sea-creatures/leviathan_controller.go index ef3b098493c..996525eac7a 100644 --- a/testdata/project-v3-multigroup/controllers/sea-creatures/leviathan_controller.go +++ b/testdata/project-v3-multigroup/controllers/sea-creatures/leviathan_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/sea-creatures/suite_test.go b/testdata/project-v3-multigroup/controllers/sea-creatures/suite_test.go index 5331f324876..159fb93e29a 100644 --- a/testdata/project-v3-multigroup/controllers/sea-creatures/suite_test.go +++ b/testdata/project-v3-multigroup/controllers/sea-creatures/suite_test.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/ship/cruiser_controller.go b/testdata/project-v3-multigroup/controllers/ship/cruiser_controller.go index 6f6ca3acb51..3b045f58bae 100644 --- a/testdata/project-v3-multigroup/controllers/ship/cruiser_controller.go +++ b/testdata/project-v3-multigroup/controllers/ship/cruiser_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/ship/destroyer_controller.go b/testdata/project-v3-multigroup/controllers/ship/destroyer_controller.go index 620deef660f..189b498998b 100644 --- a/testdata/project-v3-multigroup/controllers/ship/destroyer_controller.go +++ b/testdata/project-v3-multigroup/controllers/ship/destroyer_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/ship/frigate_controller.go b/testdata/project-v3-multigroup/controllers/ship/frigate_controller.go index 30900eb3a12..9c2e2a3ab0e 100644 --- a/testdata/project-v3-multigroup/controllers/ship/frigate_controller.go +++ b/testdata/project-v3-multigroup/controllers/ship/frigate_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/ship/suite_test.go b/testdata/project-v3-multigroup/controllers/ship/suite_test.go index 8eceb3a92b7..2f05a26e044 100644 --- a/testdata/project-v3-multigroup/controllers/ship/suite_test.go +++ b/testdata/project-v3-multigroup/controllers/ship/suite_test.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/controllers/suite_test.go b/testdata/project-v3-multigroup/controllers/suite_test.go index 2268aac80a6..2a42152e8eb 100644 --- a/testdata/project-v3-multigroup/controllers/suite_test.go +++ b/testdata/project-v3-multigroup/controllers/suite_test.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/hack/boilerplate.go.txt b/testdata/project-v3-multigroup/hack/boilerplate.go.txt index b75c7954b88..1ad0e41130f 100644 --- a/testdata/project-v3-multigroup/hack/boilerplate.go.txt +++ b/testdata/project-v3-multigroup/hack/boilerplate.go.txt @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3-multigroup/main.go b/testdata/project-v3-multigroup/main.go index 0e8f542e4cf..012808eab19 100644 --- a/testdata/project-v3-multigroup/main.go +++ b/testdata/project-v3-multigroup/main.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/api/v1/admiral_types.go b/testdata/project-v3/api/v1/admiral_types.go index ab0e80fc432..26c61d47a54 100644 --- a/testdata/project-v3/api/v1/admiral_types.go +++ b/testdata/project-v3/api/v1/admiral_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/api/v1/admiral_webhook.go b/testdata/project-v3/api/v1/admiral_webhook.go index 8add0a90b92..a41285b85c4 100644 --- a/testdata/project-v3/api/v1/admiral_webhook.go +++ b/testdata/project-v3/api/v1/admiral_webhook.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/api/v1/captain_types.go b/testdata/project-v3/api/v1/captain_types.go index e2c00209e5d..26bd26ba224 100644 --- a/testdata/project-v3/api/v1/captain_types.go +++ b/testdata/project-v3/api/v1/captain_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/api/v1/captain_webhook.go b/testdata/project-v3/api/v1/captain_webhook.go index 6f206e0f7e5..4098e9dbdc7 100644 --- a/testdata/project-v3/api/v1/captain_webhook.go +++ b/testdata/project-v3/api/v1/captain_webhook.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/api/v1/firstmate_types.go b/testdata/project-v3/api/v1/firstmate_types.go index b3509c629dc..af7fa860f95 100644 --- a/testdata/project-v3/api/v1/firstmate_types.go +++ b/testdata/project-v3/api/v1/firstmate_types.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/api/v1/firstmate_webhook.go b/testdata/project-v3/api/v1/firstmate_webhook.go index 703a865c107..a190752be61 100644 --- a/testdata/project-v3/api/v1/firstmate_webhook.go +++ b/testdata/project-v3/api/v1/firstmate_webhook.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/api/v1/groupversion_info.go b/testdata/project-v3/api/v1/groupversion_info.go index 16821d46605..ccd72f92e1b 100644 --- a/testdata/project-v3/api/v1/groupversion_info.go +++ b/testdata/project-v3/api/v1/groupversion_info.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/api/v1/zz_generated.deepcopy.go b/testdata/project-v3/api/v1/zz_generated.deepcopy.go index 7015b52ea8e..92731f4629f 100644 --- a/testdata/project-v3/api/v1/zz_generated.deepcopy.go +++ b/testdata/project-v3/api/v1/zz_generated.deepcopy.go @@ -1,8 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/controllers/admiral_controller.go b/testdata/project-v3/controllers/admiral_controller.go index a104c125133..7d5485892cb 100644 --- a/testdata/project-v3/controllers/admiral_controller.go +++ b/testdata/project-v3/controllers/admiral_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/controllers/captain_controller.go b/testdata/project-v3/controllers/captain_controller.go index 5e9c927135d..f467ad5d795 100644 --- a/testdata/project-v3/controllers/captain_controller.go +++ b/testdata/project-v3/controllers/captain_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/controllers/firstmate_controller.go b/testdata/project-v3/controllers/firstmate_controller.go index 6d53a7f6134..52834a85f6e 100644 --- a/testdata/project-v3/controllers/firstmate_controller.go +++ b/testdata/project-v3/controllers/firstmate_controller.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/controllers/suite_test.go b/testdata/project-v3/controllers/suite_test.go index 0e1020cb400..4deee207477 100644 --- a/testdata/project-v3/controllers/suite_test.go +++ b/testdata/project-v3/controllers/suite_test.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/hack/boilerplate.go.txt b/testdata/project-v3/hack/boilerplate.go.txt index b75c7954b88..1ad0e41130f 100644 --- a/testdata/project-v3/hack/boilerplate.go.txt +++ b/testdata/project-v3/hack/boilerplate.go.txt @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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 diff --git a/testdata/project-v3/main.go b/testdata/project-v3/main.go index 99e4bfa9d41..33832710f3e 100644 --- a/testdata/project-v3/main.go +++ b/testdata/project-v3/main.go @@ -1,6 +1,5 @@ /* -Copyright 2020 The Kubernetes authors. - +Copyright 2020 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