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 ¶
Before using the provider config, resolve placeholders in the API credentials. Implements caddy.Provisioner.
func (*Provider) UnmarshalCaddyfile ¶
UnmarshalCaddyfile sets up the DNS provider from Caddyfile tokens. Syntax:
edgeone {
secret_id "<secret_id>"
secret_key "<secret_key>"
session_token "<session_token>" // optional
region "<region>" // optional
}