package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Sep 15, 2024
License: MIT
Opens a new window with license information.
Imports: 4
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"`
Server string `yaml:"server"`
Storage string `yaml:"storage"`
}
type Config struct {
NS NS `yaml:"ns"`
SOA SOA `yaml:"soa"`
DNS DNS `yaml:"dns"`
HTTP HTTP `yaml:"http"`
Ingress Ingress `yaml:"ingress"`
Logging Logging `yaml:"logging"`
Providers Providers `yaml:"providers"`
}
type DNS struct {
Admin string `yaml:"admin"`
Listen string `yaml:"listen"`
NSName string `yaml:"nsname"`
Records map[string]Record `yaml:"records"`
Protocol string `yaml:"protocol"`
}
type File struct {
TLSKey string `yaml:"tlsKey"`
TLSCert string `yaml:"tlsCert"`
}
type HTTP struct {
TLS TLS `yaml:"tls"`
Domain string `yaml:"domain"`
Listen string `yaml:"listen"`
Username string `yaml:"username"`
Password string `yaml:"password"`
}
type Ingress struct {
IP string `yaml:"ip"`
}
type Logging struct {
Level string `yaml:"level"`
}
type NS struct {
IP string `yaml:"ip"`
}
type Providers struct {
ACME ACME `yaml:"acme"`
File File `yaml:"file"`
}
type Record struct {
Type string `yaml:"type"`
Value string `yaml:"value"`
}
type SOA struct {
Domain string `yaml:"domain"`
}
type TLS struct {
Mode string `yaml:"mode"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.