feat(cli): Add password credential CLI commands (#6117)
This commit is contained in:
1 parent
11c4fd7580
commit
d4f7bd55d1
11 files changed
+676
-84
No files matched your search
@@ -692,6 +692,22 @@ var inputStructs = []*structInfo{
|
||||
versionEnabled: true,
|
||||
createResponseTypes: []string{CreateResponseType, ReadResponseType, UpdateResponseType, DeleteResponseType, ListResponseType},
|
||||
},
|
||||
{
|
||||
inProto: &credentials.PasswordAttributes{},
|
||||
outFile: "credentials/password_attributes.gen.go",
|
||||
subtypeName: "PasswordCredential",
|
||||
subtype: "password",
|
||||
fieldOverrides: []fieldInfo{
|
||||
{
|
||||
Name: "Password",
|
||||
SkipDefault: true,
|
||||
},
|
||||
},
|
||||
parentTypeName: "Credential",
|
||||
templates: []*template.Template{
|
||||
mapstructureConversionTemplate,
|
||||
},
|
||||
},
|
||||
{
|
||||
inProto: &credentials.UsernamePasswordAttributes{},
|
||||
outFile: "credentials/username_password_attributes.gen.go",
|
||||
@@ -1294,6 +1310,15 @@ var inputStructs = []*structInfo{
|
||||
inProto: &session_recordings.Credential{},
|
||||
outFile: "sessionrecordings/credential.gen.go",
|
||||
},
|
||||
{
|
||||
inProto: &session_recordings.PasswordCredentialAttributes{},
|
||||
outFile: "sessionrecordings/password_credential_attributes.gen.go",
|
||||
subtype: "password",
|
||||
parentTypeName: "Credential",
|
||||
templates: []*template.Template{
|
||||
mapstructureConversionTemplate,
|
||||
},
|
||||
},
|
||||
{
|
||||
inProto: &session_recordings.UsernamePasswordCredentialAttributes{},
|
||||
outFile: "sessionrecordings/username_password_credential_attributes.gen.go",
|
||||
|
||||
Reference in new issue
Block a user