From b520a7b1c3fb29201f98e6c05b79bf858b0bfe1b Mon Sep 17 00:00:00 2001 From: Steve Wagner Date: Tue, 28 Mar 2023 15:17:55 -0700 Subject: [PATCH] Update Copyright notices --- cmd/nginx-k8s-loadbalancer/doc.go | 7 ++++--- cmd/nginx-k8s-loadbalancer/main.go | 7 ++++--- cmd/nginx-k8s-loadbalancer/main_test.go | 7 ++++--- doc.go | 7 ++++--- internal/communication/client.go | 7 ++++--- internal/communication/client_test.go | 7 ++++--- internal/communication/doc.go | 7 ++++--- internal/communication/roundtripper.go | 7 ++++--- internal/communication/roundtripper_test.go | 5 +++++ internal/configuration/doc.go | 7 ++++--- internal/configuration/settings.go | 7 ++++--- internal/core/events.go | 5 +++++ internal/core/events_test.go | 5 +++++ internal/observation/doc.go | 7 ++++--- internal/observation/handler.go | 7 ++++--- internal/observation/handler_test.go | 5 +++++ internal/observation/watcher.go | 7 ++++--- internal/observation/watcher_test.go | 7 ++++--- internal/probation/check.go | 7 ++++--- internal/probation/check_test.go | 7 ++++--- internal/probation/doc.go | 7 ++++--- internal/probation/server.go | 7 ++++--- internal/probation/server_test.go | 7 ++++--- internal/synchronization/doc.go | 7 ++++--- internal/synchronization/rand.go | 7 ++++--- internal/synchronization/synchronizer.go | 7 ++++--- internal/synchronization/synchronizer_test.go | 7 ++++--- internal/translation/doc.go | 7 ++++--- internal/translation/translator.go | 7 ++++--- internal/translation/translator_test.go | 7 ++++--- test/mocks/mock_check.go | 7 ++++--- test/mocks/mock_handler.go | 7 ++++--- test/mocks/mock_ratelimitinginterface.go | 7 ++++--- test/mocks/mock_responsewriter.go | 7 ++++--- test/mocks/mock_synchronizer.go | 7 ++++--- 35 files changed, 144 insertions(+), 93 deletions(-) diff --git a/cmd/nginx-k8s-loadbalancer/doc.go b/cmd/nginx-k8s-loadbalancer/doc.go index 502db3c..f6c7c35 100644 --- a/cmd/nginx-k8s-loadbalancer/doc.go +++ b/cmd/nginx-k8s-loadbalancer/doc.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ /* Package main includes the entrypoint for the nginx-k8s-loadbalancer. diff --git a/cmd/nginx-k8s-loadbalancer/main.go b/cmd/nginx-k8s-loadbalancer/main.go index f8ef3eb..c5891e2 100644 --- a/cmd/nginx-k8s-loadbalancer/main.go +++ b/cmd/nginx-k8s-loadbalancer/main.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package main diff --git a/cmd/nginx-k8s-loadbalancer/main_test.go b/cmd/nginx-k8s-loadbalancer/main_test.go index fabce3a..0f9c748 100644 --- a/cmd/nginx-k8s-loadbalancer/main_test.go +++ b/cmd/nginx-k8s-loadbalancer/main_test.go @@ -1,5 +1,6 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package main diff --git a/doc.go b/doc.go index 4e24ec1..7c97bd2 100644 --- a/doc.go +++ b/doc.go @@ -1,5 +1,6 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package kubernetes_nginx_ingress diff --git a/internal/communication/client.go b/internal/communication/client.go index 8694b50..09788fb 100644 --- a/internal/communication/client.go +++ b/internal/communication/client.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package communication diff --git a/internal/communication/client_test.go b/internal/communication/client_test.go index 9ecd3d1..2f3a82f 100644 --- a/internal/communication/client_test.go +++ b/internal/communication/client_test.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package communication diff --git a/internal/communication/doc.go b/internal/communication/doc.go index 9709df7..3cdef03 100644 --- a/internal/communication/doc.go +++ b/internal/communication/doc.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ /* Package communication contains helper methods / modules to support creating and configuring standard diff --git a/internal/communication/roundtripper.go b/internal/communication/roundtripper.go index 4c822ff..60affa3 100644 --- a/internal/communication/roundtripper.go +++ b/internal/communication/roundtripper.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package communication diff --git a/internal/communication/roundtripper_test.go b/internal/communication/roundtripper_test.go index 4e534d9..d28cf53 100644 --- a/internal/communication/roundtripper_test.go +++ b/internal/communication/roundtripper_test.go @@ -1,3 +1,8 @@ +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ + package communication import ( diff --git a/internal/configuration/doc.go b/internal/configuration/doc.go index d83781f..5998528 100644 --- a/internal/configuration/doc.go +++ b/internal/configuration/doc.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ /* Package config, application configuration. diff --git a/internal/configuration/settings.go b/internal/configuration/settings.go index e0eeaf1..bc1dc11 100644 --- a/internal/configuration/settings.go +++ b/internal/configuration/settings.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package configuration diff --git a/internal/core/events.go b/internal/core/events.go index 02ece51..ecfbbc5 100644 --- a/internal/core/events.go +++ b/internal/core/events.go @@ -1,3 +1,8 @@ +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ + package core import ( diff --git a/internal/core/events_test.go b/internal/core/events_test.go index 5c85b0b..d46118f 100644 --- a/internal/core/events_test.go +++ b/internal/core/events_test.go @@ -1,3 +1,8 @@ +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ + package core import ( diff --git a/internal/observation/doc.go b/internal/observation/doc.go index 5fd4855..f48968c 100644 --- a/internal/observation/doc.go +++ b/internal/observation/doc.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ /* Package observation includes functionality to add k8s event handlers to Ingress resources. diff --git a/internal/observation/handler.go b/internal/observation/handler.go index 53cbf69..16e1b63 100644 --- a/internal/observation/handler.go +++ b/internal/observation/handler.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package observation diff --git a/internal/observation/handler_test.go b/internal/observation/handler_test.go index e2e4f15..ad43431 100644 --- a/internal/observation/handler_test.go +++ b/internal/observation/handler_test.go @@ -1,3 +1,8 @@ +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ + package observation import ( diff --git a/internal/observation/watcher.go b/internal/observation/watcher.go index 876f43a..782a6e4 100644 --- a/internal/observation/watcher.go +++ b/internal/observation/watcher.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package observation diff --git a/internal/observation/watcher_test.go b/internal/observation/watcher_test.go index a3d810e..36d64ee 100644 --- a/internal/observation/watcher_test.go +++ b/internal/observation/watcher_test.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package observation diff --git a/internal/probation/check.go b/internal/probation/check.go index 8888146..88c3959 100644 --- a/internal/probation/check.go +++ b/internal/probation/check.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package probation diff --git a/internal/probation/check_test.go b/internal/probation/check_test.go index 59eb961..208c9a4 100644 --- a/internal/probation/check_test.go +++ b/internal/probation/check_test.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package probation diff --git a/internal/probation/doc.go b/internal/probation/doc.go index 90ac15a..24ee21a 100644 --- a/internal/probation/doc.go +++ b/internal/probation/doc.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ /* Package probation includes support for Kubernetes health and wellness checks. diff --git a/internal/probation/server.go b/internal/probation/server.go index 6c26fea..e5ed4a9 100644 --- a/internal/probation/server.go +++ b/internal/probation/server.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package probation diff --git a/internal/probation/server_test.go b/internal/probation/server_test.go index 77762fa..5888def 100644 --- a/internal/probation/server_test.go +++ b/internal/probation/server_test.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package probation diff --git a/internal/synchronization/doc.go b/internal/synchronization/doc.go index e6b4884..90f5602 100644 --- a/internal/synchronization/doc.go +++ b/internal/synchronization/doc.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ /* Package synchronization includes functionality to synchronize Ingress events to NGINX+ Configuration API commands. diff --git a/internal/synchronization/rand.go b/internal/synchronization/rand.go index 3733090..4d5903a 100644 --- a/internal/synchronization/rand.go +++ b/internal/synchronization/rand.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package synchronization diff --git a/internal/synchronization/synchronizer.go b/internal/synchronization/synchronizer.go index edf61d5..ecb0a62 100644 --- a/internal/synchronization/synchronizer.go +++ b/internal/synchronization/synchronizer.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package synchronization diff --git a/internal/synchronization/synchronizer_test.go b/internal/synchronization/synchronizer_test.go index b59c66f..4c1911e 100644 --- a/internal/synchronization/synchronizer_test.go +++ b/internal/synchronization/synchronizer_test.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package synchronization diff --git a/internal/translation/doc.go b/internal/translation/doc.go index 7c00de9..c9dc86c 100644 --- a/internal/translation/doc.go +++ b/internal/translation/doc.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ /* Package translation includes functionality to translate Ingress events to target system definitions. diff --git a/internal/translation/translator.go b/internal/translation/translator.go index 17650f4..0bd0e02 100644 --- a/internal/translation/translator.go +++ b/internal/translation/translator.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package translation diff --git a/internal/translation/translator_test.go b/internal/translation/translator_test.go index 8e3d709..bdf13b6 100644 --- a/internal/translation/translator_test.go +++ b/internal/translation/translator_test.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package translation diff --git a/test/mocks/mock_check.go b/test/mocks/mock_check.go index 17a4104..3075f1c 100644 --- a/test/mocks/mock_check.go +++ b/test/mocks/mock_check.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package mocks diff --git a/test/mocks/mock_handler.go b/test/mocks/mock_handler.go index b57b410..b854db9 100644 --- a/test/mocks/mock_handler.go +++ b/test/mocks/mock_handler.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package mocks diff --git a/test/mocks/mock_ratelimitinginterface.go b/test/mocks/mock_ratelimitinginterface.go index 0a15163..ee3ccd4 100644 --- a/test/mocks/mock_ratelimitinginterface.go +++ b/test/mocks/mock_ratelimitinginterface.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package mocks diff --git a/test/mocks/mock_responsewriter.go b/test/mocks/mock_responsewriter.go index f0876e1..042e0d1 100644 --- a/test/mocks/mock_responsewriter.go +++ b/test/mocks/mock_responsewriter.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package mocks diff --git a/test/mocks/mock_synchronizer.go b/test/mocks/mock_synchronizer.go index 6785837..8a3fa30 100644 --- a/test/mocks/mock_synchronizer.go +++ b/test/mocks/mock_synchronizer.go @@ -1,6 +1,7 @@ -// Copyright 2023 f5 Inc. All rights reserved. -// Use of this source code is governed by the Apache -// license that can be found in the LICENSE file. +/* + * Copyright 2023 F5 Inc. All rights reserved. + * Use of this source code is governed by the Apache License that can be found in the LICENSE file. + */ package mocks