feat(handlers): CRUDL support for static Username-Password-Domain credentials

This commit is contained in:
Andrew Gaffney authored and irenarindos committed 2025-09-02 15:12:20 -04:00
1 parent e4dfa76c8e
commit f265ec4e5b
7 files changed
+724 -52

No files matched your search

+24
View File
@@ -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",