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:
36 files changed
+3284
-673
No files matched your search
@@ -44,9 +44,12 @@ const (
|
||||
ChangeState Type = 33
|
||||
DeleteSelf Type = 34
|
||||
NoOp Type = 35
|
||||
AddCredentialLibraries Type = 36
|
||||
SetCredentialLibraries Type = 37
|
||||
RemoveCredentialLibraries Type = 38
|
||||
AddCredentialLibraries Type = 36 // DEPRECATED
|
||||
SetCredentialLibraries Type = 37 // DEPRECATED
|
||||
RemoveCredentialLibraries Type = 38 // DEPRECATED
|
||||
AddCredentialSources Type = 39
|
||||
SetCredentialSources Type = 40
|
||||
RemoveCredentialSources Type = 41
|
||||
)
|
||||
|
||||
var Map = map[string]Type{
|
||||
@@ -88,6 +91,9 @@ var Map = map[string]Type{
|
||||
AddCredentialLibraries.String(): AddCredentialLibraries,
|
||||
SetCredentialLibraries.String(): SetCredentialLibraries,
|
||||
RemoveCredentialLibraries.String(): RemoveCredentialLibraries,
|
||||
AddCredentialSources.String(): AddCredentialSources,
|
||||
SetCredentialSources.String(): SetCredentialSources,
|
||||
RemoveCredentialSources.String(): RemoveCredentialSources,
|
||||
}
|
||||
|
||||
func (a Type) String() string {
|
||||
@@ -131,6 +137,9 @@ func (a Type) String() string {
|
||||
"add-credential-libraries",
|
||||
"set-credential-libraries",
|
||||
"remove-credential-libraries",
|
||||
"add-credential-sources",
|
||||
"set-credential-sources",
|
||||
"remove-credential-sources",
|
||||
}[a]
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user