diff --git a/cmd/flux/check_test.go b/cmd/flux/check_test.go index 464200a60bae2192264984f92f4cca11f3aa1cf0..c70d6b09342b7d380f12dd423321ee290cc5f4d8 100644 --- a/cmd/flux/check_test.go +++ b/cmd/flux/check_test.go @@ -1,5 +1,21 @@ // +build e2e +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/cmd/flux/create_source_git_test.go b/cmd/flux/create_source_git_test.go index 5558ff1faa1388162fa86c8e07ef92f7ffdcdcd2..943cbff360622a571a8eba432ec8e49d2ba862ee 100644 --- a/cmd/flux/create_source_git_test.go +++ b/cmd/flux/create_source_git_test.go @@ -1,5 +1,21 @@ // +build unit +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/cmd/flux/helmrelease_test.go b/cmd/flux/helmrelease_test.go index 56b59778fb2dece5255ec8d74e1bfe2a26307608..64f5c16411598845a38208c6bbf327cbc8a4da2d 100644 --- a/cmd/flux/helmrelease_test.go +++ b/cmd/flux/helmrelease_test.go @@ -1,5 +1,21 @@ // +build e2e +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import "testing" diff --git a/cmd/flux/kustomization_test.go b/cmd/flux/kustomization_test.go index 275a061d6395015cc7b93d3f3ca91a295d17d210..e997e451f079c5cbd4787fd54e5e95d9ec58839e 100644 --- a/cmd/flux/kustomization_test.go +++ b/cmd/flux/kustomization_test.go @@ -1,5 +1,21 @@ // +build e2e +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import "testing" diff --git a/cmd/flux/logs_test.go b/cmd/flux/logs_test.go index d682141038b926a1ff71e22f3d22c4f335a46b48..213e789f2d39e57a4355e02be6a82c2583766c8f 100644 --- a/cmd/flux/logs_test.go +++ b/cmd/flux/logs_test.go @@ -1,5 +1,21 @@ // +build unit +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/cmd/flux/main_e2e_test.go b/cmd/flux/main_e2e_test.go index 2a7f1e8ab43ed8b0bf83cb52be8d3a4d40653247..1e2c775ed8a1980e14793242b8366c5c1106db0f 100644 --- a/cmd/flux/main_e2e_test.go +++ b/cmd/flux/main_e2e_test.go @@ -1,5 +1,21 @@ // +build e2e +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/cmd/flux/main_test.go b/cmd/flux/main_test.go index f8e13165e33efa5c9f1889fd0a23c2b1b3bb55be..00ae4951bd834419f90d6719d7d214767e7d4251 100644 --- a/cmd/flux/main_test.go +++ b/cmd/flux/main_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/cmd/flux/main_unit_test.go b/cmd/flux/main_unit_test.go index 31de6b24f8bd1a6c1f974c9ff5517672a3a4c7dd..2b992ccee0756ba3332bcf861853f41354c80e70 100644 --- a/cmd/flux/main_unit_test.go +++ b/cmd/flux/main_unit_test.go @@ -1,5 +1,21 @@ // +build unit +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/cmd/flux/manifests.embed.go b/cmd/flux/manifests.embed.go index 3e5142eaf4b33d875f9d3a36c31d09e95f488ee4..e8229fcb4e1682136f4743951fb598404e2df8de 100644 --- a/cmd/flux/manifests.embed.go +++ b/cmd/flux/manifests.embed.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/internal/utils/apply.go b/internal/utils/apply.go index bc458863be655bdd44214284b6c1a58bd09273f1..db90d57258e4192107e228e6adc02ae83c22dae3 100644 --- a/internal/utils/apply.go +++ b/internal/utils/apply.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package utils import ( diff --git a/pkg/log/log.go b/pkg/log/log.go index 63b99a4962cedb28c9375ff2e1ce9b3ddcdd18a0..384aa370ec623156559e0e184ef866b79bc2d948 100644 --- a/pkg/log/log.go +++ b/pkg/log/log.go @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package log type Logger interface { diff --git a/tests/azure/azure_test.go b/tests/azure/azure_test.go index d29a569e62e52695e34ffa56eb8dbf0ec252dcb2..b264b41871909184fcf64f521280b10af0d9fd8a 100644 --- a/tests/azure/azure_test.go +++ b/tests/azure/azure_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package test import ( diff --git a/tests/azure/terraform.go b/tests/azure/terraform.go index 1667e12c552e6f805746d8a152e7617028167a81..ee6cd1561e1ae3ebcdd9e6d4162bacc9a0669d31 100644 --- a/tests/azure/terraform.go +++ b/tests/azure/terraform.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package test import ( diff --git a/tests/azure/util_test.go b/tests/azure/util_test.go index 769d4c4e73a59a75383cc10459c7bb6065c2c992..2eb7618879d71f038426676ad75bdc8b3607f270 100644 --- a/tests/azure/util_test.go +++ b/tests/azure/util_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2021 The Flux authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package test import (