nginx-proxy-manager/backend/internal/dnsproviders/dns_autodns.go

33 lines
631 B
Go
Raw Normal View History

2022-06-01 04:57:20 +00:00
package dnsproviders
func getDNSAutoDNS() Provider {
return Provider{
Title: "dns_autodns",
Type: "object",
AdditionalProperties: false,
Required: []string{
"AUTODNS_USER",
"AUTODNS_PASSWORD",
"AUTODNS_CONTEXT",
},
Properties: map[string]providerField{
"AUTODNS_USER": {
Title: "user",
Type: "string",
MinLength: 1,
2022-06-01 04:57:20 +00:00
},
"AUTODNS_PASSWORD": {
Title: "password",
Type: "string",
MinLength: 1,
IsSecret: true,
2022-06-01 04:57:20 +00:00
},
"AUTODNS_CONTEXT": {
Title: "context",
Type: "string",
MinLength: 1,
2022-06-01 04:57:20 +00:00
},
},
}
}