nginx-proxy-manager/backend/internal/dnsproviders/dns_servercow.go
2023-01-13 10:09:26 +10:00

27 lines
546 B
Go

package dnsproviders
func getDNSServercow() Provider {
return Provider{
Title: "dns_servercow",
Type: "object",
AdditionalProperties: false,
Required: []string{
"SERVERCOW_API_Username",
"SERVERCOW_API_Password",
},
Properties: map[string]providerField{
"SERVERCOW_API_Username": {
Title: "user",
Type: "string",
MinLength: 1,
},
"SERVERCOW_API_Password": {
Title: "password",
Type: "string",
MinLength: 1,
IsSecret: true,
},
},
}
}