feat(handlers): CRUDL support for static Username-Password-Domain credentials
This commit is contained in:
1 parent
e4dfa76c8e
commit
f265ec4e5b
7 files changed
+724
-52
No files matched your search
@@ -696,6 +696,30 @@ var inputStructs = []*structInfo{
|
||||
mapstructureConversionTemplate,
|
||||
},
|
||||
},
|
||||
{
|
||||
inProto: &credentials.UsernamePasswordDomainAttributes{},
|
||||
outFile: "credentials/username_password_domain_attributes.gen.go",
|
||||
subtypeName: "UsernamePasswordDomainCredential",
|
||||
subtype: "username_password_domain",
|
||||
fieldOverrides: []fieldInfo{
|
||||
{
|
||||
Name: "Username",
|
||||
SkipDefault: true,
|
||||
},
|
||||
{
|
||||
Name: "Password",
|
||||
SkipDefault: true,
|
||||
},
|
||||
{
|
||||
Name: "Domain",
|
||||
SkipDefault: true,
|
||||
},
|
||||
},
|
||||
parentTypeName: "Credential",
|
||||
templates: []*template.Template{
|
||||
mapstructureConversionTemplate,
|
||||
},
|
||||
},
|
||||
{
|
||||
inProto: &credentials.SshPrivateKeyAttributes{},
|
||||
outFile: "credentials/ssh_private_key_attributes.gen.go",
|
||||
|
||||
Reference in new issue
Block a user