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

33 lines
615 B
Go
Raw Normal View History

2022-06-01 08:21:14 +00:00
package dnsproviders
func getDNSLoopia() Provider {
return Provider{
Title: "dns_loopia",
Type: "object",
AdditionalProperties: false,
Required: []string{
"LOOPIA_Api",
"LOOPIA_User",
"LOOPIA_Password",
},
Properties: map[string]providerField{
"LOOPIA_Api": {
Title: "api-url",
Type: "string",
MinLength: 4,
2022-06-01 08:21:14 +00:00
},
"LOOPIA_User": {
Title: "user",
Type: "string",
MinLength: 1,
2022-06-01 08:21:14 +00:00
},
"LOOPIA_Password": {
Title: "password",
Type: "string",
MinLength: 1,
IsSecret: true,
2022-06-01 08:21:14 +00:00
},
},
}
}