From dd0e8eec1463eb893c347b18a6ca9cabfcad8690 Mon Sep 17 00:00:00 2001 From: Ronald Date: Tue, 28 Mar 2023 19:39:22 +0100 Subject: [PATCH] copyright headers for agent folder (#16704) * copyright headers for agent folder * Ignore test data files * fix proto files and remove headers in agent/uiserver folder * ignore deep-copy files --- .copywrite.hcl | 7 +++++++ agent/acl.go | 3 +++ agent/acl_endpoint.go | 3 +++ agent/acl_endpoint_test.go | 3 +++ agent/acl_oss.go | 3 +++ agent/acl_test.go | 3 +++ agent/ae/ae.go | 3 +++ agent/ae/ae_test.go | 3 +++ agent/ae/trigger.go | 3 +++ agent/agent.go | 3 +++ agent/agent_endpoint.go | 3 +++ agent/agent_endpoint_oss.go | 3 +++ agent/agent_endpoint_oss_test.go | 3 +++ agent/agent_endpoint_test.go | 3 +++ agent/agent_oss.go | 3 +++ agent/agent_test.go | 3 +++ agent/apiserver.go | 3 +++ agent/apiserver_test.go | 3 +++ agent/auto-config/auto_config.go | 3 +++ agent/auto-config/auto_config_oss.go | 3 +++ agent/auto-config/auto_config_oss_test.go | 3 +++ agent/auto-config/auto_config_test.go | 3 +++ agent/auto-config/auto_encrypt.go | 3 +++ agent/auto-config/auto_encrypt_test.go | 3 +++ agent/auto-config/config.go | 3 +++ agent/auto-config/config_oss.go | 3 +++ agent/auto-config/config_translate.go | 3 +++ agent/auto-config/config_translate_test.go | 3 +++ agent/auto-config/mock_oss_test.go | 3 +++ agent/auto-config/mock_test.go | 3 +++ agent/auto-config/persist.go | 3 +++ agent/auto-config/run.go | 3 +++ agent/auto-config/server_addr.go | 3 +++ agent/auto-config/tls.go | 3 +++ agent/auto-config/tls_test.go | 3 +++ agent/cache-types/catalog_datacenters.go | 3 +++ agent/cache-types/catalog_datacenters_test.go | 3 +++ agent/cache-types/catalog_list_services.go | 3 +++ agent/cache-types/catalog_list_services_test.go | 3 +++ agent/cache-types/catalog_service_list.go | 3 +++ agent/cache-types/catalog_service_list_test.go | 3 +++ agent/cache-types/catalog_services.go | 3 +++ agent/cache-types/catalog_services_test.go | 3 +++ agent/cache-types/config_entry.go | 3 +++ agent/cache-types/config_entry_test.go | 3 +++ agent/cache-types/connect_ca_leaf.go | 3 +++ agent/cache-types/connect_ca_leaf_oss.go | 3 +++ agent/cache-types/connect_ca_leaf_test.go | 3 +++ agent/cache-types/connect_ca_root.go | 3 +++ agent/cache-types/connect_ca_root_test.go | 3 +++ agent/cache-types/discovery_chain.go | 3 +++ agent/cache-types/discovery_chain_test.go | 3 +++ agent/cache-types/exported_peered_services.go | 3 +++ agent/cache-types/exported_peered_services_test.go | 3 +++ agent/cache-types/federation_state_list_gateways.go | 3 +++ agent/cache-types/federation_state_list_gateways_test.go | 3 +++ agent/cache-types/gateway_services.go | 3 +++ agent/cache-types/gateway_services_test.go | 3 +++ agent/cache-types/health_services.go | 3 +++ agent/cache-types/health_services_test.go | 3 +++ agent/cache-types/intention_match.go | 3 +++ agent/cache-types/intention_match_test.go | 3 +++ agent/cache-types/intention_upstreams.go | 3 +++ agent/cache-types/intention_upstreams_destination.go | 3 +++ agent/cache-types/intention_upstreams_destination_test.go | 3 +++ agent/cache-types/intention_upstreams_test.go | 3 +++ agent/cache-types/node_services.go | 3 +++ agent/cache-types/node_services_test.go | 3 +++ agent/cache-types/norace_test.go | 3 +++ agent/cache-types/options.go | 3 +++ agent/cache-types/peered_upstreams.go | 3 +++ agent/cache-types/peered_upstreams_test.go | 3 +++ agent/cache-types/peerings.go | 3 +++ agent/cache-types/peerings_test.go | 3 +++ agent/cache-types/prepared_query.go | 3 +++ agent/cache-types/prepared_query_test.go | 3 +++ agent/cache-types/race_test.go | 3 +++ agent/cache-types/resolved_service_config.go | 3 +++ agent/cache-types/resolved_service_config_test.go | 3 +++ agent/cache-types/rpc.go | 3 +++ agent/cache-types/service_checks.go | 3 +++ agent/cache-types/service_checks_test.go | 3 +++ agent/cache-types/service_dump.go | 3 +++ agent/cache-types/service_dump_test.go | 3 +++ agent/cache-types/service_gateways.go | 3 +++ agent/cache-types/service_gateways_test.go | 3 +++ agent/cache-types/testing.go | 3 +++ agent/cache-types/trust_bundle.go | 3 +++ agent/cache-types/trust_bundle_test.go | 3 +++ agent/cache-types/trust_bundles.go | 3 +++ agent/cache-types/trust_bundles_test.go | 3 +++ agent/cache/cache.go | 3 +++ agent/cache/cache_test.go | 3 +++ agent/cache/entry.go | 3 +++ agent/cache/request.go | 3 +++ agent/cache/testing.go | 3 +++ agent/cache/type.go | 3 +++ agent/cache/watch.go | 3 +++ agent/cache/watch_test.go | 3 +++ agent/catalog_endpoint.go | 3 +++ agent/catalog_endpoint_oss.go | 3 +++ agent/catalog_endpoint_test.go | 3 +++ agent/check.go | 3 +++ agent/checks/alias.go | 3 +++ agent/checks/alias_test.go | 3 +++ agent/checks/check.go | 3 +++ agent/checks/check_test.go | 3 +++ agent/checks/check_windows_test.go | 3 +++ agent/checks/docker.go | 3 +++ agent/checks/docker_unix.go | 3 +++ agent/checks/docker_windows.go | 3 +++ agent/checks/grpc.go | 3 +++ agent/checks/grpc_test.go | 3 +++ agent/checks/os_service.go | 3 +++ agent/checks/os_service_unix.go | 3 +++ agent/checks/os_service_windows.go | 3 +++ agent/config/agent_limits.go | 3 +++ agent/config/builder.go | 3 +++ agent/config/builder_oss.go | 3 +++ agent/config/builder_oss_test.go | 3 +++ agent/config/builder_test.go | 3 +++ agent/config/config.go | 3 +++ agent/config/config_oss.go | 3 +++ agent/config/default.go | 3 +++ agent/config/default_oss.go | 3 +++ agent/config/deprecated.go | 3 +++ agent/config/deprecated_test.go | 3 +++ agent/config/doc.go | 3 +++ agent/config/file_watcher.go | 3 +++ agent/config/file_watcher_test.go | 3 +++ agent/config/flags.go | 3 +++ agent/config/flags_test.go | 3 +++ agent/config/flagset.go | 3 +++ agent/config/golden_test.go | 3 +++ agent/config/limits.go | 3 +++ agent/config/limits_windows.go | 3 +++ agent/config/merge.go | 3 +++ agent/config/merge_test.go | 3 +++ agent/config/ratelimited_file_watcher.go | 3 +++ agent/config/ratelimited_file_watcher_test.go | 3 +++ agent/config/runtime.go | 3 +++ agent/config/runtime_oss.go | 3 +++ agent/config/runtime_oss_test.go | 3 +++ agent/config/runtime_test.go | 3 +++ agent/config/segment_oss.go | 3 +++ agent/config/segment_oss_test.go | 3 +++ agent/config/testdata/full-config.hcl | 3 +++ agent/config_endpoint.go | 3 +++ agent/config_endpoint_test.go | 3 +++ agent/configentry/config_entry.go | 3 +++ agent/configentry/discoverychain.go | 3 +++ agent/configentry/doc.go | 3 +++ agent/configentry/merge_service_config.go | 3 +++ agent/configentry/merge_service_config_test.go | 3 +++ agent/configentry/resolve.go | 3 +++ agent/configentry/resolve_test.go | 3 +++ agent/configentry/service_config.go | 3 +++ agent/connect/authz.go | 3 +++ agent/connect/authz_test.go | 3 +++ agent/connect/ca/common.go | 3 +++ agent/connect/ca/provider.go | 3 +++ agent/connect/ca/provider_aws.go | 3 +++ agent/connect/ca/provider_aws_test.go | 3 +++ agent/connect/ca/provider_consul.go | 3 +++ agent/connect/ca/provider_consul_config.go | 3 +++ agent/connect/ca/provider_consul_test.go | 3 +++ agent/connect/ca/provider_test.go | 3 +++ agent/connect/ca/provider_vault.go | 3 +++ agent/connect/ca/provider_vault_auth.go | 3 +++ agent/connect/ca/provider_vault_auth_alicloud.go | 3 +++ agent/connect/ca/provider_vault_auth_approle.go | 3 +++ agent/connect/ca/provider_vault_auth_aws.go | 3 +++ agent/connect/ca/provider_vault_auth_azure.go | 3 +++ agent/connect/ca/provider_vault_auth_gcp.go | 3 +++ agent/connect/ca/provider_vault_auth_jwt.go | 3 +++ agent/connect/ca/provider_vault_auth_k8s.go | 3 +++ agent/connect/ca/provider_vault_auth_test.go | 3 +++ agent/connect/ca/provider_vault_test.go | 3 +++ agent/connect/ca/testing.go | 3 +++ agent/connect/common_names.go | 3 +++ agent/connect/csr.go | 3 +++ agent/connect/csr_test.go | 3 +++ agent/connect/generate.go | 3 +++ agent/connect/generate_test.go | 3 +++ agent/connect/parsing.go | 3 +++ agent/connect/sni.go | 3 +++ agent/connect/sni_test.go | 3 +++ agent/connect/testing_ca.go | 3 +++ agent/connect/testing_ca_test.go | 3 +++ agent/connect/testing_spiffe.go | 3 +++ agent/connect/uri.go | 3 +++ agent/connect/uri_agent.go | 3 +++ agent/connect/uri_agent_oss.go | 3 +++ agent/connect/uri_agent_oss_test.go | 3 +++ agent/connect/uri_mesh_gateway.go | 3 +++ agent/connect/uri_mesh_gateway_oss.go | 3 +++ agent/connect/uri_mesh_gateway_oss_test.go | 3 +++ agent/connect/uri_server.go | 3 +++ agent/connect/uri_service.go | 3 +++ agent/connect/uri_service_oss.go | 3 +++ agent/connect/uri_service_oss_test.go | 3 +++ agent/connect/uri_signing.go | 3 +++ agent/connect/uri_signing_test.go | 3 +++ agent/connect/uri_test.go | 3 +++ agent/connect/x509_patch.go | 3 +++ agent/connect/x509_patch_test.go | 3 +++ agent/connect_auth.go | 3 +++ agent/connect_ca_endpoint.go | 3 +++ agent/connect_ca_endpoint_test.go | 3 +++ agent/consul/acl.go | 3 +++ agent/consul/acl_authmethod.go | 3 +++ agent/consul/acl_authmethod_oss.go | 3 +++ agent/consul/acl_client.go | 3 +++ agent/consul/acl_endpoint.go | 3 +++ agent/consul/acl_endpoint_oss.go | 3 +++ agent/consul/acl_endpoint_test.go | 3 +++ agent/consul/acl_oss.go | 3 +++ agent/consul/acl_oss_test.go | 3 +++ agent/consul/acl_replication.go | 3 +++ agent/consul/acl_replication_test.go | 3 +++ agent/consul/acl_replication_types.go | 3 +++ agent/consul/acl_server.go | 3 +++ agent/consul/acl_server_oss.go | 3 +++ agent/consul/acl_test.go | 3 +++ agent/consul/acl_token_exp.go | 3 +++ agent/consul/acl_token_exp_test.go | 3 +++ agent/consul/auth/binder.go | 3 +++ agent/consul/auth/binder_oss.go | 3 +++ agent/consul/auth/binder_test.go | 3 +++ agent/consul/auth/login.go | 3 +++ agent/consul/auth/token_writer.go | 3 +++ agent/consul/auth/token_writer_oss.go | 3 +++ agent/consul/auth/token_writer_test.go | 3 +++ agent/consul/authmethod/authmethods.go | 3 +++ agent/consul/authmethod/authmethods_oss.go | 3 +++ agent/consul/authmethod/awsauth/aws.go | 3 +++ agent/consul/authmethod/awsauth/aws_test.go | 3 +++ agent/consul/authmethod/kubeauth/k8s.go | 3 +++ agent/consul/authmethod/kubeauth/k8s_oss.go | 3 +++ agent/consul/authmethod/kubeauth/k8s_test.go | 3 +++ agent/consul/authmethod/kubeauth/testing.go | 3 +++ agent/consul/authmethod/ssoauth/sso.go | 3 +++ agent/consul/authmethod/ssoauth/sso_oss.go | 3 +++ agent/consul/authmethod/ssoauth/sso_test.go | 3 +++ agent/consul/authmethod/testauth/testing.go | 3 +++ agent/consul/authmethod/testauth/testing_oss.go | 3 +++ agent/consul/authmethod/testing.go | 3 +++ agent/consul/auto_config_backend.go | 3 +++ agent/consul/auto_config_backend_test.go | 3 +++ agent/consul/auto_config_endpoint.go | 3 +++ agent/consul/auto_config_endpoint_test.go | 3 +++ agent/consul/auto_encrypt_endpoint.go | 3 +++ agent/consul/auto_encrypt_endpoint_test.go | 3 +++ agent/consul/autopilot.go | 3 +++ agent/consul/autopilot_oss.go | 3 +++ agent/consul/autopilot_test.go | 3 +++ agent/consul/autopilotevents/ready_servers_events.go | 3 +++ agent/consul/autopilotevents/ready_servers_events_test.go | 3 +++ agent/consul/catalog_endpoint.go | 3 +++ agent/consul/catalog_endpoint_test.go | 3 +++ agent/consul/client.go | 3 +++ agent/consul/client_serf.go | 3 +++ agent/consul/client_test.go | 3 +++ agent/consul/cluster_test.go | 3 +++ agent/consul/config.go | 3 +++ agent/consul/config_endpoint.go | 3 +++ agent/consul/config_endpoint_test.go | 3 +++ agent/consul/config_oss.go | 3 +++ agent/consul/config_replication.go | 3 +++ agent/consul/config_replication_test.go | 3 +++ agent/consul/config_test.go | 3 +++ agent/consul/connect_ca_endpoint.go | 3 +++ agent/consul/connect_ca_endpoint_test.go | 3 +++ agent/consul/context.go | 3 +++ agent/consul/context_test.go | 3 +++ agent/consul/controller/controller.go | 3 +++ agent/consul/controller/controller_test.go | 3 +++ agent/consul/controller/defer.go | 3 +++ agent/consul/controller/doc.go | 3 +++ agent/consul/controller/queue.go | 3 +++ agent/consul/controller/queue_test.go | 3 +++ agent/consul/controller/rate.go | 3 +++ agent/consul/controller/rate_test.go | 3 +++ agent/consul/controller/reconciler.go | 3 +++ agent/consul/controller/reconciler_test.go | 3 +++ agent/consul/coordinate_endpoint.go | 3 +++ agent/consul/coordinate_endpoint_test.go | 3 +++ agent/consul/discovery_chain_endpoint.go | 3 +++ agent/consul/discovery_chain_endpoint_test.go | 3 +++ agent/consul/discoverychain/compile.go | 3 +++ agent/consul/discoverychain/compile_oss.go | 3 +++ agent/consul/discoverychain/compile_test.go | 3 +++ agent/consul/discoverychain/gateway.go | 3 +++ agent/consul/discoverychain/gateway_httproute.go | 3 +++ agent/consul/discoverychain/gateway_tcproute.go | 3 +++ agent/consul/discoverychain/gateway_test.go | 3 +++ agent/consul/discoverychain/string_stack.go | 3 +++ agent/consul/discoverychain/string_stack_test.go | 3 +++ agent/consul/discoverychain/testing.go | 3 +++ agent/consul/enterprise_client_oss.go | 3 +++ agent/consul/enterprise_config_oss.go | 3 +++ agent/consul/enterprise_server_oss.go | 3 +++ agent/consul/enterprise_server_oss_test.go | 3 +++ agent/consul/federation_state_endpoint.go | 3 +++ agent/consul/federation_state_endpoint_test.go | 3 +++ agent/consul/federation_state_replication.go | 3 +++ agent/consul/federation_state_replication_test.go | 3 +++ agent/consul/filter.go | 3 +++ agent/consul/filter_test.go | 3 +++ agent/consul/flood.go | 3 +++ agent/consul/fsm/commands_oss.go | 3 +++ agent/consul/fsm/commands_oss_test.go | 3 +++ agent/consul/fsm/fsm.go | 3 +++ agent/consul/fsm/fsm_test.go | 3 +++ agent/consul/fsm/log_verification_chunking_shim.go | 3 +++ agent/consul/fsm/snapshot.go | 3 +++ agent/consul/fsm/snapshot_oss.go | 3 +++ agent/consul/fsm/snapshot_oss_test.go | 3 +++ agent/consul/fsm/snapshot_test.go | 3 +++ agent/consul/fsm_data_store.go | 3 +++ agent/consul/gateway_locator.go | 3 +++ agent/consul/gateway_locator_test.go | 3 +++ agent/consul/gateways/controller_gateways.go | 3 +++ agent/consul/gateways/controller_gateways_test.go | 3 +++ agent/consul/grpc_integration_test.go | 3 +++ agent/consul/health_endpoint.go | 3 +++ agent/consul/health_endpoint_test.go | 3 +++ agent/consul/helper_test.go | 3 +++ agent/consul/intention_endpoint.go | 3 +++ agent/consul/intention_endpoint_test.go | 3 +++ agent/consul/internal_endpoint.go | 3 +++ agent/consul/internal_endpoint_test.go | 3 +++ agent/consul/issue_test.go | 3 +++ agent/consul/kvs_endpoint.go | 3 +++ agent/consul/kvs_endpoint_test.go | 3 +++ agent/consul/leader.go | 3 +++ agent/consul/leader_connect.go | 3 +++ agent/consul/leader_connect_ca.go | 3 +++ agent/consul/leader_connect_ca_test.go | 3 +++ agent/consul/leader_connect_test.go | 3 +++ agent/consul/leader_federation_state_ae.go | 3 +++ agent/consul/leader_federation_state_ae_test.go | 3 +++ agent/consul/leader_intentions.go | 3 +++ agent/consul/leader_intentions_oss.go | 3 +++ agent/consul/leader_intentions_oss_test.go | 3 +++ agent/consul/leader_intentions_test.go | 3 +++ agent/consul/leader_log_verification.go | 3 +++ agent/consul/leader_metrics.go | 3 +++ agent/consul/leader_oss_test.go | 3 +++ agent/consul/leader_peering.go | 3 +++ agent/consul/leader_peering_test.go | 3 +++ agent/consul/leader_test.go | 3 +++ agent/consul/logging.go | 3 +++ agent/consul/logging_test.go | 3 +++ agent/consul/merge.go | 3 +++ agent/consul/merge_oss.go | 3 +++ agent/consul/merge_oss_test.go | 3 +++ agent/consul/merge_test.go | 3 +++ agent/consul/multilimiter/multilimiter.go | 3 +++ agent/consul/multilimiter/multilimiter_test.go | 3 +++ agent/consul/operator_autopilot_endpoint.go | 3 +++ agent/consul/operator_autopilot_endpoint_test.go | 3 +++ agent/consul/operator_backend.go | 3 +++ agent/consul/operator_backend_test.go | 3 +++ agent/consul/operator_endpoint.go | 3 +++ agent/consul/operator_raft_endpoint.go | 3 +++ agent/consul/operator_raft_endpoint_test.go | 3 +++ agent/consul/operator_usage_endpoint.go | 3 +++ agent/consul/options.go | 3 +++ agent/consul/options_oss.go | 3 +++ agent/consul/peering_backend.go | 3 +++ agent/consul/peering_backend_oss.go | 3 +++ agent/consul/peering_backend_oss_test.go | 3 +++ agent/consul/peering_backend_test.go | 3 +++ agent/consul/prepared_query/template.go | 3 +++ agent/consul/prepared_query/template_test.go | 3 +++ agent/consul/prepared_query/walk.go | 3 +++ agent/consul/prepared_query/walk_oss_test.go | 3 +++ agent/consul/prepared_query/walk_test.go | 3 +++ agent/consul/prepared_query_endpoint.go | 3 +++ agent/consul/prepared_query_endpoint_test.go | 3 +++ agent/consul/raft_rpc.go | 3 +++ agent/consul/rate/handler.go | 5 ++++- agent/consul/rate/handler_test.go | 3 +++ agent/consul/rate/metrics.go | 3 +++ agent/consul/replication.go | 3 +++ agent/consul/replication_test.go | 3 +++ agent/consul/rpc.go | 3 +++ agent/consul/rpc_test.go | 3 +++ agent/consul/rtt.go | 3 +++ agent/consul/rtt_test.go | 3 +++ agent/consul/segment_oss.go | 3 +++ agent/consul/serf_filter.go | 3 +++ agent/consul/serf_test.go | 3 +++ agent/consul/server.go | 3 +++ agent/consul/server_connect.go | 3 +++ agent/consul/server_log_verification.go | 3 +++ agent/consul/server_lookup.go | 3 +++ agent/consul/server_lookup_test.go | 3 +++ agent/consul/server_oss.go | 3 +++ agent/consul/server_overview.go | 3 +++ agent/consul/server_overview_test.go | 3 +++ agent/consul/server_register.go | 3 +++ agent/consul/server_serf.go | 3 +++ agent/consul/server_test.go | 3 +++ agent/consul/servercert/manager.go | 3 +++ agent/consul/servercert/manager_test.go | 3 +++ agent/consul/session_endpoint.go | 3 +++ agent/consul/session_endpoint_test.go | 3 +++ agent/consul/session_timers.go | 3 +++ agent/consul/session_timers_test.go | 3 +++ agent/consul/session_ttl.go | 3 +++ agent/consul/session_ttl_test.go | 3 +++ agent/consul/snapshot_endpoint.go | 3 +++ agent/consul/snapshot_endpoint_test.go | 3 +++ agent/consul/state/acl.go | 3 +++ agent/consul/state/acl_events.go | 3 +++ agent/consul/state/acl_events_test.go | 3 +++ agent/consul/state/acl_oss.go | 3 +++ agent/consul/state/acl_oss_test.go | 3 +++ agent/consul/state/acl_schema.go | 3 +++ agent/consul/state/acl_test.go | 3 +++ agent/consul/state/autopilot.go | 3 +++ agent/consul/state/autopilot_test.go | 3 +++ agent/consul/state/catalog.go | 3 +++ agent/consul/state/catalog_events.go | 3 +++ agent/consul/state/catalog_events_oss.go | 3 +++ agent/consul/state/catalog_events_oss_test.go | 3 +++ agent/consul/state/catalog_events_test.go | 3 +++ agent/consul/state/catalog_oss.go | 3 +++ agent/consul/state/catalog_oss_test.go | 3 +++ agent/consul/state/catalog_schema.go | 3 +++ agent/consul/state/catalog_test.go | 3 +++ agent/consul/state/config_entry.go | 3 +++ agent/consul/state/config_entry_events.go | 3 +++ agent/consul/state/config_entry_events_test.go | 3 +++ agent/consul/state/config_entry_intention.go | 3 +++ agent/consul/state/config_entry_intention_oss.go | 3 +++ agent/consul/state/config_entry_oss.go | 3 +++ agent/consul/state/config_entry_oss_test.go | 3 +++ agent/consul/state/config_entry_sameness_group_oss.go | 3 +++ agent/consul/state/config_entry_sameness_group_oss_test.go | 3 +++ agent/consul/state/config_entry_schema.go | 3 +++ agent/consul/state/config_entry_test.go | 3 +++ agent/consul/state/connect_ca.go | 3 +++ agent/consul/state/connect_ca_events.go | 3 +++ agent/consul/state/connect_ca_events_test.go | 3 +++ agent/consul/state/connect_ca_test.go | 3 +++ agent/consul/state/coordinate.go | 3 +++ agent/consul/state/coordinate_oss.go | 3 +++ agent/consul/state/coordinate_oss_test.go | 3 +++ agent/consul/state/coordinate_test.go | 3 +++ agent/consul/state/delay_oss.go | 3 +++ agent/consul/state/delay_test.go | 3 +++ agent/consul/state/events.go | 3 +++ agent/consul/state/events_test.go | 3 +++ agent/consul/state/federation_state.go | 3 +++ agent/consul/state/graveyard.go | 3 +++ agent/consul/state/graveyard_oss.go | 3 +++ agent/consul/state/graveyard_test.go | 3 +++ agent/consul/state/index_connect_test.go | 3 +++ agent/consul/state/indexer.go | 3 +++ agent/consul/state/intention.go | 3 +++ agent/consul/state/intention_oss.go | 3 +++ agent/consul/state/intention_test.go | 3 +++ agent/consul/state/kvs.go | 3 +++ agent/consul/state/kvs_oss.go | 3 +++ agent/consul/state/kvs_oss_test.go | 3 +++ agent/consul/state/kvs_test.go | 3 +++ agent/consul/state/memdb.go | 3 +++ agent/consul/state/operations_oss.go | 3 +++ agent/consul/state/peering.go | 3 +++ agent/consul/state/peering_oss.go | 3 +++ agent/consul/state/peering_oss_test.go | 3 +++ agent/consul/state/peering_test.go | 3 +++ agent/consul/state/prepared_query.go | 3 +++ agent/consul/state/prepared_query_index.go | 3 +++ agent/consul/state/prepared_query_index_test.go | 3 +++ agent/consul/state/prepared_query_test.go | 3 +++ agent/consul/state/query.go | 3 +++ agent/consul/state/query_oss.go | 3 +++ agent/consul/state/schema.go | 3 +++ agent/consul/state/schema_oss.go | 3 +++ agent/consul/state/schema_oss_test.go | 3 +++ agent/consul/state/schema_test.go | 3 +++ agent/consul/state/session.go | 3 +++ agent/consul/state/session_oss.go | 3 +++ agent/consul/state/session_test.go | 3 +++ agent/consul/state/state_store.go | 3 +++ agent/consul/state/state_store_oss_test.go | 3 +++ agent/consul/state/state_store_test.go | 3 +++ agent/consul/state/store_integration_test.go | 3 +++ agent/consul/state/system_metadata.go | 3 +++ agent/consul/state/system_metadata_test.go | 3 +++ agent/consul/state/tombstone_gc.go | 3 +++ agent/consul/state/tombstone_gc_test.go | 3 +++ agent/consul/state/txn.go | 3 +++ agent/consul/state/txn_test.go | 3 +++ agent/consul/state/usage.go | 3 +++ agent/consul/state/usage_oss.go | 3 +++ agent/consul/state/usage_test.go | 3 +++ agent/consul/stats_fetcher.go | 3 +++ agent/consul/stats_fetcher_test.go | 3 +++ agent/consul/status_endpoint.go | 3 +++ agent/consul/status_endpoint_test.go | 3 +++ agent/consul/stream/event.go | 3 +++ agent/consul/stream/event_buffer.go | 3 +++ agent/consul/stream/event_buffer_test.go | 3 +++ agent/consul/stream/event_publisher.go | 3 +++ agent/consul/stream/event_publisher_test.go | 3 +++ agent/consul/stream/event_snapshot.go | 3 +++ agent/consul/stream/event_snapshot_test.go | 3 +++ agent/consul/stream/event_test.go | 3 +++ agent/consul/stream/noop.go | 3 +++ agent/consul/stream/string_types.go | 3 +++ agent/consul/stream/subscription.go | 3 +++ agent/consul/stream/subscription_test.go | 3 +++ agent/consul/subscribe_backend.go | 3 +++ agent/consul/subscribe_backend_test.go | 3 +++ agent/consul/system_metadata.go | 3 +++ agent/consul/system_metadata_test.go | 3 +++ agent/consul/txn_endpoint.go | 3 +++ agent/consul/txn_endpoint_test.go | 3 +++ agent/consul/usagemetrics/usagemetrics.go | 3 +++ agent/consul/usagemetrics/usagemetrics_oss.go | 3 +++ agent/consul/usagemetrics/usagemetrics_oss_test.go | 3 +++ agent/consul/usagemetrics/usagemetrics_test.go | 3 +++ agent/consul/util.go | 3 +++ agent/consul/util_test.go | 3 +++ agent/consul/wanfed/pool.go | 3 +++ agent/consul/wanfed/wanfed.go | 3 +++ agent/consul/wanfed/wanfed_test.go | 3 +++ agent/consul/watch/server_local.go | 3 +++ agent/consul/watch/server_local_test.go | 3 +++ agent/consul/xdscapacity/capacity.go | 3 +++ agent/consul/xdscapacity/capacity_test.go | 3 +++ agent/coordinate_endpoint.go | 3 +++ agent/coordinate_endpoint_test.go | 3 +++ agent/debug/host.go | 3 +++ agent/debug/host_test.go | 3 +++ agent/delegate_mock_test.go | 3 +++ agent/denylist.go | 3 +++ agent/denylist_test.go | 3 +++ agent/discovery_chain_endpoint.go | 3 +++ agent/discovery_chain_endpoint_test.go | 3 +++ agent/dns.go | 3 +++ agent/dns/dns.go | 3 +++ agent/dns/dns_test.go | 3 +++ agent/dns/validation.go | 3 +++ agent/dns/validation_test.go | 3 +++ agent/dns_oss.go | 3 +++ agent/dns_oss_test.go | 3 +++ agent/dns_test.go | 3 +++ agent/enterprise_delegate_oss.go | 3 +++ agent/envoyextensions/builtin/aws-lambda/aws_lambda.go | 3 +++ .../envoyextensions/builtin/aws-lambda/aws_lambda_test.go | 3 +++ agent/envoyextensions/builtin/aws-lambda/copied.go | 3 +++ .../envoyextensions/builtin/http/localratelimit/copied.go | 3 +++ .../builtin/http/localratelimit/ratelimit.go | 3 +++ .../builtin/http/localratelimit/ratelimit_test.go | 3 +++ agent/envoyextensions/builtin/lua/copied.go | 3 +++ agent/envoyextensions/builtin/lua/lua.go | 3 +++ agent/envoyextensions/builtin/lua/lua_test.go | 3 +++ agent/envoyextensions/registered_extensions.go | 3 +++ agent/envoyextensions/registered_extensions_test.go | 3 +++ agent/event_endpoint.go | 3 +++ agent/event_endpoint_test.go | 3 +++ agent/exec/exec.go | 3 +++ agent/exec/exec_unix.go | 3 +++ agent/exec/exec_windows.go | 3 +++ agent/federation_state_endpoint.go | 3 +++ agent/grpc-external/forward.go | 3 +++ agent/grpc-external/limiter/limiter.go | 3 +++ agent/grpc-external/limiter/limiter_test.go | 3 +++ agent/grpc-external/metadata_test.go | 3 +++ agent/grpc-external/options.go | 3 +++ agent/grpc-external/server.go | 3 +++ agent/grpc-external/services/acl/login.go | 3 +++ agent/grpc-external/services/acl/login_test.go | 3 +++ agent/grpc-external/services/acl/logout.go | 3 +++ agent/grpc-external/services/acl/logout_test.go | 3 +++ agent/grpc-external/services/acl/server.go | 3 +++ agent/grpc-external/services/acl/server_test.go | 3 +++ agent/grpc-external/services/connectca/server.go | 3 +++ agent/grpc-external/services/connectca/server_test.go | 3 +++ agent/grpc-external/services/connectca/sign.go | 3 +++ agent/grpc-external/services/connectca/sign_test.go | 3 +++ agent/grpc-external/services/connectca/watch_roots.go | 3 +++ agent/grpc-external/services/connectca/watch_roots_test.go | 3 +++ .../services/dataplane/get_envoy_bootstrap_params.go | 3 +++ .../services/dataplane/get_envoy_bootstrap_params_test.go | 3 +++ .../services/dataplane/get_supported_features.go | 3 +++ .../services/dataplane/get_supported_features_test.go | 3 +++ agent/grpc-external/services/dataplane/server.go | 3 +++ agent/grpc-external/services/dataplane/server_test.go | 3 +++ agent/grpc-external/services/dns/server.go | 3 +++ agent/grpc-external/services/dns/server_test.go | 3 +++ agent/grpc-external/services/peerstream/health_snapshot.go | 3 +++ .../services/peerstream/health_snapshot_test.go | 3 +++ agent/grpc-external/services/peerstream/replication.go | 3 +++ agent/grpc-external/services/peerstream/server.go | 3 +++ agent/grpc-external/services/peerstream/server_test.go | 3 +++ .../grpc-external/services/peerstream/stream_resources.go | 3 +++ agent/grpc-external/services/peerstream/stream_test.go | 3 +++ agent/grpc-external/services/peerstream/stream_tracker.go | 3 +++ .../services/peerstream/stream_tracker_test.go | 3 +++ .../services/peerstream/subscription_blocking.go | 3 +++ .../services/peerstream/subscription_manager.go | 3 +++ .../services/peerstream/subscription_manager_test.go | 3 +++ .../services/peerstream/subscription_state.go | 3 +++ .../services/peerstream/subscription_state_test.go | 3 +++ .../grpc-external/services/peerstream/subscription_view.go | 3 +++ .../services/peerstream/subscription_view_test.go | 3 +++ agent/grpc-external/services/peerstream/testing.go | 3 +++ agent/grpc-external/services/resource/server.go | 3 +++ agent/grpc-external/services/resource/server_test.go | 3 +++ agent/grpc-external/services/serverdiscovery/server.go | 3 +++ .../grpc-external/services/serverdiscovery/server_test.go | 3 +++ .../services/serverdiscovery/watch_servers.go | 3 +++ .../services/serverdiscovery/watch_servers_test.go | 3 +++ agent/grpc-external/stats_test.go | 3 +++ agent/grpc-external/testutils/acl.go | 3 +++ agent/grpc-external/testutils/fsm.go | 3 +++ agent/grpc-external/testutils/server.go | 3 +++ agent/grpc-external/utils.go | 3 +++ agent/grpc-internal/balancer/balancer.go | 3 +++ agent/grpc-internal/balancer/balancer_test.go | 3 +++ agent/grpc-internal/balancer/registry.go | 3 +++ agent/grpc-internal/client.go | 3 +++ agent/grpc-internal/client_test.go | 3 +++ agent/grpc-internal/handler.go | 3 +++ agent/grpc-internal/handler_test.go | 3 +++ agent/grpc-internal/resolver/registry.go | 3 +++ agent/grpc-internal/resolver/resolver.go | 3 +++ agent/grpc-internal/server_test.go | 3 +++ agent/grpc-internal/services/subscribe/logger.go | 3 +++ agent/grpc-internal/services/subscribe/subscribe.go | 3 +++ agent/grpc-internal/services/subscribe/subscribe_test.go | 3 +++ agent/grpc-internal/stats_test.go | 3 +++ agent/grpc-internal/tracker.go | 3 +++ agent/grpc-middleware/auth_interceptor.go | 3 +++ agent/grpc-middleware/auth_interceptor_test.go | 3 +++ agent/grpc-middleware/handshake.go | 3 +++ agent/grpc-middleware/handshake_test.go | 3 +++ agent/grpc-middleware/rate.go | 3 +++ agent/grpc-middleware/rate_test.go | 3 +++ agent/grpc-middleware/recovery.go | 3 +++ agent/grpc-middleware/stats.go | 3 +++ agent/grpc-middleware/testutil/fake_sink.go | 3 +++ agent/grpc-middleware/testutil/testservice/buf.gen.yaml | 3 +++ agent/grpc-middleware/testutil/testservice/fake_service.go | 3 +++ agent/grpc-middleware/testutil/testservice/simple.pb.go | 3 +++ agent/grpc-middleware/testutil/testservice/simple.proto | 3 +++ agent/hcp/bootstrap/bootstrap.go | 3 +++ agent/hcp/bootstrap/testing.go | 3 +++ agent/hcp/client.go | 3 +++ agent/hcp/config/config.go | 3 +++ agent/hcp/deps.go | 3 +++ agent/hcp/discover/discover.go | 3 +++ agent/hcp/manager.go | 3 +++ agent/hcp/manager_test.go | 3 +++ agent/hcp/scada/capabilities.go | 3 +++ agent/hcp/scada/scada.go | 3 +++ agent/hcp/testing.go | 3 +++ agent/hcp/testserver/main.go | 3 +++ agent/health_endpoint.go | 3 +++ agent/health_endpoint_test.go | 3 +++ agent/http.go | 3 +++ agent/http_decode_test.go | 3 +++ agent/http_oss.go | 3 +++ agent/http_oss_test.go | 3 +++ agent/http_register.go | 3 +++ agent/http_test.go | 3 +++ agent/intentions_endpoint.go | 3 +++ agent/intentions_endpoint_oss_test.go | 3 +++ agent/intentions_endpoint_test.go | 3 +++ agent/keyring.go | 3 +++ agent/keyring_test.go | 3 +++ agent/kvs_endpoint.go | 3 +++ agent/kvs_endpoint_test.go | 3 +++ agent/local/state.go | 3 +++ agent/local/state_internal_test.go | 3 +++ agent/local/state_test.go | 3 +++ agent/local/testing.go | 3 +++ agent/log-drop/log-drop.go | 3 +++ agent/log-drop/log-drop_test.go | 3 +++ agent/metadata/build.go | 3 +++ agent/metadata/build_test.go | 3 +++ agent/metadata/server.go | 3 +++ agent/metadata/server_internal_test.go | 3 +++ agent/metadata/server_test.go | 3 +++ agent/metrics.go | 3 +++ agent/metrics/testing.go | 3 +++ agent/metrics_test.go | 3 +++ agent/mock/notify.go | 3 +++ agent/nodeid.go | 3 +++ agent/nodeid_test.go | 3 +++ agent/notify.go | 3 +++ agent/notify_test.go | 3 +++ agent/operator_endpoint.go | 3 +++ agent/operator_endpoint_oss.go | 3 +++ agent/operator_endpoint_oss_test.go | 3 +++ agent/operator_endpoint_test.go | 3 +++ agent/peering_endpoint.go | 3 +++ agent/peering_endpoint_oss_test.go | 3 +++ agent/peering_endpoint_test.go | 3 +++ agent/pool/conn.go | 3 +++ agent/pool/peek.go | 3 +++ agent/pool/peek_test.go | 3 +++ agent/pool/pool.go | 3 +++ agent/prepared_query_endpoint.go | 3 +++ agent/prepared_query_endpoint_test.go | 3 +++ agent/proxycfg-glue/config_entry.go | 3 +++ agent/proxycfg-glue/config_entry_test.go | 3 +++ agent/proxycfg-glue/discovery_chain.go | 3 +++ agent/proxycfg-glue/discovery_chain_test.go | 3 +++ agent/proxycfg-glue/exported_peered_services.go | 3 +++ agent/proxycfg-glue/exported_peered_services_test.go | 3 +++ agent/proxycfg-glue/federation_state_list_mesh_gateways.go | 3 +++ .../federation_state_list_mesh_gateways_test.go | 3 +++ agent/proxycfg-glue/gateway_services.go | 3 +++ agent/proxycfg-glue/gateway_services_test.go | 3 +++ agent/proxycfg-glue/glue.go | 3 +++ agent/proxycfg-glue/health.go | 3 +++ agent/proxycfg-glue/health_test.go | 3 +++ agent/proxycfg-glue/helpers_test.go | 3 +++ agent/proxycfg-glue/intention_upstreams.go | 3 +++ agent/proxycfg-glue/intention_upstreams_test.go | 3 +++ agent/proxycfg-glue/intentions.go | 3 +++ agent/proxycfg-glue/intentions_ent_test.go | 3 +++ agent/proxycfg-glue/intentions_oss.go | 3 +++ agent/proxycfg-glue/intentions_test.go | 3 +++ agent/proxycfg-glue/internal_service_dump.go | 3 +++ agent/proxycfg-glue/internal_service_dump_test.go | 3 +++ agent/proxycfg-glue/peered_upstreams.go | 3 +++ agent/proxycfg-glue/peered_upstreams_test.go | 3 +++ agent/proxycfg-glue/peering_list.go | 3 +++ agent/proxycfg-glue/peering_list_test.go | 3 +++ agent/proxycfg-glue/resolved_service_config.go | 3 +++ agent/proxycfg-glue/resolved_service_config_test.go | 3 +++ agent/proxycfg-glue/service_http_checks.go | 3 +++ agent/proxycfg-glue/service_http_checks_test.go | 3 +++ agent/proxycfg-glue/service_list.go | 3 +++ agent/proxycfg-glue/service_list_test.go | 3 +++ agent/proxycfg-glue/trust_bundle.go | 3 +++ agent/proxycfg-glue/trust_bundle_test.go | 3 +++ agent/proxycfg-sources/catalog/config_source.go | 3 +++ agent/proxycfg-sources/catalog/config_source_test.go | 3 +++ agent/proxycfg-sources/local/config_source.go | 3 +++ agent/proxycfg-sources/local/local.go | 3 +++ agent/proxycfg-sources/local/sync.go | 3 +++ agent/proxycfg-sources/local/sync_test.go | 3 +++ agent/proxycfg/api_gateway.go | 3 +++ agent/proxycfg/connect_proxy.go | 3 +++ agent/proxycfg/data_sources.go | 3 +++ agent/proxycfg/data_sources_oss.go | 3 +++ agent/proxycfg/deep-copy.sh | 3 +++ agent/proxycfg/ingress_gateway.go | 3 +++ agent/proxycfg/internal/watch/watchmap.go | 3 +++ agent/proxycfg/internal/watch/watchmap_test.go | 3 +++ agent/proxycfg/manager.go | 3 +++ agent/proxycfg/manager_test.go | 3 +++ agent/proxycfg/mesh_gateway.go | 3 +++ agent/proxycfg/mesh_gateway_oss.go | 3 +++ agent/proxycfg/naming.go | 3 +++ agent/proxycfg/naming_oss.go | 3 +++ agent/proxycfg/naming_test.go | 3 +++ agent/proxycfg/proxycfg.go | 3 +++ agent/proxycfg/snapshot.go | 3 +++ agent/proxycfg/snapshot_test.go | 3 +++ agent/proxycfg/state.go | 3 +++ agent/proxycfg/state_oss_test.go | 3 +++ agent/proxycfg/state_test.go | 3 +++ agent/proxycfg/terminating_gateway.go | 3 +++ agent/proxycfg/testing.go | 3 +++ agent/proxycfg/testing_api_gateway.go | 3 +++ agent/proxycfg/testing_connect_proxy.go | 3 +++ agent/proxycfg/testing_ingress_gateway.go | 3 +++ agent/proxycfg/testing_mesh_gateway.go | 3 +++ agent/proxycfg/testing_oss.go | 3 +++ agent/proxycfg/testing_peering.go | 3 +++ agent/proxycfg/testing_terminating_gateway.go | 3 +++ agent/proxycfg/testing_tproxy.go | 3 +++ agent/proxycfg/testing_upstreams.go | 3 +++ agent/proxycfg/upstreams.go | 3 +++ agent/proxycfg_test.go | 3 +++ agent/reload.go | 3 +++ agent/remote_exec.go | 3 +++ agent/remote_exec_test.go | 3 +++ agent/retry_join.go | 3 +++ agent/retry_join_test.go | 3 +++ agent/router/grpc.go | 3 +++ agent/router/manager.go | 3 +++ agent/router/manager_internal_test.go | 3 +++ agent/router/manager_test.go | 3 +++ agent/router/router.go | 3 +++ agent/router/router_test.go | 3 +++ agent/router/serf_adapter.go | 3 +++ agent/router/serf_flooder.go | 3 +++ agent/routine-leak-checker/leak_test.go | 3 +++ agent/rpc/middleware/interceptors.go | 3 +++ agent/rpc/middleware/interceptors_test.go | 3 +++ agent/rpc/middleware/rate_limit_mappings.go | 3 +++ agent/rpc/middleware/recovery.go | 3 +++ agent/rpc/operator/service.go | 3 +++ agent/rpc/operator/service_test.go | 3 +++ agent/rpc/peering/service.go | 3 +++ agent/rpc/peering/service_oss_test.go | 3 +++ agent/rpc/peering/service_test.go | 3 +++ agent/rpc/peering/testing.go | 3 +++ agent/rpc/peering/testutil_oss_test.go | 3 +++ agent/rpc/peering/validate.go | 3 +++ agent/rpc/peering/validate_test.go | 3 +++ agent/rpcclient/health/health.go | 3 +++ agent/rpcclient/health/health_test.go | 3 +++ agent/rpcclient/health/streaming_test.go | 3 +++ agent/rpcclient/health/view.go | 3 +++ agent/rpcclient/health/view_test.go | 3 +++ agent/service_checks_test.go | 3 +++ agent/service_manager.go | 3 +++ agent/service_manager_test.go | 3 +++ agent/session_endpoint.go | 3 +++ agent/session_endpoint_test.go | 3 +++ agent/setup.go | 3 +++ agent/setup_oss.go | 3 +++ agent/sidecar_service.go | 3 +++ agent/sidecar_service_test.go | 3 +++ agent/signal_unix.go | 3 +++ agent/signal_windows.go | 3 +++ agent/snapshot_endpoint.go | 3 +++ agent/snapshot_endpoint_test.go | 3 +++ agent/status_endpoint.go | 3 +++ agent/status_endpoint_test.go | 3 +++ agent/streaming_test.go | 3 +++ agent/structs/acl.go | 3 +++ agent/structs/acl_cache.go | 3 +++ agent/structs/acl_cache_test.go | 3 +++ agent/structs/acl_oss.go | 3 +++ agent/structs/acl_test.go | 3 +++ agent/structs/aclfilter/filter.go | 3 +++ agent/structs/aclfilter/filter_test.go | 3 +++ agent/structs/auto_encrypt.go | 3 +++ agent/structs/autopilot.go | 3 +++ agent/structs/autopilot_oss.go | 3 +++ agent/structs/catalog.go | 3 +++ agent/structs/catalog_oss.go | 3 +++ agent/structs/check_definition.go | 3 +++ agent/structs/check_definition_test.go | 3 +++ agent/structs/check_type.go | 3 +++ agent/structs/config_entry.go | 3 +++ agent/structs/config_entry_discoverychain.go | 3 +++ agent/structs/config_entry_discoverychain_oss.go | 3 +++ agent/structs/config_entry_discoverychain_oss_test.go | 3 +++ agent/structs/config_entry_discoverychain_test.go | 3 +++ agent/structs/config_entry_export_oss_test.go | 3 +++ agent/structs/config_entry_exports.go | 3 +++ agent/structs/config_entry_exports_test.go | 3 +++ agent/structs/config_entry_gateways.go | 3 +++ agent/structs/config_entry_gateways_test.go | 3 +++ agent/structs/config_entry_inline_certificate.go | 3 +++ agent/structs/config_entry_inline_certificate_test.go | 3 +++ agent/structs/config_entry_intentions.go | 3 +++ agent/structs/config_entry_intentions_oss.go | 3 +++ agent/structs/config_entry_intentions_test.go | 3 +++ agent/structs/config_entry_mesh.go | 3 +++ agent/structs/config_entry_mesh_oss.go | 3 +++ agent/structs/config_entry_mesh_test.go | 3 +++ agent/structs/config_entry_oss.go | 3 +++ agent/structs/config_entry_oss_test.go | 3 +++ agent/structs/config_entry_routes.go | 3 +++ agent/structs/config_entry_routes_test.go | 3 +++ agent/structs/config_entry_sameness_group.go | 3 +++ agent/structs/config_entry_sameness_group_oss.go | 3 +++ agent/structs/config_entry_status.go | 3 +++ agent/structs/config_entry_test.go | 3 +++ agent/structs/connect.go | 3 +++ agent/structs/connect_ca.go | 3 +++ agent/structs/connect_ca_test.go | 3 +++ agent/structs/connect_oss.go | 3 +++ agent/structs/connect_proxy_config.go | 3 +++ agent/structs/connect_proxy_config_oss.go | 3 +++ agent/structs/connect_proxy_config_test.go | 3 +++ agent/structs/deep-copy.sh | 3 +++ agent/structs/discovery_chain.go | 3 +++ agent/structs/discovery_chain_oss.go | 3 +++ agent/structs/envoy_extension.go | 3 +++ agent/structs/errors.go | 3 +++ agent/structs/federation_state.go | 3 +++ agent/structs/identity.go | 3 +++ agent/structs/intention.go | 3 +++ agent/structs/intention_oss.go | 3 +++ agent/structs/intention_test.go | 3 +++ agent/structs/operator.go | 3 +++ agent/structs/peering.go | 3 +++ agent/structs/prepared_query.go | 3 +++ agent/structs/prepared_query_test.go | 3 +++ agent/structs/protobuf_compat.go | 3 +++ agent/structs/service_definition.go | 3 +++ agent/structs/service_definition_test.go | 3 +++ agent/structs/snapshot.go | 3 +++ agent/structs/structs.go | 3 +++ agent/structs/structs_ext_test.go | 3 +++ agent/structs/structs_filtering_test.go | 3 +++ agent/structs/structs_oss.go | 3 +++ agent/structs/structs_oss_test.go | 3 +++ agent/structs/structs_test.go | 3 +++ agent/structs/system_metadata.go | 3 +++ agent/structs/testing.go | 3 +++ agent/structs/testing_catalog.go | 3 +++ agent/structs/testing_connect_proxy_config.go | 3 +++ agent/structs/testing_intention.go | 3 +++ agent/structs/testing_service_definition.go | 3 +++ agent/structs/txn.go | 3 +++ agent/submatview/handler.go | 3 +++ agent/submatview/local_materializer.go | 3 +++ agent/submatview/local_materializer_test.go | 3 +++ agent/submatview/materializer.go | 3 +++ agent/submatview/rpc_materializer.go | 3 +++ agent/submatview/store.go | 3 +++ agent/submatview/store_integration_test.go | 3 +++ agent/submatview/store_test.go | 3 +++ agent/submatview/streaming_test.go | 3 +++ agent/systemd/notify.go | 3 +++ agent/testagent.go | 3 +++ agent/testagent_test.go | 3 +++ agent/token/persistence.go | 3 +++ agent/token/persistence_test.go | 3 +++ agent/token/store.go | 3 +++ agent/token/store_oss.go | 3 +++ agent/token/store_test.go | 3 +++ agent/translate_addr.go | 3 +++ agent/txn_endpoint.go | 3 +++ agent/txn_endpoint_test.go | 3 +++ agent/ui_endpoint.go | 3 +++ agent/ui_endpoint_oss_test.go | 3 +++ agent/ui_endpoint_test.go | 3 +++ agent/uiserver/buf_index_fs.go | 3 +++ agent/uiserver/buffered_file.go | 3 +++ agent/uiserver/redirect_fs.go | 3 +++ agent/uiserver/ui_template_data.go | 3 +++ agent/uiserver/uiserver.go | 3 +++ agent/uiserver/uiserver_test.go | 3 +++ agent/user_event.go | 3 +++ agent/user_event_test.go | 3 +++ agent/util.go | 3 +++ agent/util_test.go | 3 +++ agent/watch_handler.go | 3 +++ agent/watch_handler_test.go | 3 +++ agent/xds/accesslogs/accesslogs.go | 3 +++ agent/xds/clusters.go | 3 +++ agent/xds/clusters_test.go | 3 +++ agent/xds/config.go | 3 +++ agent/xds/config_test.go | 3 +++ agent/xds/delta.go | 3 +++ agent/xds/delta_envoy_extender_oss_test.go | 3 +++ agent/xds/delta_test.go | 3 +++ agent/xds/endpoints.go | 3 +++ agent/xds/endpoints_test.go | 3 +++ agent/xds/extensionruntime/runtime_config.go | 3 +++ agent/xds/extensionruntime/runtime_config_oss_test.go | 3 +++ agent/xds/failover_math.go | 3 +++ agent/xds/failover_math_test.go | 3 +++ agent/xds/golden_test.go | 3 +++ agent/xds/listeners.go | 3 +++ agent/xds/listeners_ingress.go | 3 +++ agent/xds/listeners_test.go | 3 +++ agent/xds/naming.go | 3 +++ agent/xds/net_fallback.go | 3 +++ agent/xds/net_linux.go | 3 +++ agent/xds/protocol_trace.go | 3 +++ agent/xds/rbac.go | 3 +++ agent/xds/rbac_test.go | 3 +++ agent/xds/resources.go | 3 +++ agent/xds/resources_oss_test.go | 3 +++ agent/xds/resources_test.go | 3 +++ agent/xds/response.go | 3 +++ agent/xds/routes.go | 3 +++ agent/xds/routes_test.go | 3 +++ agent/xds/secrets.go | 3 +++ agent/xds/server.go | 3 +++ agent/xds/server_oss.go | 3 +++ agent/xds/testcommon/testcommon.go | 3 +++ agent/xds/testing.go | 3 +++ agent/xds/validateupstream-test/validateupstream_test.go | 3 +++ agent/xds/xds.go | 3 +++ agent/xds/xds_protocol_helpers_test.go | 3 +++ agent/xds/z_xds_packages_test.go | 3 +++ 987 files changed, 2966 insertions(+), 1 deletion(-) diff --git a/.copywrite.hcl b/.copywrite.hcl index 5f27fbf8a..58f59c4ef 100644 --- a/.copywrite.hcl +++ b/.copywrite.hcl @@ -12,5 +12,12 @@ project { "ui/packages/consul-ui/app/utils/dom/event-target/**", "ui/packages/consul-ui/lib/rehype-prism/**", "ui/packages/consul-ui/lib/block-slots/**", + + # ignore specific test data files + "agent/uiserver/testdata/**" + + # generated files + "agent/structs/structs.deepcopy.go" + "agent/proxycfg/proxycfg.deepcopy.go" ] } diff --git a/agent/acl.go b/agent/acl.go index f3ba50cf4..381f2c028 100644 --- a/agent/acl.go +++ b/agent/acl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/acl_endpoint.go b/agent/acl_endpoint.go index af9f3a15d..da838b1a6 100644 --- a/agent/acl_endpoint.go +++ b/agent/acl_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/acl_endpoint_test.go b/agent/acl_endpoint_test.go index d2822e39e..20c982492 100644 --- a/agent/acl_endpoint_test.go +++ b/agent/acl_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/acl_oss.go b/agent/acl_oss.go index 0a50dcda1..aa505da1e 100644 --- a/agent/acl_oss.go +++ b/agent/acl_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/acl_test.go b/agent/acl_test.go index cc2249c67..40662231a 100644 --- a/agent/acl_test.go +++ b/agent/acl_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/ae/ae.go b/agent/ae/ae.go index 9b2841cc5..8c4d8c997 100644 --- a/agent/ae/ae.go +++ b/agent/ae/ae.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package ae provides tools to synchronize state between local and remote consul servers. package ae diff --git a/agent/ae/ae_test.go b/agent/ae/ae_test.go index c719f1951..873cd4128 100644 --- a/agent/ae/ae_test.go +++ b/agent/ae/ae_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ae import ( diff --git a/agent/ae/trigger.go b/agent/ae/trigger.go index 1aa5f4586..a320bda52 100644 --- a/agent/ae/trigger.go +++ b/agent/ae/trigger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ae // Trigger implements a non-blocking event notifier. Events can be diff --git a/agent/agent.go b/agent/agent.go index aa8422bdc..d79631528 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/agent_endpoint.go b/agent/agent_endpoint.go index 5f9d82cd4..bc3553519 100644 --- a/agent/agent_endpoint.go +++ b/agent/agent_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/agent_endpoint_oss.go b/agent/agent_endpoint_oss.go index b54b9df99..48b9c439c 100644 --- a/agent/agent_endpoint_oss.go +++ b/agent/agent_endpoint_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/agent_endpoint_oss_test.go b/agent/agent_endpoint_oss_test.go index d815bb458..763a5a006 100644 --- a/agent/agent_endpoint_oss_test.go +++ b/agent/agent_endpoint_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/agent_endpoint_test.go b/agent/agent_endpoint_test.go index 2c5ee9f37..fad7f7d7e 100644 --- a/agent/agent_endpoint_test.go +++ b/agent/agent_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/agent_oss.go b/agent/agent_oss.go index 39adbef81..4153c66a0 100644 --- a/agent/agent_oss.go +++ b/agent/agent_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/agent_test.go b/agent/agent_test.go index 90e14c795..441b93966 100644 --- a/agent/agent_test.go +++ b/agent/agent_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/apiserver.go b/agent/apiserver.go index 044bf6041..a45e16a63 100644 --- a/agent/apiserver.go +++ b/agent/apiserver.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/apiserver_test.go b/agent/apiserver_test.go index 72f8c6d65..69188c424 100644 --- a/agent/apiserver_test.go +++ b/agent/apiserver_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/auto-config/auto_config.go b/agent/auto-config/auto_config.go index 022240c19..b73951df7 100644 --- a/agent/auto-config/auto_config.go +++ b/agent/auto-config/auto_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/auto_config_oss.go b/agent/auto-config/auto_config_oss.go index 95b38aa05..7944ea5d2 100644 --- a/agent/auto-config/auto_config_oss.go +++ b/agent/auto-config/auto_config_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/auto-config/auto_config_oss_test.go b/agent/auto-config/auto_config_oss_test.go index 6a318644f..b075ca768 100644 --- a/agent/auto-config/auto_config_oss_test.go +++ b/agent/auto-config/auto_config_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/auto-config/auto_config_test.go b/agent/auto-config/auto_config_test.go index b364a4fbd..dcb06741f 100644 --- a/agent/auto-config/auto_config_test.go +++ b/agent/auto-config/auto_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/auto_encrypt.go b/agent/auto-config/auto_encrypt.go index 8118d1312..59af662ee 100644 --- a/agent/auto-config/auto_encrypt.go +++ b/agent/auto-config/auto_encrypt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/auto_encrypt_test.go b/agent/auto-config/auto_encrypt_test.go index 2036d7f20..e4a01d0b2 100644 --- a/agent/auto-config/auto_encrypt_test.go +++ b/agent/auto-config/auto_encrypt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/config.go b/agent/auto-config/config.go index 94f45d1fc..5845ec70d 100644 --- a/agent/auto-config/config.go +++ b/agent/auto-config/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/config_oss.go b/agent/auto-config/config_oss.go index a8048954a..a51d30c6c 100644 --- a/agent/auto-config/config_oss.go +++ b/agent/auto-config/config_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/auto-config/config_translate.go b/agent/auto-config/config_translate.go index b5cb759b8..31aeb7cbd 100644 --- a/agent/auto-config/config_translate.go +++ b/agent/auto-config/config_translate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/config_translate_test.go b/agent/auto-config/config_translate_test.go index ce73e3b71..9b37c9870 100644 --- a/agent/auto-config/config_translate_test.go +++ b/agent/auto-config/config_translate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/mock_oss_test.go b/agent/auto-config/mock_oss_test.go index 0518753bb..6f10f9972 100644 --- a/agent/auto-config/mock_oss_test.go +++ b/agent/auto-config/mock_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/auto-config/mock_test.go b/agent/auto-config/mock_test.go index 8c2f2f7ec..6cefb9224 100644 --- a/agent/auto-config/mock_test.go +++ b/agent/auto-config/mock_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/persist.go b/agent/auto-config/persist.go index fcfd8cdb8..0abaa2354 100644 --- a/agent/auto-config/persist.go +++ b/agent/auto-config/persist.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/run.go b/agent/auto-config/run.go index 136d4a8ae..74a78fde9 100644 --- a/agent/auto-config/run.go +++ b/agent/auto-config/run.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/server_addr.go b/agent/auto-config/server_addr.go index 98af4ae55..c70a6431f 100644 --- a/agent/auto-config/server_addr.go +++ b/agent/auto-config/server_addr.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/tls.go b/agent/auto-config/tls.go index a26f7aaa6..67bdc0276 100644 --- a/agent/auto-config/tls.go +++ b/agent/auto-config/tls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/auto-config/tls_test.go b/agent/auto-config/tls_test.go index bad66ba70..b09ee295e 100644 --- a/agent/auto-config/tls_test.go +++ b/agent/auto-config/tls_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autoconf import ( diff --git a/agent/cache-types/catalog_datacenters.go b/agent/cache-types/catalog_datacenters.go index b84d2a933..12da6e987 100644 --- a/agent/cache-types/catalog_datacenters.go +++ b/agent/cache-types/catalog_datacenters.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/catalog_datacenters_test.go b/agent/cache-types/catalog_datacenters_test.go index 23b923afc..bef374d13 100644 --- a/agent/cache-types/catalog_datacenters_test.go +++ b/agent/cache-types/catalog_datacenters_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/catalog_list_services.go b/agent/cache-types/catalog_list_services.go index 0324d4a6e..a605c7431 100644 --- a/agent/cache-types/catalog_list_services.go +++ b/agent/cache-types/catalog_list_services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/catalog_list_services_test.go b/agent/cache-types/catalog_list_services_test.go index 90ea7be81..b5da270f9 100644 --- a/agent/cache-types/catalog_list_services_test.go +++ b/agent/cache-types/catalog_list_services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/catalog_service_list.go b/agent/cache-types/catalog_service_list.go index 7e417cd2c..521ed1d3b 100644 --- a/agent/cache-types/catalog_service_list.go +++ b/agent/cache-types/catalog_service_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/catalog_service_list_test.go b/agent/cache-types/catalog_service_list_test.go index 9eef36bbc..995f7e8b6 100644 --- a/agent/cache-types/catalog_service_list_test.go +++ b/agent/cache-types/catalog_service_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/catalog_services.go b/agent/cache-types/catalog_services.go index 0f5f7f8aa..21b472ba3 100644 --- a/agent/cache-types/catalog_services.go +++ b/agent/cache-types/catalog_services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/catalog_services_test.go b/agent/cache-types/catalog_services_test.go index c28aa2a01..8723b9015 100644 --- a/agent/cache-types/catalog_services_test.go +++ b/agent/cache-types/catalog_services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/config_entry.go b/agent/cache-types/config_entry.go index 3c434c24f..9748c176d 100644 --- a/agent/cache-types/config_entry.go +++ b/agent/cache-types/config_entry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/config_entry_test.go b/agent/cache-types/config_entry_test.go index 50954f35c..11b109d66 100644 --- a/agent/cache-types/config_entry_test.go +++ b/agent/cache-types/config_entry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/connect_ca_leaf.go b/agent/cache-types/connect_ca_leaf.go index 9bee39af7..fb5811042 100644 --- a/agent/cache-types/connect_ca_leaf.go +++ b/agent/cache-types/connect_ca_leaf.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/connect_ca_leaf_oss.go b/agent/cache-types/connect_ca_leaf_oss.go index 07de1e793..949d4a1bc 100644 --- a/agent/cache-types/connect_ca_leaf_oss.go +++ b/agent/cache-types/connect_ca_leaf_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/cache-types/connect_ca_leaf_test.go b/agent/cache-types/connect_ca_leaf_test.go index 48e5a1792..ea1219fcf 100644 --- a/agent/cache-types/connect_ca_leaf_test.go +++ b/agent/cache-types/connect_ca_leaf_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/connect_ca_root.go b/agent/cache-types/connect_ca_root.go index deca68e31..0d6c8b700 100644 --- a/agent/cache-types/connect_ca_root.go +++ b/agent/cache-types/connect_ca_root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/connect_ca_root_test.go b/agent/cache-types/connect_ca_root_test.go index 7fd23264c..c1e906a8b 100644 --- a/agent/cache-types/connect_ca_root_test.go +++ b/agent/cache-types/connect_ca_root_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/discovery_chain.go b/agent/cache-types/discovery_chain.go index 2d8cd1bea..8f0f17791 100644 --- a/agent/cache-types/discovery_chain.go +++ b/agent/cache-types/discovery_chain.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/discovery_chain_test.go b/agent/cache-types/discovery_chain_test.go index 62fe634e8..13855987a 100644 --- a/agent/cache-types/discovery_chain_test.go +++ b/agent/cache-types/discovery_chain_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/exported_peered_services.go b/agent/cache-types/exported_peered_services.go index 21ff779f5..3e8f33628 100644 --- a/agent/cache-types/exported_peered_services.go +++ b/agent/cache-types/exported_peered_services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/exported_peered_services_test.go b/agent/cache-types/exported_peered_services_test.go index a946c3296..4848c2fce 100644 --- a/agent/cache-types/exported_peered_services_test.go +++ b/agent/cache-types/exported_peered_services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/federation_state_list_gateways.go b/agent/cache-types/federation_state_list_gateways.go index c28ad3700..50658777b 100644 --- a/agent/cache-types/federation_state_list_gateways.go +++ b/agent/cache-types/federation_state_list_gateways.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/federation_state_list_gateways_test.go b/agent/cache-types/federation_state_list_gateways_test.go index 3be25f69a..7aaad80ed 100644 --- a/agent/cache-types/federation_state_list_gateways_test.go +++ b/agent/cache-types/federation_state_list_gateways_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/gateway_services.go b/agent/cache-types/gateway_services.go index 02ae60b08..030cec59e 100644 --- a/agent/cache-types/gateway_services.go +++ b/agent/cache-types/gateway_services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/gateway_services_test.go b/agent/cache-types/gateway_services_test.go index e3c399cd2..babc30ead 100644 --- a/agent/cache-types/gateway_services_test.go +++ b/agent/cache-types/gateway_services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/health_services.go b/agent/cache-types/health_services.go index 63e52470a..dc1a5e664 100644 --- a/agent/cache-types/health_services.go +++ b/agent/cache-types/health_services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/health_services_test.go b/agent/cache-types/health_services_test.go index d1524ca2c..e3680eb2d 100644 --- a/agent/cache-types/health_services_test.go +++ b/agent/cache-types/health_services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/intention_match.go b/agent/cache-types/intention_match.go index 3b4b519c7..16671328f 100644 --- a/agent/cache-types/intention_match.go +++ b/agent/cache-types/intention_match.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/intention_match_test.go b/agent/cache-types/intention_match_test.go index ec313013f..68a467a29 100644 --- a/agent/cache-types/intention_match_test.go +++ b/agent/cache-types/intention_match_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/intention_upstreams.go b/agent/cache-types/intention_upstreams.go index 80d657ebb..b918a5535 100644 --- a/agent/cache-types/intention_upstreams.go +++ b/agent/cache-types/intention_upstreams.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/intention_upstreams_destination.go b/agent/cache-types/intention_upstreams_destination.go index 951300336..8adba2d7e 100644 --- a/agent/cache-types/intention_upstreams_destination.go +++ b/agent/cache-types/intention_upstreams_destination.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/intention_upstreams_destination_test.go b/agent/cache-types/intention_upstreams_destination_test.go index 660cdb6b4..d4f8602c7 100644 --- a/agent/cache-types/intention_upstreams_destination_test.go +++ b/agent/cache-types/intention_upstreams_destination_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/intention_upstreams_test.go b/agent/cache-types/intention_upstreams_test.go index a6f2e3aa0..6f695576d 100644 --- a/agent/cache-types/intention_upstreams_test.go +++ b/agent/cache-types/intention_upstreams_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/node_services.go b/agent/cache-types/node_services.go index 9856b5018..2b51de9f6 100644 --- a/agent/cache-types/node_services.go +++ b/agent/cache-types/node_services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/node_services_test.go b/agent/cache-types/node_services_test.go index 049ac3c24..a1412bbe9 100644 --- a/agent/cache-types/node_services_test.go +++ b/agent/cache-types/node_services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/norace_test.go b/agent/cache-types/norace_test.go index 93645410d..3f316d5d3 100644 --- a/agent/cache-types/norace_test.go +++ b/agent/cache-types/norace_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !race // +build !race diff --git a/agent/cache-types/options.go b/agent/cache-types/options.go index 5eb6cdd9b..cbfa2ff17 100644 --- a/agent/cache-types/options.go +++ b/agent/cache-types/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/peered_upstreams.go b/agent/cache-types/peered_upstreams.go index 6aa8a3e34..49997ecdf 100644 --- a/agent/cache-types/peered_upstreams.go +++ b/agent/cache-types/peered_upstreams.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/peered_upstreams_test.go b/agent/cache-types/peered_upstreams_test.go index 7f8481ffc..1e9dc29fd 100644 --- a/agent/cache-types/peered_upstreams_test.go +++ b/agent/cache-types/peered_upstreams_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/peerings.go b/agent/cache-types/peerings.go index ebff1e90c..5a8e1a685 100644 --- a/agent/cache-types/peerings.go +++ b/agent/cache-types/peerings.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/peerings_test.go b/agent/cache-types/peerings_test.go index 6def5badd..954addfe5 100644 --- a/agent/cache-types/peerings_test.go +++ b/agent/cache-types/peerings_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/prepared_query.go b/agent/cache-types/prepared_query.go index 5a5230c7c..995214a1b 100644 --- a/agent/cache-types/prepared_query.go +++ b/agent/cache-types/prepared_query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/prepared_query_test.go b/agent/cache-types/prepared_query_test.go index c45386bd7..26ea4d4c0 100644 --- a/agent/cache-types/prepared_query_test.go +++ b/agent/cache-types/prepared_query_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/race_test.go b/agent/cache-types/race_test.go index 7848991f2..88dcf82a4 100644 --- a/agent/cache-types/race_test.go +++ b/agent/cache-types/race_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build race // +build race diff --git a/agent/cache-types/resolved_service_config.go b/agent/cache-types/resolved_service_config.go index 3065ab4eb..589afbcc6 100644 --- a/agent/cache-types/resolved_service_config.go +++ b/agent/cache-types/resolved_service_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/resolved_service_config_test.go b/agent/cache-types/resolved_service_config_test.go index a945597e1..4c8376447 100644 --- a/agent/cache-types/resolved_service_config_test.go +++ b/agent/cache-types/resolved_service_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/rpc.go b/agent/cache-types/rpc.go index 750e5058b..905547d20 100644 --- a/agent/cache-types/rpc.go +++ b/agent/cache-types/rpc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import "context" diff --git a/agent/cache-types/service_checks.go b/agent/cache-types/service_checks.go index 3688db7e2..88a065c94 100644 --- a/agent/cache-types/service_checks.go +++ b/agent/cache-types/service_checks.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/service_checks_test.go b/agent/cache-types/service_checks_test.go index f6b5a594d..b936990d9 100644 --- a/agent/cache-types/service_checks_test.go +++ b/agent/cache-types/service_checks_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/service_dump.go b/agent/cache-types/service_dump.go index fccd4da8a..3bab11239 100644 --- a/agent/cache-types/service_dump.go +++ b/agent/cache-types/service_dump.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/service_dump_test.go b/agent/cache-types/service_dump_test.go index b261a5046..8fe39e63b 100644 --- a/agent/cache-types/service_dump_test.go +++ b/agent/cache-types/service_dump_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/service_gateways.go b/agent/cache-types/service_gateways.go index 54ba26949..d096d136f 100644 --- a/agent/cache-types/service_gateways.go +++ b/agent/cache-types/service_gateways.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/service_gateways_test.go b/agent/cache-types/service_gateways_test.go index 27333d68d..c8c62e7c9 100644 --- a/agent/cache-types/service_gateways_test.go +++ b/agent/cache-types/service_gateways_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/testing.go b/agent/cache-types/testing.go index c033a022d..459feaba9 100644 --- a/agent/cache-types/testing.go +++ b/agent/cache-types/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/trust_bundle.go b/agent/cache-types/trust_bundle.go index f63d60889..fda4cd958 100644 --- a/agent/cache-types/trust_bundle.go +++ b/agent/cache-types/trust_bundle.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/trust_bundle_test.go b/agent/cache-types/trust_bundle_test.go index 67cf7d5b4..67df2496c 100644 --- a/agent/cache-types/trust_bundle_test.go +++ b/agent/cache-types/trust_bundle_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/trust_bundles.go b/agent/cache-types/trust_bundles.go index 49a1dfde0..a123145a4 100644 --- a/agent/cache-types/trust_bundles.go +++ b/agent/cache-types/trust_bundles.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache-types/trust_bundles_test.go b/agent/cache-types/trust_bundles_test.go index ed177f8b9..861beed2f 100644 --- a/agent/cache-types/trust_bundles_test.go +++ b/agent/cache-types/trust_bundles_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachetype import ( diff --git a/agent/cache/cache.go b/agent/cache/cache.go index 55b1654af..4d9ed01fb 100644 --- a/agent/cache/cache.go +++ b/agent/cache/cache.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package cache provides caching features for data from a Consul server. // // While this is similar in some ways to the "agent/ae" package, a key diff --git a/agent/cache/cache_test.go b/agent/cache/cache_test.go index 98b04ee9a..56413e2d5 100644 --- a/agent/cache/cache_test.go +++ b/agent/cache/cache_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/agent/cache/entry.go b/agent/cache/entry.go index 7130381de..b17c008fe 100644 --- a/agent/cache/entry.go +++ b/agent/cache/entry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/agent/cache/request.go b/agent/cache/request.go index 3dc4ea86f..7f66f4ce5 100644 --- a/agent/cache/request.go +++ b/agent/cache/request.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/agent/cache/testing.go b/agent/cache/testing.go index bbcee6b27..7f0df113b 100644 --- a/agent/cache/testing.go +++ b/agent/cache/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/agent/cache/type.go b/agent/cache/type.go index fbe6978aa..d58362fd4 100644 --- a/agent/cache/type.go +++ b/agent/cache/type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/agent/cache/watch.go b/agent/cache/watch.go index d87bca38a..5bea14d90 100644 --- a/agent/cache/watch.go +++ b/agent/cache/watch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/agent/cache/watch_test.go b/agent/cache/watch_test.go index ecd1cc9f3..e6a5848f4 100644 --- a/agent/cache/watch_test.go +++ b/agent/cache/watch_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/agent/catalog_endpoint.go b/agent/catalog_endpoint.go index 3e722e286..4fbee8460 100644 --- a/agent/catalog_endpoint.go +++ b/agent/catalog_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/catalog_endpoint_oss.go b/agent/catalog_endpoint_oss.go index da27ab476..fcd831135 100644 --- a/agent/catalog_endpoint_oss.go +++ b/agent/catalog_endpoint_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/catalog_endpoint_test.go b/agent/catalog_endpoint_test.go index b0a5922e0..b18d23a5b 100644 --- a/agent/catalog_endpoint_test.go +++ b/agent/catalog_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/check.go b/agent/check.go index da70a8005..79c030d93 100644 --- a/agent/check.go +++ b/agent/check.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/checks/alias.go b/agent/checks/alias.go index a301daa4f..5e394105c 100644 --- a/agent/checks/alias.go +++ b/agent/checks/alias.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checks import ( diff --git a/agent/checks/alias_test.go b/agent/checks/alias_test.go index 4f77e7495..70a301d11 100644 --- a/agent/checks/alias_test.go +++ b/agent/checks/alias_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checks import ( diff --git a/agent/checks/check.go b/agent/checks/check.go index 2eb200dd8..3d8b58489 100644 --- a/agent/checks/check.go +++ b/agent/checks/check.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checks import ( diff --git a/agent/checks/check_test.go b/agent/checks/check_test.go index 495fc1472..c485b837e 100644 --- a/agent/checks/check_test.go +++ b/agent/checks/check_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checks import ( diff --git a/agent/checks/check_windows_test.go b/agent/checks/check_windows_test.go index c0f59a3fc..b7c14dd18 100644 --- a/agent/checks/check_windows_test.go +++ b/agent/checks/check_windows_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/agent/checks/docker.go b/agent/checks/docker.go index 17974b968..11bcac7e0 100644 --- a/agent/checks/docker.go +++ b/agent/checks/docker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checks import ( diff --git a/agent/checks/docker_unix.go b/agent/checks/docker_unix.go index 528cb7d85..33c8a2b81 100644 --- a/agent/checks/docker_unix.go +++ b/agent/checks/docker_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/agent/checks/docker_windows.go b/agent/checks/docker_windows.go index c2b1e173d..edcb4f380 100644 --- a/agent/checks/docker_windows.go +++ b/agent/checks/docker_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checks const DefaultDockerHost = "npipe:////./pipe/docker_engine" diff --git a/agent/checks/grpc.go b/agent/checks/grpc.go index 578b496f5..87378521c 100644 --- a/agent/checks/grpc.go +++ b/agent/checks/grpc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checks import ( diff --git a/agent/checks/grpc_test.go b/agent/checks/grpc_test.go index 6db78bfa5..4500bcd67 100644 --- a/agent/checks/grpc_test.go +++ b/agent/checks/grpc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checks import ( diff --git a/agent/checks/os_service.go b/agent/checks/os_service.go index 4473c2c23..af4e9b03e 100644 --- a/agent/checks/os_service.go +++ b/agent/checks/os_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checks import ( diff --git a/agent/checks/os_service_unix.go b/agent/checks/os_service_unix.go index dfb4a6509..ab004e29f 100644 --- a/agent/checks/os_service_unix.go +++ b/agent/checks/os_service_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/agent/checks/os_service_windows.go b/agent/checks/os_service_windows.go index 158713381..8b73ce4ad 100644 --- a/agent/checks/os_service_windows.go +++ b/agent/checks/os_service_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/agent/config/agent_limits.go b/agent/config/agent_limits.go index 71924f7e7..fff5e267f 100644 --- a/agent/config/agent_limits.go +++ b/agent/config/agent_limits.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/builder.go b/agent/config/builder.go index af59e9b5b..2ead17543 100644 --- a/agent/config/builder.go +++ b/agent/config/builder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/builder_oss.go b/agent/config/builder_oss.go index ce6e8d44c..f8d56df08 100644 --- a/agent/config/builder_oss.go +++ b/agent/config/builder_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/config/builder_oss_test.go b/agent/config/builder_oss_test.go index 2fd5f50ad..15d706a12 100644 --- a/agent/config/builder_oss_test.go +++ b/agent/config/builder_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/config/builder_test.go b/agent/config/builder_test.go index 9fdd085b1..3fe6573ba 100644 --- a/agent/config/builder_test.go +++ b/agent/config/builder_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/config.go b/agent/config/config.go index 7278e4f91..95d1b3677 100644 --- a/agent/config/config.go +++ b/agent/config/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/config_oss.go b/agent/config/config_oss.go index 5a297cacc..2fc8da58e 100644 --- a/agent/config/config_oss.go +++ b/agent/config/config_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/config/default.go b/agent/config/default.go index bff8ddf83..4c88c2ac3 100644 --- a/agent/config/default.go +++ b/agent/config/default.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/default_oss.go b/agent/config/default_oss.go index d98e27bcb..f91bb9c7d 100644 --- a/agent/config/default_oss.go +++ b/agent/config/default_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/config/deprecated.go b/agent/config/deprecated.go index 1b4b32e24..597095f8e 100644 --- a/agent/config/deprecated.go +++ b/agent/config/deprecated.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/deprecated_test.go b/agent/config/deprecated_test.go index 3e773593d..785c95550 100644 --- a/agent/config/deprecated_test.go +++ b/agent/config/deprecated_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/doc.go b/agent/config/doc.go index b695c1c76..4cbc2c41c 100644 --- a/agent/config/doc.go +++ b/agent/config/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package config contains the command line and config file code for the // consul agent. // diff --git a/agent/config/file_watcher.go b/agent/config/file_watcher.go index f0458af5f..c91bb1dd5 100644 --- a/agent/config/file_watcher.go +++ b/agent/config/file_watcher.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/file_watcher_test.go b/agent/config/file_watcher_test.go index 52abb1328..02b1cd141 100644 --- a/agent/config/file_watcher_test.go +++ b/agent/config/file_watcher_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/flags.go b/agent/config/flags.go index f6cb131d7..21e1ac612 100644 --- a/agent/config/flags.go +++ b/agent/config/flags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/flags_test.go b/agent/config/flags_test.go index ebefa6806..10df0d6d7 100644 --- a/agent/config/flags_test.go +++ b/agent/config/flags_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/flagset.go b/agent/config/flagset.go index 2b56dfd42..3b2abe6fd 100644 --- a/agent/config/flagset.go +++ b/agent/config/flagset.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/golden_test.go b/agent/config/golden_test.go index da49f3fce..fb4401efb 100644 --- a/agent/config/golden_test.go +++ b/agent/config/golden_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/limits.go b/agent/config/limits.go index f1ff5e7f5..6b5d466ab 100644 --- a/agent/config/limits.go +++ b/agent/config/limits.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/agent/config/limits_windows.go b/agent/config/limits_windows.go index 1e6e1822f..d9d349939 100644 --- a/agent/config/limits_windows.go +++ b/agent/config/limits_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/agent/config/merge.go b/agent/config/merge.go index a743891f4..f40efdaa8 100644 --- a/agent/config/merge.go +++ b/agent/config/merge.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/merge_test.go b/agent/config/merge_test.go index 4de92a24f..13e3cbb18 100644 --- a/agent/config/merge_test.go +++ b/agent/config/merge_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/ratelimited_file_watcher.go b/agent/config/ratelimited_file_watcher.go index a47f9733d..33de08cf2 100644 --- a/agent/config/ratelimited_file_watcher.go +++ b/agent/config/ratelimited_file_watcher.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/ratelimited_file_watcher_test.go b/agent/config/ratelimited_file_watcher_test.go index ee1ecb8bb..d6a43b6be 100644 --- a/agent/config/ratelimited_file_watcher_test.go +++ b/agent/config/ratelimited_file_watcher_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/runtime.go b/agent/config/runtime.go index e8616759f..9abcb612f 100644 --- a/agent/config/runtime.go +++ b/agent/config/runtime.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/runtime_oss.go b/agent/config/runtime_oss.go index 0cec03ccd..94a6b7fa6 100644 --- a/agent/config/runtime_oss.go +++ b/agent/config/runtime_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/config/runtime_oss_test.go b/agent/config/runtime_oss_test.go index 6274511bc..39c1ba38c 100644 --- a/agent/config/runtime_oss_test.go +++ b/agent/config/runtime_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/config/runtime_test.go b/agent/config/runtime_test.go index c892fe38d..cd1a83cbb 100644 --- a/agent/config/runtime_test.go +++ b/agent/config/runtime_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/config/segment_oss.go b/agent/config/segment_oss.go index d7a80c71e..5f8e8cff7 100644 --- a/agent/config/segment_oss.go +++ b/agent/config/segment_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/config/segment_oss_test.go b/agent/config/segment_oss_test.go index 52b4a0964..6dbb60645 100644 --- a/agent/config/segment_oss_test.go +++ b/agent/config/segment_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/config/testdata/full-config.hcl b/agent/config/testdata/full-config.hcl index dced4781c..6d46c4fd6 100644 --- a/agent/config/testdata/full-config.hcl +++ b/agent/config/testdata/full-config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + acl_agent_master_token = "furuQD0b" acl_agent_token = "cOshLOQ2" acl_datacenter = "m3urck3z" diff --git a/agent/config_endpoint.go b/agent/config_endpoint.go index fbcac83ce..396215d78 100644 --- a/agent/config_endpoint.go +++ b/agent/config_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/config_endpoint_test.go b/agent/config_endpoint_test.go index f3c1c1720..f8c0c01e3 100644 --- a/agent/config_endpoint_test.go +++ b/agent/config_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/configentry/config_entry.go b/agent/configentry/config_entry.go index 7bf308c36..a4ebb254e 100644 --- a/agent/configentry/config_entry.go +++ b/agent/configentry/config_entry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configentry import ( diff --git a/agent/configentry/discoverychain.go b/agent/configentry/discoverychain.go index 2a4aecb07..b11b53f75 100644 --- a/agent/configentry/discoverychain.go +++ b/agent/configentry/discoverychain.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configentry import ( diff --git a/agent/configentry/doc.go b/agent/configentry/doc.go index b7da03fcd..18fd1405a 100644 --- a/agent/configentry/doc.go +++ b/agent/configentry/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package configentry contains structs and logic related to the Configuration // Entry subsystem. Currently this is restricted to structs used during // runtime, but which are not serialized to the network or disk. diff --git a/agent/configentry/merge_service_config.go b/agent/configentry/merge_service_config.go index 458cab012..ace4f4617 100644 --- a/agent/configentry/merge_service_config.go +++ b/agent/configentry/merge_service_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configentry import ( diff --git a/agent/configentry/merge_service_config_test.go b/agent/configentry/merge_service_config_test.go index fa29bbdfa..8b927733d 100644 --- a/agent/configentry/merge_service_config_test.go +++ b/agent/configentry/merge_service_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configentry import ( diff --git a/agent/configentry/resolve.go b/agent/configentry/resolve.go index 4484fa42e..da877279e 100644 --- a/agent/configentry/resolve.go +++ b/agent/configentry/resolve.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configentry import ( diff --git a/agent/configentry/resolve_test.go b/agent/configentry/resolve_test.go index 052e48919..35927d6d5 100644 --- a/agent/configentry/resolve_test.go +++ b/agent/configentry/resolve_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configentry import ( diff --git a/agent/configentry/service_config.go b/agent/configentry/service_config.go index 5cc6e740a..4b7e5e2a2 100644 --- a/agent/configentry/service_config.go +++ b/agent/configentry/service_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configentry import ( diff --git a/agent/connect/authz.go b/agent/connect/authz.go index f3beb1be6..dd836a576 100644 --- a/agent/connect/authz.go +++ b/agent/connect/authz.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/authz_test.go b/agent/connect/authz_test.go index cad97646d..4b8495869 100644 --- a/agent/connect/authz_test.go +++ b/agent/connect/authz_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/ca/common.go b/agent/connect/ca/common.go index 848a4fa7b..b83a196a8 100644 --- a/agent/connect/ca/common.go +++ b/agent/connect/ca/common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider.go b/agent/connect/ca/provider.go index c80ccd82b..6d84c2dc1 100644 --- a/agent/connect/ca/provider.go +++ b/agent/connect/ca/provider.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_aws.go b/agent/connect/ca/provider_aws.go index 97e075b11..c35aeb229 100644 --- a/agent/connect/ca/provider_aws.go +++ b/agent/connect/ca/provider_aws.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_aws_test.go b/agent/connect/ca/provider_aws_test.go index f6105d3dc..8fb76fa3d 100644 --- a/agent/connect/ca/provider_aws_test.go +++ b/agent/connect/ca/provider_aws_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_consul.go b/agent/connect/ca/provider_consul.go index 0493fffe7..8000ea51e 100644 --- a/agent/connect/ca/provider_consul.go +++ b/agent/connect/ca/provider_consul.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_consul_config.go b/agent/connect/ca/provider_consul_config.go index eb04ce9a7..b0998a0aa 100644 --- a/agent/connect/ca/provider_consul_config.go +++ b/agent/connect/ca/provider_consul_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_consul_test.go b/agent/connect/ca/provider_consul_test.go index 9845eea74..a69cf056d 100644 --- a/agent/connect/ca/provider_consul_test.go +++ b/agent/connect/ca/provider_consul_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_test.go b/agent/connect/ca/provider_test.go index c8cd65778..b7ed9e29b 100644 --- a/agent/connect/ca/provider_test.go +++ b/agent/connect/ca/provider_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault.go b/agent/connect/ca/provider_vault.go index 6103c1c7f..19d88d79b 100644 --- a/agent/connect/ca/provider_vault.go +++ b/agent/connect/ca/provider_vault.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault_auth.go b/agent/connect/ca/provider_vault_auth.go index f00e90b72..ddfbde340 100644 --- a/agent/connect/ca/provider_vault_auth.go +++ b/agent/connect/ca/provider_vault_auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault_auth_alicloud.go b/agent/connect/ca/provider_vault_auth_alicloud.go index 88027903a..1c3058317 100644 --- a/agent/connect/ca/provider_vault_auth_alicloud.go +++ b/agent/connect/ca/provider_vault_auth_alicloud.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault_auth_approle.go b/agent/connect/ca/provider_vault_auth_approle.go index fad6011fc..150c463ae 100644 --- a/agent/connect/ca/provider_vault_auth_approle.go +++ b/agent/connect/ca/provider_vault_auth_approle.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault_auth_aws.go b/agent/connect/ca/provider_vault_auth_aws.go index 6ef19f727..59f1c9803 100644 --- a/agent/connect/ca/provider_vault_auth_aws.go +++ b/agent/connect/ca/provider_vault_auth_aws.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault_auth_azure.go b/agent/connect/ca/provider_vault_auth_azure.go index e7f785388..802597700 100644 --- a/agent/connect/ca/provider_vault_auth_azure.go +++ b/agent/connect/ca/provider_vault_auth_azure.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault_auth_gcp.go b/agent/connect/ca/provider_vault_auth_gcp.go index d498a9830..5eefc7143 100644 --- a/agent/connect/ca/provider_vault_auth_gcp.go +++ b/agent/connect/ca/provider_vault_auth_gcp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault_auth_jwt.go b/agent/connect/ca/provider_vault_auth_jwt.go index e95481b55..2560f856d 100644 --- a/agent/connect/ca/provider_vault_auth_jwt.go +++ b/agent/connect/ca/provider_vault_auth_jwt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault_auth_k8s.go b/agent/connect/ca/provider_vault_auth_k8s.go index 983750cd5..c3a69c6cc 100644 --- a/agent/connect/ca/provider_vault_auth_k8s.go +++ b/agent/connect/ca/provider_vault_auth_k8s.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault_auth_test.go b/agent/connect/ca/provider_vault_auth_test.go index 3598c930b..c6979dbbe 100644 --- a/agent/connect/ca/provider_vault_auth_test.go +++ b/agent/connect/ca/provider_vault_auth_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/provider_vault_test.go b/agent/connect/ca/provider_vault_test.go index d0c33b3bc..946b9c134 100644 --- a/agent/connect/ca/provider_vault_test.go +++ b/agent/connect/ca/provider_vault_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/ca/testing.go b/agent/connect/ca/testing.go index 70c297732..39654c3c7 100644 --- a/agent/connect/ca/testing.go +++ b/agent/connect/ca/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/agent/connect/common_names.go b/agent/connect/common_names.go index 641831b24..3c4c30633 100644 --- a/agent/connect/common_names.go +++ b/agent/connect/common_names.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/csr.go b/agent/connect/csr.go index 63ba59476..9cf0d884d 100644 --- a/agent/connect/csr.go +++ b/agent/connect/csr.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/csr_test.go b/agent/connect/csr_test.go index 322585840..6aef985f0 100644 --- a/agent/connect/csr_test.go +++ b/agent/connect/csr_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/generate.go b/agent/connect/generate.go index 8c40faf9a..819428d14 100644 --- a/agent/connect/generate.go +++ b/agent/connect/generate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/generate_test.go b/agent/connect/generate_test.go index b6234a497..67be6081f 100644 --- a/agent/connect/generate_test.go +++ b/agent/connect/generate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/parsing.go b/agent/connect/parsing.go index d59192650..a89544532 100644 --- a/agent/connect/parsing.go +++ b/agent/connect/parsing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/sni.go b/agent/connect/sni.go index e60740e4b..b9eb8a14b 100644 --- a/agent/connect/sni.go +++ b/agent/connect/sni.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/sni_test.go b/agent/connect/sni_test.go index 59e9f41fc..acbfd49ce 100644 --- a/agent/connect/sni_test.go +++ b/agent/connect/sni_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/testing_ca.go b/agent/connect/testing_ca.go index aa44859b3..7b30d8517 100644 --- a/agent/connect/testing_ca.go +++ b/agent/connect/testing_ca.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/testing_ca_test.go b/agent/connect/testing_ca_test.go index 7d3cb9579..492ca9e32 100644 --- a/agent/connect/testing_ca_test.go +++ b/agent/connect/testing_ca_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/testing_spiffe.go b/agent/connect/testing_spiffe.go index 4a0577880..f48222c44 100644 --- a/agent/connect/testing_spiffe.go +++ b/agent/connect/testing_spiffe.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/uri.go b/agent/connect/uri.go index 6d64be3b4..ce4496743 100644 --- a/agent/connect/uri.go +++ b/agent/connect/uri.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/uri_agent.go b/agent/connect/uri_agent.go index fb86614cd..c3d3a86bf 100644 --- a/agent/connect/uri_agent.go +++ b/agent/connect/uri_agent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/uri_agent_oss.go b/agent/connect/uri_agent_oss.go index e24f9b560..e7d426234 100644 --- a/agent/connect/uri_agent_oss.go +++ b/agent/connect/uri_agent_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/connect/uri_agent_oss_test.go b/agent/connect/uri_agent_oss_test.go index 37ebc0bf3..57f1286fd 100644 --- a/agent/connect/uri_agent_oss_test.go +++ b/agent/connect/uri_agent_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/connect/uri_mesh_gateway.go b/agent/connect/uri_mesh_gateway.go index 9358f7eaf..ec474efa4 100644 --- a/agent/connect/uri_mesh_gateway.go +++ b/agent/connect/uri_mesh_gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/uri_mesh_gateway_oss.go b/agent/connect/uri_mesh_gateway_oss.go index 8865b97f9..6ac369ddd 100644 --- a/agent/connect/uri_mesh_gateway_oss.go +++ b/agent/connect/uri_mesh_gateway_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/connect/uri_mesh_gateway_oss_test.go b/agent/connect/uri_mesh_gateway_oss_test.go index 6ab1ede1f..593de8ef3 100644 --- a/agent/connect/uri_mesh_gateway_oss_test.go +++ b/agent/connect/uri_mesh_gateway_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/connect/uri_server.go b/agent/connect/uri_server.go index e6d711051..894ad6378 100644 --- a/agent/connect/uri_server.go +++ b/agent/connect/uri_server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/uri_service.go b/agent/connect/uri_service.go index 685498b1a..5f5f5c9bc 100644 --- a/agent/connect/uri_service.go +++ b/agent/connect/uri_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/uri_service_oss.go b/agent/connect/uri_service_oss.go index 63a51bf70..7323055ad 100644 --- a/agent/connect/uri_service_oss.go +++ b/agent/connect/uri_service_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/connect/uri_service_oss_test.go b/agent/connect/uri_service_oss_test.go index 31b504150..7d73151ed 100644 --- a/agent/connect/uri_service_oss_test.go +++ b/agent/connect/uri_service_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/connect/uri_signing.go b/agent/connect/uri_signing.go index 67ef7ecea..24330a3d7 100644 --- a/agent/connect/uri_signing.go +++ b/agent/connect/uri_signing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/uri_signing_test.go b/agent/connect/uri_signing_test.go index 6fef1f811..ba4261731 100644 --- a/agent/connect/uri_signing_test.go +++ b/agent/connect/uri_signing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/uri_test.go b/agent/connect/uri_test.go index b57f3ffe8..2ea439f53 100644 --- a/agent/connect/uri_test.go +++ b/agent/connect/uri_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/x509_patch.go b/agent/connect/x509_patch.go index 9dcd12de1..f448154f8 100644 --- a/agent/connect/x509_patch.go +++ b/agent/connect/x509_patch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect/x509_patch_test.go b/agent/connect/x509_patch_test.go index 61278b359..1447802a5 100644 --- a/agent/connect/x509_patch_test.go +++ b/agent/connect/x509_patch_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/agent/connect_auth.go b/agent/connect_auth.go index 80fa6d42e..0e4b577fd 100644 --- a/agent/connect_auth.go +++ b/agent/connect_auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/connect_ca_endpoint.go b/agent/connect_ca_endpoint.go index bb2ec637c..913836f8c 100644 --- a/agent/connect_ca_endpoint.go +++ b/agent/connect_ca_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/connect_ca_endpoint_test.go b/agent/connect_ca_endpoint_test.go index 1296ab317..575250de4 100644 --- a/agent/connect_ca_endpoint_test.go +++ b/agent/connect_ca_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/consul/acl.go b/agent/consul/acl.go index 40df5d3ff..c0107a6aa 100644 --- a/agent/consul/acl.go +++ b/agent/consul/acl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_authmethod.go b/agent/consul/acl_authmethod.go index f7826c7bd..42f5b6e24 100644 --- a/agent/consul/acl_authmethod.go +++ b/agent/consul/acl_authmethod.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_authmethod_oss.go b/agent/consul/acl_authmethod_oss.go index b2f28da9a..94bf78bd2 100644 --- a/agent/consul/acl_authmethod_oss.go +++ b/agent/consul/acl_authmethod_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/acl_client.go b/agent/consul/acl_client.go index d93923e65..d13380760 100644 --- a/agent/consul/acl_client.go +++ b/agent/consul/acl_client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_endpoint.go b/agent/consul/acl_endpoint.go index 790bd71a5..cc1632cf4 100644 --- a/agent/consul/acl_endpoint.go +++ b/agent/consul/acl_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_endpoint_oss.go b/agent/consul/acl_endpoint_oss.go index da2890fde..9d45f0fd7 100644 --- a/agent/consul/acl_endpoint_oss.go +++ b/agent/consul/acl_endpoint_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/acl_endpoint_test.go b/agent/consul/acl_endpoint_test.go index 8bbf8379b..9507f9c62 100644 --- a/agent/consul/acl_endpoint_test.go +++ b/agent/consul/acl_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_oss.go b/agent/consul/acl_oss.go index 1fe4fbbf8..496b6cb55 100644 --- a/agent/consul/acl_oss.go +++ b/agent/consul/acl_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/acl_oss_test.go b/agent/consul/acl_oss_test.go index df2165e1c..69660f9da 100644 --- a/agent/consul/acl_oss_test.go +++ b/agent/consul/acl_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/acl_replication.go b/agent/consul/acl_replication.go index 3b41a3eec..849e81adf 100644 --- a/agent/consul/acl_replication.go +++ b/agent/consul/acl_replication.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_replication_test.go b/agent/consul/acl_replication_test.go index c3c564fed..a81bfca03 100644 --- a/agent/consul/acl_replication_test.go +++ b/agent/consul/acl_replication_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_replication_types.go b/agent/consul/acl_replication_types.go index a395270d6..c5aeaaead 100644 --- a/agent/consul/acl_replication_types.go +++ b/agent/consul/acl_replication_types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_server.go b/agent/consul/acl_server.go index 48e80191e..f068bd5b2 100644 --- a/agent/consul/acl_server.go +++ b/agent/consul/acl_server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_server_oss.go b/agent/consul/acl_server_oss.go index 6d281c225..f2de1486a 100644 --- a/agent/consul/acl_server_oss.go +++ b/agent/consul/acl_server_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/acl_test.go b/agent/consul/acl_test.go index b7b28123e..386c60e38 100644 --- a/agent/consul/acl_test.go +++ b/agent/consul/acl_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_token_exp.go b/agent/consul/acl_token_exp.go index e373e0cdd..7f5de395c 100644 --- a/agent/consul/acl_token_exp.go +++ b/agent/consul/acl_token_exp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/acl_token_exp_test.go b/agent/consul/acl_token_exp_test.go index c4f0c768d..949d54510 100644 --- a/agent/consul/acl_token_exp_test.go +++ b/agent/consul/acl_token_exp_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/auth/binder.go b/agent/consul/auth/binder.go index f1eec0141..354fedc8f 100644 --- a/agent/consul/auth/binder.go +++ b/agent/consul/auth/binder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/agent/consul/auth/binder_oss.go b/agent/consul/auth/binder_oss.go index bbd34090e..f6fa5e5e8 100644 --- a/agent/consul/auth/binder_oss.go +++ b/agent/consul/auth/binder_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/auth/binder_test.go b/agent/consul/auth/binder_test.go index 240131dfd..b86d4526d 100644 --- a/agent/consul/auth/binder_test.go +++ b/agent/consul/auth/binder_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/agent/consul/auth/login.go b/agent/consul/auth/login.go index 3848fb8c8..9592e5a84 100644 --- a/agent/consul/auth/login.go +++ b/agent/consul/auth/login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/agent/consul/auth/token_writer.go b/agent/consul/auth/token_writer.go index 957d34fad..ab99eeb37 100644 --- a/agent/consul/auth/token_writer.go +++ b/agent/consul/auth/token_writer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/agent/consul/auth/token_writer_oss.go b/agent/consul/auth/token_writer_oss.go index 57365610e..b0ad9e833 100644 --- a/agent/consul/auth/token_writer_oss.go +++ b/agent/consul/auth/token_writer_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/auth/token_writer_test.go b/agent/consul/auth/token_writer_test.go index 499c10ab5..e4fbf04db 100644 --- a/agent/consul/auth/token_writer_test.go +++ b/agent/consul/auth/token_writer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/agent/consul/authmethod/authmethods.go b/agent/consul/authmethod/authmethods.go index fbcd27e01..946fce927 100644 --- a/agent/consul/authmethod/authmethods.go +++ b/agent/consul/authmethod/authmethods.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethod import ( diff --git a/agent/consul/authmethod/authmethods_oss.go b/agent/consul/authmethod/authmethods_oss.go index 0e5cc5a7f..0839b4aba 100644 --- a/agent/consul/authmethod/authmethods_oss.go +++ b/agent/consul/authmethod/authmethods_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/authmethod/awsauth/aws.go b/agent/consul/authmethod/awsauth/aws.go index 7c7758476..d2cd73482 100644 --- a/agent/consul/authmethod/awsauth/aws.go +++ b/agent/consul/authmethod/awsauth/aws.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/agent/consul/authmethod/awsauth/aws_test.go b/agent/consul/authmethod/awsauth/aws_test.go index 031cd035b..7a894cc21 100644 --- a/agent/consul/authmethod/awsauth/aws_test.go +++ b/agent/consul/authmethod/awsauth/aws_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/agent/consul/authmethod/kubeauth/k8s.go b/agent/consul/authmethod/kubeauth/k8s.go index a976664a6..f71157cbe 100644 --- a/agent/consul/authmethod/kubeauth/k8s.go +++ b/agent/consul/authmethod/kubeauth/k8s.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kubeauth import ( diff --git a/agent/consul/authmethod/kubeauth/k8s_oss.go b/agent/consul/authmethod/kubeauth/k8s_oss.go index a023c24e7..b2b7e8a2d 100644 --- a/agent/consul/authmethod/kubeauth/k8s_oss.go +++ b/agent/consul/authmethod/kubeauth/k8s_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/authmethod/kubeauth/k8s_test.go b/agent/consul/authmethod/kubeauth/k8s_test.go index e8c1abe1b..95decce11 100644 --- a/agent/consul/authmethod/kubeauth/k8s_test.go +++ b/agent/consul/authmethod/kubeauth/k8s_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kubeauth import ( diff --git a/agent/consul/authmethod/kubeauth/testing.go b/agent/consul/authmethod/kubeauth/testing.go index 83e5d4fa2..e5538bb90 100644 --- a/agent/consul/authmethod/kubeauth/testing.go +++ b/agent/consul/authmethod/kubeauth/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kubeauth import ( diff --git a/agent/consul/authmethod/ssoauth/sso.go b/agent/consul/authmethod/ssoauth/sso.go index ee8fff4bd..6215c0eaf 100644 --- a/agent/consul/authmethod/ssoauth/sso.go +++ b/agent/consul/authmethod/ssoauth/sso.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssoauth import ( diff --git a/agent/consul/authmethod/ssoauth/sso_oss.go b/agent/consul/authmethod/ssoauth/sso_oss.go index 495ce482b..74e3be308 100644 --- a/agent/consul/authmethod/ssoauth/sso_oss.go +++ b/agent/consul/authmethod/ssoauth/sso_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/authmethod/ssoauth/sso_test.go b/agent/consul/authmethod/ssoauth/sso_test.go index 39501b026..840e37b86 100644 --- a/agent/consul/authmethod/ssoauth/sso_test.go +++ b/agent/consul/authmethod/ssoauth/sso_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssoauth import ( diff --git a/agent/consul/authmethod/testauth/testing.go b/agent/consul/authmethod/testauth/testing.go index 5ad0f1e49..9f6c85ae2 100644 --- a/agent/consul/authmethod/testauth/testing.go +++ b/agent/consul/authmethod/testauth/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testauth import ( diff --git a/agent/consul/authmethod/testauth/testing_oss.go b/agent/consul/authmethod/testauth/testing_oss.go index d03a6ad87..f4b909b4b 100644 --- a/agent/consul/authmethod/testauth/testing_oss.go +++ b/agent/consul/authmethod/testauth/testing_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/authmethod/testing.go b/agent/consul/authmethod/testing.go index d367f6476..933082a5b 100644 --- a/agent/consul/authmethod/testing.go +++ b/agent/consul/authmethod/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethod import ( diff --git a/agent/consul/auto_config_backend.go b/agent/consul/auto_config_backend.go index e77093d5e..78413fe01 100644 --- a/agent/consul/auto_config_backend.go +++ b/agent/consul/auto_config_backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/auto_config_backend_test.go b/agent/consul/auto_config_backend_test.go index b4a8a2c6c..6a4a202fc 100644 --- a/agent/consul/auto_config_backend_test.go +++ b/agent/consul/auto_config_backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/auto_config_endpoint.go b/agent/consul/auto_config_endpoint.go index c44206e67..808aa6330 100644 --- a/agent/consul/auto_config_endpoint.go +++ b/agent/consul/auto_config_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/auto_config_endpoint_test.go b/agent/consul/auto_config_endpoint_test.go index 12b99282d..a3f485ee6 100644 --- a/agent/consul/auto_config_endpoint_test.go +++ b/agent/consul/auto_config_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/auto_encrypt_endpoint.go b/agent/consul/auto_encrypt_endpoint.go index 3adfad8ec..b893e7832 100644 --- a/agent/consul/auto_encrypt_endpoint.go +++ b/agent/consul/auto_encrypt_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/auto_encrypt_endpoint_test.go b/agent/consul/auto_encrypt_endpoint_test.go index 50d356d9f..d8124f9fb 100644 --- a/agent/consul/auto_encrypt_endpoint_test.go +++ b/agent/consul/auto_encrypt_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/autopilot.go b/agent/consul/autopilot.go index a41febb05..f682ffed6 100644 --- a/agent/consul/autopilot.go +++ b/agent/consul/autopilot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/autopilot_oss.go b/agent/consul/autopilot_oss.go index d84cd2fdf..92f9b4cca 100644 --- a/agent/consul/autopilot_oss.go +++ b/agent/consul/autopilot_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/autopilot_test.go b/agent/consul/autopilot_test.go index 2ebd5806b..4429340ed 100644 --- a/agent/consul/autopilot_test.go +++ b/agent/consul/autopilot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/autopilotevents/ready_servers_events.go b/agent/consul/autopilotevents/ready_servers_events.go index 9b4e2af2a..404276f3e 100644 --- a/agent/consul/autopilotevents/ready_servers_events.go +++ b/agent/consul/autopilotevents/ready_servers_events.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autopilotevents import ( diff --git a/agent/consul/autopilotevents/ready_servers_events_test.go b/agent/consul/autopilotevents/ready_servers_events_test.go index 6944177e4..994020c29 100644 --- a/agent/consul/autopilotevents/ready_servers_events_test.go +++ b/agent/consul/autopilotevents/ready_servers_events_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autopilotevents import ( diff --git a/agent/consul/catalog_endpoint.go b/agent/consul/catalog_endpoint.go index bacafa688..32b8067e5 100644 --- a/agent/consul/catalog_endpoint.go +++ b/agent/consul/catalog_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/catalog_endpoint_test.go b/agent/consul/catalog_endpoint_test.go index e4c6cd7de..192a3d6d7 100644 --- a/agent/consul/catalog_endpoint_test.go +++ b/agent/consul/catalog_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/client.go b/agent/consul/client.go index c1ea41f89..e4a3f8332 100644 --- a/agent/consul/client.go +++ b/agent/consul/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/client_serf.go b/agent/consul/client_serf.go index 50a084448..7d68b5039 100644 --- a/agent/consul/client_serf.go +++ b/agent/consul/client_serf.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/client_test.go b/agent/consul/client_test.go index 982eb80ab..419867a4e 100644 --- a/agent/consul/client_test.go +++ b/agent/consul/client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/cluster_test.go b/agent/consul/cluster_test.go index bf2c63a2e..925d32a61 100644 --- a/agent/consul/cluster_test.go +++ b/agent/consul/cluster_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/config.go b/agent/consul/config.go index 1ba42c129..6fa637504 100644 --- a/agent/consul/config.go +++ b/agent/consul/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/config_endpoint.go b/agent/consul/config_endpoint.go index f6ec3b3ba..4ed7c450a 100644 --- a/agent/consul/config_endpoint.go +++ b/agent/consul/config_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/config_endpoint_test.go b/agent/consul/config_endpoint_test.go index e836db997..85170378a 100644 --- a/agent/consul/config_endpoint_test.go +++ b/agent/consul/config_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/config_oss.go b/agent/consul/config_oss.go index bae469eaf..e91d0981e 100644 --- a/agent/consul/config_oss.go +++ b/agent/consul/config_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/config_replication.go b/agent/consul/config_replication.go index 902f92a6a..a7bb714be 100644 --- a/agent/consul/config_replication.go +++ b/agent/consul/config_replication.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/config_replication_test.go b/agent/consul/config_replication_test.go index 24d51de88..9e3d236d8 100644 --- a/agent/consul/config_replication_test.go +++ b/agent/consul/config_replication_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/config_test.go b/agent/consul/config_test.go index 8e6c7055d..e2706e00b 100644 --- a/agent/consul/config_test.go +++ b/agent/consul/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/connect_ca_endpoint.go b/agent/consul/connect_ca_endpoint.go index 29cfc38be..771eae246 100644 --- a/agent/consul/connect_ca_endpoint.go +++ b/agent/consul/connect_ca_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/connect_ca_endpoint_test.go b/agent/consul/connect_ca_endpoint_test.go index 8e0cd6d37..3911db192 100644 --- a/agent/consul/connect_ca_endpoint_test.go +++ b/agent/consul/connect_ca_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/context.go b/agent/consul/context.go index ecf782911..7de4157d8 100644 --- a/agent/consul/context.go +++ b/agent/consul/context.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/context_test.go b/agent/consul/context_test.go index b6e136fea..264dcdd98 100644 --- a/agent/consul/context_test.go +++ b/agent/consul/context_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/controller/controller.go b/agent/consul/controller/controller.go index 3dec902a5..ddd99ea65 100644 --- a/agent/consul/controller/controller.go +++ b/agent/consul/controller/controller.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/agent/consul/controller/controller_test.go b/agent/consul/controller/controller_test.go index ea42ed87c..443a3fcfd 100644 --- a/agent/consul/controller/controller_test.go +++ b/agent/consul/controller/controller_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/agent/consul/controller/defer.go b/agent/consul/controller/defer.go index 398373b0b..f0c5af5f3 100644 --- a/agent/consul/controller/defer.go +++ b/agent/consul/controller/defer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/agent/consul/controller/doc.go b/agent/consul/controller/doc.go index ca40814e3..638eb5c5d 100644 --- a/agent/consul/controller/doc.go +++ b/agent/consul/controller/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package controller contains a re-implementation of the Kubernetes // [controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) // with the core using Consul's event publishing pipeline rather than diff --git a/agent/consul/controller/queue.go b/agent/consul/controller/queue.go index d86c5c671..ede7a00c0 100644 --- a/agent/consul/controller/queue.go +++ b/agent/consul/controller/queue.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/agent/consul/controller/queue_test.go b/agent/consul/controller/queue_test.go index 8bfc00312..63571511d 100644 --- a/agent/consul/controller/queue_test.go +++ b/agent/consul/controller/queue_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/agent/consul/controller/rate.go b/agent/consul/controller/rate.go index 829b39705..76bc48f31 100644 --- a/agent/consul/controller/rate.go +++ b/agent/consul/controller/rate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/agent/consul/controller/rate_test.go b/agent/consul/controller/rate_test.go index 8d128eee1..676a28ee6 100644 --- a/agent/consul/controller/rate_test.go +++ b/agent/consul/controller/rate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/agent/consul/controller/reconciler.go b/agent/consul/controller/reconciler.go index 530c17ccb..ce0c6e97a 100644 --- a/agent/consul/controller/reconciler.go +++ b/agent/consul/controller/reconciler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/agent/consul/controller/reconciler_test.go b/agent/consul/controller/reconciler_test.go index 5b08494ae..56ae022ea 100644 --- a/agent/consul/controller/reconciler_test.go +++ b/agent/consul/controller/reconciler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/agent/consul/coordinate_endpoint.go b/agent/consul/coordinate_endpoint.go index 886df889e..28bf63b0b 100644 --- a/agent/consul/coordinate_endpoint.go +++ b/agent/consul/coordinate_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/coordinate_endpoint_test.go b/agent/consul/coordinate_endpoint_test.go index 471a92623..fbb3e13aa 100644 --- a/agent/consul/coordinate_endpoint_test.go +++ b/agent/consul/coordinate_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/discovery_chain_endpoint.go b/agent/consul/discovery_chain_endpoint.go index e354d0064..4d1f9959c 100644 --- a/agent/consul/discovery_chain_endpoint.go +++ b/agent/consul/discovery_chain_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/discovery_chain_endpoint_test.go b/agent/consul/discovery_chain_endpoint_test.go index c1ad0fef3..8379f86b7 100644 --- a/agent/consul/discovery_chain_endpoint_test.go +++ b/agent/consul/discovery_chain_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/discoverychain/compile.go b/agent/consul/discoverychain/compile.go index 20ac35683..39710c2b1 100644 --- a/agent/consul/discoverychain/compile.go +++ b/agent/consul/discoverychain/compile.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discoverychain import ( diff --git a/agent/consul/discoverychain/compile_oss.go b/agent/consul/discoverychain/compile_oss.go index c0aa1118e..d980c71f3 100644 --- a/agent/consul/discoverychain/compile_oss.go +++ b/agent/consul/discoverychain/compile_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/discoverychain/compile_test.go b/agent/consul/discoverychain/compile_test.go index 99371a61d..692c0c4fd 100644 --- a/agent/consul/discoverychain/compile_test.go +++ b/agent/consul/discoverychain/compile_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discoverychain import ( diff --git a/agent/consul/discoverychain/gateway.go b/agent/consul/discoverychain/gateway.go index e834b7a1d..c1c6a2b08 100644 --- a/agent/consul/discoverychain/gateway.go +++ b/agent/consul/discoverychain/gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discoverychain import ( diff --git a/agent/consul/discoverychain/gateway_httproute.go b/agent/consul/discoverychain/gateway_httproute.go index 30968c9a4..fcd2dc440 100644 --- a/agent/consul/discoverychain/gateway_httproute.go +++ b/agent/consul/discoverychain/gateway_httproute.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discoverychain import ( diff --git a/agent/consul/discoverychain/gateway_tcproute.go b/agent/consul/discoverychain/gateway_tcproute.go index 377e4450e..21afef3ec 100644 --- a/agent/consul/discoverychain/gateway_tcproute.go +++ b/agent/consul/discoverychain/gateway_tcproute.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discoverychain import "github.com/hashicorp/consul/agent/structs" diff --git a/agent/consul/discoverychain/gateway_test.go b/agent/consul/discoverychain/gateway_test.go index 57d236afd..a98aaf055 100644 --- a/agent/consul/discoverychain/gateway_test.go +++ b/agent/consul/discoverychain/gateway_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discoverychain import ( diff --git a/agent/consul/discoverychain/string_stack.go b/agent/consul/discoverychain/string_stack.go index c68827d8d..e47743a3f 100644 --- a/agent/consul/discoverychain/string_stack.go +++ b/agent/consul/discoverychain/string_stack.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discoverychain type stringStack []string diff --git a/agent/consul/discoverychain/string_stack_test.go b/agent/consul/discoverychain/string_stack_test.go index d33363c0b..84f58203d 100644 --- a/agent/consul/discoverychain/string_stack_test.go +++ b/agent/consul/discoverychain/string_stack_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discoverychain import ( diff --git a/agent/consul/discoverychain/testing.go b/agent/consul/discoverychain/testing.go index 68a75c26a..cf56be195 100644 --- a/agent/consul/discoverychain/testing.go +++ b/agent/consul/discoverychain/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discoverychain import ( diff --git a/agent/consul/enterprise_client_oss.go b/agent/consul/enterprise_client_oss.go index 3dcf34732..3d432213b 100644 --- a/agent/consul/enterprise_client_oss.go +++ b/agent/consul/enterprise_client_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/enterprise_config_oss.go b/agent/consul/enterprise_config_oss.go index a58998406..15af4ea16 100644 --- a/agent/consul/enterprise_config_oss.go +++ b/agent/consul/enterprise_config_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/enterprise_server_oss.go b/agent/consul/enterprise_server_oss.go index d6e07ddd8..836b64e2b 100644 --- a/agent/consul/enterprise_server_oss.go +++ b/agent/consul/enterprise_server_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/enterprise_server_oss_test.go b/agent/consul/enterprise_server_oss_test.go index 46a73b6d1..9bd3eb8c0 100644 --- a/agent/consul/enterprise_server_oss_test.go +++ b/agent/consul/enterprise_server_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/federation_state_endpoint.go b/agent/consul/federation_state_endpoint.go index 6aade9488..db842e666 100644 --- a/agent/consul/federation_state_endpoint.go +++ b/agent/consul/federation_state_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/federation_state_endpoint_test.go b/agent/consul/federation_state_endpoint_test.go index 299622447..977de1c9c 100644 --- a/agent/consul/federation_state_endpoint_test.go +++ b/agent/consul/federation_state_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/federation_state_replication.go b/agent/consul/federation_state_replication.go index 69fb89694..f56c3c608 100644 --- a/agent/consul/federation_state_replication.go +++ b/agent/consul/federation_state_replication.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/federation_state_replication_test.go b/agent/consul/federation_state_replication_test.go index b908aec96..5100e4592 100644 --- a/agent/consul/federation_state_replication_test.go +++ b/agent/consul/federation_state_replication_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/filter.go b/agent/consul/filter.go index 217af4400..186434636 100644 --- a/agent/consul/filter.go +++ b/agent/consul/filter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/filter_test.go b/agent/consul/filter_test.go index b5f81c28f..d8f6ba54c 100644 --- a/agent/consul/filter_test.go +++ b/agent/consul/filter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/flood.go b/agent/consul/flood.go index ab9c54003..ee7dfbc1d 100644 --- a/agent/consul/flood.go +++ b/agent/consul/flood.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/fsm/commands_oss.go b/agent/consul/fsm/commands_oss.go index 5d6f8c2a4..ef9275a17 100644 --- a/agent/consul/fsm/commands_oss.go +++ b/agent/consul/fsm/commands_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fsm import ( diff --git a/agent/consul/fsm/commands_oss_test.go b/agent/consul/fsm/commands_oss_test.go index 58608fe14..e4dc9ea6b 100644 --- a/agent/consul/fsm/commands_oss_test.go +++ b/agent/consul/fsm/commands_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fsm import ( diff --git a/agent/consul/fsm/fsm.go b/agent/consul/fsm/fsm.go index 6bcbac0d6..b09138422 100644 --- a/agent/consul/fsm/fsm.go +++ b/agent/consul/fsm/fsm.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fsm import ( diff --git a/agent/consul/fsm/fsm_test.go b/agent/consul/fsm/fsm_test.go index 43244da23..aa31615a5 100644 --- a/agent/consul/fsm/fsm_test.go +++ b/agent/consul/fsm/fsm_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fsm import ( diff --git a/agent/consul/fsm/log_verification_chunking_shim.go b/agent/consul/fsm/log_verification_chunking_shim.go index 5b90fbeb4..a74b92b56 100644 --- a/agent/consul/fsm/log_verification_chunking_shim.go +++ b/agent/consul/fsm/log_verification_chunking_shim.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fsm import ( diff --git a/agent/consul/fsm/snapshot.go b/agent/consul/fsm/snapshot.go index 42175561d..2d734ba6e 100644 --- a/agent/consul/fsm/snapshot.go +++ b/agent/consul/fsm/snapshot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fsm import ( diff --git a/agent/consul/fsm/snapshot_oss.go b/agent/consul/fsm/snapshot_oss.go index e0bf928c8..285f97e15 100644 --- a/agent/consul/fsm/snapshot_oss.go +++ b/agent/consul/fsm/snapshot_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fsm import ( diff --git a/agent/consul/fsm/snapshot_oss_test.go b/agent/consul/fsm/snapshot_oss_test.go index 301db3c2a..eb7f3d20a 100644 --- a/agent/consul/fsm/snapshot_oss_test.go +++ b/agent/consul/fsm/snapshot_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/fsm/snapshot_test.go b/agent/consul/fsm/snapshot_test.go index 5a7665965..edb39e192 100644 --- a/agent/consul/fsm/snapshot_test.go +++ b/agent/consul/fsm/snapshot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fsm import ( diff --git a/agent/consul/fsm_data_store.go b/agent/consul/fsm_data_store.go index 4bbdf6f24..46c3ca2f0 100644 --- a/agent/consul/fsm_data_store.go +++ b/agent/consul/fsm_data_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/gateway_locator.go b/agent/consul/gateway_locator.go index ab72fdce3..7ae492822 100644 --- a/agent/consul/gateway_locator.go +++ b/agent/consul/gateway_locator.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/gateway_locator_test.go b/agent/consul/gateway_locator_test.go index 8f32acb86..ddd48e0b1 100644 --- a/agent/consul/gateway_locator_test.go +++ b/agent/consul/gateway_locator_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/gateways/controller_gateways.go b/agent/consul/gateways/controller_gateways.go index cfc5a25ba..afb687fe0 100644 --- a/agent/consul/gateways/controller_gateways.go +++ b/agent/consul/gateways/controller_gateways.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package gateways import ( diff --git a/agent/consul/gateways/controller_gateways_test.go b/agent/consul/gateways/controller_gateways_test.go index 805a5738c..f80a0d055 100644 --- a/agent/consul/gateways/controller_gateways_test.go +++ b/agent/consul/gateways/controller_gateways_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package gateways import ( diff --git a/agent/consul/grpc_integration_test.go b/agent/consul/grpc_integration_test.go index fa1ed4889..678403a45 100644 --- a/agent/consul/grpc_integration_test.go +++ b/agent/consul/grpc_integration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/health_endpoint.go b/agent/consul/health_endpoint.go index 858f33941..abf17adba 100644 --- a/agent/consul/health_endpoint.go +++ b/agent/consul/health_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/health_endpoint_test.go b/agent/consul/health_endpoint_test.go index 77fd64f4e..4b492081c 100644 --- a/agent/consul/health_endpoint_test.go +++ b/agent/consul/health_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/helper_test.go b/agent/consul/helper_test.go index d21bb5d64..0619004c5 100644 --- a/agent/consul/helper_test.go +++ b/agent/consul/helper_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/intention_endpoint.go b/agent/consul/intention_endpoint.go index 6ad053f7f..35fe4714d 100644 --- a/agent/consul/intention_endpoint.go +++ b/agent/consul/intention_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/intention_endpoint_test.go b/agent/consul/intention_endpoint_test.go index 199f3ede4..d4784722f 100644 --- a/agent/consul/intention_endpoint_test.go +++ b/agent/consul/intention_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/internal_endpoint.go b/agent/consul/internal_endpoint.go index 2b5e8a194..6a3efbc3d 100644 --- a/agent/consul/internal_endpoint.go +++ b/agent/consul/internal_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/internal_endpoint_test.go b/agent/consul/internal_endpoint_test.go index 476411eb9..eafddb612 100644 --- a/agent/consul/internal_endpoint_test.go +++ b/agent/consul/internal_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/issue_test.go b/agent/consul/issue_test.go index 7839be0b9..675f58fb3 100644 --- a/agent/consul/issue_test.go +++ b/agent/consul/issue_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/kvs_endpoint.go b/agent/consul/kvs_endpoint.go index 3f2cbe1cc..183f95f7f 100644 --- a/agent/consul/kvs_endpoint.go +++ b/agent/consul/kvs_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/kvs_endpoint_test.go b/agent/consul/kvs_endpoint_test.go index 1289ac655..ca9960f4b 100644 --- a/agent/consul/kvs_endpoint_test.go +++ b/agent/consul/kvs_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader.go b/agent/consul/leader.go index d5eb00fbb..8334704fd 100644 --- a/agent/consul/leader.go +++ b/agent/consul/leader.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_connect.go b/agent/consul/leader_connect.go index 0c57bc13a..f4779744f 100644 --- a/agent/consul/leader_connect.go +++ b/agent/consul/leader_connect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_connect_ca.go b/agent/consul/leader_connect_ca.go index abb92f54b..10f730a52 100644 --- a/agent/consul/leader_connect_ca.go +++ b/agent/consul/leader_connect_ca.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_connect_ca_test.go b/agent/consul/leader_connect_ca_test.go index 1e4e4d2af..a0c5cb597 100644 --- a/agent/consul/leader_connect_ca_test.go +++ b/agent/consul/leader_connect_ca_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_connect_test.go b/agent/consul/leader_connect_test.go index 9c1218f9c..fc6c6644e 100644 --- a/agent/consul/leader_connect_test.go +++ b/agent/consul/leader_connect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_federation_state_ae.go b/agent/consul/leader_federation_state_ae.go index 6cc0d4ba2..fa46bea77 100644 --- a/agent/consul/leader_federation_state_ae.go +++ b/agent/consul/leader_federation_state_ae.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_federation_state_ae_test.go b/agent/consul/leader_federation_state_ae_test.go index 597a92753..ef3333da3 100644 --- a/agent/consul/leader_federation_state_ae_test.go +++ b/agent/consul/leader_federation_state_ae_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_intentions.go b/agent/consul/leader_intentions.go index 9adc26795..41d4529fb 100644 --- a/agent/consul/leader_intentions.go +++ b/agent/consul/leader_intentions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_intentions_oss.go b/agent/consul/leader_intentions_oss.go index db9c742bd..76970f397 100644 --- a/agent/consul/leader_intentions_oss.go +++ b/agent/consul/leader_intentions_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/leader_intentions_oss_test.go b/agent/consul/leader_intentions_oss_test.go index ea9b8b6a4..7d144fb2e 100644 --- a/agent/consul/leader_intentions_oss_test.go +++ b/agent/consul/leader_intentions_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/leader_intentions_test.go b/agent/consul/leader_intentions_test.go index e0dcb8b3d..2975872a2 100644 --- a/agent/consul/leader_intentions_test.go +++ b/agent/consul/leader_intentions_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_log_verification.go b/agent/consul/leader_log_verification.go index 61fe84cd9..ef32ce179 100644 --- a/agent/consul/leader_log_verification.go +++ b/agent/consul/leader_log_verification.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_metrics.go b/agent/consul/leader_metrics.go index 244d3fd5d..bd36a52f6 100644 --- a/agent/consul/leader_metrics.go +++ b/agent/consul/leader_metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_oss_test.go b/agent/consul/leader_oss_test.go index 6aab96f89..7ff6f64ee 100644 --- a/agent/consul/leader_oss_test.go +++ b/agent/consul/leader_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/leader_peering.go b/agent/consul/leader_peering.go index 713ef42cf..32f220164 100644 --- a/agent/consul/leader_peering.go +++ b/agent/consul/leader_peering.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_peering_test.go b/agent/consul/leader_peering_test.go index f8d9127d6..7ac8b387d 100644 --- a/agent/consul/leader_peering_test.go +++ b/agent/consul/leader_peering_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/leader_test.go b/agent/consul/leader_test.go index e8bcb39a6..72f70a9ec 100644 --- a/agent/consul/leader_test.go +++ b/agent/consul/leader_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/logging.go b/agent/consul/logging.go index 94cc38f92..da07daa8f 100644 --- a/agent/consul/logging.go +++ b/agent/consul/logging.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/logging_test.go b/agent/consul/logging_test.go index 8f747bb43..7f090992a 100644 --- a/agent/consul/logging_test.go +++ b/agent/consul/logging_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/merge.go b/agent/consul/merge.go index 553a980b3..21b59f1aa 100644 --- a/agent/consul/merge.go +++ b/agent/consul/merge.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/merge_oss.go b/agent/consul/merge_oss.go index 515bbbcd1..0f144ab21 100644 --- a/agent/consul/merge_oss.go +++ b/agent/consul/merge_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/merge_oss_test.go b/agent/consul/merge_oss_test.go index 99333c7dd..aef74f7ba 100644 --- a/agent/consul/merge_oss_test.go +++ b/agent/consul/merge_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/merge_test.go b/agent/consul/merge_test.go index c508f6942..66992136a 100644 --- a/agent/consul/merge_test.go +++ b/agent/consul/merge_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/multilimiter/multilimiter.go b/agent/consul/multilimiter/multilimiter.go index 13e01f8eb..f40e6c501 100644 --- a/agent/consul/multilimiter/multilimiter.go +++ b/agent/consul/multilimiter/multilimiter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package multilimiter import ( diff --git a/agent/consul/multilimiter/multilimiter_test.go b/agent/consul/multilimiter/multilimiter_test.go index c34440ff4..991cd3b98 100644 --- a/agent/consul/multilimiter/multilimiter_test.go +++ b/agent/consul/multilimiter/multilimiter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package multilimiter import ( diff --git a/agent/consul/operator_autopilot_endpoint.go b/agent/consul/operator_autopilot_endpoint.go index babbb7956..b6ef7d38e 100644 --- a/agent/consul/operator_autopilot_endpoint.go +++ b/agent/consul/operator_autopilot_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/operator_autopilot_endpoint_test.go b/agent/consul/operator_autopilot_endpoint_test.go index a0a300c6d..c9258e9aa 100644 --- a/agent/consul/operator_autopilot_endpoint_test.go +++ b/agent/consul/operator_autopilot_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/operator_backend.go b/agent/consul/operator_backend.go index 0596d408e..a72128735 100644 --- a/agent/consul/operator_backend.go +++ b/agent/consul/operator_backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/operator_backend_test.go b/agent/consul/operator_backend_test.go index e6bb46c61..2189fe006 100644 --- a/agent/consul/operator_backend_test.go +++ b/agent/consul/operator_backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/operator_endpoint.go b/agent/consul/operator_endpoint.go index 4dbe7251a..33e73e6ee 100644 --- a/agent/consul/operator_endpoint.go +++ b/agent/consul/operator_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import "github.com/hashicorp/go-hclog" diff --git a/agent/consul/operator_raft_endpoint.go b/agent/consul/operator_raft_endpoint.go index 328f8ff96..f619b611f 100644 --- a/agent/consul/operator_raft_endpoint.go +++ b/agent/consul/operator_raft_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/operator_raft_endpoint_test.go b/agent/consul/operator_raft_endpoint_test.go index be60ec66a..7ce5b6e94 100644 --- a/agent/consul/operator_raft_endpoint_test.go +++ b/agent/consul/operator_raft_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/operator_usage_endpoint.go b/agent/consul/operator_usage_endpoint.go index b49ac60bb..d23815b14 100644 --- a/agent/consul/operator_usage_endpoint.go +++ b/agent/consul/operator_usage_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/options.go b/agent/consul/options.go index e3fca37e6..ac6bfc410 100644 --- a/agent/consul/options.go +++ b/agent/consul/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/options_oss.go b/agent/consul/options_oss.go index 0718d309f..7604ddd87 100644 --- a/agent/consul/options_oss.go +++ b/agent/consul/options_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/peering_backend.go b/agent/consul/peering_backend.go index f5ac65b52..182d926c7 100644 --- a/agent/consul/peering_backend.go +++ b/agent/consul/peering_backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/peering_backend_oss.go b/agent/consul/peering_backend_oss.go index 18d567b3c..81a133b34 100644 --- a/agent/consul/peering_backend_oss.go +++ b/agent/consul/peering_backend_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/peering_backend_oss_test.go b/agent/consul/peering_backend_oss_test.go index 4e477e0d2..410bf5f23 100644 --- a/agent/consul/peering_backend_oss_test.go +++ b/agent/consul/peering_backend_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/peering_backend_test.go b/agent/consul/peering_backend_test.go index b5adb7c50..648873f94 100644 --- a/agent/consul/peering_backend_test.go +++ b/agent/consul/peering_backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/prepared_query/template.go b/agent/consul/prepared_query/template.go index dfe96f142..ef2e2abd4 100644 --- a/agent/consul/prepared_query/template.go +++ b/agent/consul/prepared_query/template.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package prepared_query import ( diff --git a/agent/consul/prepared_query/template_test.go b/agent/consul/prepared_query/template_test.go index 3fbf2d5af..d4f784021 100644 --- a/agent/consul/prepared_query/template_test.go +++ b/agent/consul/prepared_query/template_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package prepared_query import ( diff --git a/agent/consul/prepared_query/walk.go b/agent/consul/prepared_query/walk.go index 09967c55b..da53ce105 100644 --- a/agent/consul/prepared_query/walk.go +++ b/agent/consul/prepared_query/walk.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package prepared_query import ( diff --git a/agent/consul/prepared_query/walk_oss_test.go b/agent/consul/prepared_query/walk_oss_test.go index 0049a62cc..dec84b241 100644 --- a/agent/consul/prepared_query/walk_oss_test.go +++ b/agent/consul/prepared_query/walk_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/prepared_query/walk_test.go b/agent/consul/prepared_query/walk_test.go index 12b71a2e3..a151d71c8 100644 --- a/agent/consul/prepared_query/walk_test.go +++ b/agent/consul/prepared_query/walk_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package prepared_query import ( diff --git a/agent/consul/prepared_query_endpoint.go b/agent/consul/prepared_query_endpoint.go index 2843082cc..9c8c26335 100644 --- a/agent/consul/prepared_query_endpoint.go +++ b/agent/consul/prepared_query_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/prepared_query_endpoint_test.go b/agent/consul/prepared_query_endpoint_test.go index 1da472dbc..0e365a30d 100644 --- a/agent/consul/prepared_query_endpoint_test.go +++ b/agent/consul/prepared_query_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/raft_rpc.go b/agent/consul/raft_rpc.go index 08e23a140..7928ad31e 100644 --- a/agent/consul/raft_rpc.go +++ b/agent/consul/raft_rpc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/rate/handler.go b/agent/consul/rate/handler.go index f1860065d..2573894b1 100644 --- a/agent/consul/rate/handler.go +++ b/agent/consul/rate/handler.go @@ -1,4 +1,7 @@ -// Package rate implements server-side RPC rate limiting. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +// package rate implements server-side RPC rate limiting. package rate import ( diff --git a/agent/consul/rate/handler_test.go b/agent/consul/rate/handler_test.go index 6a74fe7ca..3b610a147 100644 --- a/agent/consul/rate/handler_test.go +++ b/agent/consul/rate/handler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rate import ( diff --git a/agent/consul/rate/metrics.go b/agent/consul/rate/metrics.go index 6307bbc51..cbf796fa9 100644 --- a/agent/consul/rate/metrics.go +++ b/agent/consul/rate/metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rate import "github.com/armon/go-metrics/prometheus" diff --git a/agent/consul/replication.go b/agent/consul/replication.go index 4b6f74c5c..0d85d0826 100644 --- a/agent/consul/replication.go +++ b/agent/consul/replication.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/replication_test.go b/agent/consul/replication_test.go index 64d0388bf..e37e19b1f 100644 --- a/agent/consul/replication_test.go +++ b/agent/consul/replication_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/rpc.go b/agent/consul/rpc.go index 2bad1a8b5..cef6d5cb9 100644 --- a/agent/consul/rpc.go +++ b/agent/consul/rpc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/rpc_test.go b/agent/consul/rpc_test.go index fa0107dd1..a4b7f7faa 100644 --- a/agent/consul/rpc_test.go +++ b/agent/consul/rpc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/rtt.go b/agent/consul/rtt.go index caf8116ed..5db0a634b 100644 --- a/agent/consul/rtt.go +++ b/agent/consul/rtt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/rtt_test.go b/agent/consul/rtt_test.go index 9a488a372..9420f36c8 100644 --- a/agent/consul/rtt_test.go +++ b/agent/consul/rtt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/segment_oss.go b/agent/consul/segment_oss.go index 034e79c54..9dfd7a53f 100644 --- a/agent/consul/segment_oss.go +++ b/agent/consul/segment_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/serf_filter.go b/agent/consul/serf_filter.go index ebd6db759..fd6911bf0 100644 --- a/agent/consul/serf_filter.go +++ b/agent/consul/serf_filter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/serf_test.go b/agent/consul/serf_test.go index 8335468f4..62cc6d0a0 100644 --- a/agent/consul/serf_test.go +++ b/agent/consul/serf_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/server.go b/agent/consul/server.go index a51437a6e..a9edbc697 100644 --- a/agent/consul/server.go +++ b/agent/consul/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/server_connect.go b/agent/consul/server_connect.go index 9193604d6..496d059cb 100644 --- a/agent/consul/server_connect.go +++ b/agent/consul/server_connect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/server_log_verification.go b/agent/consul/server_log_verification.go index cb95b9aee..5646e7876 100644 --- a/agent/consul/server_log_verification.go +++ b/agent/consul/server_log_verification.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/server_lookup.go b/agent/consul/server_lookup.go index 5d290b019..e1952d671 100644 --- a/agent/consul/server_lookup.go +++ b/agent/consul/server_lookup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/server_lookup_test.go b/agent/consul/server_lookup_test.go index 7c0b13122..5d3d3d4e0 100644 --- a/agent/consul/server_lookup_test.go +++ b/agent/consul/server_lookup_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/server_oss.go b/agent/consul/server_oss.go index 587321b5d..868dd6ec9 100644 --- a/agent/consul/server_oss.go +++ b/agent/consul/server_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/server_overview.go b/agent/consul/server_overview.go index 1c42f3483..62bdb3440 100644 --- a/agent/consul/server_overview.go +++ b/agent/consul/server_overview.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/server_overview_test.go b/agent/consul/server_overview_test.go index dc2d439e0..ebb930a1e 100644 --- a/agent/consul/server_overview_test.go +++ b/agent/consul/server_overview_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/server_register.go b/agent/consul/server_register.go index 7268a3903..61f1daefc 100644 --- a/agent/consul/server_register.go +++ b/agent/consul/server_register.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import "github.com/hashicorp/consul/logging" diff --git a/agent/consul/server_serf.go b/agent/consul/server_serf.go index a51558930..bb17235b1 100644 --- a/agent/consul/server_serf.go +++ b/agent/consul/server_serf.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/server_test.go b/agent/consul/server_test.go index 6084847fc..5fcbb4533 100644 --- a/agent/consul/server_test.go +++ b/agent/consul/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/servercert/manager.go b/agent/consul/servercert/manager.go index dd15e66a8..d343db4a0 100644 --- a/agent/consul/servercert/manager.go +++ b/agent/consul/servercert/manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package servercert import ( diff --git a/agent/consul/servercert/manager_test.go b/agent/consul/servercert/manager_test.go index 6beec683f..048e07422 100644 --- a/agent/consul/servercert/manager_test.go +++ b/agent/consul/servercert/manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package servercert import ( diff --git a/agent/consul/session_endpoint.go b/agent/consul/session_endpoint.go index 3affe357d..6e41138f9 100644 --- a/agent/consul/session_endpoint.go +++ b/agent/consul/session_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/session_endpoint_test.go b/agent/consul/session_endpoint_test.go index 277d326f3..ae04d2658 100644 --- a/agent/consul/session_endpoint_test.go +++ b/agent/consul/session_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/session_timers.go b/agent/consul/session_timers.go index 223cc0e31..b4c1b425c 100644 --- a/agent/consul/session_timers.go +++ b/agent/consul/session_timers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/session_timers_test.go b/agent/consul/session_timers_test.go index 51d2bdc2c..d44ed2b36 100644 --- a/agent/consul/session_timers_test.go +++ b/agent/consul/session_timers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/session_ttl.go b/agent/consul/session_ttl.go index 1b2d1ff0c..7866ec8fe 100644 --- a/agent/consul/session_ttl.go +++ b/agent/consul/session_ttl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/session_ttl_test.go b/agent/consul/session_ttl_test.go index 2ebff6c09..5cd720f3f 100644 --- a/agent/consul/session_ttl_test.go +++ b/agent/consul/session_ttl_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/snapshot_endpoint.go b/agent/consul/snapshot_endpoint.go index 102bc0a38..4c77a3efb 100644 --- a/agent/consul/snapshot_endpoint.go +++ b/agent/consul/snapshot_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // The snapshot endpoint is a special non-RPC endpoint that supports streaming // for taking and restoring snapshots for disaster recovery. This gets wired // directly into Consul's stream handler, and a new TCP connection is made for diff --git a/agent/consul/snapshot_endpoint_test.go b/agent/consul/snapshot_endpoint_test.go index 29f60618b..f401bb72e 100644 --- a/agent/consul/snapshot_endpoint_test.go +++ b/agent/consul/snapshot_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/state/acl.go b/agent/consul/state/acl.go index dab6d3ba0..1774ee879 100644 --- a/agent/consul/state/acl.go +++ b/agent/consul/state/acl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/acl_events.go b/agent/consul/state/acl_events.go index 3d219f1fa..3767d2d2d 100644 --- a/agent/consul/state/acl_events.go +++ b/agent/consul/state/acl_events.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/acl_events_test.go b/agent/consul/state/acl_events_test.go index 495602996..303d54a25 100644 --- a/agent/consul/state/acl_events_test.go +++ b/agent/consul/state/acl_events_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/acl_oss.go b/agent/consul/state/acl_oss.go index 686713071..62bf5c1dc 100644 --- a/agent/consul/state/acl_oss.go +++ b/agent/consul/state/acl_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/acl_oss_test.go b/agent/consul/state/acl_oss_test.go index f86afc1a3..4d3bcdcfc 100644 --- a/agent/consul/state/acl_oss_test.go +++ b/agent/consul/state/acl_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/acl_schema.go b/agent/consul/state/acl_schema.go index c3fdff40a..b4e7fc6dc 100644 --- a/agent/consul/state/acl_schema.go +++ b/agent/consul/state/acl_schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/acl_test.go b/agent/consul/state/acl_test.go index d3edd7348..78824315d 100644 --- a/agent/consul/state/acl_test.go +++ b/agent/consul/state/acl_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/autopilot.go b/agent/consul/state/autopilot.go index 20b291470..472ce4bfc 100644 --- a/agent/consul/state/autopilot.go +++ b/agent/consul/state/autopilot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/autopilot_test.go b/agent/consul/state/autopilot_test.go index 7567e2bf3..f26163bc4 100644 --- a/agent/consul/state/autopilot_test.go +++ b/agent/consul/state/autopilot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/catalog.go b/agent/consul/state/catalog.go index 3d181346f..a19a97b11 100644 --- a/agent/consul/state/catalog.go +++ b/agent/consul/state/catalog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/catalog_events.go b/agent/consul/state/catalog_events.go index 553fb4eef..0cd7258d5 100644 --- a/agent/consul/state/catalog_events.go +++ b/agent/consul/state/catalog_events.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/catalog_events_oss.go b/agent/consul/state/catalog_events_oss.go index e59636d31..72e3993b5 100644 --- a/agent/consul/state/catalog_events_oss.go +++ b/agent/consul/state/catalog_events_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/catalog_events_oss_test.go b/agent/consul/state/catalog_events_oss_test.go index ace7cfe71..91b4a6ab5 100644 --- a/agent/consul/state/catalog_events_oss_test.go +++ b/agent/consul/state/catalog_events_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/catalog_events_test.go b/agent/consul/state/catalog_events_test.go index f64d7102e..46e0b2696 100644 --- a/agent/consul/state/catalog_events_test.go +++ b/agent/consul/state/catalog_events_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/catalog_oss.go b/agent/consul/state/catalog_oss.go index fccbf6984..78acf8797 100644 --- a/agent/consul/state/catalog_oss.go +++ b/agent/consul/state/catalog_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/catalog_oss_test.go b/agent/consul/state/catalog_oss_test.go index e0b8dd74f..e8c71812f 100644 --- a/agent/consul/state/catalog_oss_test.go +++ b/agent/consul/state/catalog_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/catalog_schema.go b/agent/consul/state/catalog_schema.go index cad35bf43..6d8836235 100644 --- a/agent/consul/state/catalog_schema.go +++ b/agent/consul/state/catalog_schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/catalog_test.go b/agent/consul/state/catalog_test.go index 969990d83..31e5fc914 100644 --- a/agent/consul/state/catalog_test.go +++ b/agent/consul/state/catalog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/config_entry.go b/agent/consul/state/config_entry.go index e14b8e1ae..1bc35a0fc 100644 --- a/agent/consul/state/config_entry.go +++ b/agent/consul/state/config_entry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/config_entry_events.go b/agent/consul/state/config_entry_events.go index 820af558b..b1975b176 100644 --- a/agent/consul/state/config_entry_events.go +++ b/agent/consul/state/config_entry_events.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/config_entry_events_test.go b/agent/consul/state/config_entry_events_test.go index 57e1cdb46..1ee92770b 100644 --- a/agent/consul/state/config_entry_events_test.go +++ b/agent/consul/state/config_entry_events_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/config_entry_intention.go b/agent/consul/state/config_entry_intention.go index 17183e7ce..aefbf3ad2 100644 --- a/agent/consul/state/config_entry_intention.go +++ b/agent/consul/state/config_entry_intention.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/config_entry_intention_oss.go b/agent/consul/state/config_entry_intention_oss.go index c954c147c..6d479f9ad 100644 --- a/agent/consul/state/config_entry_intention_oss.go +++ b/agent/consul/state/config_entry_intention_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/config_entry_oss.go b/agent/consul/state/config_entry_oss.go index ac4d1d6cb..604c88d37 100644 --- a/agent/consul/state/config_entry_oss.go +++ b/agent/consul/state/config_entry_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/config_entry_oss_test.go b/agent/consul/state/config_entry_oss_test.go index 16f153f3b..02fb3be78 100644 --- a/agent/consul/state/config_entry_oss_test.go +++ b/agent/consul/state/config_entry_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/config_entry_sameness_group_oss.go b/agent/consul/state/config_entry_sameness_group_oss.go index 0fc6fd03e..b5110ac84 100644 --- a/agent/consul/state/config_entry_sameness_group_oss.go +++ b/agent/consul/state/config_entry_sameness_group_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/config_entry_sameness_group_oss_test.go b/agent/consul/state/config_entry_sameness_group_oss_test.go index c6f247191..ce4aeb839 100644 --- a/agent/consul/state/config_entry_sameness_group_oss_test.go +++ b/agent/consul/state/config_entry_sameness_group_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/config_entry_schema.go b/agent/consul/state/config_entry_schema.go index 7ef560eb1..7e6d9d2e6 100644 --- a/agent/consul/state/config_entry_schema.go +++ b/agent/consul/state/config_entry_schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/config_entry_test.go b/agent/consul/state/config_entry_test.go index ea9890923..ec2958336 100644 --- a/agent/consul/state/config_entry_test.go +++ b/agent/consul/state/config_entry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/connect_ca.go b/agent/consul/state/connect_ca.go index b07031147..99e99637b 100644 --- a/agent/consul/state/connect_ca.go +++ b/agent/consul/state/connect_ca.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/connect_ca_events.go b/agent/consul/state/connect_ca_events.go index ae907af0e..554a867dc 100644 --- a/agent/consul/state/connect_ca_events.go +++ b/agent/consul/state/connect_ca_events.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/connect_ca_events_test.go b/agent/consul/state/connect_ca_events_test.go index ebd52b333..bf13eefcb 100644 --- a/agent/consul/state/connect_ca_events_test.go +++ b/agent/consul/state/connect_ca_events_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/connect_ca_test.go b/agent/consul/state/connect_ca_test.go index 44f1746f7..124392cf1 100644 --- a/agent/consul/state/connect_ca_test.go +++ b/agent/consul/state/connect_ca_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/coordinate.go b/agent/consul/state/coordinate.go index 19ae722f8..f2eb7b304 100644 --- a/agent/consul/state/coordinate.go +++ b/agent/consul/state/coordinate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/coordinate_oss.go b/agent/consul/state/coordinate_oss.go index 8c86b768a..17956e964 100644 --- a/agent/consul/state/coordinate_oss.go +++ b/agent/consul/state/coordinate_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/coordinate_oss_test.go b/agent/consul/state/coordinate_oss_test.go index d5d15547b..a46082450 100644 --- a/agent/consul/state/coordinate_oss_test.go +++ b/agent/consul/state/coordinate_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/coordinate_test.go b/agent/consul/state/coordinate_test.go index 0335ac5f4..0fe582eab 100644 --- a/agent/consul/state/coordinate_test.go +++ b/agent/consul/state/coordinate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/delay_oss.go b/agent/consul/state/delay_oss.go index 8167d6bfe..a2471ae63 100644 --- a/agent/consul/state/delay_oss.go +++ b/agent/consul/state/delay_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/delay_test.go b/agent/consul/state/delay_test.go index 0653a1446..40f1842ef 100644 --- a/agent/consul/state/delay_test.go +++ b/agent/consul/state/delay_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/events.go b/agent/consul/state/events.go index 15765a0b4..9eca1321c 100644 --- a/agent/consul/state/events.go +++ b/agent/consul/state/events.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/events_test.go b/agent/consul/state/events_test.go index 5d3da1e0e..9954627a8 100644 --- a/agent/consul/state/events_test.go +++ b/agent/consul/state/events_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/federation_state.go b/agent/consul/state/federation_state.go index c7eababf2..556caa4b4 100644 --- a/agent/consul/state/federation_state.go +++ b/agent/consul/state/federation_state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/graveyard.go b/agent/consul/state/graveyard.go index 705846881..5b6a95daf 100644 --- a/agent/consul/state/graveyard.go +++ b/agent/consul/state/graveyard.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/graveyard_oss.go b/agent/consul/state/graveyard_oss.go index bccbe1ec7..963ed6632 100644 --- a/agent/consul/state/graveyard_oss.go +++ b/agent/consul/state/graveyard_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/graveyard_test.go b/agent/consul/state/graveyard_test.go index f8452be09..af50673e9 100644 --- a/agent/consul/state/graveyard_test.go +++ b/agent/consul/state/graveyard_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/index_connect_test.go b/agent/consul/state/index_connect_test.go index 9331318e5..a598fab68 100644 --- a/agent/consul/state/index_connect_test.go +++ b/agent/consul/state/index_connect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/indexer.go b/agent/consul/state/indexer.go index 83f205a2f..f360eb2be 100644 --- a/agent/consul/state/indexer.go +++ b/agent/consul/state/indexer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/intention.go b/agent/consul/state/intention.go index c7bc8ea56..5dc7c27e9 100644 --- a/agent/consul/state/intention.go +++ b/agent/consul/state/intention.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/intention_oss.go b/agent/consul/state/intention_oss.go index 6c99e6749..750f7d1c8 100644 --- a/agent/consul/state/intention_oss.go +++ b/agent/consul/state/intention_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/intention_test.go b/agent/consul/state/intention_test.go index 3c2dac3f2..9162bb29f 100644 --- a/agent/consul/state/intention_test.go +++ b/agent/consul/state/intention_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/kvs.go b/agent/consul/state/kvs.go index 62797125c..0d0a419ae 100644 --- a/agent/consul/state/kvs.go +++ b/agent/consul/state/kvs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/kvs_oss.go b/agent/consul/state/kvs_oss.go index 149fe2c47..10528e3be 100644 --- a/agent/consul/state/kvs_oss.go +++ b/agent/consul/state/kvs_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/kvs_oss_test.go b/agent/consul/state/kvs_oss_test.go index 7cee36893..adf41fe7d 100644 --- a/agent/consul/state/kvs_oss_test.go +++ b/agent/consul/state/kvs_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/kvs_test.go b/agent/consul/state/kvs_test.go index 842e06ec2..4ced02586 100644 --- a/agent/consul/state/kvs_test.go +++ b/agent/consul/state/kvs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/memdb.go b/agent/consul/state/memdb.go index 22803471a..bd0e58b2d 100644 --- a/agent/consul/state/memdb.go +++ b/agent/consul/state/memdb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/operations_oss.go b/agent/consul/state/operations_oss.go index c1a3300ad..08de08015 100644 --- a/agent/consul/state/operations_oss.go +++ b/agent/consul/state/operations_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/peering.go b/agent/consul/state/peering.go index 1c8c2472a..ba28441f4 100644 --- a/agent/consul/state/peering.go +++ b/agent/consul/state/peering.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/peering_oss.go b/agent/consul/state/peering_oss.go index b36a5ccaa..a54e2d37d 100644 --- a/agent/consul/state/peering_oss.go +++ b/agent/consul/state/peering_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/peering_oss_test.go b/agent/consul/state/peering_oss_test.go index d2c370080..41d1bce45 100644 --- a/agent/consul/state/peering_oss_test.go +++ b/agent/consul/state/peering_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/peering_test.go b/agent/consul/state/peering_test.go index daa1de995..8125b9686 100644 --- a/agent/consul/state/peering_test.go +++ b/agent/consul/state/peering_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/prepared_query.go b/agent/consul/state/prepared_query.go index bf4aecb0f..7638d9251 100644 --- a/agent/consul/state/prepared_query.go +++ b/agent/consul/state/prepared_query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/prepared_query_index.go b/agent/consul/state/prepared_query_index.go index b3c30807a..ac7684636 100644 --- a/agent/consul/state/prepared_query_index.go +++ b/agent/consul/state/prepared_query_index.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/prepared_query_index_test.go b/agent/consul/state/prepared_query_index_test.go index b81a61267..a486047f5 100644 --- a/agent/consul/state/prepared_query_index_test.go +++ b/agent/consul/state/prepared_query_index_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/prepared_query_test.go b/agent/consul/state/prepared_query_test.go index 6c66b9eee..f0b0cd95f 100644 --- a/agent/consul/state/prepared_query_test.go +++ b/agent/consul/state/prepared_query_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/query.go b/agent/consul/state/query.go index 2e4a78869..2256aab99 100644 --- a/agent/consul/state/query.go +++ b/agent/consul/state/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/query_oss.go b/agent/consul/state/query_oss.go index d68a9b258..98108d6ff 100644 --- a/agent/consul/state/query_oss.go +++ b/agent/consul/state/query_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/schema.go b/agent/consul/state/schema.go index cdce6d979..9e0e6db2f 100644 --- a/agent/consul/state/schema.go +++ b/agent/consul/state/schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/schema_oss.go b/agent/consul/state/schema_oss.go index fbe3cd7e5..eecde09aa 100644 --- a/agent/consul/state/schema_oss.go +++ b/agent/consul/state/schema_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/schema_oss_test.go b/agent/consul/state/schema_oss_test.go index 77581d0d9..55fc3ee54 100644 --- a/agent/consul/state/schema_oss_test.go +++ b/agent/consul/state/schema_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/schema_test.go b/agent/consul/state/schema_test.go index b19c0bd24..f67b18e8c 100644 --- a/agent/consul/state/schema_test.go +++ b/agent/consul/state/schema_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/session.go b/agent/consul/state/session.go index 72d079166..5e666f80f 100644 --- a/agent/consul/state/session.go +++ b/agent/consul/state/session.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/session_oss.go b/agent/consul/state/session_oss.go index 40e0b280a..1854fb3e1 100644 --- a/agent/consul/state/session_oss.go +++ b/agent/consul/state/session_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/session_test.go b/agent/consul/state/session_test.go index a4eae8a50..eab429958 100644 --- a/agent/consul/state/session_test.go +++ b/agent/consul/state/session_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/state_store.go b/agent/consul/state/state_store.go index 598409a2c..fce3b3c96 100644 --- a/agent/consul/state/state_store.go +++ b/agent/consul/state/state_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/state_store_oss_test.go b/agent/consul/state/state_store_oss_test.go index 99f6d2950..5515b193f 100644 --- a/agent/consul/state/state_store_oss_test.go +++ b/agent/consul/state/state_store_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/state_store_test.go b/agent/consul/state/state_store_test.go index a61365d82..dfe8c988b 100644 --- a/agent/consul/state/state_store_test.go +++ b/agent/consul/state/state_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/store_integration_test.go b/agent/consul/state/store_integration_test.go index d6e93044d..9395aa1cb 100644 --- a/agent/consul/state/store_integration_test.go +++ b/agent/consul/state/store_integration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/system_metadata.go b/agent/consul/state/system_metadata.go index 029ab8898..ed802efbd 100644 --- a/agent/consul/state/system_metadata.go +++ b/agent/consul/state/system_metadata.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/system_metadata_test.go b/agent/consul/state/system_metadata_test.go index dbb196b4c..59f8bcd30 100644 --- a/agent/consul/state/system_metadata_test.go +++ b/agent/consul/state/system_metadata_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/tombstone_gc.go b/agent/consul/state/tombstone_gc.go index c20fd3400..3fc19c5cd 100644 --- a/agent/consul/state/tombstone_gc.go +++ b/agent/consul/state/tombstone_gc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/tombstone_gc_test.go b/agent/consul/state/tombstone_gc_test.go index d1aa5581d..d0fd11fa7 100644 --- a/agent/consul/state/tombstone_gc_test.go +++ b/agent/consul/state/tombstone_gc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/txn.go b/agent/consul/state/txn.go index af6e98995..81d8acd03 100644 --- a/agent/consul/state/txn.go +++ b/agent/consul/state/txn.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/txn_test.go b/agent/consul/state/txn_test.go index a7694089b..a128badf4 100644 --- a/agent/consul/state/txn_test.go +++ b/agent/consul/state/txn_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/usage.go b/agent/consul/state/usage.go index 9db30e5b2..8e455241c 100644 --- a/agent/consul/state/usage.go +++ b/agent/consul/state/usage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/state/usage_oss.go b/agent/consul/state/usage_oss.go index 6279c1097..1824cf123 100644 --- a/agent/consul/state/usage_oss.go +++ b/agent/consul/state/usage_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/state/usage_test.go b/agent/consul/state/usage_test.go index b54e3dcfa..6ccaddb9f 100644 --- a/agent/consul/state/usage_test.go +++ b/agent/consul/state/usage_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/agent/consul/stats_fetcher.go b/agent/consul/stats_fetcher.go index 334472be5..d52930e85 100644 --- a/agent/consul/stats_fetcher.go +++ b/agent/consul/stats_fetcher.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/stats_fetcher_test.go b/agent/consul/stats_fetcher_test.go index 018f3ccc9..783424393 100644 --- a/agent/consul/stats_fetcher_test.go +++ b/agent/consul/stats_fetcher_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/status_endpoint.go b/agent/consul/status_endpoint.go index b82baf842..efa2fa2cf 100644 --- a/agent/consul/status_endpoint.go +++ b/agent/consul/status_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/status_endpoint_test.go b/agent/consul/status_endpoint_test.go index c531de778..6d95d7f6f 100644 --- a/agent/consul/status_endpoint_test.go +++ b/agent/consul/status_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/stream/event.go b/agent/consul/stream/event.go index 34b715c5e..db6f3a631 100644 --- a/agent/consul/stream/event.go +++ b/agent/consul/stream/event.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + /* Package stream provides a publish/subscribe system for events produced by changes to the state store. diff --git a/agent/consul/stream/event_buffer.go b/agent/consul/stream/event_buffer.go index b28d38a54..1c7f8c2b9 100644 --- a/agent/consul/stream/event_buffer.go +++ b/agent/consul/stream/event_buffer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream import ( diff --git a/agent/consul/stream/event_buffer_test.go b/agent/consul/stream/event_buffer_test.go index afc9728b6..b6ec48e17 100644 --- a/agent/consul/stream/event_buffer_test.go +++ b/agent/consul/stream/event_buffer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream import ( diff --git a/agent/consul/stream/event_publisher.go b/agent/consul/stream/event_publisher.go index 06591fe64..f39ea2286 100644 --- a/agent/consul/stream/event_publisher.go +++ b/agent/consul/stream/event_publisher.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream import ( diff --git a/agent/consul/stream/event_publisher_test.go b/agent/consul/stream/event_publisher_test.go index 6f081fe3d..13efd0fb5 100644 --- a/agent/consul/stream/event_publisher_test.go +++ b/agent/consul/stream/event_publisher_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream import ( diff --git a/agent/consul/stream/event_snapshot.go b/agent/consul/stream/event_snapshot.go index 19caa6d68..6b4b69368 100644 --- a/agent/consul/stream/event_snapshot.go +++ b/agent/consul/stream/event_snapshot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream // eventSnapshot represents the state of memdb for a given topic and key at some diff --git a/agent/consul/stream/event_snapshot_test.go b/agent/consul/stream/event_snapshot_test.go index 5e3b1c6d1..0888b90c3 100644 --- a/agent/consul/stream/event_snapshot_test.go +++ b/agent/consul/stream/event_snapshot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream import ( diff --git a/agent/consul/stream/event_test.go b/agent/consul/stream/event_test.go index a9b381fe4..ff6f07c10 100644 --- a/agent/consul/stream/event_test.go +++ b/agent/consul/stream/event_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream import ( diff --git a/agent/consul/stream/noop.go b/agent/consul/stream/noop.go index 37cd0dbff..1cd35ea92 100644 --- a/agent/consul/stream/noop.go +++ b/agent/consul/stream/noop.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream import ( diff --git a/agent/consul/stream/string_types.go b/agent/consul/stream/string_types.go index 568f97299..6e6c4ef8e 100644 --- a/agent/consul/stream/string_types.go +++ b/agent/consul/stream/string_types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream // StringSubject can be used as a Subject for Events sent to the EventPublisher diff --git a/agent/consul/stream/subscription.go b/agent/consul/stream/subscription.go index 9e6c47e6f..40286768a 100644 --- a/agent/consul/stream/subscription.go +++ b/agent/consul/stream/subscription.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream import ( diff --git a/agent/consul/stream/subscription_test.go b/agent/consul/stream/subscription_test.go index 80aed3dbb..9bf0b95b5 100644 --- a/agent/consul/stream/subscription_test.go +++ b/agent/consul/stream/subscription_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stream import ( diff --git a/agent/consul/subscribe_backend.go b/agent/consul/subscribe_backend.go index a82bb98c0..9afcd4fc5 100644 --- a/agent/consul/subscribe_backend.go +++ b/agent/consul/subscribe_backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/subscribe_backend_test.go b/agent/consul/subscribe_backend_test.go index b0ae2366e..01c818451 100644 --- a/agent/consul/subscribe_backend_test.go +++ b/agent/consul/subscribe_backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/system_metadata.go b/agent/consul/system_metadata.go index f16032257..3c25b2729 100644 --- a/agent/consul/system_metadata.go +++ b/agent/consul/system_metadata.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/system_metadata_test.go b/agent/consul/system_metadata_test.go index 633aa6bc4..084bad046 100644 --- a/agent/consul/system_metadata_test.go +++ b/agent/consul/system_metadata_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/txn_endpoint.go b/agent/consul/txn_endpoint.go index a1977b919..df0a70117 100644 --- a/agent/consul/txn_endpoint.go +++ b/agent/consul/txn_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/txn_endpoint_test.go b/agent/consul/txn_endpoint_test.go index 1cd33f18d..f5654fdc0 100644 --- a/agent/consul/txn_endpoint_test.go +++ b/agent/consul/txn_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/usagemetrics/usagemetrics.go b/agent/consul/usagemetrics/usagemetrics.go index 9f1a928fb..169238c37 100644 --- a/agent/consul/usagemetrics/usagemetrics.go +++ b/agent/consul/usagemetrics/usagemetrics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package usagemetrics import ( diff --git a/agent/consul/usagemetrics/usagemetrics_oss.go b/agent/consul/usagemetrics/usagemetrics_oss.go index 884363b2a..17853b4fc 100644 --- a/agent/consul/usagemetrics/usagemetrics_oss.go +++ b/agent/consul/usagemetrics/usagemetrics_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/usagemetrics/usagemetrics_oss_test.go b/agent/consul/usagemetrics/usagemetrics_oss_test.go index 0480861bf..450c23a35 100644 --- a/agent/consul/usagemetrics/usagemetrics_oss_test.go +++ b/agent/consul/usagemetrics/usagemetrics_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/consul/usagemetrics/usagemetrics_test.go b/agent/consul/usagemetrics/usagemetrics_test.go index cf0cd01e0..7bdf396b2 100644 --- a/agent/consul/usagemetrics/usagemetrics_test.go +++ b/agent/consul/usagemetrics/usagemetrics_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package usagemetrics import ( diff --git a/agent/consul/util.go b/agent/consul/util.go index e12608ac5..6fd6c77da 100644 --- a/agent/consul/util.go +++ b/agent/consul/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/util_test.go b/agent/consul/util_test.go index 48b608e69..c41b77489 100644 --- a/agent/consul/util_test.go +++ b/agent/consul/util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/agent/consul/wanfed/pool.go b/agent/consul/wanfed/pool.go index 6a9d99352..9320087b3 100644 --- a/agent/consul/wanfed/pool.go +++ b/agent/consul/wanfed/pool.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package wanfed import ( diff --git a/agent/consul/wanfed/wanfed.go b/agent/consul/wanfed/wanfed.go index c528500c0..e82eddcfa 100644 --- a/agent/consul/wanfed/wanfed.go +++ b/agent/consul/wanfed/wanfed.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package wanfed import ( diff --git a/agent/consul/wanfed/wanfed_test.go b/agent/consul/wanfed/wanfed_test.go index a4a18fc17..ef45c197c 100644 --- a/agent/consul/wanfed/wanfed_test.go +++ b/agent/consul/wanfed/wanfed_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package wanfed import ( diff --git a/agent/consul/watch/server_local.go b/agent/consul/watch/server_local.go index e9a45c82c..f407d2c16 100644 --- a/agent/consul/watch/server_local.go +++ b/agent/consul/watch/server_local.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package watch import ( diff --git a/agent/consul/watch/server_local_test.go b/agent/consul/watch/server_local_test.go index cd803ceba..1f96b1ec0 100644 --- a/agent/consul/watch/server_local_test.go +++ b/agent/consul/watch/server_local_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package watch import ( diff --git a/agent/consul/xdscapacity/capacity.go b/agent/consul/xdscapacity/capacity.go index 31fb53ea9..6396841d6 100644 --- a/agent/consul/xdscapacity/capacity.go +++ b/agent/consul/xdscapacity/capacity.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xdscapacity import ( diff --git a/agent/consul/xdscapacity/capacity_test.go b/agent/consul/xdscapacity/capacity_test.go index 1b564949c..d26453fea 100644 --- a/agent/consul/xdscapacity/capacity_test.go +++ b/agent/consul/xdscapacity/capacity_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xdscapacity import ( diff --git a/agent/coordinate_endpoint.go b/agent/coordinate_endpoint.go index a238f52ae..744498c05 100644 --- a/agent/coordinate_endpoint.go +++ b/agent/coordinate_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/coordinate_endpoint_test.go b/agent/coordinate_endpoint_test.go index 71492d909..fe6deeef9 100644 --- a/agent/coordinate_endpoint_test.go +++ b/agent/coordinate_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/debug/host.go b/agent/debug/host.go index 0323508a3..5116bf749 100644 --- a/agent/debug/host.go +++ b/agent/debug/host.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package debug import ( diff --git a/agent/debug/host_test.go b/agent/debug/host_test.go index 1678fcda8..1289e21b4 100644 --- a/agent/debug/host_test.go +++ b/agent/debug/host_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package debug import ( diff --git a/agent/delegate_mock_test.go b/agent/delegate_mock_test.go index 67ba0abd8..9f91a6a0d 100644 --- a/agent/delegate_mock_test.go +++ b/agent/delegate_mock_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/denylist.go b/agent/denylist.go index 75a351538..b62146529 100644 --- a/agent/denylist.go +++ b/agent/denylist.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/denylist_test.go b/agent/denylist_test.go index 8b13d1220..f9370723a 100644 --- a/agent/denylist_test.go +++ b/agent/denylist_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/discovery_chain_endpoint.go b/agent/discovery_chain_endpoint.go index 1b39a9096..a3aaa421f 100644 --- a/agent/discovery_chain_endpoint.go +++ b/agent/discovery_chain_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/discovery_chain_endpoint_test.go b/agent/discovery_chain_endpoint_test.go index f83fa4929..38e871dd8 100644 --- a/agent/discovery_chain_endpoint_test.go +++ b/agent/discovery_chain_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/dns.go b/agent/dns.go index 3dce6410d..2687e647c 100644 --- a/agent/dns.go +++ b/agent/dns.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/dns/dns.go b/agent/dns/dns.go index 74d5773e8..9f8e785a3 100644 --- a/agent/dns/dns.go +++ b/agent/dns/dns.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dns import ( diff --git a/agent/dns/dns_test.go b/agent/dns/dns_test.go index 59d92efd0..91dc3ea72 100644 --- a/agent/dns/dns_test.go +++ b/agent/dns/dns_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dns import ( diff --git a/agent/dns/validation.go b/agent/dns/validation.go index 8a73b0dd0..cd66acf6f 100644 --- a/agent/dns/validation.go +++ b/agent/dns/validation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dns import ( diff --git a/agent/dns/validation_test.go b/agent/dns/validation_test.go index b4b44a7f8..bcb65adf1 100644 --- a/agent/dns/validation_test.go +++ b/agent/dns/validation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dns_test import ( diff --git a/agent/dns_oss.go b/agent/dns_oss.go index 6ccbe2f8d..011b22a10 100644 --- a/agent/dns_oss.go +++ b/agent/dns_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/dns_oss_test.go b/agent/dns_oss_test.go index c3cf264c6..7bbe6fdd5 100644 --- a/agent/dns_oss_test.go +++ b/agent/dns_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/dns_test.go b/agent/dns_test.go index 1cc742138..b9d8f86a7 100644 --- a/agent/dns_test.go +++ b/agent/dns_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/enterprise_delegate_oss.go b/agent/enterprise_delegate_oss.go index 876c8837a..20bfeec22 100644 --- a/agent/enterprise_delegate_oss.go +++ b/agent/enterprise_delegate_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/envoyextensions/builtin/aws-lambda/aws_lambda.go b/agent/envoyextensions/builtin/aws-lambda/aws_lambda.go index bcff99a63..bfc47fffd 100644 --- a/agent/envoyextensions/builtin/aws-lambda/aws_lambda.go +++ b/agent/envoyextensions/builtin/aws-lambda/aws_lambda.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awslambda import ( diff --git a/agent/envoyextensions/builtin/aws-lambda/aws_lambda_test.go b/agent/envoyextensions/builtin/aws-lambda/aws_lambda_test.go index 214a5bc34..b5563fb33 100644 --- a/agent/envoyextensions/builtin/aws-lambda/aws_lambda_test.go +++ b/agent/envoyextensions/builtin/aws-lambda/aws_lambda_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awslambda import ( diff --git a/agent/envoyextensions/builtin/aws-lambda/copied.go b/agent/envoyextensions/builtin/aws-lambda/copied.go index 7f276323a..b68efaa92 100644 --- a/agent/envoyextensions/builtin/aws-lambda/copied.go +++ b/agent/envoyextensions/builtin/aws-lambda/copied.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awslambda import ( diff --git a/agent/envoyextensions/builtin/http/localratelimit/copied.go b/agent/envoyextensions/builtin/http/localratelimit/copied.go index ec1d4988e..ea18f1eda 100644 --- a/agent/envoyextensions/builtin/http/localratelimit/copied.go +++ b/agent/envoyextensions/builtin/http/localratelimit/copied.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package localratelimit import ( diff --git a/agent/envoyextensions/builtin/http/localratelimit/ratelimit.go b/agent/envoyextensions/builtin/http/localratelimit/ratelimit.go index 3ffea6f1f..c5940b6de 100644 --- a/agent/envoyextensions/builtin/http/localratelimit/ratelimit.go +++ b/agent/envoyextensions/builtin/http/localratelimit/ratelimit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package localratelimit import ( diff --git a/agent/envoyextensions/builtin/http/localratelimit/ratelimit_test.go b/agent/envoyextensions/builtin/http/localratelimit/ratelimit_test.go index 5c68b1f51..4d8344ad1 100644 --- a/agent/envoyextensions/builtin/http/localratelimit/ratelimit_test.go +++ b/agent/envoyextensions/builtin/http/localratelimit/ratelimit_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package localratelimit import ( diff --git a/agent/envoyextensions/builtin/lua/copied.go b/agent/envoyextensions/builtin/lua/copied.go index f9d14b94c..162d0fa91 100644 --- a/agent/envoyextensions/builtin/lua/copied.go +++ b/agent/envoyextensions/builtin/lua/copied.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lua import ( diff --git a/agent/envoyextensions/builtin/lua/lua.go b/agent/envoyextensions/builtin/lua/lua.go index 76c802f64..f331be42c 100644 --- a/agent/envoyextensions/builtin/lua/lua.go +++ b/agent/envoyextensions/builtin/lua/lua.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lua import ( diff --git a/agent/envoyextensions/builtin/lua/lua_test.go b/agent/envoyextensions/builtin/lua/lua_test.go index f67de3060..d80a3b333 100644 --- a/agent/envoyextensions/builtin/lua/lua_test.go +++ b/agent/envoyextensions/builtin/lua/lua_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lua import ( diff --git a/agent/envoyextensions/registered_extensions.go b/agent/envoyextensions/registered_extensions.go index fed8d3c59..2f44fe068 100644 --- a/agent/envoyextensions/registered_extensions.go +++ b/agent/envoyextensions/registered_extensions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package envoyextensions import ( diff --git a/agent/envoyextensions/registered_extensions_test.go b/agent/envoyextensions/registered_extensions_test.go index 07f6e9668..746810ffc 100644 --- a/agent/envoyextensions/registered_extensions_test.go +++ b/agent/envoyextensions/registered_extensions_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package envoyextensions import ( diff --git a/agent/event_endpoint.go b/agent/event_endpoint.go index 971cb9deb..034dec305 100644 --- a/agent/event_endpoint.go +++ b/agent/event_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/event_endpoint_test.go b/agent/event_endpoint_test.go index 9cc7a7eef..4be21a691 100644 --- a/agent/event_endpoint_test.go +++ b/agent/event_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/exec/exec.go b/agent/exec/exec.go index 19097fe0f..d4b4bfafd 100644 --- a/agent/exec/exec.go +++ b/agent/exec/exec.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exec import ( diff --git a/agent/exec/exec_unix.go b/agent/exec/exec_unix.go index 0bbdad8c5..32ff23249 100644 --- a/agent/exec/exec_unix.go +++ b/agent/exec/exec_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/agent/exec/exec_windows.go b/agent/exec/exec_windows.go index bb96e72c3..1a0cb4c82 100644 --- a/agent/exec/exec_windows.go +++ b/agent/exec/exec_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/agent/federation_state_endpoint.go b/agent/federation_state_endpoint.go index bac8807ec..0bec145ae 100644 --- a/agent/federation_state_endpoint.go +++ b/agent/federation_state_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/grpc-external/forward.go b/agent/grpc-external/forward.go index 353490a59..c0ed064ac 100644 --- a/agent/grpc-external/forward.go +++ b/agent/grpc-external/forward.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package external import ( diff --git a/agent/grpc-external/limiter/limiter.go b/agent/grpc-external/limiter/limiter.go index 9c0fcf795..f995f9630 100644 --- a/agent/grpc-external/limiter/limiter.go +++ b/agent/grpc-external/limiter/limiter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // package limiter provides primatives for limiting the number of concurrent // operations in-flight. package limiter diff --git a/agent/grpc-external/limiter/limiter_test.go b/agent/grpc-external/limiter/limiter_test.go index 7f5b9654a..fa165a667 100644 --- a/agent/grpc-external/limiter/limiter_test.go +++ b/agent/grpc-external/limiter/limiter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package limiter import ( diff --git a/agent/grpc-external/metadata_test.go b/agent/grpc-external/metadata_test.go index 036581a35..b2edb8fbf 100644 --- a/agent/grpc-external/metadata_test.go +++ b/agent/grpc-external/metadata_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package external import ( diff --git a/agent/grpc-external/options.go b/agent/grpc-external/options.go index 851a04cbf..a25a44829 100644 --- a/agent/grpc-external/options.go +++ b/agent/grpc-external/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package external import ( diff --git a/agent/grpc-external/server.go b/agent/grpc-external/server.go index d0cccdbdf..0513d22e2 100644 --- a/agent/grpc-external/server.go +++ b/agent/grpc-external/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package external import ( diff --git a/agent/grpc-external/services/acl/login.go b/agent/grpc-external/services/acl/login.go index 629ea093e..c8c399d10 100644 --- a/agent/grpc-external/services/acl/login.go +++ b/agent/grpc-external/services/acl/login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acl import ( diff --git a/agent/grpc-external/services/acl/login_test.go b/agent/grpc-external/services/acl/login_test.go index 9b05842d4..e858618a9 100644 --- a/agent/grpc-external/services/acl/login_test.go +++ b/agent/grpc-external/services/acl/login_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acl import ( diff --git a/agent/grpc-external/services/acl/logout.go b/agent/grpc-external/services/acl/logout.go index a9fa60673..bd3bb5e3e 100644 --- a/agent/grpc-external/services/acl/logout.go +++ b/agent/grpc-external/services/acl/logout.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acl import ( diff --git a/agent/grpc-external/services/acl/logout_test.go b/agent/grpc-external/services/acl/logout_test.go index 276d26652..69491db5e 100644 --- a/agent/grpc-external/services/acl/logout_test.go +++ b/agent/grpc-external/services/acl/logout_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acl import ( diff --git a/agent/grpc-external/services/acl/server.go b/agent/grpc-external/services/acl/server.go index 7f0994f04..5513950e0 100644 --- a/agent/grpc-external/services/acl/server.go +++ b/agent/grpc-external/services/acl/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acl import ( diff --git a/agent/grpc-external/services/acl/server_test.go b/agent/grpc-external/services/acl/server_test.go index d2b381156..89c49bf22 100644 --- a/agent/grpc-external/services/acl/server_test.go +++ b/agent/grpc-external/services/acl/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acl import ( diff --git a/agent/grpc-external/services/connectca/server.go b/agent/grpc-external/services/connectca/server.go index fb09ab47f..c90962e18 100644 --- a/agent/grpc-external/services/connectca/server.go +++ b/agent/grpc-external/services/connectca/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connectca import ( diff --git a/agent/grpc-external/services/connectca/server_test.go b/agent/grpc-external/services/connectca/server_test.go index 1026860ae..84636e9e7 100644 --- a/agent/grpc-external/services/connectca/server_test.go +++ b/agent/grpc-external/services/connectca/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connectca import ( diff --git a/agent/grpc-external/services/connectca/sign.go b/agent/grpc-external/services/connectca/sign.go index 891d8c988..59c1a6f28 100644 --- a/agent/grpc-external/services/connectca/sign.go +++ b/agent/grpc-external/services/connectca/sign.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connectca import ( diff --git a/agent/grpc-external/services/connectca/sign_test.go b/agent/grpc-external/services/connectca/sign_test.go index 5aa1f114b..e43978e0b 100644 --- a/agent/grpc-external/services/connectca/sign_test.go +++ b/agent/grpc-external/services/connectca/sign_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connectca import ( diff --git a/agent/grpc-external/services/connectca/watch_roots.go b/agent/grpc-external/services/connectca/watch_roots.go index 09dfd9572..14927e218 100644 --- a/agent/grpc-external/services/connectca/watch_roots.go +++ b/agent/grpc-external/services/connectca/watch_roots.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connectca import ( diff --git a/agent/grpc-external/services/connectca/watch_roots_test.go b/agent/grpc-external/services/connectca/watch_roots_test.go index 1f7b8e896..bfdb76f33 100644 --- a/agent/grpc-external/services/connectca/watch_roots_test.go +++ b/agent/grpc-external/services/connectca/watch_roots_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connectca import ( diff --git a/agent/grpc-external/services/dataplane/get_envoy_bootstrap_params.go b/agent/grpc-external/services/dataplane/get_envoy_bootstrap_params.go index b51a0910e..13bbd1c9f 100644 --- a/agent/grpc-external/services/dataplane/get_envoy_bootstrap_params.go +++ b/agent/grpc-external/services/dataplane/get_envoy_bootstrap_params.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataplane import ( diff --git a/agent/grpc-external/services/dataplane/get_envoy_bootstrap_params_test.go b/agent/grpc-external/services/dataplane/get_envoy_bootstrap_params_test.go index 807dbd9e7..322d2f652 100644 --- a/agent/grpc-external/services/dataplane/get_envoy_bootstrap_params_test.go +++ b/agent/grpc-external/services/dataplane/get_envoy_bootstrap_params_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataplane import ( diff --git a/agent/grpc-external/services/dataplane/get_supported_features.go b/agent/grpc-external/services/dataplane/get_supported_features.go index a37d381b2..6d5edac1c 100644 --- a/agent/grpc-external/services/dataplane/get_supported_features.go +++ b/agent/grpc-external/services/dataplane/get_supported_features.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataplane import ( diff --git a/agent/grpc-external/services/dataplane/get_supported_features_test.go b/agent/grpc-external/services/dataplane/get_supported_features_test.go index 86fcdb0c8..cbd483ac9 100644 --- a/agent/grpc-external/services/dataplane/get_supported_features_test.go +++ b/agent/grpc-external/services/dataplane/get_supported_features_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataplane import ( diff --git a/agent/grpc-external/services/dataplane/server.go b/agent/grpc-external/services/dataplane/server.go index b665b368a..877289386 100644 --- a/agent/grpc-external/services/dataplane/server.go +++ b/agent/grpc-external/services/dataplane/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataplane import ( diff --git a/agent/grpc-external/services/dataplane/server_test.go b/agent/grpc-external/services/dataplane/server_test.go index ece296afd..15ac27287 100644 --- a/agent/grpc-external/services/dataplane/server_test.go +++ b/agent/grpc-external/services/dataplane/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataplane import ( diff --git a/agent/grpc-external/services/dns/server.go b/agent/grpc-external/services/dns/server.go index 50b12f5d9..a9733c406 100644 --- a/agent/grpc-external/services/dns/server.go +++ b/agent/grpc-external/services/dns/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dns import ( diff --git a/agent/grpc-external/services/dns/server_test.go b/agent/grpc-external/services/dns/server_test.go index dd2709709..0144eccc0 100644 --- a/agent/grpc-external/services/dns/server_test.go +++ b/agent/grpc-external/services/dns/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dns import ( diff --git a/agent/grpc-external/services/peerstream/health_snapshot.go b/agent/grpc-external/services/peerstream/health_snapshot.go index 196f3e4d6..dd9a10c67 100644 --- a/agent/grpc-external/services/peerstream/health_snapshot.go +++ b/agent/grpc-external/services/peerstream/health_snapshot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/health_snapshot_test.go b/agent/grpc-external/services/peerstream/health_snapshot_test.go index afd83f220..7ea404f38 100644 --- a/agent/grpc-external/services/peerstream/health_snapshot_test.go +++ b/agent/grpc-external/services/peerstream/health_snapshot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/replication.go b/agent/grpc-external/services/peerstream/replication.go index 8a71c9bc6..8f1491dad 100644 --- a/agent/grpc-external/services/peerstream/replication.go +++ b/agent/grpc-external/services/peerstream/replication.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/server.go b/agent/grpc-external/services/peerstream/server.go index da21e3eda..e0dd4d759 100644 --- a/agent/grpc-external/services/peerstream/server.go +++ b/agent/grpc-external/services/peerstream/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/server_test.go b/agent/grpc-external/services/peerstream/server_test.go index 7f584c95c..cb7c60e3c 100644 --- a/agent/grpc-external/services/peerstream/server_test.go +++ b/agent/grpc-external/services/peerstream/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/stream_resources.go b/agent/grpc-external/services/peerstream/stream_resources.go index 5522b8f4e..7e729642a 100644 --- a/agent/grpc-external/services/peerstream/stream_resources.go +++ b/agent/grpc-external/services/peerstream/stream_resources.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/stream_test.go b/agent/grpc-external/services/peerstream/stream_test.go index 055d2ff97..140ae947d 100644 --- a/agent/grpc-external/services/peerstream/stream_test.go +++ b/agent/grpc-external/services/peerstream/stream_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/stream_tracker.go b/agent/grpc-external/services/peerstream/stream_tracker.go index f36ca055d..a93457b92 100644 --- a/agent/grpc-external/services/peerstream/stream_tracker.go +++ b/agent/grpc-external/services/peerstream/stream_tracker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/stream_tracker_test.go b/agent/grpc-external/services/peerstream/stream_tracker_test.go index cfe95d401..d676587a2 100644 --- a/agent/grpc-external/services/peerstream/stream_tracker_test.go +++ b/agent/grpc-external/services/peerstream/stream_tracker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/subscription_blocking.go b/agent/grpc-external/services/peerstream/subscription_blocking.go index fe0cd4d78..7fa8bc1ef 100644 --- a/agent/grpc-external/services/peerstream/subscription_blocking.go +++ b/agent/grpc-external/services/peerstream/subscription_blocking.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/subscription_manager.go b/agent/grpc-external/services/peerstream/subscription_manager.go index 58c629d5c..42a4d1392 100644 --- a/agent/grpc-external/services/peerstream/subscription_manager.go +++ b/agent/grpc-external/services/peerstream/subscription_manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/subscription_manager_test.go b/agent/grpc-external/services/peerstream/subscription_manager_test.go index 1e663ba4f..4ed912368 100644 --- a/agent/grpc-external/services/peerstream/subscription_manager_test.go +++ b/agent/grpc-external/services/peerstream/subscription_manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/subscription_state.go b/agent/grpc-external/services/peerstream/subscription_state.go index 47318c430..dba315370 100644 --- a/agent/grpc-external/services/peerstream/subscription_state.go +++ b/agent/grpc-external/services/peerstream/subscription_state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/subscription_state_test.go b/agent/grpc-external/services/peerstream/subscription_state_test.go index abb1ce767..3cba66c9c 100644 --- a/agent/grpc-external/services/peerstream/subscription_state_test.go +++ b/agent/grpc-external/services/peerstream/subscription_state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/subscription_view.go b/agent/grpc-external/services/peerstream/subscription_view.go index 691507984..21897bf97 100644 --- a/agent/grpc-external/services/peerstream/subscription_view.go +++ b/agent/grpc-external/services/peerstream/subscription_view.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/subscription_view_test.go b/agent/grpc-external/services/peerstream/subscription_view_test.go index d900d9524..a51ca57e2 100644 --- a/agent/grpc-external/services/peerstream/subscription_view_test.go +++ b/agent/grpc-external/services/peerstream/subscription_view_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/peerstream/testing.go b/agent/grpc-external/services/peerstream/testing.go index 2e6e614e9..2208249dc 100644 --- a/agent/grpc-external/services/peerstream/testing.go +++ b/agent/grpc-external/services/peerstream/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peerstream import ( diff --git a/agent/grpc-external/services/resource/server.go b/agent/grpc-external/services/resource/server.go index 105d87ff5..f47ba9bf3 100644 --- a/agent/grpc-external/services/resource/server.go +++ b/agent/grpc-external/services/resource/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/agent/grpc-external/services/resource/server_test.go b/agent/grpc-external/services/resource/server_test.go index 6c7cd478f..80185c085 100644 --- a/agent/grpc-external/services/resource/server_test.go +++ b/agent/grpc-external/services/resource/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/agent/grpc-external/services/serverdiscovery/server.go b/agent/grpc-external/services/serverdiscovery/server.go index c7b2e0e1d..477617122 100644 --- a/agent/grpc-external/services/serverdiscovery/server.go +++ b/agent/grpc-external/services/serverdiscovery/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package serverdiscovery import ( diff --git a/agent/grpc-external/services/serverdiscovery/server_test.go b/agent/grpc-external/services/serverdiscovery/server_test.go index 35146f554..cac32bd31 100644 --- a/agent/grpc-external/services/serverdiscovery/server_test.go +++ b/agent/grpc-external/services/serverdiscovery/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package serverdiscovery import ( diff --git a/agent/grpc-external/services/serverdiscovery/watch_servers.go b/agent/grpc-external/services/serverdiscovery/watch_servers.go index a672560b9..31a2cb92c 100644 --- a/agent/grpc-external/services/serverdiscovery/watch_servers.go +++ b/agent/grpc-external/services/serverdiscovery/watch_servers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package serverdiscovery import ( diff --git a/agent/grpc-external/services/serverdiscovery/watch_servers_test.go b/agent/grpc-external/services/serverdiscovery/watch_servers_test.go index 784c8ba91..d58d0be40 100644 --- a/agent/grpc-external/services/serverdiscovery/watch_servers_test.go +++ b/agent/grpc-external/services/serverdiscovery/watch_servers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package serverdiscovery import ( diff --git a/agent/grpc-external/stats_test.go b/agent/grpc-external/stats_test.go index 31591ee97..eed834064 100644 --- a/agent/grpc-external/stats_test.go +++ b/agent/grpc-external/stats_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package external import ( diff --git a/agent/grpc-external/testutils/acl.go b/agent/grpc-external/testutils/acl.go index a443a38ca..ec2d149a3 100644 --- a/agent/grpc-external/testutils/acl.go +++ b/agent/grpc-external/testutils/acl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutils import ( diff --git a/agent/grpc-external/testutils/fsm.go b/agent/grpc-external/testutils/fsm.go index aea426a4e..0e7b645a6 100644 --- a/agent/grpc-external/testutils/fsm.go +++ b/agent/grpc-external/testutils/fsm.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutils import ( diff --git a/agent/grpc-external/testutils/server.go b/agent/grpc-external/testutils/server.go index 53d779d91..eecb10bb9 100644 --- a/agent/grpc-external/testutils/server.go +++ b/agent/grpc-external/testutils/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutils import ( diff --git a/agent/grpc-external/utils.go b/agent/grpc-external/utils.go index bb218ddf0..b3a3d3d20 100644 --- a/agent/grpc-external/utils.go +++ b/agent/grpc-external/utils.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package external import ( diff --git a/agent/grpc-internal/balancer/balancer.go b/agent/grpc-internal/balancer/balancer.go index 64521d456..4941a8087 100644 --- a/agent/grpc-internal/balancer/balancer.go +++ b/agent/grpc-internal/balancer/balancer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // package balancer implements a custom gRPC load balancer. // // Similarly to gRPC's built-in "pick_first" balancer, our balancer will pin the diff --git a/agent/grpc-internal/balancer/balancer_test.go b/agent/grpc-internal/balancer/balancer_test.go index 8406e7c7b..35912aab2 100644 --- a/agent/grpc-internal/balancer/balancer_test.go +++ b/agent/grpc-internal/balancer/balancer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package balancer import ( diff --git a/agent/grpc-internal/balancer/registry.go b/agent/grpc-internal/balancer/registry.go index 778b2c31c..f11ea6c8c 100644 --- a/agent/grpc-internal/balancer/registry.go +++ b/agent/grpc-internal/balancer/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package balancer import ( diff --git a/agent/grpc-internal/client.go b/agent/grpc-internal/client.go index 38010ac24..98a6f1fd8 100644 --- a/agent/grpc-internal/client.go +++ b/agent/grpc-internal/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package internal import ( diff --git a/agent/grpc-internal/client_test.go b/agent/grpc-internal/client_test.go index 65e08feac..ad6906a95 100644 --- a/agent/grpc-internal/client_test.go +++ b/agent/grpc-internal/client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package internal import ( diff --git a/agent/grpc-internal/handler.go b/agent/grpc-internal/handler.go index 6d5560423..de7ed24d6 100644 --- a/agent/grpc-internal/handler.go +++ b/agent/grpc-internal/handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package internal import ( diff --git a/agent/grpc-internal/handler_test.go b/agent/grpc-internal/handler_test.go index 080aaa938..e39f93be3 100644 --- a/agent/grpc-internal/handler_test.go +++ b/agent/grpc-internal/handler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package internal import ( diff --git a/agent/grpc-internal/resolver/registry.go b/agent/grpc-internal/resolver/registry.go index 582103b9e..650915bec 100644 --- a/agent/grpc-internal/resolver/registry.go +++ b/agent/grpc-internal/resolver/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resolver import ( diff --git a/agent/grpc-internal/resolver/resolver.go b/agent/grpc-internal/resolver/resolver.go index b5b76de6e..f4d1e95ea 100644 --- a/agent/grpc-internal/resolver/resolver.go +++ b/agent/grpc-internal/resolver/resolver.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resolver import ( diff --git a/agent/grpc-internal/server_test.go b/agent/grpc-internal/server_test.go index 26166c1e0..83774c712 100644 --- a/agent/grpc-internal/server_test.go +++ b/agent/grpc-internal/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package internal import ( diff --git a/agent/grpc-internal/services/subscribe/logger.go b/agent/grpc-internal/services/subscribe/logger.go index 123504544..faaa63ff8 100644 --- a/agent/grpc-internal/services/subscribe/logger.go +++ b/agent/grpc-internal/services/subscribe/logger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subscribe import ( diff --git a/agent/grpc-internal/services/subscribe/subscribe.go b/agent/grpc-internal/services/subscribe/subscribe.go index 01c61e53a..08c501b6d 100644 --- a/agent/grpc-internal/services/subscribe/subscribe.go +++ b/agent/grpc-internal/services/subscribe/subscribe.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subscribe import ( diff --git a/agent/grpc-internal/services/subscribe/subscribe_test.go b/agent/grpc-internal/services/subscribe/subscribe_test.go index efb826c0c..54a267f7c 100644 --- a/agent/grpc-internal/services/subscribe/subscribe_test.go +++ b/agent/grpc-internal/services/subscribe/subscribe_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subscribe import ( diff --git a/agent/grpc-internal/stats_test.go b/agent/grpc-internal/stats_test.go index 82ea690e9..5da26f512 100644 --- a/agent/grpc-internal/stats_test.go +++ b/agent/grpc-internal/stats_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package internal import ( diff --git a/agent/grpc-internal/tracker.go b/agent/grpc-internal/tracker.go index 779e116e8..a313f88e5 100644 --- a/agent/grpc-internal/tracker.go +++ b/agent/grpc-internal/tracker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package internal import ( diff --git a/agent/grpc-middleware/auth_interceptor.go b/agent/grpc-middleware/auth_interceptor.go index bc9082c75..0472b71f0 100644 --- a/agent/grpc-middleware/auth_interceptor.go +++ b/agent/grpc-middleware/auth_interceptor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/grpc-middleware/auth_interceptor_test.go b/agent/grpc-middleware/auth_interceptor_test.go index 512d5ed55..18f9334cc 100644 --- a/agent/grpc-middleware/auth_interceptor_test.go +++ b/agent/grpc-middleware/auth_interceptor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/grpc-middleware/handshake.go b/agent/grpc-middleware/handshake.go index 8fe4c2739..82b352bb5 100644 --- a/agent/grpc-middleware/handshake.go +++ b/agent/grpc-middleware/handshake.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/grpc-middleware/handshake_test.go b/agent/grpc-middleware/handshake_test.go index 78f4f4f87..f987a6689 100644 --- a/agent/grpc-middleware/handshake_test.go +++ b/agent/grpc-middleware/handshake_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/grpc-middleware/rate.go b/agent/grpc-middleware/rate.go index e60445936..6f84fd36c 100644 --- a/agent/grpc-middleware/rate.go +++ b/agent/grpc-middleware/rate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/grpc-middleware/rate_test.go b/agent/grpc-middleware/rate_test.go index a82b448ea..0a71d2324 100644 --- a/agent/grpc-middleware/rate_test.go +++ b/agent/grpc-middleware/rate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/grpc-middleware/recovery.go b/agent/grpc-middleware/recovery.go index c562683ca..cf1cbabe4 100644 --- a/agent/grpc-middleware/recovery.go +++ b/agent/grpc-middleware/recovery.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/grpc-middleware/stats.go b/agent/grpc-middleware/stats.go index 3a1b3f23e..564d14a84 100644 --- a/agent/grpc-middleware/stats.go +++ b/agent/grpc-middleware/stats.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/grpc-middleware/testutil/fake_sink.go b/agent/grpc-middleware/testutil/fake_sink.go index 7439d78a2..c121481ee 100644 --- a/agent/grpc-middleware/testutil/fake_sink.go +++ b/agent/grpc-middleware/testutil/fake_sink.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil import ( diff --git a/agent/grpc-middleware/testutil/testservice/buf.gen.yaml b/agent/grpc-middleware/testutil/testservice/buf.gen.yaml index c654680d4..b8ba317a3 100644 --- a/agent/grpc-middleware/testutil/testservice/buf.gen.yaml +++ b/agent/grpc-middleware/testutil/testservice/buf.gen.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 managed: enabled: true diff --git a/agent/grpc-middleware/testutil/testservice/fake_service.go b/agent/grpc-middleware/testutil/testservice/fake_service.go index f9999cc71..4428e1737 100644 --- a/agent/grpc-middleware/testutil/testservice/fake_service.go +++ b/agent/grpc-middleware/testutil/testservice/fake_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testservice import ( diff --git a/agent/grpc-middleware/testutil/testservice/simple.pb.go b/agent/grpc-middleware/testutil/testservice/simple.pb.go index 1dcee8ad3..a2981c2f7 100644 --- a/agent/grpc-middleware/testutil/testservice/simple.pb.go +++ b/agent/grpc-middleware/testutil/testservice/simple.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/agent/grpc-middleware/testutil/testservice/simple.proto b/agent/grpc-middleware/testutil/testservice/simple.proto index bcace657a..c8ce3d581 100644 --- a/agent/grpc-middleware/testutil/testservice/simple.proto +++ b/agent/grpc-middleware/testutil/testservice/simple.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package testservice; diff --git a/agent/hcp/bootstrap/bootstrap.go b/agent/hcp/bootstrap/bootstrap.go index a55bbf49a..55e1231f5 100644 --- a/agent/hcp/bootstrap/bootstrap.go +++ b/agent/hcp/bootstrap/bootstrap.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package bootstrap handles bootstrapping an agent's config from HCP. It must be a // separate package from other HCP components because it has a dependency on // agent/config while other components need to be imported and run within the diff --git a/agent/hcp/bootstrap/testing.go b/agent/hcp/bootstrap/testing.go index b1a05a7e5..10e1f8fe4 100644 --- a/agent/hcp/bootstrap/testing.go +++ b/agent/hcp/bootstrap/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bootstrap import ( diff --git a/agent/hcp/client.go b/agent/hcp/client.go index 5b8f942bd..e48bb0f65 100644 --- a/agent/hcp/client.go +++ b/agent/hcp/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcp import ( diff --git a/agent/hcp/config/config.go b/agent/hcp/config/config.go index 981357104..8430891cb 100644 --- a/agent/hcp/config/config.go +++ b/agent/hcp/config/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/agent/hcp/deps.go b/agent/hcp/deps.go index 418d02620..6575b8d67 100644 --- a/agent/hcp/deps.go +++ b/agent/hcp/deps.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcp import ( diff --git a/agent/hcp/discover/discover.go b/agent/hcp/discover/discover.go index 8707a03a5..43bf0c771 100644 --- a/agent/hcp/discover/discover.go +++ b/agent/hcp/discover/discover.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discover import ( diff --git a/agent/hcp/manager.go b/agent/hcp/manager.go index 9e3624f6a..9d5a2b44a 100644 --- a/agent/hcp/manager.go +++ b/agent/hcp/manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcp import ( diff --git a/agent/hcp/manager_test.go b/agent/hcp/manager_test.go index cb4d729b7..1e56f6631 100644 --- a/agent/hcp/manager_test.go +++ b/agent/hcp/manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcp import ( diff --git a/agent/hcp/scada/capabilities.go b/agent/hcp/scada/capabilities.go index ab60251f0..c18192ae6 100644 --- a/agent/hcp/scada/capabilities.go +++ b/agent/hcp/scada/capabilities.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scada import "github.com/hashicorp/hcp-scada-provider/capability" diff --git a/agent/hcp/scada/scada.go b/agent/hcp/scada/scada.go index b74f762b1..5aba819bd 100644 --- a/agent/hcp/scada/scada.go +++ b/agent/hcp/scada/scada.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scada import ( diff --git a/agent/hcp/testing.go b/agent/hcp/testing.go index e32602777..dbcd7f479 100644 --- a/agent/hcp/testing.go +++ b/agent/hcp/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcp import ( diff --git a/agent/hcp/testserver/main.go b/agent/hcp/testserver/main.go index 0166d0068..ffdd4cac5 100644 --- a/agent/hcp/testserver/main.go +++ b/agent/hcp/testserver/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/agent/health_endpoint.go b/agent/health_endpoint.go index 8060d93bd..ea3d315f6 100644 --- a/agent/health_endpoint.go +++ b/agent/health_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/health_endpoint_test.go b/agent/health_endpoint_test.go index 8217fca69..3a589be0d 100644 --- a/agent/health_endpoint_test.go +++ b/agent/health_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/http.go b/agent/http.go index ae5068ab1..701674b55 100644 --- a/agent/http.go +++ b/agent/http.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/http_decode_test.go b/agent/http_decode_test.go index a11f4ce83..03d1b9191 100644 --- a/agent/http_decode_test.go +++ b/agent/http_decode_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent // This file contains tests for JSON unmarshaling. diff --git a/agent/http_oss.go b/agent/http_oss.go index 94eb575c3..6aafdaa2c 100644 --- a/agent/http_oss.go +++ b/agent/http_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/http_oss_test.go b/agent/http_oss_test.go index 4bb392f61..60a956797 100644 --- a/agent/http_oss_test.go +++ b/agent/http_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/http_register.go b/agent/http_register.go index 5af1e52fe..df3998472 100644 --- a/agent/http_register.go +++ b/agent/http_register.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent func init() { diff --git a/agent/http_test.go b/agent/http_test.go index 7f95e38ce..37acc5f8e 100644 --- a/agent/http_test.go +++ b/agent/http_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/intentions_endpoint.go b/agent/intentions_endpoint.go index 7144f026f..2353c5bda 100644 --- a/agent/intentions_endpoint.go +++ b/agent/intentions_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/intentions_endpoint_oss_test.go b/agent/intentions_endpoint_oss_test.go index eb04d978b..1eb8f8293 100644 --- a/agent/intentions_endpoint_oss_test.go +++ b/agent/intentions_endpoint_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/intentions_endpoint_test.go b/agent/intentions_endpoint_test.go index 6bd7a5fec..161b8b513 100644 --- a/agent/intentions_endpoint_test.go +++ b/agent/intentions_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/keyring.go b/agent/keyring.go index ad4496ead..3d96880f0 100644 --- a/agent/keyring.go +++ b/agent/keyring.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/keyring_test.go b/agent/keyring_test.go index 26b29b747..7ce5d2cd4 100644 --- a/agent/keyring_test.go +++ b/agent/keyring_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/kvs_endpoint.go b/agent/kvs_endpoint.go index ce65604b5..d5ad8cabc 100644 --- a/agent/kvs_endpoint.go +++ b/agent/kvs_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/kvs_endpoint_test.go b/agent/kvs_endpoint_test.go index 6f4421c6b..6ea5efced 100644 --- a/agent/kvs_endpoint_test.go +++ b/agent/kvs_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/local/state.go b/agent/local/state.go index 3ef1725da..cd1cfa3ed 100644 --- a/agent/local/state.go +++ b/agent/local/state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package local import ( diff --git a/agent/local/state_internal_test.go b/agent/local/state_internal_test.go index 836ac4f96..ba68e20f2 100644 --- a/agent/local/state_internal_test.go +++ b/agent/local/state_internal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package local import ( diff --git a/agent/local/state_test.go b/agent/local/state_test.go index 52f24d8b2..372bf5b8c 100644 --- a/agent/local/state_test.go +++ b/agent/local/state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package local_test import ( diff --git a/agent/local/testing.go b/agent/local/testing.go index 283c68c5f..5303cb6b0 100644 --- a/agent/local/testing.go +++ b/agent/local/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package local import ( diff --git a/agent/log-drop/log-drop.go b/agent/log-drop/log-drop.go index 49991c4e0..54bc09c5a 100644 --- a/agent/log-drop/log-drop.go +++ b/agent/log-drop/log-drop.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logdrop import ( diff --git a/agent/log-drop/log-drop_test.go b/agent/log-drop/log-drop_test.go index aadc8f9a8..fdb61a059 100644 --- a/agent/log-drop/log-drop_test.go +++ b/agent/log-drop/log-drop_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logdrop import ( diff --git a/agent/metadata/build.go b/agent/metadata/build.go index 721a2a0af..b50fa96ac 100644 --- a/agent/metadata/build.go +++ b/agent/metadata/build.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metadata import ( diff --git a/agent/metadata/build_test.go b/agent/metadata/build_test.go index 7b516cf35..4688db2e1 100644 --- a/agent/metadata/build_test.go +++ b/agent/metadata/build_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metadata import ( diff --git a/agent/metadata/server.go b/agent/metadata/server.go index bb0c26336..b2a7238cb 100644 --- a/agent/metadata/server.go +++ b/agent/metadata/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metadata import ( diff --git a/agent/metadata/server_internal_test.go b/agent/metadata/server_internal_test.go index 01c7b4114..5f3d47724 100644 --- a/agent/metadata/server_internal_test.go +++ b/agent/metadata/server_internal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metadata import ( diff --git a/agent/metadata/server_test.go b/agent/metadata/server_test.go index 691302122..8ee63fa3b 100644 --- a/agent/metadata/server_test.go +++ b/agent/metadata/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metadata_test import ( diff --git a/agent/metrics.go b/agent/metrics.go index 6406f22bf..8fd3f87a2 100644 --- a/agent/metrics.go +++ b/agent/metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/metrics/testing.go b/agent/metrics/testing.go index 53dac409e..0fc3455ab 100644 --- a/agent/metrics/testing.go +++ b/agent/metrics/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metrics import ( diff --git a/agent/metrics_test.go b/agent/metrics_test.go index 6f75a4d23..76da0e55f 100644 --- a/agent/metrics_test.go +++ b/agent/metrics_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/mock/notify.go b/agent/mock/notify.go index ccbee20c4..1aa700b31 100644 --- a/agent/mock/notify.go +++ b/agent/mock/notify.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mock import ( diff --git a/agent/nodeid.go b/agent/nodeid.go index 4e6f3e8d5..1e5823aef 100644 --- a/agent/nodeid.go +++ b/agent/nodeid.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/nodeid_test.go b/agent/nodeid_test.go index da9df2bd2..d48889bf6 100644 --- a/agent/nodeid_test.go +++ b/agent/nodeid_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/notify.go b/agent/notify.go index 52968c23e..eec501f09 100644 --- a/agent/notify.go +++ b/agent/notify.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/notify_test.go b/agent/notify_test.go index de6ff7fb5..fe08800ae 100644 --- a/agent/notify_test.go +++ b/agent/notify_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/operator_endpoint.go b/agent/operator_endpoint.go index d916e22ed..099f3dcfe 100644 --- a/agent/operator_endpoint.go +++ b/agent/operator_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/operator_endpoint_oss.go b/agent/operator_endpoint_oss.go index 9367cc367..366899cd9 100644 --- a/agent/operator_endpoint_oss.go +++ b/agent/operator_endpoint_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/operator_endpoint_oss_test.go b/agent/operator_endpoint_oss_test.go index 95c8ea807..ea144cffa 100644 --- a/agent/operator_endpoint_oss_test.go +++ b/agent/operator_endpoint_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/operator_endpoint_test.go b/agent/operator_endpoint_test.go index 25e3caf75..4d90dbb22 100644 --- a/agent/operator_endpoint_test.go +++ b/agent/operator_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/peering_endpoint.go b/agent/peering_endpoint.go index df5cc414a..5047958c7 100644 --- a/agent/peering_endpoint.go +++ b/agent/peering_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/peering_endpoint_oss_test.go b/agent/peering_endpoint_oss_test.go index e579bb62b..997251580 100644 --- a/agent/peering_endpoint_oss_test.go +++ b/agent/peering_endpoint_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/peering_endpoint_test.go b/agent/peering_endpoint_test.go index e8efdc88d..1a5ad4b35 100644 --- a/agent/peering_endpoint_test.go +++ b/agent/peering_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/pool/conn.go b/agent/pool/conn.go index cc19171c9..211184c32 100644 --- a/agent/pool/conn.go +++ b/agent/pool/conn.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pool type RPCType byte diff --git a/agent/pool/peek.go b/agent/pool/peek.go index 95dadf566..d6557bb23 100644 --- a/agent/pool/peek.go +++ b/agent/pool/peek.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pool import ( diff --git a/agent/pool/peek_test.go b/agent/pool/peek_test.go index d51012799..cb53c421f 100644 --- a/agent/pool/peek_test.go +++ b/agent/pool/peek_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pool import ( diff --git a/agent/pool/pool.go b/agent/pool/pool.go index 5fff76d32..cadb0e4af 100644 --- a/agent/pool/pool.go +++ b/agent/pool/pool.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pool import ( diff --git a/agent/prepared_query_endpoint.go b/agent/prepared_query_endpoint.go index 9b8225f33..8d5f9fdc5 100644 --- a/agent/prepared_query_endpoint.go +++ b/agent/prepared_query_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/prepared_query_endpoint_test.go b/agent/prepared_query_endpoint_test.go index 09012bc2a..f96c43ad8 100644 --- a/agent/prepared_query_endpoint_test.go +++ b/agent/prepared_query_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/proxycfg-glue/config_entry.go b/agent/proxycfg-glue/config_entry.go index 1b99679be..6c7956957 100644 --- a/agent/proxycfg-glue/config_entry.go +++ b/agent/proxycfg-glue/config_entry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/config_entry_test.go b/agent/proxycfg-glue/config_entry_test.go index c780bdfe8..d3ec38231 100644 --- a/agent/proxycfg-glue/config_entry_test.go +++ b/agent/proxycfg-glue/config_entry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/discovery_chain.go b/agent/proxycfg-glue/discovery_chain.go index 78e1f1653..3b322e6b3 100644 --- a/agent/proxycfg-glue/discovery_chain.go +++ b/agent/proxycfg-glue/discovery_chain.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/discovery_chain_test.go b/agent/proxycfg-glue/discovery_chain_test.go index 7207ffaf1..60d48537c 100644 --- a/agent/proxycfg-glue/discovery_chain_test.go +++ b/agent/proxycfg-glue/discovery_chain_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/exported_peered_services.go b/agent/proxycfg-glue/exported_peered_services.go index 6d7fac302..8637891f1 100644 --- a/agent/proxycfg-glue/exported_peered_services.go +++ b/agent/proxycfg-glue/exported_peered_services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/exported_peered_services_test.go b/agent/proxycfg-glue/exported_peered_services_test.go index ed07404ad..a2b99d4d2 100644 --- a/agent/proxycfg-glue/exported_peered_services_test.go +++ b/agent/proxycfg-glue/exported_peered_services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/federation_state_list_mesh_gateways.go b/agent/proxycfg-glue/federation_state_list_mesh_gateways.go index ea3640ad9..f5f32f1c0 100644 --- a/agent/proxycfg-glue/federation_state_list_mesh_gateways.go +++ b/agent/proxycfg-glue/federation_state_list_mesh_gateways.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/federation_state_list_mesh_gateways_test.go b/agent/proxycfg-glue/federation_state_list_mesh_gateways_test.go index 5c716d24c..fd73e19aa 100644 --- a/agent/proxycfg-glue/federation_state_list_mesh_gateways_test.go +++ b/agent/proxycfg-glue/federation_state_list_mesh_gateways_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/gateway_services.go b/agent/proxycfg-glue/gateway_services.go index 8c90f949d..24f4087ee 100644 --- a/agent/proxycfg-glue/gateway_services.go +++ b/agent/proxycfg-glue/gateway_services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/gateway_services_test.go b/agent/proxycfg-glue/gateway_services_test.go index bb20f489d..eb853bd7b 100644 --- a/agent/proxycfg-glue/gateway_services_test.go +++ b/agent/proxycfg-glue/gateway_services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/glue.go b/agent/proxycfg-glue/glue.go index d6540e75b..4a5e3c5d8 100644 --- a/agent/proxycfg-glue/glue.go +++ b/agent/proxycfg-glue/glue.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/health.go b/agent/proxycfg-glue/health.go index 331c8012b..f0808da97 100644 --- a/agent/proxycfg-glue/health.go +++ b/agent/proxycfg-glue/health.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/health_test.go b/agent/proxycfg-glue/health_test.go index 6cc444781..6f5702ca1 100644 --- a/agent/proxycfg-glue/health_test.go +++ b/agent/proxycfg-glue/health_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/helpers_test.go b/agent/proxycfg-glue/helpers_test.go index 7a0c67df1..0d8bd8c96 100644 --- a/agent/proxycfg-glue/helpers_test.go +++ b/agent/proxycfg-glue/helpers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/intention_upstreams.go b/agent/proxycfg-glue/intention_upstreams.go index e5d5e9959..07a12c4dd 100644 --- a/agent/proxycfg-glue/intention_upstreams.go +++ b/agent/proxycfg-glue/intention_upstreams.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/intention_upstreams_test.go b/agent/proxycfg-glue/intention_upstreams_test.go index 1a69b1de7..3028524eb 100644 --- a/agent/proxycfg-glue/intention_upstreams_test.go +++ b/agent/proxycfg-glue/intention_upstreams_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/intentions.go b/agent/proxycfg-glue/intentions.go index ac19ecbdf..e9e6f5b0e 100644 --- a/agent/proxycfg-glue/intentions.go +++ b/agent/proxycfg-glue/intentions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/intentions_ent_test.go b/agent/proxycfg-glue/intentions_ent_test.go index b5163785e..35d5599d5 100644 --- a/agent/proxycfg-glue/intentions_ent_test.go +++ b/agent/proxycfg-glue/intentions_ent_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/intentions_oss.go b/agent/proxycfg-glue/intentions_oss.go index 8b67d0b49..bd1823adb 100644 --- a/agent/proxycfg-glue/intentions_oss.go +++ b/agent/proxycfg-glue/intentions_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/proxycfg-glue/intentions_test.go b/agent/proxycfg-glue/intentions_test.go index 06b8aaa2a..0622066fa 100644 --- a/agent/proxycfg-glue/intentions_test.go +++ b/agent/proxycfg-glue/intentions_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/internal_service_dump.go b/agent/proxycfg-glue/internal_service_dump.go index 1704da272..e41dc020b 100644 --- a/agent/proxycfg-glue/internal_service_dump.go +++ b/agent/proxycfg-glue/internal_service_dump.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/internal_service_dump_test.go b/agent/proxycfg-glue/internal_service_dump_test.go index 66245c52a..a6e6c3b02 100644 --- a/agent/proxycfg-glue/internal_service_dump_test.go +++ b/agent/proxycfg-glue/internal_service_dump_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/peered_upstreams.go b/agent/proxycfg-glue/peered_upstreams.go index d87c1046a..df38b3f0d 100644 --- a/agent/proxycfg-glue/peered_upstreams.go +++ b/agent/proxycfg-glue/peered_upstreams.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/peered_upstreams_test.go b/agent/proxycfg-glue/peered_upstreams_test.go index e480e8059..b0e7c0d8f 100644 --- a/agent/proxycfg-glue/peered_upstreams_test.go +++ b/agent/proxycfg-glue/peered_upstreams_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/peering_list.go b/agent/proxycfg-glue/peering_list.go index 777ccaee3..c783f0219 100644 --- a/agent/proxycfg-glue/peering_list.go +++ b/agent/proxycfg-glue/peering_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/peering_list_test.go b/agent/proxycfg-glue/peering_list_test.go index 509fbcdc0..ad196cccd 100644 --- a/agent/proxycfg-glue/peering_list_test.go +++ b/agent/proxycfg-glue/peering_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/resolved_service_config.go b/agent/proxycfg-glue/resolved_service_config.go index 119838b62..4484e2a27 100644 --- a/agent/proxycfg-glue/resolved_service_config.go +++ b/agent/proxycfg-glue/resolved_service_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/resolved_service_config_test.go b/agent/proxycfg-glue/resolved_service_config_test.go index 3f165aa55..60d39eec2 100644 --- a/agent/proxycfg-glue/resolved_service_config_test.go +++ b/agent/proxycfg-glue/resolved_service_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/service_http_checks.go b/agent/proxycfg-glue/service_http_checks.go index da62c5167..45521f712 100644 --- a/agent/proxycfg-glue/service_http_checks.go +++ b/agent/proxycfg-glue/service_http_checks.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/service_http_checks_test.go b/agent/proxycfg-glue/service_http_checks_test.go index d1a6df34f..cfe28c7e8 100644 --- a/agent/proxycfg-glue/service_http_checks_test.go +++ b/agent/proxycfg-glue/service_http_checks_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/service_list.go b/agent/proxycfg-glue/service_list.go index 7e7e6bbf6..ee7c286e3 100644 --- a/agent/proxycfg-glue/service_list.go +++ b/agent/proxycfg-glue/service_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/service_list_test.go b/agent/proxycfg-glue/service_list_test.go index 4ab3edbf1..154c1300a 100644 --- a/agent/proxycfg-glue/service_list_test.go +++ b/agent/proxycfg-glue/service_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/trust_bundle.go b/agent/proxycfg-glue/trust_bundle.go index 0152c5fdf..7e2ad127f 100644 --- a/agent/proxycfg-glue/trust_bundle.go +++ b/agent/proxycfg-glue/trust_bundle.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-glue/trust_bundle_test.go b/agent/proxycfg-glue/trust_bundle_test.go index 8d4270f07..da77e32a5 100644 --- a/agent/proxycfg-glue/trust_bundle_test.go +++ b/agent/proxycfg-glue/trust_bundle_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfgglue import ( diff --git a/agent/proxycfg-sources/catalog/config_source.go b/agent/proxycfg-sources/catalog/config_source.go index 3ba1fc83b..3fbca88de 100644 --- a/agent/proxycfg-sources/catalog/config_source.go +++ b/agent/proxycfg-sources/catalog/config_source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalog import ( diff --git a/agent/proxycfg-sources/catalog/config_source_test.go b/agent/proxycfg-sources/catalog/config_source_test.go index c6c0e9d8b..661fae9c0 100644 --- a/agent/proxycfg-sources/catalog/config_source_test.go +++ b/agent/proxycfg-sources/catalog/config_source_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalog import ( diff --git a/agent/proxycfg-sources/local/config_source.go b/agent/proxycfg-sources/local/config_source.go index 903ad7a6b..18b8a045c 100644 --- a/agent/proxycfg-sources/local/config_source.go +++ b/agent/proxycfg-sources/local/config_source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package local import ( diff --git a/agent/proxycfg-sources/local/local.go b/agent/proxycfg-sources/local/local.go index 2cdc28751..92eefe1eb 100644 --- a/agent/proxycfg-sources/local/local.go +++ b/agent/proxycfg-sources/local/local.go @@ -1,2 +1,5 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package local integrates the proxycfg Manager with the agent's local state. package local diff --git a/agent/proxycfg-sources/local/sync.go b/agent/proxycfg-sources/local/sync.go index 5702d2f36..86427c9f0 100644 --- a/agent/proxycfg-sources/local/sync.go +++ b/agent/proxycfg-sources/local/sync.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package local import ( diff --git a/agent/proxycfg-sources/local/sync_test.go b/agent/proxycfg-sources/local/sync_test.go index c41f7fd9a..8fa488351 100644 --- a/agent/proxycfg-sources/local/sync_test.go +++ b/agent/proxycfg-sources/local/sync_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package local import ( diff --git a/agent/proxycfg/api_gateway.go b/agent/proxycfg/api_gateway.go index fc2519acd..18abed7b2 100644 --- a/agent/proxycfg/api_gateway.go +++ b/agent/proxycfg/api_gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/connect_proxy.go b/agent/proxycfg/connect_proxy.go index 97cd0527b..037e7080e 100644 --- a/agent/proxycfg/connect_proxy.go +++ b/agent/proxycfg/connect_proxy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/data_sources.go b/agent/proxycfg/data_sources.go index 0327a45a0..0018ce7c0 100644 --- a/agent/proxycfg/data_sources.go +++ b/agent/proxycfg/data_sources.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/data_sources_oss.go b/agent/proxycfg/data_sources_oss.go index e5e23d177..5a92e9486 100644 --- a/agent/proxycfg/data_sources_oss.go +++ b/agent/proxycfg/data_sources_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/proxycfg/deep-copy.sh b/agent/proxycfg/deep-copy.sh index 3e3f07ec2..17791e79b 100755 --- a/agent/proxycfg/deep-copy.sh +++ b/agent/proxycfg/deep-copy.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + readonly PACKAGE_DIR="$(dirname "${BASH_SOURCE[0]}")" cd $PACKAGE_DIR diff --git a/agent/proxycfg/ingress_gateway.go b/agent/proxycfg/ingress_gateway.go index 00e0ae277..e76d567a5 100644 --- a/agent/proxycfg/ingress_gateway.go +++ b/agent/proxycfg/ingress_gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/internal/watch/watchmap.go b/agent/proxycfg/internal/watch/watchmap.go index b5827423e..c36ec3237 100644 --- a/agent/proxycfg/internal/watch/watchmap.go +++ b/agent/proxycfg/internal/watch/watchmap.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package watch import "context" diff --git a/agent/proxycfg/internal/watch/watchmap_test.go b/agent/proxycfg/internal/watch/watchmap_test.go index 2e0f5b790..c5bef8e47 100644 --- a/agent/proxycfg/internal/watch/watchmap_test.go +++ b/agent/proxycfg/internal/watch/watchmap_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package watch import ( diff --git a/agent/proxycfg/manager.go b/agent/proxycfg/manager.go index d21ff4f1e..a942fd1d1 100644 --- a/agent/proxycfg/manager.go +++ b/agent/proxycfg/manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/manager_test.go b/agent/proxycfg/manager_test.go index bf2b8db9a..3c4068815 100644 --- a/agent/proxycfg/manager_test.go +++ b/agent/proxycfg/manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/mesh_gateway.go b/agent/proxycfg/mesh_gateway.go index a60f921cc..c423644b3 100644 --- a/agent/proxycfg/mesh_gateway.go +++ b/agent/proxycfg/mesh_gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/mesh_gateway_oss.go b/agent/proxycfg/mesh_gateway_oss.go index 143eff76f..2959a8383 100644 --- a/agent/proxycfg/mesh_gateway_oss.go +++ b/agent/proxycfg/mesh_gateway_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/proxycfg/naming.go b/agent/proxycfg/naming.go index 0ab355160..44c1c2cf4 100644 --- a/agent/proxycfg/naming.go +++ b/agent/proxycfg/naming.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/naming_oss.go b/agent/proxycfg/naming_oss.go index c6a3db10d..858b8d355 100644 --- a/agent/proxycfg/naming_oss.go +++ b/agent/proxycfg/naming_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/proxycfg/naming_test.go b/agent/proxycfg/naming_test.go index 2c4f5173a..caf917f5d 100644 --- a/agent/proxycfg/naming_test.go +++ b/agent/proxycfg/naming_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/proxycfg.go b/agent/proxycfg/proxycfg.go index b712c4de7..7f091743a 100644 --- a/agent/proxycfg/proxycfg.go +++ b/agent/proxycfg/proxycfg.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package proxycfg contains components for sourcing the data required to // configure Connect proxies. The Manager provides an API with which proxy // services can be registered, and coordinates the fetching (and refreshing) diff --git a/agent/proxycfg/snapshot.go b/agent/proxycfg/snapshot.go index c5ddd0b5c..cc3341d68 100644 --- a/agent/proxycfg/snapshot.go +++ b/agent/proxycfg/snapshot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/snapshot_test.go b/agent/proxycfg/snapshot_test.go index ebb579821..19e6f953f 100644 --- a/agent/proxycfg/snapshot_test.go +++ b/agent/proxycfg/snapshot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/state.go b/agent/proxycfg/state.go index 2347b04cc..9054ef944 100644 --- a/agent/proxycfg/state.go +++ b/agent/proxycfg/state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/state_oss_test.go b/agent/proxycfg/state_oss_test.go index 0034041f7..e817aeef0 100644 --- a/agent/proxycfg/state_oss_test.go +++ b/agent/proxycfg/state_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/proxycfg/state_test.go b/agent/proxycfg/state_test.go index 55e6aeaac..4448d1bd2 100644 --- a/agent/proxycfg/state_test.go +++ b/agent/proxycfg/state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/terminating_gateway.go b/agent/proxycfg/terminating_gateway.go index 483c79f91..920553d84 100644 --- a/agent/proxycfg/terminating_gateway.go +++ b/agent/proxycfg/terminating_gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/testing.go b/agent/proxycfg/testing.go index a0b71c66e..e7a43f1e4 100644 --- a/agent/proxycfg/testing.go +++ b/agent/proxycfg/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/testing_api_gateway.go b/agent/proxycfg/testing_api_gateway.go index 80a50e2ce..06e21e3cf 100644 --- a/agent/proxycfg/testing_api_gateway.go +++ b/agent/proxycfg/testing_api_gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/testing_connect_proxy.go b/agent/proxycfg/testing_connect_proxy.go index 5624a36e6..12a8de561 100644 --- a/agent/proxycfg/testing_connect_proxy.go +++ b/agent/proxycfg/testing_connect_proxy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/testing_ingress_gateway.go b/agent/proxycfg/testing_ingress_gateway.go index 5e981b9e5..6c5a17549 100644 --- a/agent/proxycfg/testing_ingress_gateway.go +++ b/agent/proxycfg/testing_ingress_gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/testing_mesh_gateway.go b/agent/proxycfg/testing_mesh_gateway.go index b6251fd98..94b0cbd08 100644 --- a/agent/proxycfg/testing_mesh_gateway.go +++ b/agent/proxycfg/testing_mesh_gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/testing_oss.go b/agent/proxycfg/testing_oss.go index 11f9a6ade..202252a3a 100644 --- a/agent/proxycfg/testing_oss.go +++ b/agent/proxycfg/testing_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/proxycfg/testing_peering.go b/agent/proxycfg/testing_peering.go index 82bdb70ee..9b754c977 100644 --- a/agent/proxycfg/testing_peering.go +++ b/agent/proxycfg/testing_peering.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/testing_terminating_gateway.go b/agent/proxycfg/testing_terminating_gateway.go index a1cc290a4..ec03fcdb0 100644 --- a/agent/proxycfg/testing_terminating_gateway.go +++ b/agent/proxycfg/testing_terminating_gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/testing_tproxy.go b/agent/proxycfg/testing_tproxy.go index 7200cee56..3420b5966 100644 --- a/agent/proxycfg/testing_tproxy.go +++ b/agent/proxycfg/testing_tproxy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/testing_upstreams.go b/agent/proxycfg/testing_upstreams.go index deb810fa3..cfa34df8e 100644 --- a/agent/proxycfg/testing_upstreams.go +++ b/agent/proxycfg/testing_upstreams.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg/upstreams.go b/agent/proxycfg/upstreams.go index eeeb037f6..d7fee4a3f 100644 --- a/agent/proxycfg/upstreams.go +++ b/agent/proxycfg/upstreams.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxycfg import ( diff --git a/agent/proxycfg_test.go b/agent/proxycfg_test.go index 11f9b8fe7..334af2cca 100644 --- a/agent/proxycfg_test.go +++ b/agent/proxycfg_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/reload.go b/agent/reload.go index 21a7486a0..ce31fd1a7 100644 --- a/agent/reload.go +++ b/agent/reload.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import "github.com/hashicorp/consul/agent/config" diff --git a/agent/remote_exec.go b/agent/remote_exec.go index 8519ca485..770221ed2 100644 --- a/agent/remote_exec.go +++ b/agent/remote_exec.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/remote_exec_test.go b/agent/remote_exec_test.go index b08f9e14e..999409507 100644 --- a/agent/remote_exec_test.go +++ b/agent/remote_exec_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/retry_join.go b/agent/retry_join.go index 61825db23..a629aa047 100644 --- a/agent/retry_join.go +++ b/agent/retry_join.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/retry_join_test.go b/agent/retry_join_test.go index e6e2fac77..af9020596 100644 --- a/agent/retry_join_test.go +++ b/agent/retry_join_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/router/grpc.go b/agent/router/grpc.go index 44600d42a..9fe6355d4 100644 --- a/agent/router/grpc.go +++ b/agent/router/grpc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package router import ( diff --git a/agent/router/manager.go b/agent/router/manager.go index 8d2e9658e..cccbc27d0 100644 --- a/agent/router/manager.go +++ b/agent/router/manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package servers provides a Manager interface for Manager managed // metadata.Server objects. The servers package manages servers from a Consul // client's perspective (i.e. a list of servers that a client talks with for diff --git a/agent/router/manager_internal_test.go b/agent/router/manager_internal_test.go index 640e96a06..0e1fa2818 100644 --- a/agent/router/manager_internal_test.go +++ b/agent/router/manager_internal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package router import ( diff --git a/agent/router/manager_test.go b/agent/router/manager_test.go index e21ab340f..708bb620a 100644 --- a/agent/router/manager_test.go +++ b/agent/router/manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package router_test import ( diff --git a/agent/router/router.go b/agent/router/router.go index 1389a30f6..bdba22f42 100644 --- a/agent/router/router.go +++ b/agent/router/router.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package router import ( diff --git a/agent/router/router_test.go b/agent/router/router_test.go index 8ccdf825e..1064dea34 100644 --- a/agent/router/router_test.go +++ b/agent/router/router_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package router import ( diff --git a/agent/router/serf_adapter.go b/agent/router/serf_adapter.go index 7208fe123..f30449dc0 100644 --- a/agent/router/serf_adapter.go +++ b/agent/router/serf_adapter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package router import ( diff --git a/agent/router/serf_flooder.go b/agent/router/serf_flooder.go index 7c415db25..34ef31837 100644 --- a/agent/router/serf_flooder.go +++ b/agent/router/serf_flooder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package router import ( diff --git a/agent/routine-leak-checker/leak_test.go b/agent/routine-leak-checker/leak_test.go index 34f098923..91d84b071 100644 --- a/agent/routine-leak-checker/leak_test.go +++ b/agent/routine-leak-checker/leak_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package leakcheck import ( diff --git a/agent/rpc/middleware/interceptors.go b/agent/rpc/middleware/interceptors.go index d0ad51379..f614e06ce 100644 --- a/agent/rpc/middleware/interceptors.go +++ b/agent/rpc/middleware/interceptors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/rpc/middleware/interceptors_test.go b/agent/rpc/middleware/interceptors_test.go index fda01199b..a22837fc6 100644 --- a/agent/rpc/middleware/interceptors_test.go +++ b/agent/rpc/middleware/interceptors_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/rpc/middleware/rate_limit_mappings.go b/agent/rpc/middleware/rate_limit_mappings.go index 65c241a27..a31343bb2 100644 --- a/agent/rpc/middleware/rate_limit_mappings.go +++ b/agent/rpc/middleware/rate_limit_mappings.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import "github.com/hashicorp/consul/agent/consul/rate" diff --git a/agent/rpc/middleware/recovery.go b/agent/rpc/middleware/recovery.go index f381f0ee2..df37f969d 100644 --- a/agent/rpc/middleware/recovery.go +++ b/agent/rpc/middleware/recovery.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package middleware import ( diff --git a/agent/rpc/operator/service.go b/agent/rpc/operator/service.go index 6f3ef3cfd..6b3302c9f 100644 --- a/agent/rpc/operator/service.go +++ b/agent/rpc/operator/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operator import ( diff --git a/agent/rpc/operator/service_test.go b/agent/rpc/operator/service_test.go index b2bdd6990..465a6d642 100644 --- a/agent/rpc/operator/service_test.go +++ b/agent/rpc/operator/service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operator import ( diff --git a/agent/rpc/peering/service.go b/agent/rpc/peering/service.go index daf27a02f..fe68b3616 100644 --- a/agent/rpc/peering/service.go +++ b/agent/rpc/peering/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peering import ( diff --git a/agent/rpc/peering/service_oss_test.go b/agent/rpc/peering/service_oss_test.go index bdaecda1a..d4e5fab0b 100644 --- a/agent/rpc/peering/service_oss_test.go +++ b/agent/rpc/peering/service_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/rpc/peering/service_test.go b/agent/rpc/peering/service_test.go index 1699cb5ac..3830cbdfa 100644 --- a/agent/rpc/peering/service_test.go +++ b/agent/rpc/peering/service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peering_test import ( diff --git a/agent/rpc/peering/testing.go b/agent/rpc/peering/testing.go index 7ee448ec1..ddd9d43a8 100644 --- a/agent/rpc/peering/testing.go +++ b/agent/rpc/peering/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peering import ( diff --git a/agent/rpc/peering/testutil_oss_test.go b/agent/rpc/peering/testutil_oss_test.go index 4aac92cad..d15d62e9f 100644 --- a/agent/rpc/peering/testutil_oss_test.go +++ b/agent/rpc/peering/testutil_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/rpc/peering/validate.go b/agent/rpc/peering/validate.go index 945a6a0dc..1bd3f393b 100644 --- a/agent/rpc/peering/validate.go +++ b/agent/rpc/peering/validate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peering import ( diff --git a/agent/rpc/peering/validate_test.go b/agent/rpc/peering/validate_test.go index eb4882f0b..c5b3c6c7b 100644 --- a/agent/rpc/peering/validate_test.go +++ b/agent/rpc/peering/validate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peering import ( diff --git a/agent/rpcclient/health/health.go b/agent/rpcclient/health/health.go index 1edc1bfd2..16630af5f 100644 --- a/agent/rpcclient/health/health.go +++ b/agent/rpcclient/health/health.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package health import ( diff --git a/agent/rpcclient/health/health_test.go b/agent/rpcclient/health/health_test.go index a9cc7a087..03c2a8338 100644 --- a/agent/rpcclient/health/health_test.go +++ b/agent/rpcclient/health/health_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package health import ( diff --git a/agent/rpcclient/health/streaming_test.go b/agent/rpcclient/health/streaming_test.go index 915025a21..3a0ba734b 100644 --- a/agent/rpcclient/health/streaming_test.go +++ b/agent/rpcclient/health/streaming_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package health import ( diff --git a/agent/rpcclient/health/view.go b/agent/rpcclient/health/view.go index 4dabc5e69..bf75738a9 100644 --- a/agent/rpcclient/health/view.go +++ b/agent/rpcclient/health/view.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package health import ( diff --git a/agent/rpcclient/health/view_test.go b/agent/rpcclient/health/view_test.go index 0d199243b..6a777a7f8 100644 --- a/agent/rpcclient/health/view_test.go +++ b/agent/rpcclient/health/view_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package health import ( diff --git a/agent/service_checks_test.go b/agent/service_checks_test.go index 1e9872219..c56777658 100644 --- a/agent/service_checks_test.go +++ b/agent/service_checks_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/service_manager.go b/agent/service_manager.go index 784986678..b7e38b393 100644 --- a/agent/service_manager.go +++ b/agent/service_manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/service_manager_test.go b/agent/service_manager_test.go index 097513ea7..1a4c7f6de 100644 --- a/agent/service_manager_test.go +++ b/agent/service_manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/session_endpoint.go b/agent/session_endpoint.go index 2f10b149b..a9b9a6dee 100644 --- a/agent/session_endpoint.go +++ b/agent/session_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/session_endpoint_test.go b/agent/session_endpoint_test.go index a1b011f25..5ce93db7a 100644 --- a/agent/session_endpoint_test.go +++ b/agent/session_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/setup.go b/agent/setup.go index 4600f4016..07ab3852d 100644 --- a/agent/setup.go +++ b/agent/setup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/setup_oss.go b/agent/setup_oss.go index 9fd22210e..46c4b80eb 100644 --- a/agent/setup_oss.go +++ b/agent/setup_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/sidecar_service.go b/agent/sidecar_service.go index 3b536223f..e0b1fe1d2 100644 --- a/agent/sidecar_service.go +++ b/agent/sidecar_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/sidecar_service_test.go b/agent/sidecar_service_test.go index 37854298e..c060e365d 100644 --- a/agent/sidecar_service_test.go +++ b/agent/sidecar_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/signal_unix.go b/agent/signal_unix.go index a41e16a67..bd0b3e779 100644 --- a/agent/signal_unix.go +++ b/agent/signal_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/agent/signal_windows.go b/agent/signal_windows.go index ba3d0fde9..c6ea0c980 100644 --- a/agent/signal_windows.go +++ b/agent/signal_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/agent/snapshot_endpoint.go b/agent/snapshot_endpoint.go index 574b1683a..60d986256 100644 --- a/agent/snapshot_endpoint.go +++ b/agent/snapshot_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/snapshot_endpoint_test.go b/agent/snapshot_endpoint_test.go index 968aa8fe7..e68fb22f3 100644 --- a/agent/snapshot_endpoint_test.go +++ b/agent/snapshot_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/status_endpoint.go b/agent/status_endpoint.go index 0fbd26837..86f9f1a5d 100644 --- a/agent/status_endpoint.go +++ b/agent/status_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/status_endpoint_test.go b/agent/status_endpoint_test.go index 93768618c..5be9d6be6 100644 --- a/agent/status_endpoint_test.go +++ b/agent/status_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/streaming_test.go b/agent/streaming_test.go index 8af5edc7d..9074f66e8 100644 --- a/agent/streaming_test.go +++ b/agent/streaming_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/structs/acl.go b/agent/structs/acl.go index 13424811a..d239b8822 100644 --- a/agent/structs/acl.go +++ b/agent/structs/acl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/acl_cache.go b/agent/structs/acl_cache.go index 65e20a1f4..46d4fdd28 100644 --- a/agent/structs/acl_cache.go +++ b/agent/structs/acl_cache.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/acl_cache_test.go b/agent/structs/acl_cache_test.go index e0a057d36..e390da960 100644 --- a/agent/structs/acl_cache_test.go +++ b/agent/structs/acl_cache_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/acl_oss.go b/agent/structs/acl_oss.go index b41986547..01e252636 100644 --- a/agent/structs/acl_oss.go +++ b/agent/structs/acl_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/acl_test.go b/agent/structs/acl_test.go index d5b083ec5..6658b8335 100644 --- a/agent/structs/acl_test.go +++ b/agent/structs/acl_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/aclfilter/filter.go b/agent/structs/aclfilter/filter.go index a6c5301d1..ecc73e7bd 100644 --- a/agent/structs/aclfilter/filter.go +++ b/agent/structs/aclfilter/filter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aclfilter import ( diff --git a/agent/structs/aclfilter/filter_test.go b/agent/structs/aclfilter/filter_test.go index 4666b52a3..2339b0acd 100644 --- a/agent/structs/aclfilter/filter_test.go +++ b/agent/structs/aclfilter/filter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aclfilter import ( diff --git a/agent/structs/auto_encrypt.go b/agent/structs/auto_encrypt.go index a0611ee38..2e9053f9a 100644 --- a/agent/structs/auto_encrypt.go +++ b/agent/structs/auto_encrypt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs type SignedResponse struct { diff --git a/agent/structs/autopilot.go b/agent/structs/autopilot.go index abfb7ca0c..a5a14684f 100644 --- a/agent/structs/autopilot.go +++ b/agent/structs/autopilot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/autopilot_oss.go b/agent/structs/autopilot_oss.go index a495c26a0..3098c0cf3 100644 --- a/agent/structs/autopilot_oss.go +++ b/agent/structs/autopilot_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/catalog.go b/agent/structs/catalog.go index 94581a45c..eb000d3a9 100644 --- a/agent/structs/catalog.go +++ b/agent/structs/catalog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/catalog_oss.go b/agent/structs/catalog_oss.go index 8165ffc42..91e08264b 100644 --- a/agent/structs/catalog_oss.go +++ b/agent/structs/catalog_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/check_definition.go b/agent/structs/check_definition.go index 1c01a4b42..600fc1f05 100644 --- a/agent/structs/check_definition.go +++ b/agent/structs/check_definition.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/check_definition_test.go b/agent/structs/check_definition_test.go index 731de6dbd..676499ef0 100644 --- a/agent/structs/check_definition_test.go +++ b/agent/structs/check_definition_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/check_type.go b/agent/structs/check_type.go index b4696c65c..0f31a89bf 100644 --- a/agent/structs/check_type.go +++ b/agent/structs/check_type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry.go b/agent/structs/config_entry.go index 2a94b430a..81efa5286 100644 --- a/agent/structs/config_entry.go +++ b/agent/structs/config_entry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_discoverychain.go b/agent/structs/config_entry_discoverychain.go index 1a728b343..d9ad4b13f 100644 --- a/agent/structs/config_entry_discoverychain.go +++ b/agent/structs/config_entry_discoverychain.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_discoverychain_oss.go b/agent/structs/config_entry_discoverychain_oss.go index 5a94fe48d..1d3702e36 100644 --- a/agent/structs/config_entry_discoverychain_oss.go +++ b/agent/structs/config_entry_discoverychain_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/config_entry_discoverychain_oss_test.go b/agent/structs/config_entry_discoverychain_oss_test.go index 06dcbccf2..ec816f07c 100644 --- a/agent/structs/config_entry_discoverychain_oss_test.go +++ b/agent/structs/config_entry_discoverychain_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/config_entry_discoverychain_test.go b/agent/structs/config_entry_discoverychain_test.go index f41c247c6..7378e2078 100644 --- a/agent/structs/config_entry_discoverychain_test.go +++ b/agent/structs/config_entry_discoverychain_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_export_oss_test.go b/agent/structs/config_entry_export_oss_test.go index 19ce3d05f..72be5aad6 100644 --- a/agent/structs/config_entry_export_oss_test.go +++ b/agent/structs/config_entry_export_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/config_entry_exports.go b/agent/structs/config_entry_exports.go index 81c62e123..6795af316 100644 --- a/agent/structs/config_entry_exports.go +++ b/agent/structs/config_entry_exports.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_exports_test.go b/agent/structs/config_entry_exports_test.go index e1c58cea6..dd92a1139 100644 --- a/agent/structs/config_entry_exports_test.go +++ b/agent/structs/config_entry_exports_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_gateways.go b/agent/structs/config_entry_gateways.go index 32fd966f6..cd66a0ae3 100644 --- a/agent/structs/config_entry_gateways.go +++ b/agent/structs/config_entry_gateways.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_gateways_test.go b/agent/structs/config_entry_gateways_test.go index 1302cb2ad..16a18752d 100644 --- a/agent/structs/config_entry_gateways_test.go +++ b/agent/structs/config_entry_gateways_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_inline_certificate.go b/agent/structs/config_entry_inline_certificate.go index bdbcbc6ae..7f2dc285e 100644 --- a/agent/structs/config_entry_inline_certificate.go +++ b/agent/structs/config_entry_inline_certificate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_inline_certificate_test.go b/agent/structs/config_entry_inline_certificate_test.go index db46ca92a..407fc1029 100644 --- a/agent/structs/config_entry_inline_certificate_test.go +++ b/agent/structs/config_entry_inline_certificate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import "testing" diff --git a/agent/structs/config_entry_intentions.go b/agent/structs/config_entry_intentions.go index 205fa3369..e947fa679 100644 --- a/agent/structs/config_entry_intentions.go +++ b/agent/structs/config_entry_intentions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_intentions_oss.go b/agent/structs/config_entry_intentions_oss.go index 2628951f8..706b54332 100644 --- a/agent/structs/config_entry_intentions_oss.go +++ b/agent/structs/config_entry_intentions_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/config_entry_intentions_test.go b/agent/structs/config_entry_intentions_test.go index 233ecebed..f08c170c6 100644 --- a/agent/structs/config_entry_intentions_test.go +++ b/agent/structs/config_entry_intentions_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_mesh.go b/agent/structs/config_entry_mesh.go index b599dbd53..8417a29fb 100644 --- a/agent/structs/config_entry_mesh.go +++ b/agent/structs/config_entry_mesh.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_mesh_oss.go b/agent/structs/config_entry_mesh_oss.go index 087edc8e5..1612d6568 100644 --- a/agent/structs/config_entry_mesh_oss.go +++ b/agent/structs/config_entry_mesh_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/config_entry_mesh_test.go b/agent/structs/config_entry_mesh_test.go index b618bf55b..6bdfaa15c 100644 --- a/agent/structs/config_entry_mesh_test.go +++ b/agent/structs/config_entry_mesh_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_oss.go b/agent/structs/config_entry_oss.go index 288a2715d..2977075bf 100644 --- a/agent/structs/config_entry_oss.go +++ b/agent/structs/config_entry_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/config_entry_oss_test.go b/agent/structs/config_entry_oss_test.go index fbf0a9ebd..ce9ac5fad 100644 --- a/agent/structs/config_entry_oss_test.go +++ b/agent/structs/config_entry_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/config_entry_routes.go b/agent/structs/config_entry_routes.go index ca092c07d..15160f0e0 100644 --- a/agent/structs/config_entry_routes.go +++ b/agent/structs/config_entry_routes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_routes_test.go b/agent/structs/config_entry_routes_test.go index 37c20390a..d33b5d06e 100644 --- a/agent/structs/config_entry_routes_test.go +++ b/agent/structs/config_entry_routes_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_sameness_group.go b/agent/structs/config_entry_sameness_group.go index ba8729d8f..206d51b7b 100644 --- a/agent/structs/config_entry_sameness_group.go +++ b/agent/structs/config_entry_sameness_group.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_sameness_group_oss.go b/agent/structs/config_entry_sameness_group_oss.go index 21a34b5e1..f821dc9cc 100644 --- a/agent/structs/config_entry_sameness_group_oss.go +++ b/agent/structs/config_entry_sameness_group_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/config_entry_status.go b/agent/structs/config_entry_status.go index 2a56ba08a..264efb1fa 100644 --- a/agent/structs/config_entry_status.go +++ b/agent/structs/config_entry_status.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/config_entry_test.go b/agent/structs/config_entry_test.go index b470abcae..de9e5ddc9 100644 --- a/agent/structs/config_entry_test.go +++ b/agent/structs/config_entry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/connect.go b/agent/structs/connect.go index 9edf744a1..227c2eb47 100644 --- a/agent/structs/connect.go +++ b/agent/structs/connect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import "github.com/hashicorp/consul/acl" diff --git a/agent/structs/connect_ca.go b/agent/structs/connect_ca.go index 9f319ad09..c8a7cea1d 100644 --- a/agent/structs/connect_ca.go +++ b/agent/structs/connect_ca.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/connect_ca_test.go b/agent/structs/connect_ca_test.go index 1609b0756..d64efef37 100644 --- a/agent/structs/connect_ca_test.go +++ b/agent/structs/connect_ca_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/connect_oss.go b/agent/structs/connect_oss.go index ac4a6405f..9547c2451 100644 --- a/agent/structs/connect_oss.go +++ b/agent/structs/connect_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/connect_proxy_config.go b/agent/structs/connect_proxy_config.go index b127b1ce1..6155dedb3 100644 --- a/agent/structs/connect_proxy_config.go +++ b/agent/structs/connect_proxy_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/connect_proxy_config_oss.go b/agent/structs/connect_proxy_config_oss.go index 320d7c470..898ca163a 100644 --- a/agent/structs/connect_proxy_config_oss.go +++ b/agent/structs/connect_proxy_config_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/connect_proxy_config_test.go b/agent/structs/connect_proxy_config_test.go index f55ba1d2b..bcf43b211 100644 --- a/agent/structs/connect_proxy_config_test.go +++ b/agent/structs/connect_proxy_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/deep-copy.sh b/agent/structs/deep-copy.sh index f0e5c91fb..75856d364 100755 --- a/agent/structs/deep-copy.sh +++ b/agent/structs/deep-copy.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + readonly PACKAGE_DIR="$(dirname "${BASH_SOURCE[0]}")" cd $PACKAGE_DIR diff --git a/agent/structs/discovery_chain.go b/agent/structs/discovery_chain.go index ae6561cc8..9c5588bb1 100644 --- a/agent/structs/discovery_chain.go +++ b/agent/structs/discovery_chain.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/discovery_chain_oss.go b/agent/structs/discovery_chain_oss.go index cdabdf6b3..febff8c77 100644 --- a/agent/structs/discovery_chain_oss.go +++ b/agent/structs/discovery_chain_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/envoy_extension.go b/agent/structs/envoy_extension.go index efef63076..5b69afb0d 100644 --- a/agent/structs/envoy_extension.go +++ b/agent/structs/envoy_extension.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/errors.go b/agent/structs/errors.go index 25d2a6d6e..82e2b0b5f 100644 --- a/agent/structs/errors.go +++ b/agent/structs/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/federation_state.go b/agent/structs/federation_state.go index 74ea10c9a..f123a0954 100644 --- a/agent/structs/federation_state.go +++ b/agent/structs/federation_state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/identity.go b/agent/structs/identity.go index d0bfd62ec..286dd552a 100644 --- a/agent/structs/identity.go +++ b/agent/structs/identity.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import "github.com/hashicorp/consul/acl" diff --git a/agent/structs/intention.go b/agent/structs/intention.go index eb70ba1ee..37c760b7d 100644 --- a/agent/structs/intention.go +++ b/agent/structs/intention.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/intention_oss.go b/agent/structs/intention_oss.go index e35b9b5b3..2d8181f36 100644 --- a/agent/structs/intention_oss.go +++ b/agent/structs/intention_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/intention_test.go b/agent/structs/intention_test.go index ef6e4c00d..0dc8c5a5f 100644 --- a/agent/structs/intention_test.go +++ b/agent/structs/intention_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/operator.go b/agent/structs/operator.go index be4507c32..f5c2b8ac8 100644 --- a/agent/structs/operator.go +++ b/agent/structs/operator.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/peering.go b/agent/structs/peering.go index 8e34987f6..3ee7acb22 100644 --- a/agent/structs/peering.go +++ b/agent/structs/peering.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs // PeeringToken identifies a peer in order for a connection to be established. diff --git a/agent/structs/prepared_query.go b/agent/structs/prepared_query.go index 59501d21e..c5b75a052 100644 --- a/agent/structs/prepared_query.go +++ b/agent/structs/prepared_query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/prepared_query_test.go b/agent/structs/prepared_query_test.go index d77ba3578..b74504ed5 100644 --- a/agent/structs/prepared_query_test.go +++ b/agent/structs/prepared_query_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/protobuf_compat.go b/agent/structs/protobuf_compat.go index b2f9cbdcb..65ebf2eaf 100644 --- a/agent/structs/protobuf_compat.go +++ b/agent/structs/protobuf_compat.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/service_definition.go b/agent/structs/service_definition.go index 0be59596a..6ee81af05 100644 --- a/agent/structs/service_definition.go +++ b/agent/structs/service_definition.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/service_definition_test.go b/agent/structs/service_definition_test.go index d5a68f667..023972092 100644 --- a/agent/structs/service_definition_test.go +++ b/agent/structs/service_definition_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/snapshot.go b/agent/structs/snapshot.go index 933e6e1d4..4f6222167 100644 --- a/agent/structs/snapshot.go +++ b/agent/structs/snapshot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs type SnapshotOp int diff --git a/agent/structs/structs.go b/agent/structs/structs.go index 49e078721..74ffb862b 100644 --- a/agent/structs/structs.go +++ b/agent/structs/structs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/structs_ext_test.go b/agent/structs/structs_ext_test.go index 8c74850a8..9bbc4ca0c 100644 --- a/agent/structs/structs_ext_test.go +++ b/agent/structs/structs_ext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs_test import ( diff --git a/agent/structs/structs_filtering_test.go b/agent/structs/structs_filtering_test.go index cdc84db15..5c18c5439 100644 --- a/agent/structs/structs_filtering_test.go +++ b/agent/structs/structs_filtering_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/structs_oss.go b/agent/structs/structs_oss.go index 0dcd9d77b..b1f051f21 100644 --- a/agent/structs/structs_oss.go +++ b/agent/structs/structs_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/structs_oss_test.go b/agent/structs/structs_oss_test.go index 54bbb0f2f..55e51a700 100644 --- a/agent/structs/structs_oss_test.go +++ b/agent/structs/structs_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/structs/structs_test.go b/agent/structs/structs_test.go index b19c30f99..49861f86c 100644 --- a/agent/structs/structs_test.go +++ b/agent/structs/structs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/system_metadata.go b/agent/structs/system_metadata.go index 2c038872b..fa6f6cd0a 100644 --- a/agent/structs/system_metadata.go +++ b/agent/structs/system_metadata.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs // SystemMetadataOp is the operation for a request related to system metadata. diff --git a/agent/structs/testing.go b/agent/structs/testing.go index 5d42cf7e3..ad8382b0c 100644 --- a/agent/structs/testing.go +++ b/agent/structs/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/testing_catalog.go b/agent/structs/testing_catalog.go index ff36545b6..0e560b390 100644 --- a/agent/structs/testing_catalog.go +++ b/agent/structs/testing_catalog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/testing_connect_proxy_config.go b/agent/structs/testing_connect_proxy_config.go index 0021612e9..c41cc9965 100644 --- a/agent/structs/testing_connect_proxy_config.go +++ b/agent/structs/testing_connect_proxy_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/testing_intention.go b/agent/structs/testing_intention.go index c8a42d791..57c6f9d50 100644 --- a/agent/structs/testing_intention.go +++ b/agent/structs/testing_intention.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/testing_service_definition.go b/agent/structs/testing_service_definition.go index 1e4938da8..270706726 100644 --- a/agent/structs/testing_service_definition.go +++ b/agent/structs/testing_service_definition.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/structs/txn.go b/agent/structs/txn.go index 6e0804a71..a97b4733f 100644 --- a/agent/structs/txn.go +++ b/agent/structs/txn.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/agent/submatview/handler.go b/agent/submatview/handler.go index 557112e8b..b3c900e69 100644 --- a/agent/submatview/handler.go +++ b/agent/submatview/handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package submatview import ( diff --git a/agent/submatview/local_materializer.go b/agent/submatview/local_materializer.go index 49ad26a2a..5eeaefaa6 100644 --- a/agent/submatview/local_materializer.go +++ b/agent/submatview/local_materializer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package submatview import ( diff --git a/agent/submatview/local_materializer_test.go b/agent/submatview/local_materializer_test.go index deb3c5606..e6600a051 100644 --- a/agent/submatview/local_materializer_test.go +++ b/agent/submatview/local_materializer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package submatview import ( diff --git a/agent/submatview/materializer.go b/agent/submatview/materializer.go index 2a084b6a3..240f6cfaf 100644 --- a/agent/submatview/materializer.go +++ b/agent/submatview/materializer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package submatview import ( diff --git a/agent/submatview/rpc_materializer.go b/agent/submatview/rpc_materializer.go index c7fa1faf6..855576b1b 100644 --- a/agent/submatview/rpc_materializer.go +++ b/agent/submatview/rpc_materializer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package submatview import ( diff --git a/agent/submatview/store.go b/agent/submatview/store.go index dacf2d8ba..beee9af24 100644 --- a/agent/submatview/store.go +++ b/agent/submatview/store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package submatview import ( diff --git a/agent/submatview/store_integration_test.go b/agent/submatview/store_integration_test.go index a47e62e73..b1e2f5a37 100644 --- a/agent/submatview/store_integration_test.go +++ b/agent/submatview/store_integration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package submatview_test import ( diff --git a/agent/submatview/store_test.go b/agent/submatview/store_test.go index 824b606f4..36a92e7ec 100644 --- a/agent/submatview/store_test.go +++ b/agent/submatview/store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package submatview import ( diff --git a/agent/submatview/streaming_test.go b/agent/submatview/streaming_test.go index 62bcca654..223babf53 100644 --- a/agent/submatview/streaming_test.go +++ b/agent/submatview/streaming_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package submatview import ( diff --git a/agent/systemd/notify.go b/agent/systemd/notify.go index 445d0ecb2..88ce2c2ec 100644 --- a/agent/systemd/notify.go +++ b/agent/systemd/notify.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package systemd import ( diff --git a/agent/testagent.go b/agent/testagent.go index 76d82a2f8..499f4d4dc 100644 --- a/agent/testagent.go +++ b/agent/testagent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/testagent_test.go b/agent/testagent_test.go index 39e91a2a6..66d1d61f0 100644 --- a/agent/testagent_test.go +++ b/agent/testagent_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/token/persistence.go b/agent/token/persistence.go index 49e41e3dd..9d543b30e 100644 --- a/agent/token/persistence.go +++ b/agent/token/persistence.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/agent/token/persistence_test.go b/agent/token/persistence_test.go index 2f9fe427c..093515f70 100644 --- a/agent/token/persistence_test.go +++ b/agent/token/persistence_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/agent/token/store.go b/agent/token/store.go index 80123e367..b0f9732a8 100644 --- a/agent/token/store.go +++ b/agent/token/store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/agent/token/store_oss.go b/agent/token/store_oss.go index ef8b5336d..bf2ff796f 100644 --- a/agent/token/store_oss.go +++ b/agent/token/store_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/token/store_test.go b/agent/token/store_test.go index 45bf82d5d..8d0992f22 100644 --- a/agent/token/store_test.go +++ b/agent/token/store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/agent/translate_addr.go b/agent/translate_addr.go index 7967347ec..9be80ebc0 100644 --- a/agent/translate_addr.go +++ b/agent/translate_addr.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/txn_endpoint.go b/agent/txn_endpoint.go index 1eeb4b6d4..faf9c9e72 100644 --- a/agent/txn_endpoint.go +++ b/agent/txn_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/txn_endpoint_test.go b/agent/txn_endpoint_test.go index ce94b5c3e..19c5925ba 100644 --- a/agent/txn_endpoint_test.go +++ b/agent/txn_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/ui_endpoint.go b/agent/ui_endpoint.go index aaeb7003e..3de9eac15 100644 --- a/agent/ui_endpoint.go +++ b/agent/ui_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/ui_endpoint_oss_test.go b/agent/ui_endpoint_oss_test.go index 14fbacd06..847563032 100644 --- a/agent/ui_endpoint_oss_test.go +++ b/agent/ui_endpoint_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/ui_endpoint_test.go b/agent/ui_endpoint_test.go index 29f6da8ae..494e39516 100644 --- a/agent/ui_endpoint_test.go +++ b/agent/ui_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/uiserver/buf_index_fs.go b/agent/uiserver/buf_index_fs.go index 71066d872..9ea23316f 100644 --- a/agent/uiserver/buf_index_fs.go +++ b/agent/uiserver/buf_index_fs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package uiserver import ( diff --git a/agent/uiserver/buffered_file.go b/agent/uiserver/buffered_file.go index f5ebf0cf5..5c794dac2 100644 --- a/agent/uiserver/buffered_file.go +++ b/agent/uiserver/buffered_file.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package uiserver import ( diff --git a/agent/uiserver/redirect_fs.go b/agent/uiserver/redirect_fs.go index 3f6a8956d..66b48e637 100644 --- a/agent/uiserver/redirect_fs.go +++ b/agent/uiserver/redirect_fs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package uiserver import ( diff --git a/agent/uiserver/ui_template_data.go b/agent/uiserver/ui_template_data.go index e28fc97fe..d8d5fc42b 100644 --- a/agent/uiserver/ui_template_data.go +++ b/agent/uiserver/ui_template_data.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package uiserver import ( diff --git a/agent/uiserver/uiserver.go b/agent/uiserver/uiserver.go index 7393a6ead..8cabb8e3e 100644 --- a/agent/uiserver/uiserver.go +++ b/agent/uiserver/uiserver.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package uiserver import ( diff --git a/agent/uiserver/uiserver_test.go b/agent/uiserver/uiserver_test.go index 1c310a63c..c42792fe3 100644 --- a/agent/uiserver/uiserver_test.go +++ b/agent/uiserver/uiserver_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package uiserver import ( diff --git a/agent/user_event.go b/agent/user_event.go index ab7aa83ca..25be0dd88 100644 --- a/agent/user_event.go +++ b/agent/user_event.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/user_event_test.go b/agent/user_event_test.go index 9f5bcee0a..ac807def9 100644 --- a/agent/user_event_test.go +++ b/agent/user_event_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/util.go b/agent/util.go index 55688fe30..285ba91df 100644 --- a/agent/util.go +++ b/agent/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/util_test.go b/agent/util_test.go index c2c49648a..4c3ae5602 100644 --- a/agent/util_test.go +++ b/agent/util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/watch_handler.go b/agent/watch_handler.go index 643d4afb1..518fd6c77 100644 --- a/agent/watch_handler.go +++ b/agent/watch_handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/watch_handler_test.go b/agent/watch_handler_test.go index a5ff8f7c7..f97d4d398 100644 --- a/agent/watch_handler_test.go +++ b/agent/watch_handler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/agent/xds/accesslogs/accesslogs.go b/agent/xds/accesslogs/accesslogs.go index 7efa1f76c..84cbf55e6 100644 --- a/agent/xds/accesslogs/accesslogs.go +++ b/agent/xds/accesslogs/accesslogs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accesslogs import ( diff --git a/agent/xds/clusters.go b/agent/xds/clusters.go index a6485d1c0..2422ae890 100644 --- a/agent/xds/clusters.go +++ b/agent/xds/clusters.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/clusters_test.go b/agent/xds/clusters_test.go index 094b9ceb1..14f49ba17 100644 --- a/agent/xds/clusters_test.go +++ b/agent/xds/clusters_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/config.go b/agent/xds/config.go index 39c4596f7..b2f759f82 100644 --- a/agent/xds/config.go +++ b/agent/xds/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/config_test.go b/agent/xds/config_test.go index 89bd7a6c0..e544c30b3 100644 --- a/agent/xds/config_test.go +++ b/agent/xds/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/delta.go b/agent/xds/delta.go index 62a725b8f..66072e0b8 100644 --- a/agent/xds/delta.go +++ b/agent/xds/delta.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/delta_envoy_extender_oss_test.go b/agent/xds/delta_envoy_extender_oss_test.go index 48b7589ad..8488be8c1 100644 --- a/agent/xds/delta_envoy_extender_oss_test.go +++ b/agent/xds/delta_envoy_extender_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/xds/delta_test.go b/agent/xds/delta_test.go index 20ee2887d..1f4fd5e00 100644 --- a/agent/xds/delta_test.go +++ b/agent/xds/delta_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/endpoints.go b/agent/xds/endpoints.go index f0e8f47d3..982c6d96e 100644 --- a/agent/xds/endpoints.go +++ b/agent/xds/endpoints.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/endpoints_test.go b/agent/xds/endpoints_test.go index 31215adba..ebdd06aa4 100644 --- a/agent/xds/endpoints_test.go +++ b/agent/xds/endpoints_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/extensionruntime/runtime_config.go b/agent/xds/extensionruntime/runtime_config.go index 044cc215c..57e60db91 100644 --- a/agent/xds/extensionruntime/runtime_config.go +++ b/agent/xds/extensionruntime/runtime_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package extensionruntime import ( diff --git a/agent/xds/extensionruntime/runtime_config_oss_test.go b/agent/xds/extensionruntime/runtime_config_oss_test.go index cc004c788..95b6a56b2 100644 --- a/agent/xds/extensionruntime/runtime_config_oss_test.go +++ b/agent/xds/extensionruntime/runtime_config_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/xds/failover_math.go b/agent/xds/failover_math.go index 4ebae8932..f34be21be 100644 --- a/agent/xds/failover_math.go +++ b/agent/xds/failover_math.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/failover_math_test.go b/agent/xds/failover_math_test.go index 296d1cc77..b007a7c6d 100644 --- a/agent/xds/failover_math_test.go +++ b/agent/xds/failover_math_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/golden_test.go b/agent/xds/golden_test.go index c056aa7b3..9209678bb 100644 --- a/agent/xds/golden_test.go +++ b/agent/xds/golden_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/listeners.go b/agent/xds/listeners.go index 962de5f70..dea043666 100644 --- a/agent/xds/listeners.go +++ b/agent/xds/listeners.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/listeners_ingress.go b/agent/xds/listeners_ingress.go index 40eb24230..c16a1b74c 100644 --- a/agent/xds/listeners_ingress.go +++ b/agent/xds/listeners_ingress.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/listeners_test.go b/agent/xds/listeners_test.go index a69a74a2b..7be4c9dd3 100644 --- a/agent/xds/listeners_test.go +++ b/agent/xds/listeners_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/naming.go b/agent/xds/naming.go index 620032a42..ab9224f71 100644 --- a/agent/xds/naming.go +++ b/agent/xds/naming.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/net_fallback.go b/agent/xds/net_fallback.go index a09fc1498..7230c18ef 100644 --- a/agent/xds/net_fallback.go +++ b/agent/xds/net_fallback.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !linux // +build !linux diff --git a/agent/xds/net_linux.go b/agent/xds/net_linux.go index 1be5d80c3..96932ca30 100644 --- a/agent/xds/net_linux.go +++ b/agent/xds/net_linux.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build linux // +build linux diff --git a/agent/xds/protocol_trace.go b/agent/xds/protocol_trace.go index 1a9687f71..42d82d760 100644 --- a/agent/xds/protocol_trace.go +++ b/agent/xds/protocol_trace.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/rbac.go b/agent/xds/rbac.go index 579de9809..75a46f686 100644 --- a/agent/xds/rbac.go +++ b/agent/xds/rbac.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/rbac_test.go b/agent/xds/rbac_test.go index 113587bb9..ac47fea26 100644 --- a/agent/xds/rbac_test.go +++ b/agent/xds/rbac_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/resources.go b/agent/xds/resources.go index cab494da4..c7099e5cb 100644 --- a/agent/xds/resources.go +++ b/agent/xds/resources.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/resources_oss_test.go b/agent/xds/resources_oss_test.go index a22e18f64..5da963940 100644 --- a/agent/xds/resources_oss_test.go +++ b/agent/xds/resources_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/xds/resources_test.go b/agent/xds/resources_test.go index 1f9b99274..fcdac8d70 100644 --- a/agent/xds/resources_test.go +++ b/agent/xds/resources_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/response.go b/agent/xds/response.go index 06948d7fe..e452e8a2f 100644 --- a/agent/xds/response.go +++ b/agent/xds/response.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/routes.go b/agent/xds/routes.go index 4588f39d6..30907002e 100644 --- a/agent/xds/routes.go +++ b/agent/xds/routes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/routes_test.go b/agent/xds/routes_test.go index c68e54c6d..eaa8d48c0 100644 --- a/agent/xds/routes_test.go +++ b/agent/xds/routes_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/secrets.go b/agent/xds/secrets.go index a1ef50e44..d150a12dc 100644 --- a/agent/xds/secrets.go +++ b/agent/xds/secrets.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/server.go b/agent/xds/server.go index 57d7224f8..2e012a4cb 100644 --- a/agent/xds/server.go +++ b/agent/xds/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/server_oss.go b/agent/xds/server_oss.go index dc5ab309c..c1d651c0a 100644 --- a/agent/xds/server_oss.go +++ b/agent/xds/server_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/agent/xds/testcommon/testcommon.go b/agent/xds/testcommon/testcommon.go index ba75cf9ae..1b0d6ebcb 100644 --- a/agent/xds/testcommon/testcommon.go +++ b/agent/xds/testcommon/testcommon.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testcommon import ( diff --git a/agent/xds/testing.go b/agent/xds/testing.go index 76cc53f49..446f1a37a 100644 --- a/agent/xds/testing.go +++ b/agent/xds/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/validateupstream-test/validateupstream_test.go b/agent/xds/validateupstream-test/validateupstream_test.go index 4e41ba398..f2810bb1c 100644 --- a/agent/xds/validateupstream-test/validateupstream_test.go +++ b/agent/xds/validateupstream-test/validateupstream_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validateupstream_test import ( diff --git a/agent/xds/xds.go b/agent/xds/xds.go index 84c72663c..07fe1c473 100644 --- a/agent/xds/xds.go +++ b/agent/xds/xds.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package xds provides an implementation of a gRPC service that exports Envoy's // xDS API for config discovery. Specifically we support the Aggregated // Discovery Service (ADS) only as we control all config. diff --git a/agent/xds/xds_protocol_helpers_test.go b/agent/xds/xds_protocol_helpers_test.go index b71c8282e..5b153f402 100644 --- a/agent/xds/xds_protocol_helpers_test.go +++ b/agent/xds/xds_protocol_helpers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import ( diff --git a/agent/xds/z_xds_packages_test.go b/agent/xds/z_xds_packages_test.go index 5644508e6..149490678 100644 --- a/agent/xds/z_xds_packages_test.go +++ b/agent/xds/z_xds_packages_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xds import (