package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Nov 3, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ACME struct {
Email string `yaml:"email" mapstructure:"EMAIL"`
Server string `yaml:"server" mapstructure:"SERVER"`
Storage string `yaml:"storage" mapstructure:"STORAGE"`
}
type Config struct {
NS NS `yaml:"ns" mapstructure:"NS"`
SOA SOA `yaml:"soa" mapstructure:"SOA"`
DNS DNS `yaml:"dns" mapstructure:"DNS"`
HTTP HTTP `yaml:"http" mapstructure:"HTTP"`
Ingress Ingress `yaml:"ingress" mapstructure:"INGRESS"`
Logging Logging `yaml:"logging" mapstructure:"LOGGING"`
Providers Providers `yaml:"providers" mapstructure:"PROVIDERS"`
}
type DNS struct {
Admin string `yaml:"admin" mapstructure:"ADMIN"`
Listen string `yaml:"listen" mapstructure:"LISTEN"`
NSName string `yaml:"nsname" mapstructure:"NSNAME"`
Records map[string]Record `yaml:"records" mapstructure:"RECORDS"`
Protocol string `yaml:"protocol" mapstructure:"PROTOCOL"`
}
type File struct {
TLSKey string `yaml:"tlsKey" mapstructure:"TLSKEY"`
TLSCert string `yaml:"tlsCert" mapstructure:"TLSCERT"`
}
type HTTP struct {
TLS TLS `yaml:"tls" mapstructure:"TLS"`
Domain string `yaml:"domain" mapstructure:"DOMAIN"`
Listen string `yaml:"listen" mapstructure:"LISTEN"`
}
type Ingress struct {
IP string `yaml:"ip" mapstructure:"IP"`
}
type Logging struct {
Level string `yaml:"level" mapstructure:"LEVEL"`
}
type NS struct {
IP string `yaml:"ip" mapstructure:"IP"`
}
type Providers struct {
ACME ACME `yaml:"acme" mapstructure:"ACME"`
File File `yaml:"file" mapstructure:"FILE"`
}
type Record struct {
Type string `yaml:"type" mapstructure:"TYPE"`
Value string `yaml:"value" mapstructure:"VALUE"`
}
type SOA struct {
Domain string `yaml:"domain" mapstructure:"DOMAIN"`
}
type TLS struct {
Mode string `yaml:"mode" mapstructure:"MODE"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.