diff --git a/main.go b/main.go index df6a794f8..a3ff75781 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package main import ( @@ -70,7 +77,7 @@ func main() { sdkGRPC.InitMeta(loadedConfig.ClientID, loadedConfig.CloudAccountID) controller, commander, reporter := createGrpcClients(ctx, loadedConfig) - + if controller != nil { if err := controller.Connect(); err != nil { log.Warnf("Unable to connect to control plane: %v", err) @@ -135,7 +142,7 @@ func handleSignals( } func connectionUnavilable(loadedConfig *config.Config) bool { - return loadedConfig.Server.Host == "" || loadedConfig.Server.GrpcPort == 0 + return loadedConfig.Server.Host == "" || loadedConfig.Server.GrpcPort == 0 } func createGrpcClients(ctx context.Context, loadedConfig *config.Config) (client.Controller, client.Commander, client.MetricReporter) { @@ -143,7 +150,7 @@ func createGrpcClients(ctx context.Context, loadedConfig *config.Config) (client log.Infof("GRPC clients not created") return nil, nil, nil } - + grpcDialOptions := setDialOptions(loadedConfig) secureMetricsDialOpts, err := sdkGRPC.SecureDialOptions( loadedConfig.TLS.Enable, diff --git a/sdk/agent/config/config_helpers.go b/sdk/agent/config/config_helpers.go index 62e6492b5..7d78fb8f0 100644 --- a/sdk/agent/config/config_helpers.go +++ b/sdk/agent/config/config_helpers.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config const ( diff --git a/sdk/backoff.go b/sdk/backoff.go index 0d6ca185d..939d8a1c7 100644 --- a/sdk/backoff.go +++ b/sdk/backoff.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/sdk/backoff_test.go b/sdk/backoff_test.go index b26e94fae..b8dae6b30 100644 --- a/sdk/backoff_test.go +++ b/sdk/backoff_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/sdk/certificates.go b/sdk/certificates.go index b5c2aae4b..0d13a03c5 100644 --- a/sdk/certificates.go +++ b/sdk/certificates.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/sdk/certificates_test.go b/sdk/certificates_test.go index 2e9457656..120a54575 100644 --- a/sdk/certificates_test.go +++ b/sdk/certificates_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/sdk/checksum/checksum.go b/sdk/checksum/checksum.go index 006dfe48c..627afab04 100644 --- a/sdk/checksum/checksum.go +++ b/sdk/checksum/checksum.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package checksum import ( diff --git a/sdk/checksum/checksum_test.go b/sdk/checksum/checksum_test.go index 0ad746a6e..dad0103af 100644 --- a/sdk/checksum/checksum_test.go +++ b/sdk/checksum/checksum_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package checksum import ( diff --git a/sdk/client/client.go b/sdk/client/client.go index b96e62030..7922328bd 100644 --- a/sdk/client/client.go +++ b/sdk/client/client.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + //go:generate enumer -type=MsgClassification -text -yaml -json -transform=snake -trimprefix=MsgClassification package client diff --git a/sdk/client/commander.go b/sdk/client/commander.go index e2afc59c2..6f8be3f2c 100644 --- a/sdk/client/commander.go +++ b/sdk/client/commander.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/client/commander_mock_test.go b/sdk/client/commander_mock_test.go index 845f8f4b8..c9e649128 100644 --- a/sdk/client/commander_mock_test.go +++ b/sdk/client/commander_mock_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/client/commander_test.go b/sdk/client/commander_test.go index 376dea1f9..0b08ea988 100644 --- a/sdk/client/commander_test.go +++ b/sdk/client/commander_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/client/connect.go b/sdk/client/connect.go index 8d6bc1ac9..85114e12f 100644 --- a/sdk/client/connect.go +++ b/sdk/client/connect.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/client/controller.go b/sdk/client/controller.go index 43f68ab47..b89efd01b 100644 --- a/sdk/client/controller.go +++ b/sdk/client/controller.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/client/controller_test.go b/sdk/client/controller_test.go index d9bdfd3f0..66d847efb 100644 --- a/sdk/client/controller_test.go +++ b/sdk/client/controller_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/client/errors.go b/sdk/client/errors.go index e811885c6..905d75b6a 100644 --- a/sdk/client/errors.go +++ b/sdk/client/errors.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/client/message.go b/sdk/client/message.go index 7f6427f5d..ae9a6ff7b 100644 --- a/sdk/client/message.go +++ b/sdk/client/message.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/client/metric_reporter.go b/sdk/client/metric_reporter.go index c99f0ce38..06fe5c328 100644 --- a/sdk/client/metric_reporter.go +++ b/sdk/client/metric_reporter.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/client/metric_reporter_mock_test.go b/sdk/client/metric_reporter_mock_test.go index ca0d300dd..e7759923a 100644 --- a/sdk/client/metric_reporter_mock_test.go +++ b/sdk/client/metric_reporter_mock_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/client/metric_reporter_test.go b/sdk/client/metric_reporter_test.go index 6e137dce5..ae7f2f5a4 100644 --- a/sdk/client/metric_reporter_test.go +++ b/sdk/client/metric_reporter_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/sdk/config_apply.go b/sdk/config_apply.go index 545e599f0..59a21dd83 100644 --- a/sdk/config_apply.go +++ b/sdk/config_apply.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/sdk/config_apply_test.go b/sdk/config_apply_test.go index 87f19ac12..5c4a42628 100644 --- a/sdk/config_apply_test.go +++ b/sdk/config_apply_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/sdk/config_helpers.go b/sdk/config_helpers.go index d88993137..27f23565d 100644 --- a/sdk/config_helpers.go +++ b/sdk/config_helpers.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/sdk/config_helpers_test.go b/sdk/config_helpers_test.go index acbddccac..604f28a63 100644 --- a/sdk/config_helpers_test.go +++ b/sdk/config_helpers_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/sdk/examples/server.go b/sdk/examples/server.go index 88eab4c20..ce2214262 100644 --- a/sdk/examples/server.go +++ b/sdk/examples/server.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package main import ( diff --git a/sdk/examples/services/command_service.go b/sdk/examples/services/command_service.go index f73a20977..d871f3f20 100644 --- a/sdk/examples/services/command_service.go +++ b/sdk/examples/services/command_service.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package services import ( diff --git a/sdk/examples/services/metrics_service.go b/sdk/examples/services/metrics_service.go index 476169398..e20d6abb4 100644 --- a/sdk/examples/services/metrics_service.go +++ b/sdk/examples/services/metrics_service.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package services import ( diff --git a/sdk/files/file_helpers.go b/sdk/files/file_helpers.go index 60ae8e63f..856483bf0 100644 --- a/sdk/files/file_helpers.go +++ b/sdk/files/file_helpers.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package files import ( diff --git a/sdk/files/file_helpers_test.go b/sdk/files/file_helpers_test.go index 5a4364d46..b750b1386 100644 --- a/sdk/files/file_helpers_test.go +++ b/sdk/files/file_helpers_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package files import ( diff --git a/sdk/grpc/conts.go b/sdk/grpc/conts.go index c228fa978..9b77cf22f 100644 --- a/sdk/grpc/conts.go +++ b/sdk/grpc/conts.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package grpc const ( diff --git a/sdk/grpc/grpc.go b/sdk/grpc/grpc.go index 7598402bd..28529f052 100644 --- a/sdk/grpc/grpc.go +++ b/sdk/grpc/grpc.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package grpc import ( diff --git a/sdk/grpc/grpc_test.go b/sdk/grpc/grpc_test.go index 4d32f8319..ab558fa0d 100644 --- a/sdk/grpc/grpc_test.go +++ b/sdk/grpc/grpc_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package grpc import ( diff --git a/sdk/grpc/meta.go b/sdk/grpc/meta.go index aa5c8bd34..1d0ea2b53 100644 --- a/sdk/grpc/meta.go +++ b/sdk/grpc/meta.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package grpc import ( diff --git a/sdk/interceptors/client.go b/sdk/interceptors/client.go index 5092122cb..93397f80d 100644 --- a/sdk/interceptors/client.go +++ b/sdk/interceptors/client.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package interceptors import ( diff --git a/sdk/interceptors/interceptors.go b/sdk/interceptors/interceptors.go index d40d3bceb..1412afe47 100644 --- a/sdk/interceptors/interceptors.go +++ b/sdk/interceptors/interceptors.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package interceptors import ( diff --git a/sdk/traverser.go b/sdk/traverser.go index 4ad9875f7..3e77e19c7 100644 --- a/sdk/traverser.go +++ b/sdk/traverser.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/sdk/zip/zipped_file.go b/sdk/zip/zipped_file.go index 05cd27ef0..3abfd3a52 100644 --- a/sdk/zip/zipped_file.go +++ b/sdk/zip/zipped_file.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + // Package zip provide convenience utilities to work with config files. package zip diff --git a/sdk/zip/zipped_file_test.go b/sdk/zip/zipped_file_test.go index 2b695bf2a..7d6a1296c 100644 --- a/sdk/zip/zipped_file_test.go +++ b/sdk/zip/zipped_file_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package zip import ( diff --git a/src/core/checksum.go b/src/core/checksum.go index 4880cb09a..834fea3ef 100644 --- a/src/core/checksum.go +++ b/src/core/checksum.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/checksum_test.go b/src/core/checksum_test.go index 9dcd6ea81..8f24d9f71 100644 --- a/src/core/checksum_test.go +++ b/src/core/checksum_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/config/commands.go b/src/core/config/commands.go index eae8942fd..8321b83c3 100644 --- a/src/core/config/commands.go +++ b/src/core/config/commands.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( diff --git a/src/core/config/config.go b/src/core/config/config.go index 63e74ce4d..b7f443131 100644 --- a/src/core/config/config.go +++ b/src/core/config/config.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( diff --git a/src/core/config/config_test.go b/src/core/config/config_test.go index aa30bab54..462fea32d 100644 --- a/src/core/config/config_test.go +++ b/src/core/config/config_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( diff --git a/src/core/config/defaults.go b/src/core/config/defaults.go index 17c088c70..f1fcbcae2 100644 --- a/src/core/config/defaults.go +++ b/src/core/config/defaults.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( @@ -37,8 +44,8 @@ var ( Path: "/var/log/nginx-agent", }, Server: Server{ - Command: "", - Metrics: "", + Command: "", + Metrics: "", // token needs to be validated on the server side - can be overridden by the config value or the cli / environment variable // so setting to random uuid at the moment, tls connection won't work without the auth header Token: uuid.New().String(), @@ -204,12 +211,12 @@ var ( DefaultValue: Defaults.Log.Path, }, &StringFlag{ - Name: ServerHost, - Usage: "The IP address of the server host. IPv4 addresses and hostnames are supported.", + Name: ServerHost, + Usage: "The IP address of the server host. IPv4 addresses and hostnames are supported.", }, &IntFlag{ - Name: ServerGrpcPort, - Usage: "The desired GRPC port to use for nginx-agent traffic.", + Name: ServerGrpcPort, + Usage: "The desired GRPC port to use for nginx-agent traffic.", }, &StringFlag{ Name: ServerToken, diff --git a/src/core/config/flags.go b/src/core/config/flags.go index 8c20e6329..a07c363ab 100644 --- a/src/core/config/flags.go +++ b/src/core/config/flags.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( diff --git a/src/core/config/types.go b/src/core/config/types.go index 976cee3a6..12372fe8c 100644 --- a/src/core/config/types.go +++ b/src/core/config/types.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( diff --git a/src/core/environment.go b/src/core/environment.go index f89d9a1f7..375e60384 100644 --- a/src/core/environment.go +++ b/src/core/environment.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/environment_test.go b/src/core/environment_test.go index 5732f9a20..8993043b4 100644 --- a/src/core/environment_test.go +++ b/src/core/environment_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/fake_environment_test.go b/src/core/fake_environment_test.go index fe0d131ae..c90118c51 100644 --- a/src/core/fake_environment_test.go +++ b/src/core/fake_environment_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + // Code generated by counterfeiter. DO NOT EDIT. package core diff --git a/src/core/info.go b/src/core/info.go index 20b9d64bf..7ed419dd5 100644 --- a/src/core/info.go +++ b/src/core/info.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core type Info struct { diff --git a/src/core/info_test.go b/src/core/info_test.go index 37be334e8..093040fe6 100644 --- a/src/core/info_test.go +++ b/src/core/info_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/logger/log.go b/src/core/logger/log.go index 53b13c34a..8dee9a63e 100644 --- a/src/core/logger/log.go +++ b/src/core/logger/log.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package logger import ( diff --git a/src/core/message.go b/src/core/message.go index bcf0c1b8e..c37fe9248 100644 --- a/src/core/message.go +++ b/src/core/message.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/message_test.go b/src/core/message_test.go index cfd1bdf7e..deb7c79cf 100644 --- a/src/core/message_test.go +++ b/src/core/message_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/metrics/aggregate.go b/src/core/metrics/aggregate.go index a3e0a11ef..22f7cdd3d 100644 --- a/src/core/metrics/aggregate.go +++ b/src/core/metrics/aggregate.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package metrics import ( diff --git a/src/core/metrics/aggregate_test.go b/src/core/metrics/aggregate_test.go index 3c3550584..7275961b1 100644 --- a/src/core/metrics/aggregate_test.go +++ b/src/core/metrics/aggregate_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package metrics import ( diff --git a/src/core/metrics/collectors/container.go b/src/core/metrics/collectors/container.go index da5a6a9d2..f01550a33 100644 --- a/src/core/metrics/collectors/container.go +++ b/src/core/metrics/collectors/container.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collectors import ( diff --git a/src/core/metrics/collectors/container_test.go b/src/core/metrics/collectors/container_test.go index 0acca5ffd..7951be844 100644 --- a/src/core/metrics/collectors/container_test.go +++ b/src/core/metrics/collectors/container_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collectors import ( diff --git a/src/core/metrics/collectors/nginx.go b/src/core/metrics/collectors/nginx.go index e8bdb03ed..11f08ae39 100644 --- a/src/core/metrics/collectors/nginx.go +++ b/src/core/metrics/collectors/nginx.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collectors import ( diff --git a/src/core/metrics/collectors/nginx_test.go b/src/core/metrics/collectors/nginx_test.go index 7dbc265d7..552adf778 100644 --- a/src/core/metrics/collectors/nginx_test.go +++ b/src/core/metrics/collectors/nginx_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collectors import ( diff --git a/src/core/metrics/collectors/source_mocks_test.go b/src/core/metrics/collectors/source_mocks_test.go index 1c8bb46c7..d61fe2da3 100644 --- a/src/core/metrics/collectors/source_mocks_test.go +++ b/src/core/metrics/collectors/source_mocks_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collectors import ( diff --git a/src/core/metrics/collectors/system.go b/src/core/metrics/collectors/system.go index 287cb935f..b4bf7a2d8 100644 --- a/src/core/metrics/collectors/system.go +++ b/src/core/metrics/collectors/system.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collectors import ( diff --git a/src/core/metrics/collectors/system_test.go b/src/core/metrics/collectors/system_test.go index e51fbb8d4..9462d9439 100644 --- a/src/core/metrics/collectors/system_test.go +++ b/src/core/metrics/collectors/system_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collectors import ( diff --git a/src/core/metrics/dimensions.go b/src/core/metrics/dimensions.go index 3b665243c..8a9a604b0 100644 --- a/src/core/metrics/dimensions.go +++ b/src/core/metrics/dimensions.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package metrics import ( diff --git a/src/core/metrics/dimensions_test.go b/src/core/metrics/dimensions_test.go index 86392f725..91e0e542a 100644 --- a/src/core/metrics/dimensions_test.go +++ b/src/core/metrics/dimensions_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package metrics import ( diff --git a/src/core/metrics/metrics_util.go b/src/core/metrics/metrics_util.go index 283e96286..562363535 100644 --- a/src/core/metrics/metrics_util.go +++ b/src/core/metrics/metrics_util.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package metrics import ( diff --git a/src/core/metrics/sources/cgroup/cgroup_constants.go b/src/core/metrics/sources/cgroup/cgroup_constants.go index dab213617..5cb16cb86 100644 --- a/src/core/metrics/sources/cgroup/cgroup_constants.go +++ b/src/core/metrics/sources/cgroup/cgroup_constants.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup const ( diff --git a/src/core/metrics/sources/cgroup/cgroup_cpu.go b/src/core/metrics/sources/cgroup/cgroup_cpu.go index 4417244e4..6cbbaaded 100644 --- a/src/core/metrics/sources/cgroup/cgroup_cpu.go +++ b/src/core/metrics/sources/cgroup/cgroup_cpu.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/src/core/metrics/sources/cgroup/cgroup_cpu_test.go b/src/core/metrics/sources/cgroup/cgroup_cpu_test.go index ac4582835..787747d7e 100644 --- a/src/core/metrics/sources/cgroup/cgroup_cpu_test.go +++ b/src/core/metrics/sources/cgroup/cgroup_cpu_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/src/core/metrics/sources/cgroup/cgroup_mem.go b/src/core/metrics/sources/cgroup/cgroup_mem.go index 310a98481..972ae4d29 100644 --- a/src/core/metrics/sources/cgroup/cgroup_mem.go +++ b/src/core/metrics/sources/cgroup/cgroup_mem.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/src/core/metrics/sources/cgroup/cgroup_mem_test.go b/src/core/metrics/sources/cgroup/cgroup_mem_test.go index 3da5dc7f0..9cfd55114 100644 --- a/src/core/metrics/sources/cgroup/cgroup_mem_test.go +++ b/src/core/metrics/sources/cgroup/cgroup_mem_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/src/core/metrics/sources/cgroup/cgroup_swap.go b/src/core/metrics/sources/cgroup/cgroup_swap.go index 35e74d35c..abede8b72 100644 --- a/src/core/metrics/sources/cgroup/cgroup_swap.go +++ b/src/core/metrics/sources/cgroup/cgroup_swap.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/src/core/metrics/sources/cgroup/cgroup_swap_test.go b/src/core/metrics/sources/cgroup/cgroup_swap_test.go index 61e82cb9d..39c0286ed 100644 --- a/src/core/metrics/sources/cgroup/cgroup_swap_test.go +++ b/src/core/metrics/sources/cgroup/cgroup_swap_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/src/core/metrics/sources/cgroup/utils.go b/src/core/metrics/sources/cgroup/utils.go index d44f7882b..f0a64f70b 100644 --- a/src/core/metrics/sources/cgroup/utils.go +++ b/src/core/metrics/sources/cgroup/utils.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/src/core/metrics/sources/cgroup/utils_test.go b/src/core/metrics/sources/cgroup/utils_test.go index c9433e36f..352fefe16 100644 --- a/src/core/metrics/sources/cgroup/utils_test.go +++ b/src/core/metrics/sources/cgroup/utils_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/src/core/metrics/sources/common.go b/src/core/metrics/sources/common.go index 5f59ab9a9..8a1fa3fab 100644 --- a/src/core/metrics/sources/common.go +++ b/src/core/metrics/sources/common.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/common_test.go b/src/core/metrics/sources/common_test.go index 1a3b639e2..fa63717a4 100644 --- a/src/core/metrics/sources/common_test.go +++ b/src/core/metrics/sources/common_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/container_cpu.go b/src/core/metrics/sources/container_cpu.go index 84b5634c9..fa61035d7 100644 --- a/src/core/metrics/sources/container_cpu.go +++ b/src/core/metrics/sources/container_cpu.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/container_cpu_test.go b/src/core/metrics/sources/container_cpu_test.go index e32cde9b2..cd8c30260 100644 --- a/src/core/metrics/sources/container_cpu_test.go +++ b/src/core/metrics/sources/container_cpu_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/container_mem.go b/src/core/metrics/sources/container_mem.go index a13aa7d1a..b0e7bcf7d 100644 --- a/src/core/metrics/sources/container_mem.go +++ b/src/core/metrics/sources/container_mem.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/container_mem_test.go b/src/core/metrics/sources/container_mem_test.go index d9ceeb98b..5ba1f5202 100644 --- a/src/core/metrics/sources/container_mem_test.go +++ b/src/core/metrics/sources/container_mem_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/cpu.go b/src/core/metrics/sources/cpu.go index 00c65d716..391913c53 100644 --- a/src/core/metrics/sources/cpu.go +++ b/src/core/metrics/sources/cpu.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/cpu_test.go b/src/core/metrics/sources/cpu_test.go index 0505e7cc8..5009e1144 100644 --- a/src/core/metrics/sources/cpu_test.go +++ b/src/core/metrics/sources/cpu_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/disk.go b/src/core/metrics/sources/disk.go index b9ee797e9..f67944d27 100644 --- a/src/core/metrics/sources/disk.go +++ b/src/core/metrics/sources/disk.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/disk_io.go b/src/core/metrics/sources/disk_io.go index 399ba2023..30b13ea39 100644 --- a/src/core/metrics/sources/disk_io.go +++ b/src/core/metrics/sources/disk_io.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/disk_io_test.go b/src/core/metrics/sources/disk_io_test.go index 9ef8cdac8..37452c5e8 100644 --- a/src/core/metrics/sources/disk_io_test.go +++ b/src/core/metrics/sources/disk_io_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/disk_test.go b/src/core/metrics/sources/disk_test.go index 0439edd21..dbc0d0fbe 100644 --- a/src/core/metrics/sources/disk_test.go +++ b/src/core/metrics/sources/disk_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/load.go b/src/core/metrics/sources/load.go index a6139facc..38ce9828d 100644 --- a/src/core/metrics/sources/load.go +++ b/src/core/metrics/sources/load.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/load_test.go b/src/core/metrics/sources/load_test.go index 94b936cbf..5c76280d6 100644 --- a/src/core/metrics/sources/load_test.go +++ b/src/core/metrics/sources/load_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/mem.go b/src/core/metrics/sources/mem.go index b8dfb8a91..64ab9ee0c 100644 --- a/src/core/metrics/sources/mem.go +++ b/src/core/metrics/sources/mem.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/mem_test.go b/src/core/metrics/sources/mem_test.go index 819f4005f..ff78c04c7 100644 --- a/src/core/metrics/sources/mem_test.go +++ b/src/core/metrics/sources/mem_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/net_io.go b/src/core/metrics/sources/net_io.go index cb5c86834..c1d7bd4c1 100644 --- a/src/core/metrics/sources/net_io.go +++ b/src/core/metrics/sources/net_io.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/net_io_test.go b/src/core/metrics/sources/net_io_test.go index 3fa76d947..1f04949be 100644 --- a/src/core/metrics/sources/net_io_test.go +++ b/src/core/metrics/sources/net_io_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_access_log.go b/src/core/metrics/sources/nginx_access_log.go index 69d0dcf43..6617354cc 100644 --- a/src/core/metrics/sources/nginx_access_log.go +++ b/src/core/metrics/sources/nginx_access_log.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_access_log_test.go b/src/core/metrics/sources/nginx_access_log_test.go index 0b46f7e8e..4b42a3d44 100644 --- a/src/core/metrics/sources/nginx_access_log_test.go +++ b/src/core/metrics/sources/nginx_access_log_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_error_log.go b/src/core/metrics/sources/nginx_error_log.go index 3b5f2878d..6b1943956 100644 --- a/src/core/metrics/sources/nginx_error_log.go +++ b/src/core/metrics/sources/nginx_error_log.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_error_log_test.go b/src/core/metrics/sources/nginx_error_log_test.go index efb738e1a..3209e4f51 100644 --- a/src/core/metrics/sources/nginx_error_log_test.go +++ b/src/core/metrics/sources/nginx_error_log_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_oss.go b/src/core/metrics/sources/nginx_oss.go index ea7b8dfc9..a82176f9f 100644 --- a/src/core/metrics/sources/nginx_oss.go +++ b/src/core/metrics/sources/nginx_oss.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_oss_test.go b/src/core/metrics/sources/nginx_oss_test.go index 0205028f4..db2db35d1 100644 --- a/src/core/metrics/sources/nginx_oss_test.go +++ b/src/core/metrics/sources/nginx_oss_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_plus.go b/src/core/metrics/sources/nginx_plus.go index 2f68108f6..bb4db44c2 100644 --- a/src/core/metrics/sources/nginx_plus.go +++ b/src/core/metrics/sources/nginx_plus.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_plus_test.go b/src/core/metrics/sources/nginx_plus_test.go index 49631fe3e..b211371af 100644 --- a/src/core/metrics/sources/nginx_plus_test.go +++ b/src/core/metrics/sources/nginx_plus_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_process.go b/src/core/metrics/sources/nginx_process.go index 325a9841c..35c55810f 100644 --- a/src/core/metrics/sources/nginx_process.go +++ b/src/core/metrics/sources/nginx_process.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_process_test.go b/src/core/metrics/sources/nginx_process_test.go index 8f8889d2f..9d5001415 100644 --- a/src/core/metrics/sources/nginx_process_test.go +++ b/src/core/metrics/sources/nginx_process_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_static.go b/src/core/metrics/sources/nginx_static.go index 66a898379..86b0465ef 100644 --- a/src/core/metrics/sources/nginx_static.go +++ b/src/core/metrics/sources/nginx_static.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_static_test.go b/src/core/metrics/sources/nginx_static_test.go index fe7c9ba69..69254984a 100644 --- a/src/core/metrics/sources/nginx_static_test.go +++ b/src/core/metrics/sources/nginx_static_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_worker.go b/src/core/metrics/sources/nginx_worker.go index 1db7e439c..2baeb38fd 100644 --- a/src/core/metrics/sources/nginx_worker.go +++ b/src/core/metrics/sources/nginx_worker.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/nginx_worker_test.go b/src/core/metrics/sources/nginx_worker_test.go index 430800b25..e166e5671 100644 --- a/src/core/metrics/sources/nginx_worker_test.go +++ b/src/core/metrics/sources/nginx_worker_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/swap.go b/src/core/metrics/sources/swap.go index fb6ac39d8..b42650205 100644 --- a/src/core/metrics/sources/swap.go +++ b/src/core/metrics/sources/swap.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/swap_test.go b/src/core/metrics/sources/swap_test.go index 2350f84ec..7bd138f5d 100644 --- a/src/core/metrics/sources/swap_test.go +++ b/src/core/metrics/sources/swap_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/src/core/metrics/sources/tailer/tailer.go b/src/core/metrics/sources/tailer/tailer.go index 8b4349ac4..42a245b5d 100644 --- a/src/core/metrics/sources/tailer/tailer.go +++ b/src/core/metrics/sources/tailer/tailer.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package tailer import ( diff --git a/src/core/metrics/sources/tailer/tailer_test.go b/src/core/metrics/sources/tailer/tailer_test.go index 2d776663e..70e24a3a7 100644 --- a/src/core/metrics/sources/tailer/tailer_test.go +++ b/src/core/metrics/sources/tailer/tailer_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package tailer import ( diff --git a/src/core/mock_pipe.go b/src/core/mock_pipe.go index b4d9cf35b..68f1eb823 100644 --- a/src/core/mock_pipe.go +++ b/src/core/mock_pipe.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/network/network.go b/src/core/network/network.go index af37b330c..9e4bb88e6 100644 --- a/src/core/network/network.go +++ b/src/core/network/network.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package network import ( diff --git a/src/core/network/network_test.go b/src/core/network/network_test.go index 0fec05b03..92aae6727 100644 --- a/src/core/network/network_test.go +++ b/src/core/network/network_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package network import ( diff --git a/src/core/nginx.go b/src/core/nginx.go index 164a89302..8c68a387e 100644 --- a/src/core/nginx.go +++ b/src/core/nginx.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/nginx_test.go b/src/core/nginx_test.go index 9d2c57d02..7a260ed6f 100644 --- a/src/core/nginx_test.go +++ b/src/core/nginx_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/os.go b/src/core/os.go index 7f032c90e..df43deb48 100644 --- a/src/core/os.go +++ b/src/core/os.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/os_test.go b/src/core/os_test.go index be5883dd5..3420e07a7 100644 --- a/src/core/os_test.go +++ b/src/core/os_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/payloads/register_software_details.go b/src/core/payloads/register_software_details.go index bc8ad7ab8..81ea24f20 100644 --- a/src/core/payloads/register_software_details.go +++ b/src/core/payloads/register_software_details.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package payloads import ( diff --git a/src/core/pipe.go b/src/core/pipe.go index 5903bcce9..3a2984026 100644 --- a/src/core/pipe.go +++ b/src/core/pipe.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/pipe_test.go b/src/core/pipe_test.go index a8cfe6557..1a87b7127 100644 --- a/src/core/pipe_test.go +++ b/src/core/pipe_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/plugin.go b/src/core/plugin.go index 4d1748a95..f2f5af37d 100644 --- a/src/core/plugin.go +++ b/src/core/plugin.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core type Plugin interface { diff --git a/src/core/process.go b/src/core/process.go index 242dc85a0..e3706ee98 100644 --- a/src/core/process.go +++ b/src/core/process.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/process_test.go b/src/core/process_test.go index adc5f8199..2ee8a882f 100644 --- a/src/core/process_test.go +++ b/src/core/process_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core_test import ( diff --git a/src/core/slice.go b/src/core/slice.go index ffc164656..95d3544ae 100644 --- a/src/core/slice.go +++ b/src/core/slice.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core // SliceContainsString takes in a slice of strings and a string to check for diff --git a/src/core/slice_test.go b/src/core/slice_test.go index d42774a7b..0202da109 100644 --- a/src/core/slice_test.go +++ b/src/core/slice_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/src/core/topics.go b/src/core/topics.go index 41dc95b57..58b00804c 100644 --- a/src/core/topics.go +++ b/src/core/topics.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core const ( diff --git a/src/extensions/advanced-metrics/aggregator/aggregator.go b/src/extensions/advanced-metrics/aggregator/aggregator.go index d8f1be792..c17cd18f5 100644 --- a/src/extensions/advanced-metrics/aggregator/aggregator.go +++ b/src/extensions/advanced-metrics/aggregator/aggregator.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package aggregator import ( diff --git a/src/extensions/advanced-metrics/aggregator/aggregator_test.go b/src/extensions/advanced-metrics/aggregator/aggregator_test.go index 10f941843..01a6e8097 100644 --- a/src/extensions/advanced-metrics/aggregator/aggregator_test.go +++ b/src/extensions/advanced-metrics/aggregator/aggregator_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package aggregator_test import ( diff --git a/src/extensions/advanced-metrics/aggregator/mocks/aggregator_mock.go b/src/extensions/advanced-metrics/aggregator/mocks/aggregator_mock.go index d00ecb615..1c628f2c5 100644 --- a/src/extensions/advanced-metrics/aggregator/mocks/aggregator_mock.go +++ b/src/extensions/advanced-metrics/aggregator/mocks/aggregator_mock.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + // Code generated by MockGen. DO NOT EDIT. // Source: aggregator.go diff --git a/src/extensions/advanced-metrics/ingester/ingester.go b/src/extensions/advanced-metrics/ingester/ingester.go index 5eebe1b47..90c255cde 100644 --- a/src/extensions/advanced-metrics/ingester/ingester.go +++ b/src/extensions/advanced-metrics/ingester/ingester.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package ingester import ( diff --git a/src/extensions/advanced-metrics/ingester/ingester_test.go b/src/extensions/advanced-metrics/ingester/ingester_test.go index 3a84e6a4e..8f73bbd05 100644 --- a/src/extensions/advanced-metrics/ingester/ingester_test.go +++ b/src/extensions/advanced-metrics/ingester/ingester_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package ingester import ( diff --git a/src/extensions/advanced-metrics/ingester/iterator.go b/src/extensions/advanced-metrics/ingester/iterator.go index f19944592..7014ad82e 100644 --- a/src/extensions/advanced-metrics/ingester/iterator.go +++ b/src/extensions/advanced-metrics/ingester/iterator.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package ingester import ( diff --git a/src/extensions/advanced-metrics/ingester/iterator_test.go b/src/extensions/advanced-metrics/ingester/iterator_test.go index b25fe4667..e0f192e23 100644 --- a/src/extensions/advanced-metrics/ingester/iterator_test.go +++ b/src/extensions/advanced-metrics/ingester/iterator_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package ingester import ( diff --git a/src/extensions/advanced-metrics/ingester/mocks/ingester_mock.go b/src/extensions/advanced-metrics/ingester/mocks/ingester_mock.go index 5c45e29ab..bc458c317 100644 --- a/src/extensions/advanced-metrics/ingester/mocks/ingester_mock.go +++ b/src/extensions/advanced-metrics/ingester/mocks/ingester_mock.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + // Code generated by MockGen. DO NOT EDIT. // Source: ingester.go diff --git a/src/extensions/advanced-metrics/pkg/advanced-metrics/advanced_metrics.go b/src/extensions/advanced-metrics/pkg/advanced-metrics/advanced_metrics.go index 27672782c..56e12f205 100644 --- a/src/extensions/advanced-metrics/pkg/advanced-metrics/advanced_metrics.go +++ b/src/extensions/advanced-metrics/pkg/advanced-metrics/advanced_metrics.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package advanced_metrics import ( diff --git a/src/extensions/advanced-metrics/pkg/publisher/metric.go b/src/extensions/advanced-metrics/pkg/publisher/metric.go index 92289bdd3..8dbff9e3c 100644 --- a/src/extensions/advanced-metrics/pkg/publisher/metric.go +++ b/src/extensions/advanced-metrics/pkg/publisher/metric.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package publisher import "github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample" diff --git a/src/extensions/advanced-metrics/pkg/publisher/mocks/stubs.go b/src/extensions/advanced-metrics/pkg/publisher/mocks/stubs.go index aa7833cdd..c650ebf68 100644 --- a/src/extensions/advanced-metrics/pkg/publisher/mocks/stubs.go +++ b/src/extensions/advanced-metrics/pkg/publisher/mocks/stubs.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package mocks import ( diff --git a/src/extensions/advanced-metrics/pkg/publisher/publisher.go b/src/extensions/advanced-metrics/pkg/publisher/publisher.go index 963110810..e6c960d01 100644 --- a/src/extensions/advanced-metrics/pkg/publisher/publisher.go +++ b/src/extensions/advanced-metrics/pkg/publisher/publisher.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package publisher import ( diff --git a/src/extensions/advanced-metrics/pkg/publisher/publisher_test.go b/src/extensions/advanced-metrics/pkg/publisher/publisher_test.go index fd6b4f04b..08d2659c5 100644 --- a/src/extensions/advanced-metrics/pkg/publisher/publisher_test.go +++ b/src/extensions/advanced-metrics/pkg/publisher/publisher_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package publisher import ( diff --git a/src/extensions/advanced-metrics/pkg/schema/schema_builder.go b/src/extensions/advanced-metrics/pkg/schema/schema_builder.go index 1293f2d0d..c590f9fb8 100644 --- a/src/extensions/advanced-metrics/pkg/schema/schema_builder.go +++ b/src/extensions/advanced-metrics/pkg/schema/schema_builder.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package schema import ( diff --git a/src/extensions/advanced-metrics/reader/buffer.go b/src/extensions/advanced-metrics/reader/buffer.go index f0cd781de..e4f7179dc 100644 --- a/src/extensions/advanced-metrics/reader/buffer.go +++ b/src/extensions/advanced-metrics/reader/buffer.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package reader import "io" diff --git a/src/extensions/advanced-metrics/reader/frame.go b/src/extensions/advanced-metrics/reader/frame.go index 32bec2ea2..d6b8f1a49 100644 --- a/src/extensions/advanced-metrics/reader/frame.go +++ b/src/extensions/advanced-metrics/reader/frame.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package reader import ( diff --git a/src/extensions/advanced-metrics/reader/mocks/conn_stub.go b/src/extensions/advanced-metrics/reader/mocks/conn_stub.go index 792aaf6eb..628724dae 100644 --- a/src/extensions/advanced-metrics/reader/mocks/conn_stub.go +++ b/src/extensions/advanced-metrics/reader/mocks/conn_stub.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package mocks import ( diff --git a/src/extensions/advanced-metrics/reader/mocks/net_mocks.go b/src/extensions/advanced-metrics/reader/mocks/net_mocks.go index 69639bd51..aeecb07c7 100644 --- a/src/extensions/advanced-metrics/reader/mocks/net_mocks.go +++ b/src/extensions/advanced-metrics/reader/mocks/net_mocks.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + // Code generated by MockGen. DO NOT EDIT. // Source: net (interfaces: Listener,Conn) diff --git a/src/extensions/advanced-metrics/reader/mocks/reader_mock.go b/src/extensions/advanced-metrics/reader/mocks/reader_mock.go index 40ee63dd5..26451c543 100644 --- a/src/extensions/advanced-metrics/reader/mocks/reader_mock.go +++ b/src/extensions/advanced-metrics/reader/mocks/reader_mock.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + // Code generated by MockGen. DO NOT EDIT. // Source: reader.go diff --git a/src/extensions/advanced-metrics/reader/reader.go b/src/extensions/advanced-metrics/reader/reader.go index 2b92833ef..762b79b67 100644 --- a/src/extensions/advanced-metrics/reader/reader.go +++ b/src/extensions/advanced-metrics/reader/reader.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package reader import ( diff --git a/src/extensions/advanced-metrics/reader/reader_test.go b/src/extensions/advanced-metrics/reader/reader_test.go index 70a2bd02d..34a21ee8a 100644 --- a/src/extensions/advanced-metrics/reader/reader_test.go +++ b/src/extensions/advanced-metrics/reader/reader_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package reader import ( diff --git a/src/extensions/advanced-metrics/reader/worker.go b/src/extensions/advanced-metrics/reader/worker.go index 6d1fd59d9..c02caf619 100644 --- a/src/extensions/advanced-metrics/reader/worker.go +++ b/src/extensions/advanced-metrics/reader/worker.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package reader import ( diff --git a/src/extensions/advanced-metrics/reader/worker_test.go b/src/extensions/advanced-metrics/reader/worker_test.go index 428e70c1e..0c3bf38bc 100644 --- a/src/extensions/advanced-metrics/reader/worker_test.go +++ b/src/extensions/advanced-metrics/reader/worker_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package reader import ( diff --git a/src/extensions/advanced-metrics/tables/limits/limits.go b/src/extensions/advanced-metrics/tables/limits/limits.go index c0903a794..271425b23 100644 --- a/src/extensions/advanced-metrics/tables/limits/limits.go +++ b/src/extensions/advanced-metrics/tables/limits/limits.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package limits import ( diff --git a/src/extensions/advanced-metrics/tables/limits/limits_test.go b/src/extensions/advanced-metrics/tables/limits/limits_test.go index 2b3639bc5..cc94bbc75 100644 --- a/src/extensions/advanced-metrics/tables/limits/limits_test.go +++ b/src/extensions/advanced-metrics/tables/limits/limits_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package limits import ( diff --git a/src/extensions/advanced-metrics/tables/lookup/lookup.go b/src/extensions/advanced-metrics/tables/lookup/lookup.go index 87fb013cb..46200fd98 100644 --- a/src/extensions/advanced-metrics/tables/lookup/lookup.go +++ b/src/extensions/advanced-metrics/tables/lookup/lookup.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package lookup import ( diff --git a/src/extensions/advanced-metrics/tables/lookup/lookup_set.go b/src/extensions/advanced-metrics/tables/lookup/lookup_set.go index 79598859c..23b1f4b51 100644 --- a/src/extensions/advanced-metrics/tables/lookup/lookup_set.go +++ b/src/extensions/advanced-metrics/tables/lookup/lookup_set.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package lookup import ( diff --git a/src/extensions/advanced-metrics/tables/lookup/lookup_test.go b/src/extensions/advanced-metrics/tables/lookup/lookup_test.go index 4a1e83bb7..18f343a9b 100644 --- a/src/extensions/advanced-metrics/tables/lookup/lookup_test.go +++ b/src/extensions/advanced-metrics/tables/lookup/lookup_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package lookup import ( diff --git a/src/extensions/advanced-metrics/tables/mocks/field_iterator_stub.go b/src/extensions/advanced-metrics/tables/mocks/field_iterator_stub.go index 8fcb2f88d..0401ac697 100644 --- a/src/extensions/advanced-metrics/tables/mocks/field_iterator_stub.go +++ b/src/extensions/advanced-metrics/tables/mocks/field_iterator_stub.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package mocks type FieldIteratorStub struct { diff --git a/src/extensions/advanced-metrics/tables/mocks/staging_table_mocks.go b/src/extensions/advanced-metrics/tables/mocks/staging_table_mocks.go index e13dd17d3..9193957b7 100644 --- a/src/extensions/advanced-metrics/tables/mocks/staging_table_mocks.go +++ b/src/extensions/advanced-metrics/tables/mocks/staging_table_mocks.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + // Code generated by MockGen. DO NOT EDIT. // Source: staging_table.go diff --git a/src/extensions/advanced-metrics/tables/priority_table/priority_table.go b/src/extensions/advanced-metrics/tables/priority_table/priority_table.go index cdb309fb8..95b7c7c09 100644 --- a/src/extensions/advanced-metrics/tables/priority_table/priority_table.go +++ b/src/extensions/advanced-metrics/tables/priority_table/priority_table.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package priority_table import ( diff --git a/src/extensions/advanced-metrics/tables/priority_table/priority_table_test.go b/src/extensions/advanced-metrics/tables/priority_table/priority_table_test.go index c2d2a6a4f..a8c8b1d7a 100644 --- a/src/extensions/advanced-metrics/tables/priority_table/priority_table_test.go +++ b/src/extensions/advanced-metrics/tables/priority_table/priority_table_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package priority_table import ( diff --git a/src/extensions/advanced-metrics/tables/priority_table/sample_queue.go b/src/extensions/advanced-metrics/tables/priority_table/sample_queue.go index 5f471cdf3..b806aeba7 100644 --- a/src/extensions/advanced-metrics/tables/priority_table/sample_queue.go +++ b/src/extensions/advanced-metrics/tables/priority_table/sample_queue.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package priority_table import ( diff --git a/src/extensions/advanced-metrics/tables/priority_table/sample_queue_test.go b/src/extensions/advanced-metrics/tables/priority_table/sample_queue_test.go index 9dce89029..f775a4e31 100644 --- a/src/extensions/advanced-metrics/tables/priority_table/sample_queue_test.go +++ b/src/extensions/advanced-metrics/tables/priority_table/sample_queue_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package priority_table import ( diff --git a/src/extensions/advanced-metrics/tables/sample/metric.go b/src/extensions/advanced-metrics/tables/sample/metric.go index d4782a5dc..d20f106af 100644 --- a/src/extensions/advanced-metrics/tables/sample/metric.go +++ b/src/extensions/advanced-metrics/tables/sample/metric.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample // Metric is a simple counter like metric with its summary stats bundled in diff --git a/src/extensions/advanced-metrics/tables/sample/metric_test.go b/src/extensions/advanced-metrics/tables/sample/metric_test.go index 2612212b2..b6732eaba 100644 --- a/src/extensions/advanced-metrics/tables/sample/metric_test.go +++ b/src/extensions/advanced-metrics/tables/sample/metric_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample import ( diff --git a/src/extensions/advanced-metrics/tables/sample/sample.go b/src/extensions/advanced-metrics/tables/sample/sample.go index e57c84aa1..92180957e 100644 --- a/src/extensions/advanced-metrics/tables/sample/sample.go +++ b/src/extensions/advanced-metrics/tables/sample/sample.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample import ( diff --git a/src/extensions/advanced-metrics/tables/sample/sample_key.go b/src/extensions/advanced-metrics/tables/sample/sample_key.go index 84d53a71f..8df12a6ef 100644 --- a/src/extensions/advanced-metrics/tables/sample/sample_key.go +++ b/src/extensions/advanced-metrics/tables/sample/sample_key.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample import "fmt" diff --git a/src/extensions/advanced-metrics/tables/sample/sample_key_test.go b/src/extensions/advanced-metrics/tables/sample/sample_key_test.go index f43261b92..f2e734325 100644 --- a/src/extensions/advanced-metrics/tables/sample/sample_key_test.go +++ b/src/extensions/advanced-metrics/tables/sample/sample_key_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample import ( diff --git a/src/extensions/advanced-metrics/tables/sample/sample_test.go b/src/extensions/advanced-metrics/tables/sample/sample_test.go index 7c997480c..979bf0ba3 100644 --- a/src/extensions/advanced-metrics/tables/sample/sample_test.go +++ b/src/extensions/advanced-metrics/tables/sample/sample_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample import ( diff --git a/src/extensions/advanced-metrics/tables/sample/samples.go b/src/extensions/advanced-metrics/tables/sample/samples.go index 7f180b6ec..3f2c016a0 100644 --- a/src/extensions/advanced-metrics/tables/sample/samples.go +++ b/src/extensions/advanced-metrics/tables/sample/samples.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample import ( diff --git a/src/extensions/advanced-metrics/tables/sample/samples_test.go b/src/extensions/advanced-metrics/tables/sample/samples_test.go index d57901e07..76977af3d 100644 --- a/src/extensions/advanced-metrics/tables/sample/samples_test.go +++ b/src/extensions/advanced-metrics/tables/sample/samples_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample import ( diff --git a/src/extensions/advanced-metrics/tables/schema/field.go b/src/extensions/advanced-metrics/tables/schema/field.go index d30b631f7..e1fb80afc 100644 --- a/src/extensions/advanced-metrics/tables/schema/field.go +++ b/src/extensions/advanced-metrics/tables/schema/field.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package schema import ( diff --git a/src/extensions/advanced-metrics/tables/schema/schema.go b/src/extensions/advanced-metrics/tables/schema/schema.go index b8f403c83..a86f7d2aa 100644 --- a/src/extensions/advanced-metrics/tables/schema/schema.go +++ b/src/extensions/advanced-metrics/tables/schema/schema.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package schema type Schema struct { diff --git a/src/extensions/advanced-metrics/tables/staging_table.go b/src/extensions/advanced-metrics/tables/staging_table.go index 4be480b4f..8e17a19a1 100644 --- a/src/extensions/advanced-metrics/tables/staging_table.go +++ b/src/extensions/advanced-metrics/tables/staging_table.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package tables import ( diff --git a/src/extensions/advanced-metrics/tables/staging_table_test.go b/src/extensions/advanced-metrics/tables/staging_table_test.go index ef63380a8..cb369b05b 100644 --- a/src/extensions/advanced-metrics/tables/staging_table_test.go +++ b/src/extensions/advanced-metrics/tables/staging_table_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package tables import ( diff --git a/src/extensions/nginx-app-protect/monitoring/collector/collector.go b/src/extensions/nginx-app-protect/monitoring/collector/collector.go index 128ebdacb..bc9f7e085 100644 --- a/src/extensions/nginx-app-protect/monitoring/collector/collector.go +++ b/src/extensions/nginx-app-protect/monitoring/collector/collector.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collector import ( diff --git a/src/extensions/nginx-app-protect/monitoring/collector/config.go b/src/extensions/nginx-app-protect/monitoring/collector/config.go index 6c0ecea5b..7345491d4 100644 --- a/src/extensions/nginx-app-protect/monitoring/collector/config.go +++ b/src/extensions/nginx-app-protect/monitoring/collector/config.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collector import ( diff --git a/src/extensions/nginx-app-protect/monitoring/collector/nap.go b/src/extensions/nginx-app-protect/monitoring/collector/nap.go index 50daf5aa6..06549d55d 100644 --- a/src/extensions/nginx-app-protect/monitoring/collector/nap.go +++ b/src/extensions/nginx-app-protect/monitoring/collector/nap.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collector import ( diff --git a/src/extensions/nginx-app-protect/monitoring/collector/nap_test.go b/src/extensions/nginx-app-protect/monitoring/collector/nap_test.go index 56b1a40ae..9456c3ae5 100644 --- a/src/extensions/nginx-app-protect/monitoring/collector/nap_test.go +++ b/src/extensions/nginx-app-protect/monitoring/collector/nap_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collector_test import ( diff --git a/src/extensions/nginx-app-protect/monitoring/manager/manager.go b/src/extensions/nginx-app-protect/monitoring/manager/manager.go index d4182c9ca..9c96b6c3f 100644 --- a/src/extensions/nginx-app-protect/monitoring/manager/manager.go +++ b/src/extensions/nginx-app-protect/monitoring/manager/manager.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package manager import ( diff --git a/src/extensions/nginx-app-protect/monitoring/manager/manager_test.go b/src/extensions/nginx-app-protect/monitoring/manager/manager_test.go index 016adc3ce..f00018163 100644 --- a/src/extensions/nginx-app-protect/monitoring/manager/manager_test.go +++ b/src/extensions/nginx-app-protect/monitoring/manager/manager_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package manager import ( diff --git a/src/extensions/nginx-app-protect/monitoring/processor/config.go b/src/extensions/nginx-app-protect/monitoring/processor/config.go index d852d909e..9330224c8 100644 --- a/src/extensions/nginx-app-protect/monitoring/processor/config.go +++ b/src/extensions/nginx-app-protect/monitoring/processor/config.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package processor import ( diff --git a/src/extensions/nginx-app-protect/monitoring/processor/metadata.go b/src/extensions/nginx-app-protect/monitoring/processor/metadata.go index c65a4d7fc..d652f50ca 100644 --- a/src/extensions/nginx-app-protect/monitoring/processor/metadata.go +++ b/src/extensions/nginx-app-protect/monitoring/processor/metadata.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package processor import ( diff --git a/src/extensions/nginx-app-protect/monitoring/processor/nap.go b/src/extensions/nginx-app-protect/monitoring/processor/nap.go index 9a93efe49..6397f3a80 100644 --- a/src/extensions/nginx-app-protect/monitoring/processor/nap.go +++ b/src/extensions/nginx-app-protect/monitoring/processor/nap.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package processor import ( diff --git a/src/extensions/nginx-app-protect/monitoring/processor/nap_test.go b/src/extensions/nginx-app-protect/monitoring/processor/nap_test.go index 8ff506146..61c597b5a 100644 --- a/src/extensions/nginx-app-protect/monitoring/processor/nap_test.go +++ b/src/extensions/nginx-app-protect/monitoring/processor/nap_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package processor import ( diff --git a/src/extensions/nginx-app-protect/monitoring/processor/processor.go b/src/extensions/nginx-app-protect/monitoring/processor/processor.go index 387a1c4f5..33af0d59e 100644 --- a/src/extensions/nginx-app-protect/monitoring/processor/processor.go +++ b/src/extensions/nginx-app-protect/monitoring/processor/processor.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package processor import ( diff --git a/src/extensions/nginx-app-protect/monitoring/processor/processor_test.go b/src/extensions/nginx-app-protect/monitoring/processor/processor_test.go index 74f87e85b..c3739a3c8 100644 --- a/src/extensions/nginx-app-protect/monitoring/processor/processor_test.go +++ b/src/extensions/nginx-app-protect/monitoring/processor/processor_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package processor import ( diff --git a/src/extensions/nginx-app-protect/monitoring/types.go b/src/extensions/nginx-app-protect/monitoring/types.go index 26d25eaed..68a56d2df 100644 --- a/src/extensions/nginx-app-protect/monitoring/types.go +++ b/src/extensions/nginx-app-protect/monitoring/types.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package monitoring import "fmt" diff --git a/src/extensions/nginx-app-protect/nap/const.go b/src/extensions/nginx-app-protect/nap/const.go index 640fd9a22..204e5257a 100644 --- a/src/extensions/nginx-app-protect/nap/const.go +++ b/src/extensions/nginx-app-protect/nap/const.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap const ( diff --git a/src/extensions/nginx-app-protect/nap/errors.go b/src/extensions/nginx-app-protect/nap/errors.go index 1beca4adf..fe27c6a2d 100644 --- a/src/extensions/nginx-app-protect/nap/errors.go +++ b/src/extensions/nginx-app-protect/nap/errors.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap const ( diff --git a/src/extensions/nginx-app-protect/nap/logger.go b/src/extensions/nginx-app-protect/nap/logger.go index a4e6e7ced..5aa63e89d 100644 --- a/src/extensions/nginx-app-protect/nap/logger.go +++ b/src/extensions/nginx-app-protect/nap/logger.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap import ( diff --git a/src/extensions/nginx-app-protect/nap/nap.go b/src/extensions/nginx-app-protect/nap/nap.go index 0ec29eb5b..dddb4a770 100644 --- a/src/extensions/nginx-app-protect/nap/nap.go +++ b/src/extensions/nginx-app-protect/nap/nap.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap import ( diff --git a/src/extensions/nginx-app-protect/nap/nap_release.go b/src/extensions/nginx-app-protect/nap/nap_release.go index d48140cad..60998d380 100644 --- a/src/extensions/nginx-app-protect/nap/nap_release.go +++ b/src/extensions/nginx-app-protect/nap/nap_release.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap import ( diff --git a/src/extensions/nginx-app-protect/nap/nap_release_test.go b/src/extensions/nginx-app-protect/nap/nap_release_test.go index e99985bbc..b5658185f 100644 --- a/src/extensions/nginx-app-protect/nap/nap_release_test.go +++ b/src/extensions/nginx-app-protect/nap/nap_release_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap import ( diff --git a/src/extensions/nginx-app-protect/nap/nap_test.go b/src/extensions/nginx-app-protect/nap/nap_test.go index 347e2d73f..be6278279 100644 --- a/src/extensions/nginx-app-protect/nap/nap_test.go +++ b/src/extensions/nginx-app-protect/nap/nap_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap import ( diff --git a/src/extensions/nginx-app-protect/nap/releases.go b/src/extensions/nginx-app-protect/nap/releases.go index 7f67c92ed..f9c4c737c 100644 --- a/src/extensions/nginx-app-protect/nap/releases.go +++ b/src/extensions/nginx-app-protect/nap/releases.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap func ReleaseUnmappedBuild(buildVersion string) NAPRelease { diff --git a/src/extensions/nginx-app-protect/nap/status.go b/src/extensions/nginx-app-protect/nap/status.go index e0d401da7..76231225d 100644 --- a/src/extensions/nginx-app-protect/nap/status.go +++ b/src/extensions/nginx-app-protect/nap/status.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap // Enums for Status diff --git a/src/extensions/nginx-app-protect/nap/types.go b/src/extensions/nginx-app-protect/nap/types.go index 5341dd688..cdd19b906 100644 --- a/src/extensions/nginx-app-protect/nap/types.go +++ b/src/extensions/nginx-app-protect/nap/types.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap // Status is an Enum that represents the status of NAP. diff --git a/src/plugins/advanced_metrics.go b/src/plugins/advanced_metrics.go index 9839b4ea1..23bbc436e 100644 --- a/src/plugins/advanced_metrics.go +++ b/src/plugins/advanced_metrics.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/advanced_metrics_test.go b/src/plugins/advanced_metrics_test.go index 87bcbd3b4..00a056fe2 100644 --- a/src/plugins/advanced_metrics_test.go +++ b/src/plugins/advanced_metrics_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/agent_api.go b/src/plugins/agent_api.go index 5bb369be2..e3983988d 100644 --- a/src/plugins/agent_api.go +++ b/src/plugins/agent_api.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/agent_api_test.go b/src/plugins/agent_api_test.go index 2b243167f..f960a30f4 100644 --- a/src/plugins/agent_api_test.go +++ b/src/plugins/agent_api_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/commander.go b/src/plugins/commander.go index 5772b9fdd..32be83c88 100644 --- a/src/plugins/commander.go +++ b/src/plugins/commander.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/commander_test.go b/src/plugins/commander_test.go index aeae6503d..7ace05f2d 100644 --- a/src/plugins/commander_test.go +++ b/src/plugins/commander_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/config_reader.go b/src/plugins/config_reader.go index fd830bf57..2f93bb966 100644 --- a/src/plugins/config_reader.go +++ b/src/plugins/config_reader.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/config_reader_test.go b/src/plugins/config_reader_test.go index 8b971986c..8d2a4359c 100644 --- a/src/plugins/config_reader_test.go +++ b/src/plugins/config_reader_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/dataplane_status.go b/src/plugins/dataplane_status.go index 577408dbb..fdd7c062e 100644 --- a/src/plugins/dataplane_status.go +++ b/src/plugins/dataplane_status.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/dataplane_status_test.go b/src/plugins/dataplane_status_test.go index 898c4d19e..a7a54ae39 100644 --- a/src/plugins/dataplane_status_test.go +++ b/src/plugins/dataplane_status_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/events.go b/src/plugins/events.go index e0ceb89c0..99f01f28f 100644 --- a/src/plugins/events.go +++ b/src/plugins/events.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/events_test.go b/src/plugins/events_test.go index 70f6a003e..c20399d21 100644 --- a/src/plugins/events_test.go +++ b/src/plugins/events_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/extensions.go b/src/plugins/extensions.go index 5f04e2877..51bbbb54e 100644 --- a/src/plugins/extensions.go +++ b/src/plugins/extensions.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/extensions_test.go b/src/plugins/extensions_test.go index 52b708e51..e91ee1c15 100644 --- a/src/plugins/extensions_test.go +++ b/src/plugins/extensions_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/file_watcher.go b/src/plugins/file_watcher.go index 3e70d6c4c..781b9d456 100644 --- a/src/plugins/file_watcher.go +++ b/src/plugins/file_watcher.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/file_watcher_test.go b/src/plugins/file_watcher_test.go index 63a08e127..5fc102d20 100644 --- a/src/plugins/file_watcher_test.go +++ b/src/plugins/file_watcher_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/file_watcher_throttling.go b/src/plugins/file_watcher_throttling.go index c8ada89d1..aeb5577c9 100644 --- a/src/plugins/file_watcher_throttling.go +++ b/src/plugins/file_watcher_throttling.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/file_watcher_throttling_test.go b/src/plugins/file_watcher_throttling_test.go index ec9725466..91847e076 100644 --- a/src/plugins/file_watcher_throttling_test.go +++ b/src/plugins/file_watcher_throttling_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/metrics.go b/src/plugins/metrics.go index 250e0cbd9..118d3aa3e 100644 --- a/src/plugins/metrics.go +++ b/src/plugins/metrics.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/metrics_sender.go b/src/plugins/metrics_sender.go index b1a764056..0b47761c3 100644 --- a/src/plugins/metrics_sender.go +++ b/src/plugins/metrics_sender.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/metrics_sender_test.go b/src/plugins/metrics_sender_test.go index 2dfaddee3..229803025 100644 --- a/src/plugins/metrics_sender_test.go +++ b/src/plugins/metrics_sender_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/metrics_test.go b/src/plugins/metrics_test.go index f4ce17d35..a186138c2 100644 --- a/src/plugins/metrics_test.go +++ b/src/plugins/metrics_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/metrics_throlling.go b/src/plugins/metrics_throlling.go index 52a520a41..373e8950c 100644 --- a/src/plugins/metrics_throlling.go +++ b/src/plugins/metrics_throlling.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/metrics_throlling_test.go b/src/plugins/metrics_throlling_test.go index 096f57da0..d9c7ff386 100644 --- a/src/plugins/metrics_throlling_test.go +++ b/src/plugins/metrics_throlling_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/nap_monitoring.go b/src/plugins/nap_monitoring.go index e10d28b1b..fdead45ee 100644 --- a/src/plugins/nap_monitoring.go +++ b/src/plugins/nap_monitoring.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/nap_monitoring_test.go b/src/plugins/nap_monitoring_test.go index f786abe81..a69077507 100644 --- a/src/plugins/nap_monitoring_test.go +++ b/src/plugins/nap_monitoring_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/nginx.go b/src/plugins/nginx.go index afe81eb32..40b4da6b1 100644 --- a/src/plugins/nginx.go +++ b/src/plugins/nginx.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/nginx_app_protect.go b/src/plugins/nginx_app_protect.go index 02c63268d..29db807bf 100644 --- a/src/plugins/nginx_app_protect.go +++ b/src/plugins/nginx_app_protect.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/nginx_app_protect_test.go b/src/plugins/nginx_app_protect_test.go index 8c434900a..41cafdacd 100644 --- a/src/plugins/nginx_app_protect_test.go +++ b/src/plugins/nginx_app_protect_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/nginx_counter.go b/src/plugins/nginx_counter.go index a44a4faee..e0928f782 100644 --- a/src/plugins/nginx_counter.go +++ b/src/plugins/nginx_counter.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/nginx_counter_test.go b/src/plugins/nginx_counter_test.go index 3882b019c..a15977676 100644 --- a/src/plugins/nginx_counter_test.go +++ b/src/plugins/nginx_counter_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/nginx_test.go b/src/plugins/nginx_test.go index 6ae8b3e37..593e6d3f3 100644 --- a/src/plugins/nginx_test.go +++ b/src/plugins/nginx_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/process_watcher.go b/src/plugins/process_watcher.go index 6b62023b4..8f6b56d45 100644 --- a/src/plugins/process_watcher.go +++ b/src/plugins/process_watcher.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/process_watcher_test.go b/src/plugins/process_watcher_test.go index 786c7fcdb..0a9911541 100644 --- a/src/plugins/process_watcher_test.go +++ b/src/plugins/process_watcher_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/registration.go b/src/plugins/registration.go index 05a99c331..7759f8610 100644 --- a/src/plugins/registration.go +++ b/src/plugins/registration.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/registration_test.go b/src/plugins/registration_test.go index 20c4f41c6..138f596d6 100644 --- a/src/plugins/registration_test.go +++ b/src/plugins/registration_test.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/src/plugins/utils.go b/src/plugins/utils.go old mode 100755 new mode 100644 index 0e4179ebd..bc9a965ae --- a/src/plugins/utils.go +++ b/src/plugins/utils.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/agent/config/config_helpers.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/agent/config/config_helpers.go index 62e6492b5..7d78fb8f0 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/agent/config/config_helpers.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/agent/config/config_helpers.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config const ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/backoff.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/backoff.go index 0d6ca185d..939d8a1c7 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/backoff.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/backoff.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/certificates.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/certificates.go index b5c2aae4b..0d13a03c5 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/certificates.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/certificates.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/checksum/checksum.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/checksum/checksum.go index 006dfe48c..627afab04 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/checksum/checksum.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/checksum/checksum.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package checksum import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/client.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/client.go index b96e62030..7922328bd 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/client.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/client.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + //go:generate enumer -type=MsgClassification -text -yaml -json -transform=snake -trimprefix=MsgClassification package client diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/commander.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/commander.go index e2afc59c2..6f8be3f2c 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/commander.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/commander.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/connect.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/connect.go index 8d6bc1ac9..85114e12f 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/connect.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/connect.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/controller.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/controller.go index 43f68ab47..b89efd01b 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/controller.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/controller.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/errors.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/errors.go index e811885c6..905d75b6a 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/errors.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/errors.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/message.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/message.go index 7f6427f5d..ae9a6ff7b 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/message.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/message.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/metric_reporter.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/metric_reporter.go index c99f0ce38..06fe5c328 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/metric_reporter.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/client/metric_reporter.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/config_apply.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/config_apply.go index 545e599f0..59a21dd83 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/config_apply.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/config_apply.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/config_helpers.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/config_helpers.go index d88993137..27f23565d 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/config_helpers.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/config_helpers.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/files/file_helpers.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/files/file_helpers.go index 60ae8e63f..856483bf0 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/files/file_helpers.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/files/file_helpers.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package files import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/conts.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/conts.go index c228fa978..9b77cf22f 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/conts.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/conts.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package grpc const ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/grpc.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/grpc.go index 7598402bd..28529f052 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/grpc.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/grpc.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package grpc import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/meta.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/meta.go index aa5c8bd34..1d0ea2b53 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/meta.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/grpc/meta.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package grpc import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/interceptors/client.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/interceptors/client.go index 5092122cb..93397f80d 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/interceptors/client.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/interceptors/client.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package interceptors import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/interceptors/interceptors.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/interceptors/interceptors.go index d40d3bceb..1412afe47 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/interceptors/interceptors.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/interceptors/interceptors.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package interceptors import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/traverser.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/traverser.go index 4ad9875f7..3e77e19c7 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/traverser.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/traverser.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/zip/zipped_file.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/zip/zipped_file.go index 05cd27ef0..3abfd3a52 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/zip/zipped_file.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/zip/zipped_file.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + // Package zip provide convenience utilities to work with config files. package zip diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/checksum.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/checksum.go index 4880cb09a..834fea3ef 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/checksum.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/checksum.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/commands.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/commands.go index eae8942fd..8321b83c3 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/commands.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/commands.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/config.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/config.go index 63e74ce4d..b7f443131 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/config.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/config.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/defaults.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/defaults.go index 17c088c70..f1fcbcae2 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/defaults.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/defaults.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( @@ -37,8 +44,8 @@ var ( Path: "/var/log/nginx-agent", }, Server: Server{ - Command: "", - Metrics: "", + Command: "", + Metrics: "", // token needs to be validated on the server side - can be overridden by the config value or the cli / environment variable // so setting to random uuid at the moment, tls connection won't work without the auth header Token: uuid.New().String(), @@ -204,12 +211,12 @@ var ( DefaultValue: Defaults.Log.Path, }, &StringFlag{ - Name: ServerHost, - Usage: "The IP address of the server host. IPv4 addresses and hostnames are supported.", + Name: ServerHost, + Usage: "The IP address of the server host. IPv4 addresses and hostnames are supported.", }, &IntFlag{ - Name: ServerGrpcPort, - Usage: "The desired GRPC port to use for nginx-agent traffic.", + Name: ServerGrpcPort, + Usage: "The desired GRPC port to use for nginx-agent traffic.", }, &StringFlag{ Name: ServerToken, diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/flags.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/flags.go index 8c20e6329..a07c363ab 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/flags.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/flags.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/types.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/types.go index 976cee3a6..12372fe8c 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/types.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/types.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/environment.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/environment.go index f89d9a1f7..375e60384 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/environment.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/environment.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/info.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/info.go index 20b9d64bf..7ed419dd5 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/info.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/info.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core type Info struct { diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/logger/log.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/logger/log.go index 53b13c34a..8dee9a63e 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/logger/log.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/logger/log.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package logger import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/message.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/message.go index bcf0c1b8e..c37fe9248 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/message.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/message.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/aggregate.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/aggregate.go index a3e0a11ef..22f7cdd3d 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/aggregate.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/aggregate.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package metrics import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/container.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/container.go index da5a6a9d2..f01550a33 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/container.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/container.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collectors import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/nginx.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/nginx.go index e8bdb03ed..11f08ae39 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/nginx.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/nginx.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collectors import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/system.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/system.go index 287cb935f..b4bf7a2d8 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/system.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/collectors/system.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collectors import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/dimensions.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/dimensions.go index 3b665243c..8a9a604b0 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/dimensions.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/dimensions.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package metrics import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/metrics_util.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/metrics_util.go index 283e96286..562363535 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/metrics_util.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/metrics_util.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package metrics import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_constants.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_constants.go index dab213617..5cb16cb86 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_constants.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_constants.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup const ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_cpu.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_cpu.go index 4417244e4..6cbbaaded 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_cpu.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_cpu.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_mem.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_mem.go index 310a98481..972ae4d29 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_mem.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_mem.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_swap.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_swap.go index 35e74d35c..abede8b72 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_swap.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/cgroup_swap.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/utils.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/utils.go index d44f7882b..f0a64f70b 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/utils.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cgroup/utils.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package cgroup import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/common.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/common.go index 5f59ab9a9..8a1fa3fab 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/common.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/common.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/container_cpu.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/container_cpu.go index 84b5634c9..fa61035d7 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/container_cpu.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/container_cpu.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/container_mem.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/container_mem.go index a13aa7d1a..b0e7bcf7d 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/container_mem.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/container_mem.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cpu.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cpu.go index 00c65d716..391913c53 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cpu.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/cpu.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/disk.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/disk.go index b9ee797e9..f67944d27 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/disk.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/disk.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/disk_io.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/disk_io.go index 399ba2023..30b13ea39 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/disk_io.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/disk_io.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/load.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/load.go index a6139facc..38ce9828d 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/load.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/load.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/mem.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/mem.go index b8dfb8a91..64ab9ee0c 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/mem.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/mem.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/net_io.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/net_io.go index cb5c86834..c1d7bd4c1 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/net_io.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/net_io.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_access_log.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_access_log.go index 69d0dcf43..6617354cc 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_access_log.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_access_log.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_error_log.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_error_log.go index 3b5f2878d..6b1943956 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_error_log.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_error_log.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_oss.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_oss.go index ea7b8dfc9..a82176f9f 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_oss.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_oss.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_plus.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_plus.go index 2f68108f6..bb4db44c2 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_plus.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_plus.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_process.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_process.go index 325a9841c..35c55810f 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_process.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_process.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_static.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_static.go index 66a898379..86b0465ef 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_static.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_static.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_worker.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_worker.go index 1db7e439c..2baeb38fd 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_worker.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/nginx_worker.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/swap.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/swap.go index fb6ac39d8..b42650205 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/swap.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/swap.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sources import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/tailer/tailer.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/tailer/tailer.go index 8b4349ac4..42a245b5d 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/tailer/tailer.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/metrics/sources/tailer/tailer.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package tailer import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/mock_pipe.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/mock_pipe.go index b4d9cf35b..68f1eb823 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/mock_pipe.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/mock_pipe.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/network/network.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/network/network.go index af37b330c..9e4bb88e6 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/network/network.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/network/network.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package network import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/nginx.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/nginx.go index 164a89302..8c68a387e 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/nginx.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/nginx.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/os.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/os.go index 7f032c90e..df43deb48 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/os.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/os.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/payloads/register_software_details.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/payloads/register_software_details.go index bc8ad7ab8..81ea24f20 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/payloads/register_software_details.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/payloads/register_software_details.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package payloads import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/pipe.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/pipe.go index 5903bcce9..3a2984026 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/pipe.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/pipe.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/plugin.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/plugin.go index 4d1748a95..f2f5af37d 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/plugin.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/plugin.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core type Plugin interface { diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/process.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/process.go index 242dc85a0..e3706ee98 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/process.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/process.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/slice.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/slice.go index ffc164656..95d3544ae 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/slice.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/slice.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core // SliceContainsString takes in a slice of strings and a string to check for diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/topics.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/topics.go index 41dc95b57..58b00804c 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/topics.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/topics.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package core const ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/aggregator/aggregator.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/aggregator/aggregator.go index d8f1be792..c17cd18f5 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/aggregator/aggregator.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/aggregator/aggregator.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package aggregator import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/ingester/ingester.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/ingester/ingester.go index 5eebe1b47..90c255cde 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/ingester/ingester.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/ingester/ingester.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package ingester import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/ingester/iterator.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/ingester/iterator.go index f19944592..7014ad82e 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/ingester/iterator.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/ingester/iterator.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package ingester import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/advanced-metrics/advanced_metrics.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/advanced-metrics/advanced_metrics.go index 27672782c..56e12f205 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/advanced-metrics/advanced_metrics.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/advanced-metrics/advanced_metrics.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package advanced_metrics import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/publisher/metric.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/publisher/metric.go index 92289bdd3..8dbff9e3c 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/publisher/metric.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/publisher/metric.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package publisher import "github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample" diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/publisher/publisher.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/publisher/publisher.go index 963110810..e6c960d01 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/publisher/publisher.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/publisher/publisher.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package publisher import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/schema/schema_builder.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/schema/schema_builder.go index 1293f2d0d..c590f9fb8 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/schema/schema_builder.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/pkg/schema/schema_builder.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package schema import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/buffer.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/buffer.go index f0cd781de..e4f7179dc 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/buffer.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/buffer.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package reader import "io" diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/frame.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/frame.go index 32bec2ea2..d6b8f1a49 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/frame.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/frame.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package reader import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/reader.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/reader.go index 2b92833ef..762b79b67 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/reader.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/reader.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package reader import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/worker.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/worker.go index 6d1fd59d9..c02caf619 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/worker.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/reader/worker.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package reader import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/limits/limits.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/limits/limits.go index c0903a794..271425b23 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/limits/limits.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/limits/limits.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package limits import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/lookup/lookup.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/lookup/lookup.go index 87fb013cb..46200fd98 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/lookup/lookup.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/lookup/lookup.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package lookup import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/lookup/lookup_set.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/lookup/lookup_set.go index 79598859c..23b1f4b51 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/lookup/lookup_set.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/lookup/lookup_set.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package lookup import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/priority_table/priority_table.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/priority_table/priority_table.go index cdb309fb8..95b7c7c09 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/priority_table/priority_table.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/priority_table/priority_table.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package priority_table import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/priority_table/sample_queue.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/priority_table/sample_queue.go index 5f471cdf3..b806aeba7 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/priority_table/sample_queue.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/priority_table/sample_queue.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package priority_table import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/metric.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/metric.go index d4782a5dc..d20f106af 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/metric.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/metric.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample // Metric is a simple counter like metric with its summary stats bundled in diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/sample.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/sample.go index e57c84aa1..92180957e 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/sample.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/sample.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/sample_key.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/sample_key.go index 84d53a71f..8df12a6ef 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/sample_key.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/sample_key.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample import "fmt" diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/samples.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/samples.go index 7f180b6ec..3f2c016a0 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/samples.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/sample/samples.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sample import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/schema/field.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/schema/field.go index d30b631f7..e1fb80afc 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/schema/field.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/schema/field.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package schema import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/schema/schema.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/schema/schema.go index b8f403c83..a86f7d2aa 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/schema/schema.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/schema/schema.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package schema type Schema struct { diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/staging_table.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/staging_table.go index 4be480b4f..8e17a19a1 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/staging_table.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/advanced-metrics/tables/staging_table.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package tables import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/collector.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/collector.go index 128ebdacb..bc9f7e085 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/collector.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/collector.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collector import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/config.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/config.go index 6c0ecea5b..7345491d4 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/config.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/config.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collector import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/nap.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/nap.go index 50daf5aa6..06549d55d 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/nap.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/collector/nap.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package collector import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/manager/manager.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/manager/manager.go index d4182c9ca..9c96b6c3f 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/manager/manager.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/manager/manager.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package manager import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/config.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/config.go index d852d909e..9330224c8 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/config.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/config.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package processor import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/metadata.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/metadata.go index c65a4d7fc..d652f50ca 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/metadata.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/metadata.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package processor import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/nap.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/nap.go index 9a93efe49..6397f3a80 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/nap.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/nap.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package processor import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/processor.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/processor.go index 387a1c4f5..33af0d59e 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/processor.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/processor/processor.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package processor import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/types.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/types.go index 26d25eaed..68a56d2df 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/types.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/monitoring/types.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package monitoring import "fmt" diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/const.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/const.go index 640fd9a22..204e5257a 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/const.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/const.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap const ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/errors.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/errors.go index 1beca4adf..fe27c6a2d 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/errors.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/errors.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap const ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/logger.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/logger.go index a4e6e7ced..5aa63e89d 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/logger.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/logger.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/nap.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/nap.go index 0ec29eb5b..dddb4a770 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/nap.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/nap.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/nap_release.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/nap_release.go index d48140cad..60998d380 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/nap_release.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/nap_release.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/releases.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/releases.go index 7f67c92ed..f9c4c737c 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/releases.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/releases.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap func ReleaseUnmappedBuild(buildVersion string) NAPRelease { diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/status.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/status.go index e0d401da7..76231225d 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/status.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/status.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap // Enums for Status diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/types.go b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/types.go index 5341dd688..cdd19b906 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/types.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/extensions/nginx-app-protect/nap/types.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package nap // Status is an Enum that represents the status of NAP. diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/advanced_metrics.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/advanced_metrics.go index 9839b4ea1..23bbc436e 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/advanced_metrics.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/advanced_metrics.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/agent_api.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/agent_api.go index 5bb369be2..e3983988d 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/agent_api.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/agent_api.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/commander.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/commander.go index 5772b9fdd..32be83c88 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/commander.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/commander.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/config_reader.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/config_reader.go index fd830bf57..2f93bb966 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/config_reader.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/config_reader.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/dataplane_status.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/dataplane_status.go index 577408dbb..fdd7c062e 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/dataplane_status.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/dataplane_status.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/events.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/events.go index e0ceb89c0..99f01f28f 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/events.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/events.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/extensions.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/extensions.go index 5f04e2877..51bbbb54e 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/extensions.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/extensions.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/file_watcher.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/file_watcher.go index 3e70d6c4c..781b9d456 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/file_watcher.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/file_watcher.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/file_watcher_throttling.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/file_watcher_throttling.go index c8ada89d1..aeb5577c9 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/file_watcher_throttling.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/file_watcher_throttling.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics.go index 250e0cbd9..118d3aa3e 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics_sender.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics_sender.go index b1a764056..0b47761c3 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics_sender.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics_sender.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics_throlling.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics_throlling.go index 52a520a41..373e8950c 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics_throlling.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/metrics_throlling.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nap_monitoring.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nap_monitoring.go index e10d28b1b..fdead45ee 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nap_monitoring.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nap_monitoring.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx.go index afe81eb32..40b4da6b1 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx_app_protect.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx_app_protect.go index 02c63268d..29db807bf 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx_app_protect.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx_app_protect.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx_counter.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx_counter.go index a44a4faee..e0928f782 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx_counter.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/nginx_counter.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/process_watcher.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/process_watcher.go index 6b62023b4..8f6b56d45 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/process_watcher.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/process_watcher.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/registration.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/registration.go index 05a99c331..7759f8610 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/registration.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/registration.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/utils.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/utils.go index 0e4179ebd..bc9a965ae 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/utils.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/utils.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package plugins import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/agent/config/config_helpers.go b/vendor/github.com/nginx/agent/sdk/v2/agent/config/config_helpers.go index 62e6492b5..7d78fb8f0 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/agent/config/config_helpers.go +++ b/vendor/github.com/nginx/agent/sdk/v2/agent/config/config_helpers.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package config const ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/backoff.go b/vendor/github.com/nginx/agent/sdk/v2/backoff.go index 0d6ca185d..939d8a1c7 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/backoff.go +++ b/vendor/github.com/nginx/agent/sdk/v2/backoff.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/certificates.go b/vendor/github.com/nginx/agent/sdk/v2/certificates.go index b5c2aae4b..0d13a03c5 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/certificates.go +++ b/vendor/github.com/nginx/agent/sdk/v2/certificates.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/checksum/checksum.go b/vendor/github.com/nginx/agent/sdk/v2/checksum/checksum.go index 006dfe48c..627afab04 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/checksum/checksum.go +++ b/vendor/github.com/nginx/agent/sdk/v2/checksum/checksum.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package checksum import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/client/client.go b/vendor/github.com/nginx/agent/sdk/v2/client/client.go index b96e62030..7922328bd 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/client/client.go +++ b/vendor/github.com/nginx/agent/sdk/v2/client/client.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + //go:generate enumer -type=MsgClassification -text -yaml -json -transform=snake -trimprefix=MsgClassification package client diff --git a/vendor/github.com/nginx/agent/sdk/v2/client/commander.go b/vendor/github.com/nginx/agent/sdk/v2/client/commander.go index e2afc59c2..6f8be3f2c 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/client/commander.go +++ b/vendor/github.com/nginx/agent/sdk/v2/client/commander.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/client/connect.go b/vendor/github.com/nginx/agent/sdk/v2/client/connect.go index 8d6bc1ac9..85114e12f 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/client/connect.go +++ b/vendor/github.com/nginx/agent/sdk/v2/client/connect.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/client/controller.go b/vendor/github.com/nginx/agent/sdk/v2/client/controller.go index 43f68ab47..b89efd01b 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/client/controller.go +++ b/vendor/github.com/nginx/agent/sdk/v2/client/controller.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/client/errors.go b/vendor/github.com/nginx/agent/sdk/v2/client/errors.go index e811885c6..905d75b6a 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/client/errors.go +++ b/vendor/github.com/nginx/agent/sdk/v2/client/errors.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/client/message.go b/vendor/github.com/nginx/agent/sdk/v2/client/message.go index 7f6427f5d..ae9a6ff7b 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/client/message.go +++ b/vendor/github.com/nginx/agent/sdk/v2/client/message.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/client/metric_reporter.go b/vendor/github.com/nginx/agent/sdk/v2/client/metric_reporter.go index c99f0ce38..06fe5c328 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/client/metric_reporter.go +++ b/vendor/github.com/nginx/agent/sdk/v2/client/metric_reporter.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package client import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/config_apply.go b/vendor/github.com/nginx/agent/sdk/v2/config_apply.go index 545e599f0..59a21dd83 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/config_apply.go +++ b/vendor/github.com/nginx/agent/sdk/v2/config_apply.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/config_helpers.go b/vendor/github.com/nginx/agent/sdk/v2/config_helpers.go index d88993137..27f23565d 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/config_helpers.go +++ b/vendor/github.com/nginx/agent/sdk/v2/config_helpers.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/files/file_helpers.go b/vendor/github.com/nginx/agent/sdk/v2/files/file_helpers.go index 60ae8e63f..856483bf0 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/files/file_helpers.go +++ b/vendor/github.com/nginx/agent/sdk/v2/files/file_helpers.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package files import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/grpc/conts.go b/vendor/github.com/nginx/agent/sdk/v2/grpc/conts.go index c228fa978..9b77cf22f 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/grpc/conts.go +++ b/vendor/github.com/nginx/agent/sdk/v2/grpc/conts.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package grpc const ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/grpc/grpc.go b/vendor/github.com/nginx/agent/sdk/v2/grpc/grpc.go index 7598402bd..28529f052 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/grpc/grpc.go +++ b/vendor/github.com/nginx/agent/sdk/v2/grpc/grpc.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package grpc import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/grpc/meta.go b/vendor/github.com/nginx/agent/sdk/v2/grpc/meta.go index aa5c8bd34..1d0ea2b53 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/grpc/meta.go +++ b/vendor/github.com/nginx/agent/sdk/v2/grpc/meta.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package grpc import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/interceptors/client.go b/vendor/github.com/nginx/agent/sdk/v2/interceptors/client.go index 5092122cb..93397f80d 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/interceptors/client.go +++ b/vendor/github.com/nginx/agent/sdk/v2/interceptors/client.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package interceptors import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/interceptors/interceptors.go b/vendor/github.com/nginx/agent/sdk/v2/interceptors/interceptors.go index d40d3bceb..1412afe47 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/interceptors/interceptors.go +++ b/vendor/github.com/nginx/agent/sdk/v2/interceptors/interceptors.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package interceptors import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/traverser.go b/vendor/github.com/nginx/agent/sdk/v2/traverser.go index 4ad9875f7..3e77e19c7 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/traverser.go +++ b/vendor/github.com/nginx/agent/sdk/v2/traverser.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + package sdk import ( diff --git a/vendor/github.com/nginx/agent/sdk/v2/zip/zipped_file.go b/vendor/github.com/nginx/agent/sdk/v2/zip/zipped_file.go index 05cd27ef0..3abfd3a52 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/zip/zipped_file.go +++ b/vendor/github.com/nginx/agent/sdk/v2/zip/zipped_file.go @@ -1,3 +1,10 @@ +/** + * Copyright (c) F5, Inc. + * + * This source code is licensed under the Apache License, Version 2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + // Package zip provide convenience utilities to work with config files. package zip