Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acme ¶
type Acme struct { AccountEmail string `envconfig:"ACME_ACCOUNT_EMAIL" required:"true"` DNSChallengeProvider string `envconfig:"ACME_DNS_CHALLENGE_PROVIDER" required:"true"` DNSPropagationRequirement bool `envconfig:"ACME_DNS_PROPAGATION_REQUIREMENT" default:"true"` ReregisterAccount bool `envconfig:"ACME_REREGISTER_ACCOUNT" default:"false"` ServerURL string `envconfig:"ACME_SERVER_URL" default:"https://acme-staging-v02.api.letsencrypt.org/directory"` }
Acme contains acme related configuration parameters
type Config ¶
type Config struct { Acme Acme Vault Vault Log Log DNSAddress string `envconfig:"DNS_ADDRESS" default:"127.0.0.1:53"` Environment string `envconfig:"ENVIRONMENT" default:"prod"` DomainsFile string `envconfig:"CERTIFICATOR_DOMAINS_FILE" default:"/code/domains.yml"` RenewBeforeDays int `envconfig:"CERTIFICATOR_RENEW_BEFORE_DAYS" default:"30"` Domains []string `yaml:"domains"` }
Config contains all configuration parameters
func LoadConfig ¶
LoadConfig loads configuration options to variable
Click to show internal directories.
Click to hide internal directories.