nginx-proxy-manager-zh/backend/internal/dnsproviders/dns_pdns.go
Jamie Curnow 5d3bc0fabd Refactor acme.sh dns providers
- updated chakra and typescript
- added locales for dns provider configs
2023-01-12 16:25:43 +10:00

37 lines
642 B
Go

package dnsproviders
func getDNSPDNS() Provider {
return Provider{
Title: "dns_pdns",
AdditionalProperties: false,
Required: []string{
"PDNS_Url",
"PDNS_ServerId",
"PDNS_Token",
"PDNS_Ttl",
},
Properties: map[string]providerField{
"PDNS_Url": {
Title: "url",
Type: "string",
MinLength: 1,
},
"PDNS_ServerId": {
Title: "server-id",
Type: "string",
MinLength: 1,
},
"PDNS_Token": {
Title: "token",
Type: "string",
MinLength: 1,
},
"PDNS_Ttl": {
Title: "ttl",
Type: "integer",
Minimum: 1,
},
},
}
}