mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-12-02 18:31:23 +01:00
Moved v3 code from NginxProxyManager/nginx-proxy-manager-3 to NginxProxyManager/nginx-proxy-manager
This commit is contained in:
1 parent
4db34f5894
commit
2110ecc382
830 files changed
+38168
-36635
No files matched your search
@@ -0,0 +1,58 @@
|
||||
package dnsproviders
|
||||
|
||||
const dynSchema = `
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"customer",
|
||||
"username",
|
||||
"password"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
func getDNSDyn() Provider {
|
||||
return Provider{
|
||||
AcmeshName: "dns_dyn",
|
||||
Schema: dynSchema,
|
||||
Fields: []providerField{
|
||||
{
|
||||
Name: "Customer",
|
||||
Type: "text",
|
||||
MetaKey: "customer",
|
||||
EnvKey: "DYN_Customer",
|
||||
IsRequired: true,
|
||||
},
|
||||
{
|
||||
Name: "Username",
|
||||
Type: "text",
|
||||
MetaKey: "username",
|
||||
EnvKey: "DYN_Username",
|
||||
IsRequired: true,
|
||||
},
|
||||
{
|
||||
Name: "Password",
|
||||
Type: "password",
|
||||
MetaKey: "password",
|
||||
EnvKey: "DYN_Password",
|
||||
IsRequired: true,
|
||||
IsSecret: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user