From a6fe1a5815a94ef62c2e6898e67ea604ccd87d0f Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 9 May 2023 12:03:54 -0400 Subject: [PATCH] Update gen templates for license/gen info (#3211) --- api/accounts/account.gen.go | 3 +++ api/accounts/ldap_account_attributes.gen.go | 3 +++ api/accounts/oidc_account_attributes.gen.go | 3 +++ api/accounts/option.gen.go | 1 + api/accounts/password_account_attributes.gen.go | 3 +++ api/authmethods/authmethods.gen.go | 3 +++ api/authmethods/ldap_auth_method_attributes.gen.go | 3 +++ api/authmethods/oidc_auth_method_attributes.gen.go | 3 +++ .../oidc_auth_method_authenticate_start_response.gen.go | 3 +++ api/authmethods/option.gen.go | 1 + api/authmethods/password_auth_method_attributes.gen.go | 3 +++ api/authtokens/authtokens.gen.go | 3 +++ api/authtokens/option.gen.go | 1 + api/credentiallibraries/credential_library.gen.go | 3 +++ api/credentiallibraries/option.gen.go | 1 + .../vault_credential_library_attributes.gen.go | 3 +++ ...ault_ssh_certificate_credential_library_attributes.gen.go | 3 +++ api/credentials/credential.gen.go | 3 +++ api/credentials/json_attributes.gen.go | 3 +++ api/credentials/option.gen.go | 1 + api/credentials/ssh_private_key_attributes.gen.go | 3 +++ api/credentials/username_password_attributes.gen.go | 3 +++ api/credentialstores/credential_store.gen.go | 3 +++ api/credentialstores/option.gen.go | 1 + .../vault_credential_store_attributes.gen.go | 3 +++ api/error.gen.go | 3 +++ api/error_details.gen.go | 3 +++ api/field_error.gen.go | 3 +++ api/groups/group.gen.go | 3 +++ api/groups/member.gen.go | 3 +++ api/groups/option.gen.go | 1 + api/hostcatalogs/host_catalog.gen.go | 3 +++ api/hostcatalogs/option.gen.go | 1 + api/hosts/host.gen.go | 3 +++ api/hosts/option.gen.go | 1 + api/hosts/static_host_attributes.gen.go | 3 +++ api/hostsets/host_set.gen.go | 3 +++ api/hostsets/option.gen.go | 1 + api/managedgroups/ldap_managed_group_attributes.gen.go | 3 +++ api/managedgroups/managedgroups.gen.go | 3 +++ api/managedgroups/oidc_managed_group_attributes.gen.go | 3 +++ api/managedgroups/option.gen.go | 1 + api/plugins/plugin_info.gen.go | 3 +++ api/roles/grant.gen.go | 3 +++ api/roles/grant_json.gen.go | 3 +++ api/roles/option.gen.go | 1 + api/roles/principal.gen.go | 3 +++ api/roles/role.gen.go | 3 +++ api/scopes/key.gen.go | 3 +++ api/scopes/key_version.gen.go | 3 +++ api/scopes/key_version_destruction_job.gen.go | 3 +++ api/scopes/option.gen.go | 1 + api/scopes/scope.gen.go | 3 +++ api/scopes/scope_info.gen.go | 3 +++ api/sessions/connection.gen.go | 3 +++ api/sessions/option.gen.go | 1 + api/sessions/session.gen.go | 3 +++ api/sessions/state.gen.go | 3 +++ api/targets/credential_source.gen.go | 3 +++ api/targets/host_source.gen.go | 3 +++ api/targets/option.gen.go | 1 + api/targets/session_authorization.gen.go | 3 +++ api/targets/session_credential.gen.go | 3 +++ api/targets/session_secret.gen.go | 3 +++ api/targets/ssh_target_attributes.gen.go | 3 +++ api/targets/target.gen.go | 3 +++ api/targets/tcp_target_attributes.gen.go | 3 +++ api/targets/worker_info.gen.go | 3 +++ api/users/account.gen.go | 3 +++ api/users/option.gen.go | 1 + api/users/user.gen.go | 3 +++ api/workers/certificate.gen.go | 3 +++ api/workers/certificate_authority.gen.go | 3 +++ api/workers/option.gen.go | 1 + api/workers/worker.gen.go | 3 +++ api/wrapped_error.gen.go | 3 +++ internal/api/genapi/templates.go | 5 ++++- internal/cmd/commands/accountscmd/accounts.gen.go | 3 +++ internal/cmd/commands/accountscmd/ldap_accounts.gen.go | 3 +++ internal/cmd/commands/accountscmd/oidc_accounts.gen.go | 3 +++ internal/cmd/commands/accountscmd/password_accounts.gen.go | 3 +++ internal/cmd/commands/authmethodscmd/authmethods.gen.go | 3 +++ internal/cmd/commands/authmethodscmd/ldap_authmethods.gen.go | 3 +++ internal/cmd/commands/authmethodscmd/oidc_authmethods.gen.go | 3 +++ .../cmd/commands/authmethodscmd/password_authmethods.gen.go | 3 +++ internal/cmd/commands/authtokenscmd/authtokens.gen.go | 3 +++ .../credentiallibrariescmd/credentiallibraries.gen.go | 3 +++ .../vault-generic_credentiallibraries.gen.go | 3 +++ .../vault-ssh-certificate_credentiallibraries.gen.go | 3 +++ .../credentiallibrariescmd/vault_credentiallibraries.gen.go | 3 +++ internal/cmd/commands/credentialscmd/credentials.gen.go | 3 +++ internal/cmd/commands/credentialscmd/json_credentials.gen.go | 3 +++ .../credentialscmd/ssh-private-key_credentials.gen.go | 3 +++ .../credentialscmd/username-password_credentials.gen.go | 3 +++ .../cmd/commands/credentialstorescmd/credentialstores.gen.go | 3 +++ .../credentialstorescmd/static_credentialstores.gen.go | 3 +++ .../credentialstorescmd/vault_credentialstores.gen.go | 3 +++ internal/cmd/commands/groupscmd/groups.gen.go | 3 +++ internal/cmd/commands/hostcatalogscmd/hostcatalogs.gen.go | 3 +++ .../cmd/commands/hostcatalogscmd/plugin_hostcatalogs.gen.go | 3 +++ .../cmd/commands/hostcatalogscmd/static_hostcatalogs.gen.go | 3 +++ internal/cmd/commands/hostscmd/hosts.gen.go | 3 +++ internal/cmd/commands/hostscmd/static_hosts.gen.go | 3 +++ internal/cmd/commands/hostsetscmd/hostsets.gen.go | 3 +++ internal/cmd/commands/hostsetscmd/plugin_hostsets.gen.go | 3 +++ internal/cmd/commands/hostsetscmd/static_hostsets.gen.go | 3 +++ .../cmd/commands/managedgroupscmd/ldap_managedgroups.gen.go | 3 +++ internal/cmd/commands/managedgroupscmd/managedgroups.gen.go | 3 +++ .../cmd/commands/managedgroupscmd/oidc_managedgroups.gen.go | 3 +++ internal/cmd/commands/rolescmd/roles.gen.go | 3 +++ internal/cmd/commands/scopescmd/scopes.gen.go | 3 +++ internal/cmd/commands/sessionscmd/sessions.gen.go | 3 +++ internal/cmd/commands/targetscmd/ssh_targets.gen.go | 3 +++ internal/cmd/commands/targetscmd/targets.gen.go | 3 +++ internal/cmd/commands/targetscmd/tcp_targets.gen.go | 3 +++ internal/cmd/commands/userscmd/users.gen.go | 3 +++ .../cmd/commands/workerscmd/controller-led_workers.gen.go | 3 +++ internal/cmd/commands/workerscmd/worker-led_workers.gen.go | 3 +++ internal/cmd/commands/workerscmd/workers.gen.go | 3 +++ internal/cmd/gencli/templates.go | 3 +++ 120 files changed, 327 insertions(+), 1 deletion(-) diff --git a/api/accounts/account.gen.go b/api/accounts/account.gen.go index d28fcc2d4..60c694438 100644 --- a/api/accounts/account.gen.go +++ b/api/accounts/account.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts import ( diff --git a/api/accounts/ldap_account_attributes.gen.go b/api/accounts/ldap_account_attributes.gen.go index d7628ff9a..784323c0e 100644 --- a/api/accounts/ldap_account_attributes.gen.go +++ b/api/accounts/ldap_account_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts import ( diff --git a/api/accounts/oidc_account_attributes.gen.go b/api/accounts/oidc_account_attributes.gen.go index ffb6d77e7..64f8f4a0a 100644 --- a/api/accounts/oidc_account_attributes.gen.go +++ b/api/accounts/oidc_account_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts import ( diff --git a/api/accounts/option.gen.go b/api/accounts/option.gen.go index 4a1d66bc9..7d6ef1955 100644 --- a/api/accounts/option.gen.go +++ b/api/accounts/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/accounts/password_account_attributes.gen.go b/api/accounts/password_account_attributes.gen.go index 36d3e364d..9c5ce52aa 100644 --- a/api/accounts/password_account_attributes.gen.go +++ b/api/accounts/password_account_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts import ( diff --git a/api/authmethods/authmethods.gen.go b/api/authmethods/authmethods.gen.go index 580ce8722..51369be29 100644 --- a/api/authmethods/authmethods.gen.go +++ b/api/authmethods/authmethods.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/api/authmethods/ldap_auth_method_attributes.gen.go b/api/authmethods/ldap_auth_method_attributes.gen.go index ffe8900a6..b4feed64a 100644 --- a/api/authmethods/ldap_auth_method_attributes.gen.go +++ b/api/authmethods/ldap_auth_method_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/api/authmethods/oidc_auth_method_attributes.gen.go b/api/authmethods/oidc_auth_method_attributes.gen.go index f928e8b05..d2bac7fe8 100644 --- a/api/authmethods/oidc_auth_method_attributes.gen.go +++ b/api/authmethods/oidc_auth_method_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/api/authmethods/oidc_auth_method_authenticate_start_response.gen.go b/api/authmethods/oidc_auth_method_authenticate_start_response.gen.go index e06876b2a..ccb87c8ea 100644 --- a/api/authmethods/oidc_auth_method_authenticate_start_response.gen.go +++ b/api/authmethods/oidc_auth_method_authenticate_start_response.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods type OidcAuthMethodAuthenticateStartResponse struct { diff --git a/api/authmethods/option.gen.go b/api/authmethods/option.gen.go index 4f793f7c5..abd7b2293 100644 --- a/api/authmethods/option.gen.go +++ b/api/authmethods/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/authmethods/password_auth_method_attributes.gen.go b/api/authmethods/password_auth_method_attributes.gen.go index d2cad94e8..2f9582b49 100644 --- a/api/authmethods/password_auth_method_attributes.gen.go +++ b/api/authmethods/password_auth_method_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/api/authtokens/authtokens.gen.go b/api/authtokens/authtokens.gen.go index b2c52714e..f95ea76f6 100644 --- a/api/authtokens/authtokens.gen.go +++ b/api/authtokens/authtokens.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtokens import ( diff --git a/api/authtokens/option.gen.go b/api/authtokens/option.gen.go index 6d99380d0..de4d894d4 100644 --- a/api/authtokens/option.gen.go +++ b/api/authtokens/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/credentiallibraries/credential_library.gen.go b/api/credentiallibraries/credential_library.gen.go index ba315aa1c..6a43b5e15 100644 --- a/api/credentiallibraries/credential_library.gen.go +++ b/api/credentiallibraries/credential_library.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibraries import ( diff --git a/api/credentiallibraries/option.gen.go b/api/credentiallibraries/option.gen.go index 0f4984a79..4f14dcf4b 100644 --- a/api/credentiallibraries/option.gen.go +++ b/api/credentiallibraries/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/credentiallibraries/vault_credential_library_attributes.gen.go b/api/credentiallibraries/vault_credential_library_attributes.gen.go index 8c7f359da..916f3d596 100644 --- a/api/credentiallibraries/vault_credential_library_attributes.gen.go +++ b/api/credentiallibraries/vault_credential_library_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibraries import ( diff --git a/api/credentiallibraries/vault_ssh_certificate_credential_library_attributes.gen.go b/api/credentiallibraries/vault_ssh_certificate_credential_library_attributes.gen.go index 534e6f2f2..784d02597 100644 --- a/api/credentiallibraries/vault_ssh_certificate_credential_library_attributes.gen.go +++ b/api/credentiallibraries/vault_ssh_certificate_credential_library_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibraries import ( diff --git a/api/credentials/credential.gen.go b/api/credentials/credential.gen.go index 2e6c77d22..c0df55609 100644 --- a/api/credentials/credential.gen.go +++ b/api/credentials/credential.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentials import ( diff --git a/api/credentials/json_attributes.gen.go b/api/credentials/json_attributes.gen.go index 9101419ff..d5a050670 100644 --- a/api/credentials/json_attributes.gen.go +++ b/api/credentials/json_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentials import ( diff --git a/api/credentials/option.gen.go b/api/credentials/option.gen.go index cef82da4d..201ae595c 100644 --- a/api/credentials/option.gen.go +++ b/api/credentials/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/credentials/ssh_private_key_attributes.gen.go b/api/credentials/ssh_private_key_attributes.gen.go index 891743c8a..26e8466a9 100644 --- a/api/credentials/ssh_private_key_attributes.gen.go +++ b/api/credentials/ssh_private_key_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentials import ( diff --git a/api/credentials/username_password_attributes.gen.go b/api/credentials/username_password_attributes.gen.go index 0feaa5fb1..0a3dd4cdd 100644 --- a/api/credentials/username_password_attributes.gen.go +++ b/api/credentials/username_password_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentials import ( diff --git a/api/credentialstores/credential_store.gen.go b/api/credentialstores/credential_store.gen.go index ffbe958e5..a0dbb8a92 100644 --- a/api/credentialstores/credential_store.gen.go +++ b/api/credentialstores/credential_store.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstores import ( diff --git a/api/credentialstores/option.gen.go b/api/credentialstores/option.gen.go index 6a91acf13..4b590b6d9 100644 --- a/api/credentialstores/option.gen.go +++ b/api/credentialstores/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/credentialstores/vault_credential_store_attributes.gen.go b/api/credentialstores/vault_credential_store_attributes.gen.go index e642356fb..b64ea3b95 100644 --- a/api/credentialstores/vault_credential_store_attributes.gen.go +++ b/api/credentialstores/vault_credential_store_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstores import ( diff --git a/api/error.gen.go b/api/error.gen.go index 25fb4c592..648d76f80 100644 --- a/api/error.gen.go +++ b/api/error.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api type Error struct { diff --git a/api/error_details.gen.go b/api/error_details.gen.go index 8666db695..75ac72c7e 100644 --- a/api/error_details.gen.go +++ b/api/error_details.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api type ErrorDetails struct { diff --git a/api/field_error.gen.go b/api/field_error.gen.go index 80ad72883..1082f26f8 100644 --- a/api/field_error.gen.go +++ b/api/field_error.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api type FieldError struct { diff --git a/api/groups/group.gen.go b/api/groups/group.gen.go index 706aee997..80a6e950a 100644 --- a/api/groups/group.gen.go +++ b/api/groups/group.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package groups import ( diff --git a/api/groups/member.gen.go b/api/groups/member.gen.go index 351a66d54..8c96cfd15 100644 --- a/api/groups/member.gen.go +++ b/api/groups/member.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package groups type Member struct { diff --git a/api/groups/option.gen.go b/api/groups/option.gen.go index 8475ff894..c6259f86a 100644 --- a/api/groups/option.gen.go +++ b/api/groups/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/hostcatalogs/host_catalog.gen.go b/api/hostcatalogs/host_catalog.gen.go index 48afd83e0..7776ec691 100644 --- a/api/hostcatalogs/host_catalog.gen.go +++ b/api/hostcatalogs/host_catalog.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogs import ( diff --git a/api/hostcatalogs/option.gen.go b/api/hostcatalogs/option.gen.go index 8ee7dfac4..5ef7ca49e 100644 --- a/api/hostcatalogs/option.gen.go +++ b/api/hostcatalogs/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/hosts/host.gen.go b/api/hosts/host.gen.go index 5fcef2e7f..3758db64c 100644 --- a/api/hosts/host.gen.go +++ b/api/hosts/host.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hosts import ( diff --git a/api/hosts/option.gen.go b/api/hosts/option.gen.go index 76127f049..6e8da1836 100644 --- a/api/hosts/option.gen.go +++ b/api/hosts/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/hosts/static_host_attributes.gen.go b/api/hosts/static_host_attributes.gen.go index f42aeb7b7..9662d8f85 100644 --- a/api/hosts/static_host_attributes.gen.go +++ b/api/hosts/static_host_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hosts import ( diff --git a/api/hostsets/host_set.gen.go b/api/hostsets/host_set.gen.go index 80e214e0d..e4ca5850b 100644 --- a/api/hostsets/host_set.gen.go +++ b/api/hostsets/host_set.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostsets import ( diff --git a/api/hostsets/option.gen.go b/api/hostsets/option.gen.go index 8d5a7f3f6..e17f8c745 100644 --- a/api/hostsets/option.gen.go +++ b/api/hostsets/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/managedgroups/ldap_managed_group_attributes.gen.go b/api/managedgroups/ldap_managed_group_attributes.gen.go index 3eeef101a..e93193849 100644 --- a/api/managedgroups/ldap_managed_group_attributes.gen.go +++ b/api/managedgroups/ldap_managed_group_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroups import ( diff --git a/api/managedgroups/managedgroups.gen.go b/api/managedgroups/managedgroups.gen.go index ce767f589..be4fb3d72 100644 --- a/api/managedgroups/managedgroups.gen.go +++ b/api/managedgroups/managedgroups.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroups import ( diff --git a/api/managedgroups/oidc_managed_group_attributes.gen.go b/api/managedgroups/oidc_managed_group_attributes.gen.go index 5c40f988e..e60f94623 100644 --- a/api/managedgroups/oidc_managed_group_attributes.gen.go +++ b/api/managedgroups/oidc_managed_group_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroups import ( diff --git a/api/managedgroups/option.gen.go b/api/managedgroups/option.gen.go index da6ab607d..82e2c7ad7 100644 --- a/api/managedgroups/option.gen.go +++ b/api/managedgroups/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/plugins/plugin_info.gen.go b/api/plugins/plugin_info.gen.go index 2eb390ddd..5e7d9d5cb 100644 --- a/api/plugins/plugin_info.gen.go +++ b/api/plugins/plugin_info.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugins type PluginInfo struct { diff --git a/api/roles/grant.gen.go b/api/roles/grant.gen.go index 79da581f7..ce8569f82 100644 --- a/api/roles/grant.gen.go +++ b/api/roles/grant.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roles type Grant struct { diff --git a/api/roles/grant_json.gen.go b/api/roles/grant_json.gen.go index 310a1d0d2..6612a5cf1 100644 --- a/api/roles/grant_json.gen.go +++ b/api/roles/grant_json.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roles type GrantJson struct { diff --git a/api/roles/option.gen.go b/api/roles/option.gen.go index 54622bc65..a2ae65784 100644 --- a/api/roles/option.gen.go +++ b/api/roles/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/roles/principal.gen.go b/api/roles/principal.gen.go index 9419e507e..236a65d11 100644 --- a/api/roles/principal.gen.go +++ b/api/roles/principal.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roles type Principal struct { diff --git a/api/roles/role.gen.go b/api/roles/role.gen.go index ec9d1120f..33e189f94 100644 --- a/api/roles/role.gen.go +++ b/api/roles/role.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roles import ( diff --git a/api/scopes/key.gen.go b/api/scopes/key.gen.go index 8d3a75196..f940eead1 100644 --- a/api/scopes/key.gen.go +++ b/api/scopes/key.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes import ( diff --git a/api/scopes/key_version.gen.go b/api/scopes/key_version.gen.go index d0ef1d464..618be43cf 100644 --- a/api/scopes/key_version.gen.go +++ b/api/scopes/key_version.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes import ( diff --git a/api/scopes/key_version_destruction_job.gen.go b/api/scopes/key_version_destruction_job.gen.go index dc4dc9600..7191d534f 100644 --- a/api/scopes/key_version_destruction_job.gen.go +++ b/api/scopes/key_version_destruction_job.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes import ( diff --git a/api/scopes/option.gen.go b/api/scopes/option.gen.go index a332ab5b3..a28f2493d 100644 --- a/api/scopes/option.gen.go +++ b/api/scopes/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/scopes/scope.gen.go b/api/scopes/scope.gen.go index bb1606a02..b71068fdf 100644 --- a/api/scopes/scope.gen.go +++ b/api/scopes/scope.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes import ( diff --git a/api/scopes/scope_info.gen.go b/api/scopes/scope_info.gen.go index 62d35119e..b6caf59d3 100644 --- a/api/scopes/scope_info.gen.go +++ b/api/scopes/scope_info.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes type ScopeInfo struct { diff --git a/api/sessions/connection.gen.go b/api/sessions/connection.gen.go index 177685f47..f38cc1dbb 100644 --- a/api/sessions/connection.gen.go +++ b/api/sessions/connection.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessions type Connection struct { diff --git a/api/sessions/option.gen.go b/api/sessions/option.gen.go index d9ebfdaf5..4f91a4c51 100644 --- a/api/sessions/option.gen.go +++ b/api/sessions/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/sessions/session.gen.go b/api/sessions/session.gen.go index 092030541..03916ad06 100644 --- a/api/sessions/session.gen.go +++ b/api/sessions/session.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessions import ( diff --git a/api/sessions/state.gen.go b/api/sessions/state.gen.go index c9810948c..7dd7b3b0a 100644 --- a/api/sessions/state.gen.go +++ b/api/sessions/state.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessions import ( diff --git a/api/targets/credential_source.gen.go b/api/targets/credential_source.gen.go index 6d7a5c423..6da24739e 100644 --- a/api/targets/credential_source.gen.go +++ b/api/targets/credential_source.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets type CredentialSource struct { diff --git a/api/targets/host_source.gen.go b/api/targets/host_source.gen.go index 507d7c9e5..dc0b75821 100644 --- a/api/targets/host_source.gen.go +++ b/api/targets/host_source.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets type HostSource struct { diff --git a/api/targets/option.gen.go b/api/targets/option.gen.go index 0db90dc72..9dcb61341 100644 --- a/api/targets/option.gen.go +++ b/api/targets/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/targets/session_authorization.gen.go b/api/targets/session_authorization.gen.go index 61d877fae..711fe1612 100644 --- a/api/targets/session_authorization.gen.go +++ b/api/targets/session_authorization.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import ( diff --git a/api/targets/session_credential.gen.go b/api/targets/session_credential.gen.go index 06a2739cd..f72872087 100644 --- a/api/targets/session_credential.gen.go +++ b/api/targets/session_credential.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets type SessionCredential struct { diff --git a/api/targets/session_secret.gen.go b/api/targets/session_secret.gen.go index cb77792c2..4665b276e 100644 --- a/api/targets/session_secret.gen.go +++ b/api/targets/session_secret.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import "encoding/json" diff --git a/api/targets/ssh_target_attributes.gen.go b/api/targets/ssh_target_attributes.gen.go index 833f52dcb..1cfe58c00 100644 --- a/api/targets/ssh_target_attributes.gen.go +++ b/api/targets/ssh_target_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import ( diff --git a/api/targets/target.gen.go b/api/targets/target.gen.go index 24f789f80..6441f4a03 100644 --- a/api/targets/target.gen.go +++ b/api/targets/target.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import ( diff --git a/api/targets/tcp_target_attributes.gen.go b/api/targets/tcp_target_attributes.gen.go index e64e6fe11..9a6793d70 100644 --- a/api/targets/tcp_target_attributes.gen.go +++ b/api/targets/tcp_target_attributes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import ( diff --git a/api/targets/worker_info.gen.go b/api/targets/worker_info.gen.go index df00afeb1..3cf0f46b1 100644 --- a/api/targets/worker_info.gen.go +++ b/api/targets/worker_info.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets type WorkerInfo struct { diff --git a/api/users/account.gen.go b/api/users/account.gen.go index 5d7c76e97..108aa9b29 100644 --- a/api/users/account.gen.go +++ b/api/users/account.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package users type Account struct { diff --git a/api/users/option.gen.go b/api/users/option.gen.go index 0fbb73e68..0762d1b35 100644 --- a/api/users/option.gen.go +++ b/api/users/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/users/user.gen.go b/api/users/user.gen.go index 6c315add6..6df55ba96 100644 --- a/api/users/user.gen.go +++ b/api/users/user.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package users import ( diff --git a/api/workers/certificate.gen.go b/api/workers/certificate.gen.go index 6527a3277..589cbbf6e 100644 --- a/api/workers/certificate.gen.go +++ b/api/workers/certificate.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workers import ( diff --git a/api/workers/certificate_authority.gen.go b/api/workers/certificate_authority.gen.go index eb14c28b2..a896dc12d 100644 --- a/api/workers/certificate_authority.gen.go +++ b/api/workers/certificate_authority.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workers import ( diff --git a/api/workers/option.gen.go b/api/workers/option.gen.go index c5d60d8d2..bdaa57224 100644 --- a/api/workers/option.gen.go +++ b/api/workers/option.gen.go @@ -1,3 +1,4 @@ +// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/api/workers/worker.gen.go b/api/workers/worker.gen.go index b116f0667..8d6743e77 100644 --- a/api/workers/worker.gen.go +++ b/api/workers/worker.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workers import ( diff --git a/api/wrapped_error.gen.go b/api/wrapped_error.gen.go index 3d2789dec..88e8365ca 100644 --- a/api/wrapped_error.gen.go +++ b/api/wrapped_error.gen.go @@ -1,4 +1,7 @@ // Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api type WrappedError struct { diff --git a/internal/api/genapi/templates.go b/internal/api/genapi/templates.go index dd88d08bf..3105b807a 100644 --- a/internal/api/genapi/templates.go +++ b/internal/api/genapi/templates.go @@ -589,6 +589,9 @@ var structTemplate = template.Must(template.New("").Funcs( }, ).Parse( fmt.Sprint(`// Code generated by "make api"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package {{ .Package }} import ( @@ -683,7 +686,7 @@ var optionTemplate = template.Must(template.New("").Funcs( "makeSlice": makeSlice, "removeDups": removeDups, }, -).Parse(` +).Parse(`// Code generated by "make api"; DO NOT EDIT. // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/cmd/commands/accountscmd/accounts.gen.go b/internal/cmd/commands/accountscmd/accounts.gen.go index 8c54686bf..a95e33e0f 100644 --- a/internal/cmd/commands/accountscmd/accounts.gen.go +++ b/internal/cmd/commands/accountscmd/accounts.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accountscmd import ( diff --git a/internal/cmd/commands/accountscmd/ldap_accounts.gen.go b/internal/cmd/commands/accountscmd/ldap_accounts.gen.go index c5d8b8546..b72277dbb 100644 --- a/internal/cmd/commands/accountscmd/ldap_accounts.gen.go +++ b/internal/cmd/commands/accountscmd/ldap_accounts.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accountscmd import ( diff --git a/internal/cmd/commands/accountscmd/oidc_accounts.gen.go b/internal/cmd/commands/accountscmd/oidc_accounts.gen.go index a49b3eb00..860745cdc 100644 --- a/internal/cmd/commands/accountscmd/oidc_accounts.gen.go +++ b/internal/cmd/commands/accountscmd/oidc_accounts.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accountscmd import ( diff --git a/internal/cmd/commands/accountscmd/password_accounts.gen.go b/internal/cmd/commands/accountscmd/password_accounts.gen.go index 8936959c2..858bd8300 100644 --- a/internal/cmd/commands/accountscmd/password_accounts.gen.go +++ b/internal/cmd/commands/accountscmd/password_accounts.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accountscmd import ( diff --git a/internal/cmd/commands/authmethodscmd/authmethods.gen.go b/internal/cmd/commands/authmethodscmd/authmethods.gen.go index fbeae3ed7..b7214a306 100644 --- a/internal/cmd/commands/authmethodscmd/authmethods.gen.go +++ b/internal/cmd/commands/authmethodscmd/authmethods.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodscmd import ( diff --git a/internal/cmd/commands/authmethodscmd/ldap_authmethods.gen.go b/internal/cmd/commands/authmethodscmd/ldap_authmethods.gen.go index 852ccbeef..caa1895db 100644 --- a/internal/cmd/commands/authmethodscmd/ldap_authmethods.gen.go +++ b/internal/cmd/commands/authmethodscmd/ldap_authmethods.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodscmd import ( diff --git a/internal/cmd/commands/authmethodscmd/oidc_authmethods.gen.go b/internal/cmd/commands/authmethodscmd/oidc_authmethods.gen.go index 29534844f..fccf09859 100644 --- a/internal/cmd/commands/authmethodscmd/oidc_authmethods.gen.go +++ b/internal/cmd/commands/authmethodscmd/oidc_authmethods.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodscmd import ( diff --git a/internal/cmd/commands/authmethodscmd/password_authmethods.gen.go b/internal/cmd/commands/authmethodscmd/password_authmethods.gen.go index bc54be4ba..0805a1d2a 100644 --- a/internal/cmd/commands/authmethodscmd/password_authmethods.gen.go +++ b/internal/cmd/commands/authmethodscmd/password_authmethods.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodscmd import ( diff --git a/internal/cmd/commands/authtokenscmd/authtokens.gen.go b/internal/cmd/commands/authtokenscmd/authtokens.gen.go index f7cffee04..e3fee4514 100644 --- a/internal/cmd/commands/authtokenscmd/authtokens.gen.go +++ b/internal/cmd/commands/authtokenscmd/authtokens.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtokenscmd import ( diff --git a/internal/cmd/commands/credentiallibrariescmd/credentiallibraries.gen.go b/internal/cmd/commands/credentiallibrariescmd/credentiallibraries.gen.go index d48ebc03b..cc635a09c 100644 --- a/internal/cmd/commands/credentiallibrariescmd/credentiallibraries.gen.go +++ b/internal/cmd/commands/credentiallibrariescmd/credentiallibraries.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibrariescmd import ( diff --git a/internal/cmd/commands/credentiallibrariescmd/vault-generic_credentiallibraries.gen.go b/internal/cmd/commands/credentiallibrariescmd/vault-generic_credentiallibraries.gen.go index 9e01caa5f..6fbb23d24 100644 --- a/internal/cmd/commands/credentiallibrariescmd/vault-generic_credentiallibraries.gen.go +++ b/internal/cmd/commands/credentiallibrariescmd/vault-generic_credentiallibraries.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibrariescmd import ( diff --git a/internal/cmd/commands/credentiallibrariescmd/vault-ssh-certificate_credentiallibraries.gen.go b/internal/cmd/commands/credentiallibrariescmd/vault-ssh-certificate_credentiallibraries.gen.go index ac6a0de59..9530c7098 100644 --- a/internal/cmd/commands/credentiallibrariescmd/vault-ssh-certificate_credentiallibraries.gen.go +++ b/internal/cmd/commands/credentiallibrariescmd/vault-ssh-certificate_credentiallibraries.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibrariescmd import ( diff --git a/internal/cmd/commands/credentiallibrariescmd/vault_credentiallibraries.gen.go b/internal/cmd/commands/credentiallibrariescmd/vault_credentiallibraries.gen.go index 9ae6e542c..b5df800bc 100644 --- a/internal/cmd/commands/credentiallibrariescmd/vault_credentiallibraries.gen.go +++ b/internal/cmd/commands/credentiallibrariescmd/vault_credentiallibraries.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibrariescmd import ( diff --git a/internal/cmd/commands/credentialscmd/credentials.gen.go b/internal/cmd/commands/credentialscmd/credentials.gen.go index a66838705..6f126a1e7 100644 --- a/internal/cmd/commands/credentialscmd/credentials.gen.go +++ b/internal/cmd/commands/credentialscmd/credentials.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialscmd import ( diff --git a/internal/cmd/commands/credentialscmd/json_credentials.gen.go b/internal/cmd/commands/credentialscmd/json_credentials.gen.go index 7a1221427..8896091ce 100644 --- a/internal/cmd/commands/credentialscmd/json_credentials.gen.go +++ b/internal/cmd/commands/credentialscmd/json_credentials.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialscmd import ( diff --git a/internal/cmd/commands/credentialscmd/ssh-private-key_credentials.gen.go b/internal/cmd/commands/credentialscmd/ssh-private-key_credentials.gen.go index 7dd7d48ca..7356495ae 100644 --- a/internal/cmd/commands/credentialscmd/ssh-private-key_credentials.gen.go +++ b/internal/cmd/commands/credentialscmd/ssh-private-key_credentials.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialscmd import ( diff --git a/internal/cmd/commands/credentialscmd/username-password_credentials.gen.go b/internal/cmd/commands/credentialscmd/username-password_credentials.gen.go index 8bb664b0f..c8d0a5f23 100644 --- a/internal/cmd/commands/credentialscmd/username-password_credentials.gen.go +++ b/internal/cmd/commands/credentialscmd/username-password_credentials.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialscmd import ( diff --git a/internal/cmd/commands/credentialstorescmd/credentialstores.gen.go b/internal/cmd/commands/credentialstorescmd/credentialstores.gen.go index 799028dca..b8c152b85 100644 --- a/internal/cmd/commands/credentialstorescmd/credentialstores.gen.go +++ b/internal/cmd/commands/credentialstorescmd/credentialstores.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstorescmd import ( diff --git a/internal/cmd/commands/credentialstorescmd/static_credentialstores.gen.go b/internal/cmd/commands/credentialstorescmd/static_credentialstores.gen.go index 2f7b33246..5b911a21e 100644 --- a/internal/cmd/commands/credentialstorescmd/static_credentialstores.gen.go +++ b/internal/cmd/commands/credentialstorescmd/static_credentialstores.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstorescmd import ( diff --git a/internal/cmd/commands/credentialstorescmd/vault_credentialstores.gen.go b/internal/cmd/commands/credentialstorescmd/vault_credentialstores.gen.go index 256eb4181..187d7b1a8 100644 --- a/internal/cmd/commands/credentialstorescmd/vault_credentialstores.gen.go +++ b/internal/cmd/commands/credentialstorescmd/vault_credentialstores.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstorescmd import ( diff --git a/internal/cmd/commands/groupscmd/groups.gen.go b/internal/cmd/commands/groupscmd/groups.gen.go index 19c54c99a..8d5217a99 100644 --- a/internal/cmd/commands/groupscmd/groups.gen.go +++ b/internal/cmd/commands/groupscmd/groups.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package groupscmd import ( diff --git a/internal/cmd/commands/hostcatalogscmd/hostcatalogs.gen.go b/internal/cmd/commands/hostcatalogscmd/hostcatalogs.gen.go index 1d9f899a3..f74ab5e9b 100644 --- a/internal/cmd/commands/hostcatalogscmd/hostcatalogs.gen.go +++ b/internal/cmd/commands/hostcatalogscmd/hostcatalogs.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogscmd import ( diff --git a/internal/cmd/commands/hostcatalogscmd/plugin_hostcatalogs.gen.go b/internal/cmd/commands/hostcatalogscmd/plugin_hostcatalogs.gen.go index 41445e8e2..b41aa4f99 100644 --- a/internal/cmd/commands/hostcatalogscmd/plugin_hostcatalogs.gen.go +++ b/internal/cmd/commands/hostcatalogscmd/plugin_hostcatalogs.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogscmd import ( diff --git a/internal/cmd/commands/hostcatalogscmd/static_hostcatalogs.gen.go b/internal/cmd/commands/hostcatalogscmd/static_hostcatalogs.gen.go index 6c3980dba..e6cd6c06d 100644 --- a/internal/cmd/commands/hostcatalogscmd/static_hostcatalogs.gen.go +++ b/internal/cmd/commands/hostcatalogscmd/static_hostcatalogs.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogscmd import ( diff --git a/internal/cmd/commands/hostscmd/hosts.gen.go b/internal/cmd/commands/hostscmd/hosts.gen.go index db5fe6ab0..7b521bf12 100644 --- a/internal/cmd/commands/hostscmd/hosts.gen.go +++ b/internal/cmd/commands/hostscmd/hosts.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostscmd import ( diff --git a/internal/cmd/commands/hostscmd/static_hosts.gen.go b/internal/cmd/commands/hostscmd/static_hosts.gen.go index 2af64b76e..189e6f840 100644 --- a/internal/cmd/commands/hostscmd/static_hosts.gen.go +++ b/internal/cmd/commands/hostscmd/static_hosts.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostscmd import ( diff --git a/internal/cmd/commands/hostsetscmd/hostsets.gen.go b/internal/cmd/commands/hostsetscmd/hostsets.gen.go index afc0891e6..1b2fe79f5 100644 --- a/internal/cmd/commands/hostsetscmd/hostsets.gen.go +++ b/internal/cmd/commands/hostsetscmd/hostsets.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostsetscmd import ( diff --git a/internal/cmd/commands/hostsetscmd/plugin_hostsets.gen.go b/internal/cmd/commands/hostsetscmd/plugin_hostsets.gen.go index e83d37d4d..cee5f3657 100644 --- a/internal/cmd/commands/hostsetscmd/plugin_hostsets.gen.go +++ b/internal/cmd/commands/hostsetscmd/plugin_hostsets.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostsetscmd import ( diff --git a/internal/cmd/commands/hostsetscmd/static_hostsets.gen.go b/internal/cmd/commands/hostsetscmd/static_hostsets.gen.go index 1f0906d8d..bba809832 100644 --- a/internal/cmd/commands/hostsetscmd/static_hostsets.gen.go +++ b/internal/cmd/commands/hostsetscmd/static_hostsets.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostsetscmd import ( diff --git a/internal/cmd/commands/managedgroupscmd/ldap_managedgroups.gen.go b/internal/cmd/commands/managedgroupscmd/ldap_managedgroups.gen.go index 158288990..a24bf533b 100644 --- a/internal/cmd/commands/managedgroupscmd/ldap_managedgroups.gen.go +++ b/internal/cmd/commands/managedgroupscmd/ldap_managedgroups.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroupscmd import ( diff --git a/internal/cmd/commands/managedgroupscmd/managedgroups.gen.go b/internal/cmd/commands/managedgroupscmd/managedgroups.gen.go index eb3a6d2f8..63c163706 100644 --- a/internal/cmd/commands/managedgroupscmd/managedgroups.gen.go +++ b/internal/cmd/commands/managedgroupscmd/managedgroups.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroupscmd import ( diff --git a/internal/cmd/commands/managedgroupscmd/oidc_managedgroups.gen.go b/internal/cmd/commands/managedgroupscmd/oidc_managedgroups.gen.go index c0b1e44aa..684428668 100644 --- a/internal/cmd/commands/managedgroupscmd/oidc_managedgroups.gen.go +++ b/internal/cmd/commands/managedgroupscmd/oidc_managedgroups.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroupscmd import ( diff --git a/internal/cmd/commands/rolescmd/roles.gen.go b/internal/cmd/commands/rolescmd/roles.gen.go index 9aaab02c4..a7dfcfe48 100644 --- a/internal/cmd/commands/rolescmd/roles.gen.go +++ b/internal/cmd/commands/rolescmd/roles.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rolescmd import ( diff --git a/internal/cmd/commands/scopescmd/scopes.gen.go b/internal/cmd/commands/scopescmd/scopes.gen.go index e00bcd08b..1fdcdbda6 100644 --- a/internal/cmd/commands/scopescmd/scopes.gen.go +++ b/internal/cmd/commands/scopescmd/scopes.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopescmd import ( diff --git a/internal/cmd/commands/sessionscmd/sessions.gen.go b/internal/cmd/commands/sessionscmd/sessions.gen.go index 1e656bca5..315276039 100644 --- a/internal/cmd/commands/sessionscmd/sessions.gen.go +++ b/internal/cmd/commands/sessionscmd/sessions.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessionscmd import ( diff --git a/internal/cmd/commands/targetscmd/ssh_targets.gen.go b/internal/cmd/commands/targetscmd/ssh_targets.gen.go index 73fa4c1d2..430f255e6 100644 --- a/internal/cmd/commands/targetscmd/ssh_targets.gen.go +++ b/internal/cmd/commands/targetscmd/ssh_targets.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targetscmd import ( diff --git a/internal/cmd/commands/targetscmd/targets.gen.go b/internal/cmd/commands/targetscmd/targets.gen.go index 0922e2abe..fab2e320b 100644 --- a/internal/cmd/commands/targetscmd/targets.gen.go +++ b/internal/cmd/commands/targetscmd/targets.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targetscmd import ( diff --git a/internal/cmd/commands/targetscmd/tcp_targets.gen.go b/internal/cmd/commands/targetscmd/tcp_targets.gen.go index f682b1a00..c7a3e6042 100644 --- a/internal/cmd/commands/targetscmd/tcp_targets.gen.go +++ b/internal/cmd/commands/targetscmd/tcp_targets.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targetscmd import ( diff --git a/internal/cmd/commands/userscmd/users.gen.go b/internal/cmd/commands/userscmd/users.gen.go index 0cec31494..185be1696 100644 --- a/internal/cmd/commands/userscmd/users.gen.go +++ b/internal/cmd/commands/userscmd/users.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userscmd import ( diff --git a/internal/cmd/commands/workerscmd/controller-led_workers.gen.go b/internal/cmd/commands/workerscmd/controller-led_workers.gen.go index ddc627d89..1404b9711 100644 --- a/internal/cmd/commands/workerscmd/controller-led_workers.gen.go +++ b/internal/cmd/commands/workerscmd/controller-led_workers.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workerscmd import ( diff --git a/internal/cmd/commands/workerscmd/worker-led_workers.gen.go b/internal/cmd/commands/workerscmd/worker-led_workers.gen.go index bc74407c2..8c8534a0c 100644 --- a/internal/cmd/commands/workerscmd/worker-led_workers.gen.go +++ b/internal/cmd/commands/workerscmd/worker-led_workers.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workerscmd import ( diff --git a/internal/cmd/commands/workerscmd/workers.gen.go b/internal/cmd/commands/workerscmd/workers.gen.go index 49707659b..25470f2e7 100644 --- a/internal/cmd/commands/workerscmd/workers.gen.go +++ b/internal/cmd/commands/workerscmd/workers.gen.go @@ -1,4 +1,7 @@ // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workerscmd import ( diff --git a/internal/cmd/gencli/templates.go b/internal/cmd/gencli/templates.go index 498b342f1..bf12ce8ac 100644 --- a/internal/cmd/gencli/templates.go +++ b/internal/cmd/gencli/templates.go @@ -84,6 +84,9 @@ var cmdTemplate = template.Must(template.New("").Funcs( }, ).Parse(`{{ $input := . }} // Code generated by "make cli"; DO NOT EDIT. +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package {{ .Pkg }}cmd import (