From 94258dd36c3291c9ab87aac415a7d391f5564ece Mon Sep 17 00:00:00 2001 From: Ronald Ekambi Date: Tue, 21 Mar 2023 11:21:50 -0400 Subject: [PATCH] Copyright headers for command folder --- command/acl/acl.go | 3 +++ command/acl/acl_helpers.go | 3 +++ command/acl/agenttokens/agent_tokens.go | 3 +++ command/acl/agenttokens/agent_tokens_test.go | 3 +++ command/acl/authmethod/authmethod.go | 3 +++ command/acl/authmethod/create/authmethod_create.go | 3 +++ command/acl/authmethod/create/authmethod_create_oss.go | 3 +++ command/acl/authmethod/create/authmethod_create_test.go | 3 +++ command/acl/authmethod/delete/authmethod_delete.go | 3 +++ command/acl/authmethod/delete/authmethod_delete_test.go | 3 +++ command/acl/authmethod/formatter.go | 3 +++ command/acl/authmethod/list/authmethod_list.go | 3 +++ command/acl/authmethod/list/authmethod_list_test.go | 3 +++ command/acl/authmethod/read/authmethod_read.go | 3 +++ command/acl/authmethod/read/authmethod_read_test.go | 3 +++ command/acl/authmethod/update/authmethod_update.go | 3 +++ command/acl/authmethod/update/authmethod_update_oss.go | 3 +++ command/acl/authmethod/update/authmethod_update_test.go | 3 +++ command/acl/bindingrule/bindingrule.go | 3 +++ command/acl/bindingrule/create/bindingrule_create.go | 3 +++ command/acl/bindingrule/create/bindingrule_create_test.go | 3 +++ command/acl/bindingrule/delete/bindingrule_delete.go | 3 +++ command/acl/bindingrule/delete/bindingrule_delete_test.go | 3 +++ command/acl/bindingrule/formatter.go | 3 +++ command/acl/bindingrule/list/bindingrule_list.go | 3 +++ command/acl/bindingrule/list/bindingrule_list_test.go | 3 +++ command/acl/bindingrule/read/bindingrule_read.go | 3 +++ command/acl/bindingrule/read/bindingrule_read_test.go | 3 +++ command/acl/bindingrule/update/bindingrule_update.go | 3 +++ command/acl/bindingrule/update/bindingrule_update_test.go | 3 +++ command/acl/bootstrap/bootstrap.go | 3 +++ command/acl/bootstrap/bootstrap_test.go | 3 +++ command/acl/policy/create/policy_create.go | 3 +++ command/acl/policy/create/policy_create_test.go | 3 +++ command/acl/policy/delete/policy_delete.go | 3 +++ command/acl/policy/delete/policy_delete_test.go | 3 +++ command/acl/policy/formatter.go | 3 +++ command/acl/policy/list/policy_list.go | 3 +++ command/acl/policy/list/policy_list_test.go | 3 +++ command/acl/policy/policy.go | 3 +++ command/acl/policy/read/policy_read.go | 3 +++ command/acl/policy/read/policy_read_test.go | 3 +++ command/acl/policy/update/policy_update.go | 3 +++ command/acl/policy/update/policy_update_test.go | 3 +++ command/acl/role/create/role_create.go | 3 +++ command/acl/role/create/role_create_test.go | 3 +++ command/acl/role/delete/role_delete.go | 3 +++ command/acl/role/delete/role_delete_test.go | 3 +++ command/acl/role/formatter.go | 3 +++ command/acl/role/formatter_test.go | 3 +++ command/acl/role/list/role_list.go | 3 +++ command/acl/role/list/role_list_test.go | 3 +++ command/acl/role/read/role_read.go | 3 +++ command/acl/role/read/role_read_test.go | 3 +++ command/acl/role/role.go | 3 +++ command/acl/role/update/role_update.go | 3 +++ command/acl/role/update/role_update_test.go | 3 +++ command/acl/token/clone/token_clone.go | 3 +++ command/acl/token/clone/token_clone_test.go | 3 +++ command/acl/token/create/token_create.go | 3 +++ command/acl/token/create/token_create_test.go | 3 +++ command/acl/token/delete/token_delete.go | 3 +++ command/acl/token/delete/token_delete_test.go | 3 +++ command/acl/token/formatter.go | 3 +++ command/acl/token/formatter_oss_test.go | 3 +++ command/acl/token/formatter_test.go | 3 +++ command/acl/token/list/token_list.go | 3 +++ command/acl/token/list/token_list_test.go | 3 +++ command/acl/token/read/token_read.go | 3 +++ command/acl/token/read/token_read_test.go | 3 +++ command/acl/token/token.go | 3 +++ command/acl/token/update/token_update.go | 3 +++ command/acl/token/update/token_update_test.go | 3 +++ command/agent/agent.go | 3 +++ command/agent/agent_test.go | 3 +++ command/agent/startup_logger.go | 3 +++ command/catalog/catalog.go | 3 +++ command/catalog/catalog_test.go | 3 +++ command/catalog/helpers.go | 3 +++ command/catalog/helpers_oss.go | 3 +++ command/catalog/list/dc/catalog_list_datacenters.go | 3 +++ command/catalog/list/dc/catalog_list_datacenters_test.go | 3 +++ command/catalog/list/nodes/catalog_list_nodes.go | 3 +++ command/catalog/list/nodes/catalog_list_nodes_test.go | 3 +++ command/catalog/list/services/catalog_list_services.go | 3 +++ command/catalog/list/services/catalog_list_services_test.go | 3 +++ command/cli/cli.go | 3 +++ command/cli/formatting.go | 3 +++ command/config/config.go | 3 +++ command/config/delete/config_delete.go | 3 +++ command/config/delete/config_delete_test.go | 3 +++ command/config/list/config_list.go | 3 +++ command/config/list/config_list_test.go | 3 +++ command/config/read/config_read.go | 3 +++ command/config/read/config_read_test.go | 3 +++ command/config/write/config_write.go | 3 +++ command/config/write/config_write_test.go | 3 +++ command/connect/ca/ca.go | 3 +++ command/connect/ca/ca_test.go | 3 +++ command/connect/ca/get/connect_ca_get.go | 3 +++ command/connect/ca/get/connect_ca_get_test.go | 3 +++ command/connect/ca/set/connect_ca_set.go | 3 +++ command/connect/ca/set/connect_ca_set_test.go | 3 +++ command/connect/connect.go | 3 +++ command/connect/connect_test.go | 3 +++ command/connect/envoy/bootstrap_config.go | 3 +++ command/connect/envoy/bootstrap_config_test.go | 3 +++ command/connect/envoy/bootstrap_tpl.go | 3 +++ command/connect/envoy/envoy.go | 3 +++ command/connect/envoy/envoy_oss_test.go | 3 +++ command/connect/envoy/envoy_test.go | 3 +++ command/connect/envoy/exec.go | 3 +++ command/connect/envoy/exec_test.go | 3 +++ command/connect/envoy/exec_unix.go | 3 +++ command/connect/envoy/exec_unsupported.go | 3 +++ command/connect/envoy/flags.go | 3 +++ command/connect/envoy/flags_test.go | 3 +++ .../envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap.go | 3 +++ .../envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap_test.go | 3 +++ command/connect/expose/expose.go | 3 +++ command/connect/expose/expose_test.go | 3 +++ command/connect/proxy/flag_upstreams.go | 3 +++ command/connect/proxy/flag_upstreams_test.go | 3 +++ command/connect/proxy/proxy.go | 3 +++ command/connect/proxy/proxy_test.go | 3 +++ command/connect/proxy/register.go | 3 +++ command/connect/proxy/register_test.go | 3 +++ command/connect/redirecttraffic/redirect_traffic.go | 3 +++ command/connect/redirecttraffic/redirect_traffic_test.go | 3 +++ command/debug/debug.go | 3 +++ command/debug/debug_test.go | 3 +++ command/event/event.go | 3 +++ command/event/event_test.go | 3 +++ command/exec/exec.go | 3 +++ command/exec/exec_test.go | 3 +++ command/flags/config.go | 3 +++ command/flags/config_test.go | 3 +++ command/flags/flag_map_value.go | 3 +++ command/flags/flag_map_value_test.go | 3 +++ command/flags/flag_slice_value.go | 3 +++ command/flags/flag_slice_value_test.go | 3 +++ command/flags/http.go | 3 +++ command/flags/http_test.go | 3 +++ command/flags/merge.go | 3 +++ command/flags/usage.go | 3 +++ command/forceleave/forceleave.go | 3 +++ command/forceleave/forceleave_test.go | 3 +++ command/helpers/decode_shim.go | 3 +++ command/helpers/helpers.go | 3 +++ command/helpers/helpers_test.go | 3 +++ command/info/info.go | 3 +++ command/info/info_test.go | 3 +++ command/intention/check/check.go | 3 +++ command/intention/check/check_test.go | 3 +++ command/intention/create/create.go | 3 +++ command/intention/create/create_test.go | 3 +++ command/intention/delete/delete.go | 3 +++ command/intention/delete/delete_test.go | 3 +++ command/intention/format.go | 3 +++ command/intention/get/get.go | 3 +++ command/intention/get/get_test.go | 3 +++ command/intention/helpers.go | 3 +++ command/intention/helpers_test.go | 3 +++ command/intention/intention.go | 3 +++ command/intention/intention_test.go | 3 +++ command/intention/list/intention_list.go | 3 +++ command/intention/list/intention_list_test.go | 3 +++ command/intention/match/match.go | 3 +++ command/intention/match/match_test.go | 3 +++ command/join/join.go | 3 +++ command/join/join_test.go | 3 +++ command/keygen/keygen.go | 3 +++ command/keygen/keygen_test.go | 3 +++ command/keyring/keyring.go | 3 +++ command/keyring/keyring_test.go | 3 +++ command/kv/del/kv_delete.go | 3 +++ command/kv/del/kv_delete_test.go | 3 +++ command/kv/exp/kv_export.go | 3 +++ command/kv/exp/kv_export_test.go | 3 +++ command/kv/get/kv_get.go | 3 +++ command/kv/get/kv_get_test.go | 3 +++ command/kv/imp/kv_import.go | 3 +++ command/kv/imp/kv_import_test.go | 3 +++ command/kv/impexp/kvimpexp.go | 3 +++ command/kv/kv.go | 3 +++ command/kv/kv_test.go | 3 +++ command/kv/put/kv_put.go | 3 +++ command/kv/put/kv_put_test.go | 3 +++ command/leave/leave.go | 3 +++ command/leave/leave_test.go | 3 +++ command/lock/lock.go | 3 +++ command/lock/lock_test.go | 3 +++ command/lock/util_unix.go | 3 +++ command/lock/util_windows.go | 3 +++ command/login/aws.go | 3 +++ command/login/login.go | 3 +++ command/login/login_oss.go | 3 +++ command/login/login_test.go | 3 +++ command/logout/logout.go | 3 +++ command/logout/logout_test.go | 3 +++ command/maint/maint.go | 3 +++ command/maint/maint_test.go | 3 +++ command/members/members.go | 3 +++ command/members/members_test.go | 3 +++ command/monitor/monitor.go | 3 +++ command/monitor/monitor_test.go | 3 +++ command/operator/autopilot/get/operator_autopilot_get.go | 3 +++ command/operator/autopilot/get/operator_autopilot_get_test.go | 3 +++ command/operator/autopilot/operator_autopilot.go | 3 +++ command/operator/autopilot/operator_autopilot_test.go | 3 +++ command/operator/autopilot/set/operator_autopilot_set.go | 3 +++ command/operator/autopilot/set/operator_autopilot_set_test.go | 3 +++ command/operator/autopilot/state/formatter.go | 3 +++ command/operator/autopilot/state/operator_autopilot_state.go | 3 +++ .../operator/autopilot/state/operator_autopilot_state_test.go | 3 +++ command/operator/operator.go | 3 +++ command/operator/operator_test.go | 3 +++ command/operator/raft/listpeers/operator_raft_list.go | 3 +++ command/operator/raft/listpeers/operator_raft_list_test.go | 3 +++ command/operator/raft/operator_raft.go | 3 +++ command/operator/raft/operator_raft_test.go | 3 +++ command/operator/raft/removepeer/operator_raft_remove.go | 3 +++ command/operator/raft/removepeer/operator_raft_remove_test.go | 3 +++ command/operator/raft/transferleader/transfer_leader.go | 3 +++ command/operator/raft/transferleader/transfer_leader_test.go | 3 +++ command/operator/usage/instances/usage_instances.go | 3 +++ command/operator/usage/instances/usage_instances_oss.go | 3 +++ command/operator/usage/instances/usage_instances_oss_test.go | 3 +++ command/operator/usage/instances/usage_instances_test.go | 3 +++ command/operator/usage/usage.go | 3 +++ command/peering/delete/delete.go | 3 +++ command/peering/delete/delete_test.go | 3 +++ command/peering/establish/establish.go | 3 +++ command/peering/establish/establish_test.go | 3 +++ command/peering/generate/generate.go | 3 +++ command/peering/generate/generate_test.go | 3 +++ command/peering/list/list.go | 3 +++ command/peering/list/list_test.go | 3 +++ command/peering/peering.go | 3 +++ command/peering/read/read.go | 3 +++ command/peering/read/read_test.go | 3 +++ command/registry.go | 3 +++ command/registry_oss.go | 3 +++ command/reload/reload.go | 3 +++ command/reload/reload_test.go | 3 +++ command/rtt/rtt.go | 3 +++ command/rtt/rtt_test.go | 3 +++ command/services/config.go | 3 +++ command/services/config_test.go | 3 +++ command/services/deregister/deregister.go | 3 +++ command/services/deregister/deregister_test.go | 3 +++ command/services/register/register.go | 3 +++ command/services/register/register_test.go | 3 +++ command/services/services.go | 3 +++ command/services/services_test.go | 3 +++ command/snapshot/inspect/formatter.go | 3 +++ command/snapshot/inspect/formatter_test.go | 3 +++ command/snapshot/inspect/snapshot_inspect.go | 3 +++ command/snapshot/inspect/snapshot_inspect_test.go | 3 +++ command/snapshot/restore/snapshot_restore.go | 3 +++ command/snapshot/restore/snapshot_restore_test.go | 3 +++ command/snapshot/save/snapshot_save.go | 3 +++ command/snapshot/save/snapshot_save_test.go | 3 +++ command/snapshot/snapshot_command.go | 3 +++ command/snapshot/snapshot_command_test.go | 3 +++ command/tls/ca/create/tls_ca_create.go | 3 +++ command/tls/ca/create/tls_ca_create_test.go | 3 +++ command/tls/ca/tls_ca.go | 3 +++ command/tls/ca/tls_ca_test.go | 3 +++ command/tls/cert/create/tls_cert_create.go | 3 +++ command/tls/cert/create/tls_cert_create_test.go | 3 +++ command/tls/cert/tls_cert.go | 3 +++ command/tls/cert/tls_cert_test.go | 3 +++ command/tls/tls.go | 3 +++ command/tls/tls_test.go | 3 +++ command/troubleshoot/proxy/troubleshoot_proxy.go | 3 +++ command/troubleshoot/troubleshoot.go | 3 +++ command/troubleshoot/troubleshoot_test.go | 3 +++ command/troubleshoot/upstreams/troubleshoot_upstreams.go | 3 +++ command/validate/validate.go | 3 +++ command/validate/validate_test.go | 3 +++ command/version/formatter.go | 3 +++ command/version/formatter_test.go | 3 +++ command/version/version.go | 3 +++ command/version/version_test.go | 3 +++ command/watch/watch.go | 3 +++ command/watch/watch_test.go | 3 +++ 287 files changed, 861 insertions(+) diff --git a/command/acl/acl.go b/command/acl/acl.go index 250b0d25be37..71ef8c9a0617 100644 --- a/command/acl/acl.go +++ b/command/acl/acl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acl import ( diff --git a/command/acl/acl_helpers.go b/command/acl/acl_helpers.go index c571934edc58..0a6545be1af9 100644 --- a/command/acl/acl_helpers.go +++ b/command/acl/acl_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acl import ( diff --git a/command/acl/agenttokens/agent_tokens.go b/command/acl/agenttokens/agent_tokens.go index c29750714759..4e4a359ace77 100644 --- a/command/acl/agenttokens/agent_tokens.go +++ b/command/acl/agenttokens/agent_tokens.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agenttokens import ( diff --git a/command/acl/agenttokens/agent_tokens_test.go b/command/acl/agenttokens/agent_tokens_test.go index 08a154df5469..d735b66d83a3 100644 --- a/command/acl/agenttokens/agent_tokens_test.go +++ b/command/acl/agenttokens/agent_tokens_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agenttokens import ( diff --git a/command/acl/authmethod/authmethod.go b/command/acl/authmethod/authmethod.go index 0b3213be1469..897498024c84 100644 --- a/command/acl/authmethod/authmethod.go +++ b/command/acl/authmethod/authmethod.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethod import ( diff --git a/command/acl/authmethod/create/authmethod_create.go b/command/acl/authmethod/create/authmethod_create.go index 99e6826353f2..912a647d4115 100644 --- a/command/acl/authmethod/create/authmethod_create.go +++ b/command/acl/authmethod/create/authmethod_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodcreate import ( diff --git a/command/acl/authmethod/create/authmethod_create_oss.go b/command/acl/authmethod/create/authmethod_create_oss.go index 0df5e8efdc4f..ff2d488897ed 100644 --- a/command/acl/authmethod/create/authmethod_create_oss.go +++ b/command/acl/authmethod/create/authmethod_create_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/command/acl/authmethod/create/authmethod_create_test.go b/command/acl/authmethod/create/authmethod_create_test.go index e5a442c61631..b0d6a8cfe181 100644 --- a/command/acl/authmethod/create/authmethod_create_test.go +++ b/command/acl/authmethod/create/authmethod_create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodcreate import ( diff --git a/command/acl/authmethod/delete/authmethod_delete.go b/command/acl/authmethod/delete/authmethod_delete.go index afc9b249d176..44548a598374 100644 --- a/command/acl/authmethod/delete/authmethod_delete.go +++ b/command/acl/authmethod/delete/authmethod_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethoddelete import ( diff --git a/command/acl/authmethod/delete/authmethod_delete_test.go b/command/acl/authmethod/delete/authmethod_delete_test.go index f64f4d01f106..45bd3ac561cd 100644 --- a/command/acl/authmethod/delete/authmethod_delete_test.go +++ b/command/acl/authmethod/delete/authmethod_delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethoddelete import ( diff --git a/command/acl/authmethod/formatter.go b/command/acl/authmethod/formatter.go index 69bc4860c642..3204af910b71 100644 --- a/command/acl/authmethod/formatter.go +++ b/command/acl/authmethod/formatter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethod import ( diff --git a/command/acl/authmethod/list/authmethod_list.go b/command/acl/authmethod/list/authmethod_list.go index 3c32db04fe86..1bcf24b75a63 100644 --- a/command/acl/authmethod/list/authmethod_list.go +++ b/command/acl/authmethod/list/authmethod_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodlist import ( diff --git a/command/acl/authmethod/list/authmethod_list_test.go b/command/acl/authmethod/list/authmethod_list_test.go index edf963183d0d..9064b252cd44 100644 --- a/command/acl/authmethod/list/authmethod_list_test.go +++ b/command/acl/authmethod/list/authmethod_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodlist import ( diff --git a/command/acl/authmethod/read/authmethod_read.go b/command/acl/authmethod/read/authmethod_read.go index 0e1fbc11ce39..b7860ca0660d 100644 --- a/command/acl/authmethod/read/authmethod_read.go +++ b/command/acl/authmethod/read/authmethod_read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodread import ( diff --git a/command/acl/authmethod/read/authmethod_read_test.go b/command/acl/authmethod/read/authmethod_read_test.go index 0b4f04c0e81e..a24c1d2e55f2 100644 --- a/command/acl/authmethod/read/authmethod_read_test.go +++ b/command/acl/authmethod/read/authmethod_read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodread import ( diff --git a/command/acl/authmethod/update/authmethod_update.go b/command/acl/authmethod/update/authmethod_update.go index e452f84fa110..2798e6e6da8f 100644 --- a/command/acl/authmethod/update/authmethod_update.go +++ b/command/acl/authmethod/update/authmethod_update.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodupdate import ( diff --git a/command/acl/authmethod/update/authmethod_update_oss.go b/command/acl/authmethod/update/authmethod_update_oss.go index e72289ab3374..c1ea32042473 100644 --- a/command/acl/authmethod/update/authmethod_update_oss.go +++ b/command/acl/authmethod/update/authmethod_update_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/command/acl/authmethod/update/authmethod_update_test.go b/command/acl/authmethod/update/authmethod_update_test.go index 4afe1dfb4770..e85f270cdf69 100644 --- a/command/acl/authmethod/update/authmethod_update_test.go +++ b/command/acl/authmethod/update/authmethod_update_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodupdate import ( diff --git a/command/acl/bindingrule/bindingrule.go b/command/acl/bindingrule/bindingrule.go index 4bf5d0328f6c..782041e1ac67 100644 --- a/command/acl/bindingrule/bindingrule.go +++ b/command/acl/bindingrule/bindingrule.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingrule import ( diff --git a/command/acl/bindingrule/create/bindingrule_create.go b/command/acl/bindingrule/create/bindingrule_create.go index df94d6d5bb16..d5253c456e79 100644 --- a/command/acl/bindingrule/create/bindingrule_create.go +++ b/command/acl/bindingrule/create/bindingrule_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingrulecreate import ( diff --git a/command/acl/bindingrule/create/bindingrule_create_test.go b/command/acl/bindingrule/create/bindingrule_create_test.go index 60744954b9e8..43189f784c12 100644 --- a/command/acl/bindingrule/create/bindingrule_create_test.go +++ b/command/acl/bindingrule/create/bindingrule_create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingrulecreate import ( diff --git a/command/acl/bindingrule/delete/bindingrule_delete.go b/command/acl/bindingrule/delete/bindingrule_delete.go index 9386992516e6..ffb22fc73d35 100644 --- a/command/acl/bindingrule/delete/bindingrule_delete.go +++ b/command/acl/bindingrule/delete/bindingrule_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingruledelete import ( diff --git a/command/acl/bindingrule/delete/bindingrule_delete_test.go b/command/acl/bindingrule/delete/bindingrule_delete_test.go index c84ba38c4a6e..abd10f8add5d 100644 --- a/command/acl/bindingrule/delete/bindingrule_delete_test.go +++ b/command/acl/bindingrule/delete/bindingrule_delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingruledelete import ( diff --git a/command/acl/bindingrule/formatter.go b/command/acl/bindingrule/formatter.go index 65a3455e5973..1fb1feeafcc1 100644 --- a/command/acl/bindingrule/formatter.go +++ b/command/acl/bindingrule/formatter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingrule import ( diff --git a/command/acl/bindingrule/list/bindingrule_list.go b/command/acl/bindingrule/list/bindingrule_list.go index 997c14d27d39..2f6529af5d08 100644 --- a/command/acl/bindingrule/list/bindingrule_list.go +++ b/command/acl/bindingrule/list/bindingrule_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingrulelist import ( diff --git a/command/acl/bindingrule/list/bindingrule_list_test.go b/command/acl/bindingrule/list/bindingrule_list_test.go index 55d75cfa3b10..bbb1188f8a0f 100644 --- a/command/acl/bindingrule/list/bindingrule_list_test.go +++ b/command/acl/bindingrule/list/bindingrule_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingrulelist import ( diff --git a/command/acl/bindingrule/read/bindingrule_read.go b/command/acl/bindingrule/read/bindingrule_read.go index 9957e5fdb9d2..25858d64851f 100644 --- a/command/acl/bindingrule/read/bindingrule_read.go +++ b/command/acl/bindingrule/read/bindingrule_read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingruleread import ( diff --git a/command/acl/bindingrule/read/bindingrule_read_test.go b/command/acl/bindingrule/read/bindingrule_read_test.go index fcb55785de54..9e1615e003b9 100644 --- a/command/acl/bindingrule/read/bindingrule_read_test.go +++ b/command/acl/bindingrule/read/bindingrule_read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingruleread import ( diff --git a/command/acl/bindingrule/update/bindingrule_update.go b/command/acl/bindingrule/update/bindingrule_update.go index aa667f01e4ed..59998059f476 100644 --- a/command/acl/bindingrule/update/bindingrule_update.go +++ b/command/acl/bindingrule/update/bindingrule_update.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingruleupdate import ( diff --git a/command/acl/bindingrule/update/bindingrule_update_test.go b/command/acl/bindingrule/update/bindingrule_update_test.go index 1ec8736306c3..2f7437edcd33 100644 --- a/command/acl/bindingrule/update/bindingrule_update_test.go +++ b/command/acl/bindingrule/update/bindingrule_update_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bindingruleupdate import ( diff --git a/command/acl/bootstrap/bootstrap.go b/command/acl/bootstrap/bootstrap.go index 254ade15dc2b..2f608bbdab34 100644 --- a/command/acl/bootstrap/bootstrap.go +++ b/command/acl/bootstrap/bootstrap.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bootstrap import ( diff --git a/command/acl/bootstrap/bootstrap_test.go b/command/acl/bootstrap/bootstrap_test.go index 8d60289e860e..ef5fcf41dc7a 100644 --- a/command/acl/bootstrap/bootstrap_test.go +++ b/command/acl/bootstrap/bootstrap_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package bootstrap import ( diff --git a/command/acl/policy/create/policy_create.go b/command/acl/policy/create/policy_create.go index a2e3690d4fb9..131d096b1cf2 100644 --- a/command/acl/policy/create/policy_create.go +++ b/command/acl/policy/create/policy_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policycreate import ( diff --git a/command/acl/policy/create/policy_create_test.go b/command/acl/policy/create/policy_create_test.go index 39c837ab89d6..94ef7ac95f53 100644 --- a/command/acl/policy/create/policy_create_test.go +++ b/command/acl/policy/create/policy_create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policycreate import ( diff --git a/command/acl/policy/delete/policy_delete.go b/command/acl/policy/delete/policy_delete.go index 69d23d2a8b7e..eb1fbfc83bcc 100644 --- a/command/acl/policy/delete/policy_delete.go +++ b/command/acl/policy/delete/policy_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policydelete import ( diff --git a/command/acl/policy/delete/policy_delete_test.go b/command/acl/policy/delete/policy_delete_test.go index 3df6c20535f8..4e0b8ffbf627 100644 --- a/command/acl/policy/delete/policy_delete_test.go +++ b/command/acl/policy/delete/policy_delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policydelete import ( diff --git a/command/acl/policy/formatter.go b/command/acl/policy/formatter.go index 6bcee99f2c57..1e7897641207 100644 --- a/command/acl/policy/formatter.go +++ b/command/acl/policy/formatter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policy import ( diff --git a/command/acl/policy/list/policy_list.go b/command/acl/policy/list/policy_list.go index 8b788f30bb9a..d88f57595030 100644 --- a/command/acl/policy/list/policy_list.go +++ b/command/acl/policy/list/policy_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policylist import ( diff --git a/command/acl/policy/list/policy_list_test.go b/command/acl/policy/list/policy_list_test.go index 6a40f2c8285d..d9df5cc879a5 100644 --- a/command/acl/policy/list/policy_list_test.go +++ b/command/acl/policy/list/policy_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policylist import ( diff --git a/command/acl/policy/policy.go b/command/acl/policy/policy.go index d96bd2700aca..7a7b80cba8ff 100644 --- a/command/acl/policy/policy.go +++ b/command/acl/policy/policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policy import ( diff --git a/command/acl/policy/read/policy_read.go b/command/acl/policy/read/policy_read.go index 57e9397b2a47..e1b6b923df09 100644 --- a/command/acl/policy/read/policy_read.go +++ b/command/acl/policy/read/policy_read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policyread import ( diff --git a/command/acl/policy/read/policy_read_test.go b/command/acl/policy/read/policy_read_test.go index bd8d99dd8374..08fe5d1ce96c 100644 --- a/command/acl/policy/read/policy_read_test.go +++ b/command/acl/policy/read/policy_read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policyread import ( diff --git a/command/acl/policy/update/policy_update.go b/command/acl/policy/update/policy_update.go index 5d0768a803f6..ec0577ebb9a2 100644 --- a/command/acl/policy/update/policy_update.go +++ b/command/acl/policy/update/policy_update.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policyupdate import ( diff --git a/command/acl/policy/update/policy_update_test.go b/command/acl/policy/update/policy_update_test.go index 485425be07ee..22fa8b4c89aa 100644 --- a/command/acl/policy/update/policy_update_test.go +++ b/command/acl/policy/update/policy_update_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policyupdate import ( diff --git a/command/acl/role/create/role_create.go b/command/acl/role/create/role_create.go index 9afbfe841676..588b3a0cb659 100644 --- a/command/acl/role/create/role_create.go +++ b/command/acl/role/create/role_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rolecreate import ( diff --git a/command/acl/role/create/role_create_test.go b/command/acl/role/create/role_create_test.go index b7a31add48c3..40f15433a7bf 100644 --- a/command/acl/role/create/role_create_test.go +++ b/command/acl/role/create/role_create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rolecreate import ( diff --git a/command/acl/role/delete/role_delete.go b/command/acl/role/delete/role_delete.go index 41fbb26a3ce9..21dc7c0d1b45 100644 --- a/command/acl/role/delete/role_delete.go +++ b/command/acl/role/delete/role_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roledelete import ( diff --git a/command/acl/role/delete/role_delete_test.go b/command/acl/role/delete/role_delete_test.go index a1b941cf68fa..8a38cf2cfc3b 100644 --- a/command/acl/role/delete/role_delete_test.go +++ b/command/acl/role/delete/role_delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roledelete import ( diff --git a/command/acl/role/formatter.go b/command/acl/role/formatter.go index 8f9b57cfe2c2..5df6085e46ac 100644 --- a/command/acl/role/formatter.go +++ b/command/acl/role/formatter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package role import ( diff --git a/command/acl/role/formatter_test.go b/command/acl/role/formatter_test.go index 0e0721dc4dd1..cd1ba90fe9a1 100644 --- a/command/acl/role/formatter_test.go +++ b/command/acl/role/formatter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package role import ( diff --git a/command/acl/role/list/role_list.go b/command/acl/role/list/role_list.go index 8d69fc96af40..3582f9da63c2 100644 --- a/command/acl/role/list/role_list.go +++ b/command/acl/role/list/role_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rolelist import ( diff --git a/command/acl/role/list/role_list_test.go b/command/acl/role/list/role_list_test.go index d331fefb6c0b..651ab120278c 100644 --- a/command/acl/role/list/role_list_test.go +++ b/command/acl/role/list/role_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rolelist import ( diff --git a/command/acl/role/read/role_read.go b/command/acl/role/read/role_read.go index c22c48477aea..d6d06997ad13 100644 --- a/command/acl/role/read/role_read.go +++ b/command/acl/role/read/role_read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roleread import ( diff --git a/command/acl/role/read/role_read_test.go b/command/acl/role/read/role_read_test.go index 8751d4b44338..c7be4cb4c037 100644 --- a/command/acl/role/read/role_read_test.go +++ b/command/acl/role/read/role_read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roleread import ( diff --git a/command/acl/role/role.go b/command/acl/role/role.go index b8acc8a76bfb..2ea085f76331 100644 --- a/command/acl/role/role.go +++ b/command/acl/role/role.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package role import ( diff --git a/command/acl/role/update/role_update.go b/command/acl/role/update/role_update.go index d229fd47bea2..c42ab7ce9e61 100644 --- a/command/acl/role/update/role_update.go +++ b/command/acl/role/update/role_update.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roleupdate import ( diff --git a/command/acl/role/update/role_update_test.go b/command/acl/role/update/role_update_test.go index ebc49945b9d8..18d611099688 100644 --- a/command/acl/role/update/role_update_test.go +++ b/command/acl/role/update/role_update_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roleupdate import ( diff --git a/command/acl/token/clone/token_clone.go b/command/acl/token/clone/token_clone.go index aae26ff37beb..0f4ed2473a97 100644 --- a/command/acl/token/clone/token_clone.go +++ b/command/acl/token/clone/token_clone.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokenclone import ( diff --git a/command/acl/token/clone/token_clone_test.go b/command/acl/token/clone/token_clone_test.go index 8f0294222260..0142db743795 100644 --- a/command/acl/token/clone/token_clone_test.go +++ b/command/acl/token/clone/token_clone_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokenclone import ( diff --git a/command/acl/token/create/token_create.go b/command/acl/token/create/token_create.go index 8be4724752b7..4f33562908e8 100644 --- a/command/acl/token/create/token_create.go +++ b/command/acl/token/create/token_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokencreate import ( diff --git a/command/acl/token/create/token_create_test.go b/command/acl/token/create/token_create_test.go index 3a4864ec849e..876cc16687da 100644 --- a/command/acl/token/create/token_create_test.go +++ b/command/acl/token/create/token_create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokencreate import ( diff --git a/command/acl/token/delete/token_delete.go b/command/acl/token/delete/token_delete.go index 80ad4b6c2203..378c39911536 100644 --- a/command/acl/token/delete/token_delete.go +++ b/command/acl/token/delete/token_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokendelete import ( diff --git a/command/acl/token/delete/token_delete_test.go b/command/acl/token/delete/token_delete_test.go index 4cf74c0f3bd9..988e4afe24dc 100644 --- a/command/acl/token/delete/token_delete_test.go +++ b/command/acl/token/delete/token_delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokendelete import ( diff --git a/command/acl/token/formatter.go b/command/acl/token/formatter.go index 65790881ac71..dbe1a939fcec 100644 --- a/command/acl/token/formatter.go +++ b/command/acl/token/formatter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/command/acl/token/formatter_oss_test.go b/command/acl/token/formatter_oss_test.go index d825a5ee350a..32f5b0164bff 100644 --- a/command/acl/token/formatter_oss_test.go +++ b/command/acl/token/formatter_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/command/acl/token/formatter_test.go b/command/acl/token/formatter_test.go index a97fb346bc0b..2a5e5414d754 100644 --- a/command/acl/token/formatter_test.go +++ b/command/acl/token/formatter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/command/acl/token/list/token_list.go b/command/acl/token/list/token_list.go index 28c96122a1c3..4d7177dddf64 100644 --- a/command/acl/token/list/token_list.go +++ b/command/acl/token/list/token_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokenlist import ( diff --git a/command/acl/token/list/token_list_test.go b/command/acl/token/list/token_list_test.go index 4e1a518bf6d7..0a4441c47a56 100644 --- a/command/acl/token/list/token_list_test.go +++ b/command/acl/token/list/token_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokenlist import ( diff --git a/command/acl/token/read/token_read.go b/command/acl/token/read/token_read.go index 0554ccaccb52..c5798a8b9b31 100644 --- a/command/acl/token/read/token_read.go +++ b/command/acl/token/read/token_read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokenread import ( diff --git a/command/acl/token/read/token_read_test.go b/command/acl/token/read/token_read_test.go index 7988f9772ac9..ea2317b79fd6 100644 --- a/command/acl/token/read/token_read_test.go +++ b/command/acl/token/read/token_read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokenread import ( diff --git a/command/acl/token/token.go b/command/acl/token/token.go index 87ca60fd532d..e8bb0cd420b6 100644 --- a/command/acl/token/token.go +++ b/command/acl/token/token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/command/acl/token/update/token_update.go b/command/acl/token/update/token_update.go index 519a3da8d4e4..915c358d48ad 100644 --- a/command/acl/token/update/token_update.go +++ b/command/acl/token/update/token_update.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokenupdate import ( diff --git a/command/acl/token/update/token_update_test.go b/command/acl/token/update/token_update_test.go index 011e916f4fbf..b96d95d466e8 100644 --- a/command/acl/token/update/token_update_test.go +++ b/command/acl/token/update/token_update_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokenupdate import ( diff --git a/command/agent/agent.go b/command/agent/agent.go index 5c22b74033e9..356faf30d3f4 100644 --- a/command/agent/agent.go +++ b/command/agent/agent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/agent_test.go b/command/agent/agent_test.go index bb6d8837cf2d..a197c6ed4479 100644 --- a/command/agent/agent_test.go +++ b/command/agent/agent_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/startup_logger.go b/command/agent/startup_logger.go index f632b307f048..baa016a2a7b0 100644 --- a/command/agent/startup_logger.go +++ b/command/agent/startup_logger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/catalog/catalog.go b/command/catalog/catalog.go index 04e2e4fbecff..dbc229eb3522 100644 --- a/command/catalog/catalog.go +++ b/command/catalog/catalog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalog import ( diff --git a/command/catalog/catalog_test.go b/command/catalog/catalog_test.go index 9c5ffbdbafa8..5ff5ac40e2e3 100644 --- a/command/catalog/catalog_test.go +++ b/command/catalog/catalog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalog import ( diff --git a/command/catalog/helpers.go b/command/catalog/helpers.go index f0c4cc85074e..1d9ad1964d3d 100644 --- a/command/catalog/helpers.go +++ b/command/catalog/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalog import ( diff --git a/command/catalog/helpers_oss.go b/command/catalog/helpers_oss.go index bc70b3358bf1..5f60fd9b1312 100644 --- a/command/catalog/helpers_oss.go +++ b/command/catalog/helpers_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/command/catalog/list/dc/catalog_list_datacenters.go b/command/catalog/list/dc/catalog_list_datacenters.go index 3ab15253872e..7df18e7a8b70 100644 --- a/command/catalog/list/dc/catalog_list_datacenters.go +++ b/command/catalog/list/dc/catalog_list_datacenters.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dc import ( diff --git a/command/catalog/list/dc/catalog_list_datacenters_test.go b/command/catalog/list/dc/catalog_list_datacenters_test.go index 1fb4305d8590..6052db994117 100644 --- a/command/catalog/list/dc/catalog_list_datacenters_test.go +++ b/command/catalog/list/dc/catalog_list_datacenters_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dc import ( diff --git a/command/catalog/list/nodes/catalog_list_nodes.go b/command/catalog/list/nodes/catalog_list_nodes.go index e1dcb9596475..44760182cd1b 100644 --- a/command/catalog/list/nodes/catalog_list_nodes.go +++ b/command/catalog/list/nodes/catalog_list_nodes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package nodes import ( diff --git a/command/catalog/list/nodes/catalog_list_nodes_test.go b/command/catalog/list/nodes/catalog_list_nodes_test.go index 56b7bc6e1289..0bef492b7b77 100644 --- a/command/catalog/list/nodes/catalog_list_nodes_test.go +++ b/command/catalog/list/nodes/catalog_list_nodes_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package nodes import ( diff --git a/command/catalog/list/services/catalog_list_services.go b/command/catalog/list/services/catalog_list_services.go index 95359286b34e..029c8bae94f4 100644 --- a/command/catalog/list/services/catalog_list_services.go +++ b/command/catalog/list/services/catalog_list_services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package services import ( diff --git a/command/catalog/list/services/catalog_list_services_test.go b/command/catalog/list/services/catalog_list_services_test.go index 6e3d8dd15d56..28c7c0652e89 100644 --- a/command/catalog/list/services/catalog_list_services_test.go +++ b/command/catalog/list/services/catalog_list_services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package services import ( diff --git a/command/cli/cli.go b/command/cli/cli.go index 44cbf17b21e3..4afaeb279f66 100644 --- a/command/cli/cli.go +++ b/command/cli/cli.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cli import ( diff --git a/command/cli/formatting.go b/command/cli/formatting.go index 8df31bb90d26..11ca247e900b 100644 --- a/command/cli/formatting.go +++ b/command/cli/formatting.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cli import ( diff --git a/command/config/config.go b/command/config/config.go index be0566438118..65088cdf547a 100644 --- a/command/config/config.go +++ b/command/config/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/command/config/delete/config_delete.go b/command/config/delete/config_delete.go index caa21c0947c6..e9a9f97c7d83 100644 --- a/command/config/delete/config_delete.go +++ b/command/config/delete/config_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package delete import ( diff --git a/command/config/delete/config_delete_test.go b/command/config/delete/config_delete_test.go index d4f9b704ed40..66b5a47a71a2 100644 --- a/command/config/delete/config_delete_test.go +++ b/command/config/delete/config_delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package delete import ( diff --git a/command/config/list/config_list.go b/command/config/list/config_list.go index 3df95e3ceae8..46b0980174ef 100644 --- a/command/config/list/config_list.go +++ b/command/config/list/config_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package list import ( diff --git a/command/config/list/config_list_test.go b/command/config/list/config_list_test.go index fe24184f0b0f..79da797ed79c 100644 --- a/command/config/list/config_list_test.go +++ b/command/config/list/config_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package list import ( diff --git a/command/config/read/config_read.go b/command/config/read/config_read.go index afd30843ac4e..348d89373885 100644 --- a/command/config/read/config_read.go +++ b/command/config/read/config_read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package read import ( diff --git a/command/config/read/config_read_test.go b/command/config/read/config_read_test.go index 0b86621eff8f..074c0ee30d3b 100644 --- a/command/config/read/config_read_test.go +++ b/command/config/read/config_read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package read import ( diff --git a/command/config/write/config_write.go b/command/config/write/config_write.go index 0c377e6c4567..44e4b1311aad 100644 --- a/command/config/write/config_write.go +++ b/command/config/write/config_write.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package write import ( diff --git a/command/config/write/config_write_test.go b/command/config/write/config_write_test.go index 7671ffdea342..cf8933106b32 100644 --- a/command/config/write/config_write_test.go +++ b/command/config/write/config_write_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package write import ( diff --git a/command/connect/ca/ca.go b/command/connect/ca/ca.go index 9e9df7ad6b6c..f85ae17d6b8a 100644 --- a/command/connect/ca/ca.go +++ b/command/connect/ca/ca.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/command/connect/ca/ca_test.go b/command/connect/ca/ca_test.go index 31febd342c73..eb20f57c220d 100644 --- a/command/connect/ca/ca_test.go +++ b/command/connect/ca/ca_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/command/connect/ca/get/connect_ca_get.go b/command/connect/ca/get/connect_ca_get.go index 26bcb58240b5..a2a7c6cb8b48 100644 --- a/command/connect/ca/get/connect_ca_get.go +++ b/command/connect/ca/get/connect_ca_get.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package get import ( diff --git a/command/connect/ca/get/connect_ca_get_test.go b/command/connect/ca/get/connect_ca_get_test.go index 4793c1e07532..7d628fb2940d 100644 --- a/command/connect/ca/get/connect_ca_get_test.go +++ b/command/connect/ca/get/connect_ca_get_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package get import ( diff --git a/command/connect/ca/set/connect_ca_set.go b/command/connect/ca/set/connect_ca_set.go index 54f8854d5cc9..ca17f3e2129a 100644 --- a/command/connect/ca/set/connect_ca_set.go +++ b/command/connect/ca/set/connect_ca_set.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package set import ( diff --git a/command/connect/ca/set/connect_ca_set_test.go b/command/connect/ca/set/connect_ca_set_test.go index 76bb90e69892..1928a7dbd43f 100644 --- a/command/connect/ca/set/connect_ca_set_test.go +++ b/command/connect/ca/set/connect_ca_set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package set import ( diff --git a/command/connect/connect.go b/command/connect/connect.go index 60c238876698..675017291692 100644 --- a/command/connect/connect.go +++ b/command/connect/connect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/command/connect/connect_test.go b/command/connect/connect_test.go index 3f78c2b7a6d2..452207a96b65 100644 --- a/command/connect/connect_test.go +++ b/command/connect/connect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/command/connect/envoy/bootstrap_config.go b/command/connect/envoy/bootstrap_config.go index e88d83e6a0dd..337e1cf5db66 100644 --- a/command/connect/envoy/bootstrap_config.go +++ b/command/connect/envoy/bootstrap_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package envoy import ( diff --git a/command/connect/envoy/bootstrap_config_test.go b/command/connect/envoy/bootstrap_config_test.go index e5d9548e655c..d9d10803c1d6 100644 --- a/command/connect/envoy/bootstrap_config_test.go +++ b/command/connect/envoy/bootstrap_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package envoy import ( diff --git a/command/connect/envoy/bootstrap_tpl.go b/command/connect/envoy/bootstrap_tpl.go index 9e264fe9351b..78d88f9b1d11 100644 --- a/command/connect/envoy/bootstrap_tpl.go +++ b/command/connect/envoy/bootstrap_tpl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package envoy // BootstrapTplArgs is the set of arguments that may be interpolated into the diff --git a/command/connect/envoy/envoy.go b/command/connect/envoy/envoy.go index 0864ecc19973..4c1ff6b80a19 100644 --- a/command/connect/envoy/envoy.go +++ b/command/connect/envoy/envoy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package envoy import ( diff --git a/command/connect/envoy/envoy_oss_test.go b/command/connect/envoy/envoy_oss_test.go index 6bcd5581dcca..89e3fd303efe 100644 --- a/command/connect/envoy/envoy_oss_test.go +++ b/command/connect/envoy/envoy_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/command/connect/envoy/envoy_test.go b/command/connect/envoy/envoy_test.go index 8366d65974ea..ebfc30631173 100644 --- a/command/connect/envoy/envoy_test.go +++ b/command/connect/envoy/envoy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package envoy import ( diff --git a/command/connect/envoy/exec.go b/command/connect/envoy/exec.go index 53100e244caf..ffece038f71b 100644 --- a/command/connect/envoy/exec.go +++ b/command/connect/envoy/exec.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package envoy import ( diff --git a/command/connect/envoy/exec_test.go b/command/connect/envoy/exec_test.go index a6978ce5828d..3ffc89e2f24d 100644 --- a/command/connect/envoy/exec_test.go +++ b/command/connect/envoy/exec_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build linux || darwin // +build linux darwin diff --git a/command/connect/envoy/exec_unix.go b/command/connect/envoy/exec_unix.go index 9ab83eecfe1d..d3eb0765a9f9 100644 --- a/command/connect/envoy/exec_unix.go +++ b/command/connect/envoy/exec_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build linux || darwin // +build linux darwin diff --git a/command/connect/envoy/exec_unsupported.go b/command/connect/envoy/exec_unsupported.go index d22b4c8cdf23..c9686098983e 100644 --- a/command/connect/envoy/exec_unsupported.go +++ b/command/connect/envoy/exec_unsupported.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !linux && !darwin // +build !linux,!darwin diff --git a/command/connect/envoy/flags.go b/command/connect/envoy/flags.go index 78573f385d0a..eed9698c72fa 100644 --- a/command/connect/envoy/flags.go +++ b/command/connect/envoy/flags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package envoy import ( diff --git a/command/connect/envoy/flags_test.go b/command/connect/envoy/flags_test.go index ac5de0d9be86..617f85269125 100644 --- a/command/connect/envoy/flags_test.go +++ b/command/connect/envoy/flags_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package envoy import ( diff --git a/command/connect/envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap.go b/command/connect/envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap.go index 2685a6bb6a79..48cec90b8145 100644 --- a/command/connect/envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap.go +++ b/command/connect/envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pipebootstrap import ( diff --git a/command/connect/envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap_test.go b/command/connect/envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap_test.go index 76ed3157c969..8e8b982f61f8 100644 --- a/command/connect/envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap_test.go +++ b/command/connect/envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pipebootstrap import ( diff --git a/command/connect/expose/expose.go b/command/connect/expose/expose.go index 062a01afb7b1..0fe3e3de74a6 100644 --- a/command/connect/expose/expose.go +++ b/command/connect/expose/expose.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package expose import ( diff --git a/command/connect/expose/expose_test.go b/command/connect/expose/expose_test.go index 61434d6d1d13..9db76a765e82 100644 --- a/command/connect/expose/expose_test.go +++ b/command/connect/expose/expose_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package expose import ( diff --git a/command/connect/proxy/flag_upstreams.go b/command/connect/proxy/flag_upstreams.go index 1cc51bda691e..21a70c9b3c6b 100644 --- a/command/connect/proxy/flag_upstreams.go +++ b/command/connect/proxy/flag_upstreams.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/command/connect/proxy/flag_upstreams_test.go b/command/connect/proxy/flag_upstreams_test.go index 7a4eff276887..42647c98396d 100644 --- a/command/connect/proxy/flag_upstreams_test.go +++ b/command/connect/proxy/flag_upstreams_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/command/connect/proxy/proxy.go b/command/connect/proxy/proxy.go index a0477a6a1097..5cbaa7963eb5 100644 --- a/command/connect/proxy/proxy.go +++ b/command/connect/proxy/proxy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/command/connect/proxy/proxy_test.go b/command/connect/proxy/proxy_test.go index 28d5a9da212b..fc55eadcc9b4 100644 --- a/command/connect/proxy/proxy_test.go +++ b/command/connect/proxy/proxy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/command/connect/proxy/register.go b/command/connect/proxy/register.go index 62110d9e3ae0..c3051e0f9dd1 100644 --- a/command/connect/proxy/register.go +++ b/command/connect/proxy/register.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/command/connect/proxy/register_test.go b/command/connect/proxy/register_test.go index 159bafc9b5ac..c1845ac6256e 100644 --- a/command/connect/proxy/register_test.go +++ b/command/connect/proxy/register_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/command/connect/redirecttraffic/redirect_traffic.go b/command/connect/redirecttraffic/redirect_traffic.go index 8b979251fe78..5e92193f0b00 100644 --- a/command/connect/redirecttraffic/redirect_traffic.go +++ b/command/connect/redirecttraffic/redirect_traffic.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package redirecttraffic import ( diff --git a/command/connect/redirecttraffic/redirect_traffic_test.go b/command/connect/redirecttraffic/redirect_traffic_test.go index f592d4c739de..209cfcc35d8a 100644 --- a/command/connect/redirecttraffic/redirect_traffic_test.go +++ b/command/connect/redirecttraffic/redirect_traffic_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package redirecttraffic import ( diff --git a/command/debug/debug.go b/command/debug/debug.go index dd03286d68fc..38a02c26027b 100644 --- a/command/debug/debug.go +++ b/command/debug/debug.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package debug import ( diff --git a/command/debug/debug_test.go b/command/debug/debug_test.go index 612a243cc583..e916ee9e7f0d 100644 --- a/command/debug/debug_test.go +++ b/command/debug/debug_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package debug import ( diff --git a/command/event/event.go b/command/event/event.go index 0b12f72fcb12..5882b6005f68 100644 --- a/command/event/event.go +++ b/command/event/event.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/command/event/event_test.go b/command/event/event_test.go index ba645396af32..b267e8920a75 100644 --- a/command/event/event_test.go +++ b/command/event/event_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/command/exec/exec.go b/command/exec/exec.go index cac2effb65a7..140cdea300eb 100644 --- a/command/exec/exec.go +++ b/command/exec/exec.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exec import ( diff --git a/command/exec/exec_test.go b/command/exec/exec_test.go index 4c97a029aaa3..74f446d11ca7 100644 --- a/command/exec/exec_test.go +++ b/command/exec/exec_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exec import ( diff --git a/command/flags/config.go b/command/flags/config.go index be8f914364ab..162ffea5a22c 100644 --- a/command/flags/config.go +++ b/command/flags/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package flags import ( diff --git a/command/flags/config_test.go b/command/flags/config_test.go index 209b416e4a40..bc718f1dc5b9 100644 --- a/command/flags/config_test.go +++ b/command/flags/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package flags import ( diff --git a/command/flags/flag_map_value.go b/command/flags/flag_map_value.go index 8a8c3b6bd9c4..58afc9f5c365 100644 --- a/command/flags/flag_map_value.go +++ b/command/flags/flag_map_value.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package flags import ( diff --git a/command/flags/flag_map_value_test.go b/command/flags/flag_map_value_test.go index 4348d17961f2..4177f452afac 100644 --- a/command/flags/flag_map_value_test.go +++ b/command/flags/flag_map_value_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package flags import ( diff --git a/command/flags/flag_slice_value.go b/command/flags/flag_slice_value.go index a40fd1838ec3..b965b7654679 100644 --- a/command/flags/flag_slice_value.go +++ b/command/flags/flag_slice_value.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package flags import "strings" diff --git a/command/flags/flag_slice_value_test.go b/command/flags/flag_slice_value_test.go index 82dff4c377dc..84421f0f958a 100644 --- a/command/flags/flag_slice_value_test.go +++ b/command/flags/flag_slice_value_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package flags import ( diff --git a/command/flags/http.go b/command/flags/http.go index b4a2a9038c16..4c3a343927c1 100644 --- a/command/flags/http.go +++ b/command/flags/http.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package flags import ( diff --git a/command/flags/http_test.go b/command/flags/http_test.go index a144ebabd6b6..baf4ac231c8d 100644 --- a/command/flags/http_test.go +++ b/command/flags/http_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package flags import ( diff --git a/command/flags/merge.go b/command/flags/merge.go index 86b6c774c929..c7a475b4b1d5 100644 --- a/command/flags/merge.go +++ b/command/flags/merge.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package flags import "flag" diff --git a/command/flags/usage.go b/command/flags/usage.go index 646665947b9c..245cfd67c018 100644 --- a/command/flags/usage.go +++ b/command/flags/usage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package flags import ( diff --git a/command/forceleave/forceleave.go b/command/forceleave/forceleave.go index 513c17556702..1b3aac559f17 100644 --- a/command/forceleave/forceleave.go +++ b/command/forceleave/forceleave.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package forceleave import ( diff --git a/command/forceleave/forceleave_test.go b/command/forceleave/forceleave_test.go index f69059ca05f4..c29d2996b812 100644 --- a/command/forceleave/forceleave_test.go +++ b/command/forceleave/forceleave_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package forceleave import ( diff --git a/command/helpers/decode_shim.go b/command/helpers/decode_shim.go index b9153dc18006..20ca1faeaaa8 100644 --- a/command/helpers/decode_shim.go +++ b/command/helpers/decode_shim.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helpers import ( diff --git a/command/helpers/helpers.go b/command/helpers/helpers.go index 493c9ff4ab04..3720439df387 100644 --- a/command/helpers/helpers.go +++ b/command/helpers/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helpers import ( diff --git a/command/helpers/helpers_test.go b/command/helpers/helpers_test.go index e9fbeb071a19..8d8b2164f7e7 100644 --- a/command/helpers/helpers_test.go +++ b/command/helpers/helpers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helpers import ( diff --git a/command/info/info.go b/command/info/info.go index b8b3900c839f..de17a53dd0d5 100644 --- a/command/info/info.go +++ b/command/info/info.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package info import ( diff --git a/command/info/info_test.go b/command/info/info_test.go index f1ba8cd418c6..5e046df8c484 100644 --- a/command/info/info_test.go +++ b/command/info/info_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package info import ( diff --git a/command/intention/check/check.go b/command/intention/check/check.go index 18e4df76f7f6..ed8119170f47 100644 --- a/command/intention/check/check.go +++ b/command/intention/check/check.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package check import ( diff --git a/command/intention/check/check_test.go b/command/intention/check/check_test.go index 729e91354841..7ecac4a92f53 100644 --- a/command/intention/check/check_test.go +++ b/command/intention/check/check_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package check import ( diff --git a/command/intention/create/create.go b/command/intention/create/create.go index a890a0974644..c1eab7b0f12c 100644 --- a/command/intention/create/create.go +++ b/command/intention/create/create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package create import ( diff --git a/command/intention/create/create_test.go b/command/intention/create/create_test.go index 932dcbd88f54..e74c87c2bb67 100644 --- a/command/intention/create/create_test.go +++ b/command/intention/create/create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package create import ( diff --git a/command/intention/delete/delete.go b/command/intention/delete/delete.go index 3f5a3d394ee0..b63029d91d86 100644 --- a/command/intention/delete/delete.go +++ b/command/intention/delete/delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package delete import ( diff --git a/command/intention/delete/delete_test.go b/command/intention/delete/delete_test.go index 64758d989058..dedcf8ff2e7d 100644 --- a/command/intention/delete/delete_test.go +++ b/command/intention/delete/delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package delete import ( diff --git a/command/intention/format.go b/command/intention/format.go index 6e2146a9d7c4..868306320758 100644 --- a/command/intention/format.go +++ b/command/intention/format.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package intention import ( diff --git a/command/intention/get/get.go b/command/intention/get/get.go index 567268482408..1c2437962627 100644 --- a/command/intention/get/get.go +++ b/command/intention/get/get.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package get import ( diff --git a/command/intention/get/get_test.go b/command/intention/get/get_test.go index 2b06855f783e..6f6f31ee9e8b 100644 --- a/command/intention/get/get_test.go +++ b/command/intention/get/get_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package get import ( diff --git a/command/intention/helpers.go b/command/intention/helpers.go index c1d3a15b0b6d..60774da85c9f 100644 --- a/command/intention/helpers.go +++ b/command/intention/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package intention import ( diff --git a/command/intention/helpers_test.go b/command/intention/helpers_test.go index 50dc88b9bc51..11dff93b108b 100644 --- a/command/intention/helpers_test.go +++ b/command/intention/helpers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package intention import ( diff --git a/command/intention/intention.go b/command/intention/intention.go index 44cc7db42deb..450ec630a49e 100644 --- a/command/intention/intention.go +++ b/command/intention/intention.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package intention import ( diff --git a/command/intention/intention_test.go b/command/intention/intention_test.go index e697f537fd42..098fecfa938e 100644 --- a/command/intention/intention_test.go +++ b/command/intention/intention_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package intention import ( diff --git a/command/intention/list/intention_list.go b/command/intention/list/intention_list.go index fc0e0f98dcd4..f79f454dc79c 100644 --- a/command/intention/list/intention_list.go +++ b/command/intention/list/intention_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package list import ( diff --git a/command/intention/list/intention_list_test.go b/command/intention/list/intention_list_test.go index e96c78c9e622..2fea06ec9f73 100644 --- a/command/intention/list/intention_list_test.go +++ b/command/intention/list/intention_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package list import ( diff --git a/command/intention/match/match.go b/command/intention/match/match.go index 8678d708ade4..b6f00d1a0e88 100644 --- a/command/intention/match/match.go +++ b/command/intention/match/match.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package match import ( diff --git a/command/intention/match/match_test.go b/command/intention/match/match_test.go index 1c91bfd33d06..d2a69ceada58 100644 --- a/command/intention/match/match_test.go +++ b/command/intention/match/match_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package match import ( diff --git a/command/join/join.go b/command/join/join.go index 5e94adcd1d78..074813993d6a 100644 --- a/command/join/join.go +++ b/command/join/join.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package join import ( diff --git a/command/join/join_test.go b/command/join/join_test.go index 48b89b32ea09..e5d43c7cdea9 100644 --- a/command/join/join_test.go +++ b/command/join/join_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package join import ( diff --git a/command/keygen/keygen.go b/command/keygen/keygen.go index b232dd62bdd6..c7ab5337c02c 100644 --- a/command/keygen/keygen.go +++ b/command/keygen/keygen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keygen import ( diff --git a/command/keygen/keygen_test.go b/command/keygen/keygen_test.go index 288334496e2c..a78a07cfedf7 100644 --- a/command/keygen/keygen_test.go +++ b/command/keygen/keygen_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keygen import ( diff --git a/command/keyring/keyring.go b/command/keyring/keyring.go index b2f418c82b0f..2f9d96f0e266 100644 --- a/command/keyring/keyring.go +++ b/command/keyring/keyring.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keyring import ( diff --git a/command/keyring/keyring_test.go b/command/keyring/keyring_test.go index 166129fe00fd..5ee1b1a8752f 100644 --- a/command/keyring/keyring_test.go +++ b/command/keyring/keyring_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keyring import ( diff --git a/command/kv/del/kv_delete.go b/command/kv/del/kv_delete.go index f46691045b58..89bdde4508c0 100644 --- a/command/kv/del/kv_delete.go +++ b/command/kv/del/kv_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package del import ( diff --git a/command/kv/del/kv_delete_test.go b/command/kv/del/kv_delete_test.go index c85c651a1860..29d9b7bb98c4 100644 --- a/command/kv/del/kv_delete_test.go +++ b/command/kv/del/kv_delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package del import ( diff --git a/command/kv/exp/kv_export.go b/command/kv/exp/kv_export.go index 84f87f637db9..c14acd4424d4 100644 --- a/command/kv/exp/kv_export.go +++ b/command/kv/exp/kv_export.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exp import ( diff --git a/command/kv/exp/kv_export_test.go b/command/kv/exp/kv_export_test.go index 8944be83633c..96e1d469113f 100644 --- a/command/kv/exp/kv_export_test.go +++ b/command/kv/exp/kv_export_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exp import ( diff --git a/command/kv/get/kv_get.go b/command/kv/get/kv_get.go index aa93ef963b26..b53173c04863 100644 --- a/command/kv/get/kv_get.go +++ b/command/kv/get/kv_get.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package get import ( diff --git a/command/kv/get/kv_get_test.go b/command/kv/get/kv_get_test.go index 5143391ef035..92b6675b80a5 100644 --- a/command/kv/get/kv_get_test.go +++ b/command/kv/get/kv_get_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package get import ( diff --git a/command/kv/imp/kv_import.go b/command/kv/imp/kv_import.go index 0d8570dd60c5..b1e6841060e6 100644 --- a/command/kv/imp/kv_import.go +++ b/command/kv/imp/kv_import.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package imp import ( diff --git a/command/kv/imp/kv_import_test.go b/command/kv/imp/kv_import_test.go index 3be9d541822b..3528c2119abb 100644 --- a/command/kv/imp/kv_import_test.go +++ b/command/kv/imp/kv_import_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package imp import ( diff --git a/command/kv/impexp/kvimpexp.go b/command/kv/impexp/kvimpexp.go index 4f4c7e87e10b..3235439ee539 100644 --- a/command/kv/impexp/kvimpexp.go +++ b/command/kv/impexp/kvimpexp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package impexp import ( diff --git a/command/kv/kv.go b/command/kv/kv.go index 1a5d6a3452b2..3d98b63bdba3 100644 --- a/command/kv/kv.go +++ b/command/kv/kv.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kv import ( diff --git a/command/kv/kv_test.go b/command/kv/kv_test.go index 8a9bc25dfb8a..56ee94fa7e2d 100644 --- a/command/kv/kv_test.go +++ b/command/kv/kv_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kv import ( diff --git a/command/kv/put/kv_put.go b/command/kv/put/kv_put.go index 57df7c1c9b88..13e6ee4b9e8e 100644 --- a/command/kv/put/kv_put.go +++ b/command/kv/put/kv_put.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package put import ( diff --git a/command/kv/put/kv_put_test.go b/command/kv/put/kv_put_test.go index f0bee0cda155..bd07f5aab38f 100644 --- a/command/kv/put/kv_put_test.go +++ b/command/kv/put/kv_put_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package put import ( diff --git a/command/leave/leave.go b/command/leave/leave.go index 7653d717b7a3..d822b5fedc54 100644 --- a/command/leave/leave.go +++ b/command/leave/leave.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package leave import ( diff --git a/command/leave/leave_test.go b/command/leave/leave_test.go index 4cc82b57db96..67f16fefb74a 100644 --- a/command/leave/leave_test.go +++ b/command/leave/leave_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package leave import ( diff --git a/command/lock/lock.go b/command/lock/lock.go index dbf06d1d8b5c..f1acfd4f9093 100644 --- a/command/lock/lock.go +++ b/command/lock/lock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lock import ( diff --git a/command/lock/lock_test.go b/command/lock/lock_test.go index e9a03fc8809b..d90a7c0826c9 100644 --- a/command/lock/lock_test.go +++ b/command/lock/lock_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lock import ( diff --git a/command/lock/util_unix.go b/command/lock/util_unix.go index cc6902ff5ca7..3c754560b4e1 100644 --- a/command/lock/util_unix.go +++ b/command/lock/util_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/command/lock/util_windows.go b/command/lock/util_windows.go index 14547e345b2c..9a271af66d1d 100644 --- a/command/lock/util_windows.go +++ b/command/lock/util_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/command/login/aws.go b/command/login/aws.go index c0d2212dc7d1..99230679c13d 100644 --- a/command/login/aws.go +++ b/command/login/aws.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package login import ( diff --git a/command/login/login.go b/command/login/login.go index e4209eeda4af..18f2762c9954 100644 --- a/command/login/login.go +++ b/command/login/login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package login import ( diff --git a/command/login/login_oss.go b/command/login/login_oss.go index 22466d56f2d9..365d89dfd5de 100644 --- a/command/login/login_oss.go +++ b/command/login/login_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/command/login/login_test.go b/command/login/login_test.go index e7297ffe5102..918e1fcbff2f 100644 --- a/command/login/login_test.go +++ b/command/login/login_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package login import ( diff --git a/command/logout/logout.go b/command/logout/logout.go index 8edd8fd5fcfb..8ff8fb677892 100644 --- a/command/logout/logout.go +++ b/command/logout/logout.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logout import ( diff --git a/command/logout/logout_test.go b/command/logout/logout_test.go index 4ec8bf1d2085..1e3890bb8acb 100644 --- a/command/logout/logout_test.go +++ b/command/logout/logout_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logout import ( diff --git a/command/maint/maint.go b/command/maint/maint.go index fa11ca63de89..e9d189157b1f 100644 --- a/command/maint/maint.go +++ b/command/maint/maint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package maint import ( diff --git a/command/maint/maint_test.go b/command/maint/maint_test.go index 9e538eba9399..c182ecbdf3ab 100644 --- a/command/maint/maint_test.go +++ b/command/maint/maint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package maint import ( diff --git a/command/members/members.go b/command/members/members.go index 2541799cbc6d..e6be185e5328 100644 --- a/command/members/members.go +++ b/command/members/members.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package members import ( diff --git a/command/members/members_test.go b/command/members/members_test.go index c9a2d42b77d6..646c51ec6248 100644 --- a/command/members/members_test.go +++ b/command/members/members_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package members import ( diff --git a/command/monitor/monitor.go b/command/monitor/monitor.go index bd98012969b5..0703b34a0512 100644 --- a/command/monitor/monitor.go +++ b/command/monitor/monitor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package monitor import ( diff --git a/command/monitor/monitor_test.go b/command/monitor/monitor_test.go index 167d50c44ec1..61abfb6c9bf0 100644 --- a/command/monitor/monitor_test.go +++ b/command/monitor/monitor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package monitor import ( diff --git a/command/operator/autopilot/get/operator_autopilot_get.go b/command/operator/autopilot/get/operator_autopilot_get.go index d8943d84edbc..d89167278267 100644 --- a/command/operator/autopilot/get/operator_autopilot_get.go +++ b/command/operator/autopilot/get/operator_autopilot_get.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package get import ( diff --git a/command/operator/autopilot/get/operator_autopilot_get_test.go b/command/operator/autopilot/get/operator_autopilot_get_test.go index 6bde185d7bd0..fc5e0f12e1ae 100644 --- a/command/operator/autopilot/get/operator_autopilot_get_test.go +++ b/command/operator/autopilot/get/operator_autopilot_get_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package get import ( diff --git a/command/operator/autopilot/operator_autopilot.go b/command/operator/autopilot/operator_autopilot.go index 53a239a954c9..38d51641eb59 100644 --- a/command/operator/autopilot/operator_autopilot.go +++ b/command/operator/autopilot/operator_autopilot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autopilot import ( diff --git a/command/operator/autopilot/operator_autopilot_test.go b/command/operator/autopilot/operator_autopilot_test.go index e82008dcd608..9fa91f988b2f 100644 --- a/command/operator/autopilot/operator_autopilot_test.go +++ b/command/operator/autopilot/operator_autopilot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package autopilot import ( diff --git a/command/operator/autopilot/set/operator_autopilot_set.go b/command/operator/autopilot/set/operator_autopilot_set.go index b6f0041ab3eb..c396dd5d966c 100644 --- a/command/operator/autopilot/set/operator_autopilot_set.go +++ b/command/operator/autopilot/set/operator_autopilot_set.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package set import ( diff --git a/command/operator/autopilot/set/operator_autopilot_set_test.go b/command/operator/autopilot/set/operator_autopilot_set_test.go index 21963216fe17..c8d757bdbbc7 100644 --- a/command/operator/autopilot/set/operator_autopilot_set_test.go +++ b/command/operator/autopilot/set/operator_autopilot_set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package set import ( diff --git a/command/operator/autopilot/state/formatter.go b/command/operator/autopilot/state/formatter.go index cebc9e30d80e..f4e42a6578ed 100644 --- a/command/operator/autopilot/state/formatter.go +++ b/command/operator/autopilot/state/formatter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/command/operator/autopilot/state/operator_autopilot_state.go b/command/operator/autopilot/state/operator_autopilot_state.go index cf4aebd747b7..b5fd6d071886 100644 --- a/command/operator/autopilot/state/operator_autopilot_state.go +++ b/command/operator/autopilot/state/operator_autopilot_state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/command/operator/autopilot/state/operator_autopilot_state_test.go b/command/operator/autopilot/state/operator_autopilot_state_test.go index 332f53059c94..b18db7836d24 100644 --- a/command/operator/autopilot/state/operator_autopilot_state_test.go +++ b/command/operator/autopilot/state/operator_autopilot_state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/command/operator/operator.go b/command/operator/operator.go index d56881eee5cb..b66924d3cb71 100644 --- a/command/operator/operator.go +++ b/command/operator/operator.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operator import ( diff --git a/command/operator/operator_test.go b/command/operator/operator_test.go index f980e86096d8..822ffc52347d 100644 --- a/command/operator/operator_test.go +++ b/command/operator/operator_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operator import ( diff --git a/command/operator/raft/listpeers/operator_raft_list.go b/command/operator/raft/listpeers/operator_raft_list.go index 98934d8d0eb2..47bd161fed48 100644 --- a/command/operator/raft/listpeers/operator_raft_list.go +++ b/command/operator/raft/listpeers/operator_raft_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package listpeers import ( diff --git a/command/operator/raft/listpeers/operator_raft_list_test.go b/command/operator/raft/listpeers/operator_raft_list_test.go index 8d53e4945398..15bd1bfbe34f 100644 --- a/command/operator/raft/listpeers/operator_raft_list_test.go +++ b/command/operator/raft/listpeers/operator_raft_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package listpeers import ( diff --git a/command/operator/raft/operator_raft.go b/command/operator/raft/operator_raft.go index f3cedbc567ec..42b6175e974d 100644 --- a/command/operator/raft/operator_raft.go +++ b/command/operator/raft/operator_raft.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/command/operator/raft/operator_raft_test.go b/command/operator/raft/operator_raft_test.go index 2ede9936efe4..275606ab5aec 100644 --- a/command/operator/raft/operator_raft_test.go +++ b/command/operator/raft/operator_raft_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/command/operator/raft/removepeer/operator_raft_remove.go b/command/operator/raft/removepeer/operator_raft_remove.go index 7fcbc44a8138..eea10a045d9a 100644 --- a/command/operator/raft/removepeer/operator_raft_remove.go +++ b/command/operator/raft/removepeer/operator_raft_remove.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package removepeer import ( diff --git a/command/operator/raft/removepeer/operator_raft_remove_test.go b/command/operator/raft/removepeer/operator_raft_remove_test.go index b3390777140c..e81fc1474a38 100644 --- a/command/operator/raft/removepeer/operator_raft_remove_test.go +++ b/command/operator/raft/removepeer/operator_raft_remove_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package removepeer import ( diff --git a/command/operator/raft/transferleader/transfer_leader.go b/command/operator/raft/transferleader/transfer_leader.go index 31f8e208a014..9e3630c05601 100644 --- a/command/operator/raft/transferleader/transfer_leader.go +++ b/command/operator/raft/transferleader/transfer_leader.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transferleader import ( diff --git a/command/operator/raft/transferleader/transfer_leader_test.go b/command/operator/raft/transferleader/transfer_leader_test.go index b5979711989a..7c0fc4115dbc 100644 --- a/command/operator/raft/transferleader/transfer_leader_test.go +++ b/command/operator/raft/transferleader/transfer_leader_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transferleader import ( diff --git a/command/operator/usage/instances/usage_instances.go b/command/operator/usage/instances/usage_instances.go index c1c94caa69ba..5e8dba201ce8 100644 --- a/command/operator/usage/instances/usage_instances.go +++ b/command/operator/usage/instances/usage_instances.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package instances import ( diff --git a/command/operator/usage/instances/usage_instances_oss.go b/command/operator/usage/instances/usage_instances_oss.go index a6845630d6c6..dc9511b32ce2 100644 --- a/command/operator/usage/instances/usage_instances_oss.go +++ b/command/operator/usage/instances/usage_instances_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/command/operator/usage/instances/usage_instances_oss_test.go b/command/operator/usage/instances/usage_instances_oss_test.go index 01a6e5e57ac4..4f0686c47952 100644 --- a/command/operator/usage/instances/usage_instances_oss_test.go +++ b/command/operator/usage/instances/usage_instances_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/command/operator/usage/instances/usage_instances_test.go b/command/operator/usage/instances/usage_instances_test.go index 0f41b79aa0b8..8ad38e1b0c53 100644 --- a/command/operator/usage/instances/usage_instances_test.go +++ b/command/operator/usage/instances/usage_instances_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package instances import ( diff --git a/command/operator/usage/usage.go b/command/operator/usage/usage.go index ae0d01dbc6ed..3d733f8f36ff 100644 --- a/command/operator/usage/usage.go +++ b/command/operator/usage/usage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package usage import ( diff --git a/command/peering/delete/delete.go b/command/peering/delete/delete.go index cb9818900621..f4399b73ce2f 100644 --- a/command/peering/delete/delete.go +++ b/command/peering/delete/delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package delete import ( diff --git a/command/peering/delete/delete_test.go b/command/peering/delete/delete_test.go index 984e773f5738..56d0d495a897 100644 --- a/command/peering/delete/delete_test.go +++ b/command/peering/delete/delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package delete import ( diff --git a/command/peering/establish/establish.go b/command/peering/establish/establish.go index 14cd0e310e76..ef5178eecf8a 100644 --- a/command/peering/establish/establish.go +++ b/command/peering/establish/establish.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package establish import ( diff --git a/command/peering/establish/establish_test.go b/command/peering/establish/establish_test.go index f24ac2a265a5..515b727f78b6 100644 --- a/command/peering/establish/establish_test.go +++ b/command/peering/establish/establish_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package establish import ( diff --git a/command/peering/generate/generate.go b/command/peering/generate/generate.go index 5753b9b79e79..26410480f517 100644 --- a/command/peering/generate/generate.go +++ b/command/peering/generate/generate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package generate import ( diff --git a/command/peering/generate/generate_test.go b/command/peering/generate/generate_test.go index b23d664d84f3..529f46aacdf6 100644 --- a/command/peering/generate/generate_test.go +++ b/command/peering/generate/generate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package generate import ( diff --git a/command/peering/list/list.go b/command/peering/list/list.go index 8cdeea7a9836..87fb6bade599 100644 --- a/command/peering/list/list.go +++ b/command/peering/list/list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package list import ( diff --git a/command/peering/list/list_test.go b/command/peering/list/list_test.go index c015fc8e86bf..f923e6d2b761 100644 --- a/command/peering/list/list_test.go +++ b/command/peering/list/list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package list import ( diff --git a/command/peering/peering.go b/command/peering/peering.go index 1872f37387e0..2a4834e514c2 100644 --- a/command/peering/peering.go +++ b/command/peering/peering.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peering import ( diff --git a/command/peering/read/read.go b/command/peering/read/read.go index cef63e4fd3a3..ddd44cb4fe8b 100644 --- a/command/peering/read/read.go +++ b/command/peering/read/read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package read import ( diff --git a/command/peering/read/read_test.go b/command/peering/read/read_test.go index aac0e9e2f1cc..42b354466175 100644 --- a/command/peering/read/read_test.go +++ b/command/peering/read/read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package read import ( diff --git a/command/registry.go b/command/registry.go index 8def9aca96e0..55b9e9f8a11c 100644 --- a/command/registry.go +++ b/command/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/registry_oss.go b/command/registry_oss.go index cd5d2ee2e63c..2a7708221022 100644 --- a/command/registry_oss.go +++ b/command/registry_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/command/reload/reload.go b/command/reload/reload.go index 16fed1c7f866..b0989817fdc0 100644 --- a/command/reload/reload.go +++ b/command/reload/reload.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package reload import ( diff --git a/command/reload/reload_test.go b/command/reload/reload_test.go index ca6e60dec0cb..d75712c53934 100644 --- a/command/reload/reload_test.go +++ b/command/reload/reload_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package reload import ( diff --git a/command/rtt/rtt.go b/command/rtt/rtt.go index dfd50d9bf4db..f7a7414511d6 100644 --- a/command/rtt/rtt.go +++ b/command/rtt/rtt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rtt import ( diff --git a/command/rtt/rtt_test.go b/command/rtt/rtt_test.go index a5bf58a24bb9..8534fc1a59bc 100644 --- a/command/rtt/rtt_test.go +++ b/command/rtt/rtt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rtt import ( diff --git a/command/services/config.go b/command/services/config.go index 56a9562234c8..f881778956d6 100644 --- a/command/services/config.go +++ b/command/services/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package services import ( diff --git a/command/services/config_test.go b/command/services/config_test.go index 1647b9293425..f5d4290e9bf4 100644 --- a/command/services/config_test.go +++ b/command/services/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package services import ( diff --git a/command/services/deregister/deregister.go b/command/services/deregister/deregister.go index 3f352b36a68a..69a4ef9437d7 100644 --- a/command/services/deregister/deregister.go +++ b/command/services/deregister/deregister.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package deregister import ( diff --git a/command/services/deregister/deregister_test.go b/command/services/deregister/deregister_test.go index b2b7cf577eba..15d9ffddb22b 100644 --- a/command/services/deregister/deregister_test.go +++ b/command/services/deregister/deregister_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package deregister import ( diff --git a/command/services/register/register.go b/command/services/register/register.go index 33e5e2ab539b..6e5f7a0fcfa5 100644 --- a/command/services/register/register.go +++ b/command/services/register/register.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package register import ( diff --git a/command/services/register/register_test.go b/command/services/register/register_test.go index 80badaaad348..2004610cf50d 100644 --- a/command/services/register/register_test.go +++ b/command/services/register/register_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package register import ( diff --git a/command/services/services.go b/command/services/services.go index 0e050d77d3e4..9c12445def7e 100644 --- a/command/services/services.go +++ b/command/services/services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package services import ( diff --git a/command/services/services_test.go b/command/services/services_test.go index c7521718a33a..11a31cd16dbe 100644 --- a/command/services/services_test.go +++ b/command/services/services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package services import ( diff --git a/command/snapshot/inspect/formatter.go b/command/snapshot/inspect/formatter.go index 1258fb8502eb..2898bf174fb0 100644 --- a/command/snapshot/inspect/formatter.go +++ b/command/snapshot/inspect/formatter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inspect import ( diff --git a/command/snapshot/inspect/formatter_test.go b/command/snapshot/inspect/formatter_test.go index 428995a27c53..b55ea6b972a2 100644 --- a/command/snapshot/inspect/formatter_test.go +++ b/command/snapshot/inspect/formatter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inspect import ( diff --git a/command/snapshot/inspect/snapshot_inspect.go b/command/snapshot/inspect/snapshot_inspect.go index 2a09067a16b4..018d3f3dec34 100644 --- a/command/snapshot/inspect/snapshot_inspect.go +++ b/command/snapshot/inspect/snapshot_inspect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inspect import ( diff --git a/command/snapshot/inspect/snapshot_inspect_test.go b/command/snapshot/inspect/snapshot_inspect_test.go index 5c302c6a7aaf..f6a799078368 100644 --- a/command/snapshot/inspect/snapshot_inspect_test.go +++ b/command/snapshot/inspect/snapshot_inspect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inspect import ( diff --git a/command/snapshot/restore/snapshot_restore.go b/command/snapshot/restore/snapshot_restore.go index ae09f0f40b70..170e77685dc2 100644 --- a/command/snapshot/restore/snapshot_restore.go +++ b/command/snapshot/restore/snapshot_restore.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package restore import ( diff --git a/command/snapshot/restore/snapshot_restore_test.go b/command/snapshot/restore/snapshot_restore_test.go index 38a54967e1e9..076df99a6bdd 100644 --- a/command/snapshot/restore/snapshot_restore_test.go +++ b/command/snapshot/restore/snapshot_restore_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package restore import ( diff --git a/command/snapshot/save/snapshot_save.go b/command/snapshot/save/snapshot_save.go index e43dcb61263f..f250202be897 100644 --- a/command/snapshot/save/snapshot_save.go +++ b/command/snapshot/save/snapshot_save.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package save import ( diff --git a/command/snapshot/save/snapshot_save_test.go b/command/snapshot/save/snapshot_save_test.go index 3e964dbbf7e1..915ba5e5f5ee 100644 --- a/command/snapshot/save/snapshot_save_test.go +++ b/command/snapshot/save/snapshot_save_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package save import ( diff --git a/command/snapshot/snapshot_command.go b/command/snapshot/snapshot_command.go index 0ef9af526a7c..7378f5449f29 100644 --- a/command/snapshot/snapshot_command.go +++ b/command/snapshot/snapshot_command.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package snapshot import ( diff --git a/command/snapshot/snapshot_command_test.go b/command/snapshot/snapshot_command_test.go index 5ac6236bc6ca..99db9533a31d 100644 --- a/command/snapshot/snapshot_command_test.go +++ b/command/snapshot/snapshot_command_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package snapshot import ( diff --git a/command/tls/ca/create/tls_ca_create.go b/command/tls/ca/create/tls_ca_create.go index fd97acfd2c50..4c25f8aec7a2 100644 --- a/command/tls/ca/create/tls_ca_create.go +++ b/command/tls/ca/create/tls_ca_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package create import ( diff --git a/command/tls/ca/create/tls_ca_create_test.go b/command/tls/ca/create/tls_ca_create_test.go index 72292ee5b642..d9e837e56d7f 100644 --- a/command/tls/ca/create/tls_ca_create_test.go +++ b/command/tls/ca/create/tls_ca_create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package create import ( diff --git a/command/tls/ca/tls_ca.go b/command/tls/ca/tls_ca.go index 64fe986ccd38..65207c0dc8ba 100644 --- a/command/tls/ca/tls_ca.go +++ b/command/tls/ca/tls_ca.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/command/tls/ca/tls_ca_test.go b/command/tls/ca/tls_ca_test.go index eee5f400911e..74cd8de37da4 100644 --- a/command/tls/ca/tls_ca_test.go +++ b/command/tls/ca/tls_ca_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ca import ( diff --git a/command/tls/cert/create/tls_cert_create.go b/command/tls/cert/create/tls_cert_create.go index 75c9b1ada1fc..7af36bc986cd 100644 --- a/command/tls/cert/create/tls_cert_create.go +++ b/command/tls/cert/create/tls_cert_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package create import ( diff --git a/command/tls/cert/create/tls_cert_create_test.go b/command/tls/cert/create/tls_cert_create_test.go index e5134b1bd1ab..9f9fa1385a21 100644 --- a/command/tls/cert/create/tls_cert_create_test.go +++ b/command/tls/cert/create/tls_cert_create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package create import ( diff --git a/command/tls/cert/tls_cert.go b/command/tls/cert/tls_cert.go index d6fe01bddbe3..17795507e431 100644 --- a/command/tls/cert/tls_cert.go +++ b/command/tls/cert/tls_cert.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/command/tls/cert/tls_cert_test.go b/command/tls/cert/tls_cert_test.go index 958c7f76fa7c..ab5144813de6 100644 --- a/command/tls/cert/tls_cert_test.go +++ b/command/tls/cert/tls_cert_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/command/tls/tls.go b/command/tls/tls.go index c3a5e3545135..fda3c4a12331 100644 --- a/command/tls/tls.go +++ b/command/tls/tls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tls import ( diff --git a/command/tls/tls_test.go b/command/tls/tls_test.go index ccf8c22ac034..dd34df10fd28 100644 --- a/command/tls/tls_test.go +++ b/command/tls/tls_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tls import ( diff --git a/command/troubleshoot/proxy/troubleshoot_proxy.go b/command/troubleshoot/proxy/troubleshoot_proxy.go index 57d982dea0db..08928b9e5453 100644 --- a/command/troubleshoot/proxy/troubleshoot_proxy.go +++ b/command/troubleshoot/proxy/troubleshoot_proxy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/command/troubleshoot/troubleshoot.go b/command/troubleshoot/troubleshoot.go index 2935d52cf8d9..431c671ee732 100644 --- a/command/troubleshoot/troubleshoot.go +++ b/command/troubleshoot/troubleshoot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/command/troubleshoot/troubleshoot_test.go b/command/troubleshoot/troubleshoot_test.go index 65e0042753be..9ec2f68665a3 100644 --- a/command/troubleshoot/troubleshoot_test.go +++ b/command/troubleshoot/troubleshoot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/command/troubleshoot/upstreams/troubleshoot_upstreams.go b/command/troubleshoot/upstreams/troubleshoot_upstreams.go index 435630cdc9e9..19737c735330 100644 --- a/command/troubleshoot/upstreams/troubleshoot_upstreams.go +++ b/command/troubleshoot/upstreams/troubleshoot_upstreams.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package upstreams import ( diff --git a/command/validate/validate.go b/command/validate/validate.go index 67370b792c4d..a44120a89f8b 100644 --- a/command/validate/validate.go +++ b/command/validate/validate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/command/validate/validate_test.go b/command/validate/validate_test.go index 29091f1292c6..fdd0c7b2f2ff 100644 --- a/command/validate/validate_test.go +++ b/command/validate/validate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/command/version/formatter.go b/command/version/formatter.go index c5753f10597c..ee5540645725 100644 --- a/command/version/formatter.go +++ b/command/version/formatter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/command/version/formatter_test.go b/command/version/formatter_test.go index 094f8ede17be..b5c0bd2482b9 100644 --- a/command/version/formatter_test.go +++ b/command/version/formatter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/command/version/version.go b/command/version/version.go index 9cda50ed85f5..6dc42a7ec15a 100644 --- a/command/version/version.go +++ b/command/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/command/version/version_test.go b/command/version/version_test.go index d795f9715c01..45bd4fc6ac4c 100644 --- a/command/version/version_test.go +++ b/command/version/version_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/command/watch/watch.go b/command/watch/watch.go index f4e9211c9c6a..791f93a57cd4 100644 --- a/command/watch/watch.go +++ b/command/watch/watch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package watch import ( diff --git a/command/watch/watch_test.go b/command/watch/watch_test.go index 503a83dd038e..ed830a2aa7f3 100644 --- a/command/watch/watch_test.go +++ b/command/watch/watch_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package watch import (