Migrate credential-library nomenclature around targets to credential-source (#1413)

See the CHANGELOG entry for more information.

Co-authored-by: Jim <jlambert@hashicorp.com>

Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2021-07-27 12:48:36 -04:00
1 parent 528d54b4ad
commit ab6f3eaeb4
36 files changed
+3284 -673

No files matched your search

+10
View File
@@ -559,6 +559,10 @@ var inputStructs = []*structInfo{
inProto: &targets.CredentialLibrary{},
outFile: "targets/credential_library.gen.go",
},
{
inProto: &targets.CredentialSource{},
outFile: "targets/credential_source.gen.go",
},
{
inProto: &targets.SessionSecret{},
outFile: "targets/session_secret.gen.go",
@@ -606,6 +610,7 @@ var inputStructs = []*structInfo{
VarName: "hostSetIds",
},
"CredentialLibraries": {},
"CredentialSources": {},
},
extraOptions: []fieldInfo{
{
@@ -631,6 +636,11 @@ var inputStructs = []*structInfo{
ProtoName: "application_credential_library_ids",
FieldType: "[]string",
},
{
Name: "ApplicationCredentialSourceIds",
ProtoName: "application_credential_source_ids",
FieldType: "[]string",
},
},
versionEnabled: true,
typeOnCreate: true,