Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider wraps the provider implementation as a Caddy module.
func (Provider) CaddyModule ¶
func (Provider) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*Provider) Provision ¶ added in v1.0.2
Before using the provider config, resolve placeholders in the API token. Implements caddy.Provisioner.
func (*Provider) UnmarshalCaddyfile ¶
UnmarshalCaddyfile sets up the DNS provider from Caddyfile tokens. Syntax:
alidns {
access_key_id "<access_key_id>"
access_key_secret "<access_key_secret>"
region_id "<region_id,defaults to 'cn-hangzhou' if empty>"
security_token "<security_token, if you use the STS authorization it's required by aliyun>"
}