Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientFromEnv ¶
func NewDockerBackend ¶
Types ¶
type Config ¶
type Config struct {
ConfDir string `mapstructure:"confDir" yaml:"confDir"`
Domains []*domainConf `mapstructure:"domains" yaml:"domains"`
Ports []*portConf `mapstructure:"ports" yaml:"ports"`
SS struct {
URL string `mapstructure:"url" yaml:"url"`
} `mapstructure:"ss" yaml:"ss"`
Network string `mapstructure:"network" yaml:"network"`
Labels []*labelConf `mapstructure:"labels" yaml:"labels"`
TLS struct {
CertResolver string `mapstructure:"certResolver" yaml:"certResolver"`
Wildcard struct {
Domains domain.WildcardDomains `mapstructure:"domains" yaml:"domains"`
} `mapstructure:"wildcard" yaml:"wildcard"`
} `mapstructure:"tls" yaml:"tls"`
Resources struct {
CPUs float64 `mapstructure:"cpus" yaml:"cpus"`
Memory int64 `mapstructure:"memory" yaml:"memory"`
MemorySwap int64 `mapstructure:"memorySwap" yaml:"memorySwap"`
MemoryReservation int64 `mapstructure:"memoryReservation" yaml:"memoryReservation"`
} `mapstructure:"resources" yaml:"resources"`
}
Click to show internal directories.
Click to hide internal directories.