Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port int `hcl:"port,optional"`
Bind string `hcl:"bind,optional"`
LogLevel string `hcl:"log_level,optional"`
Tls *ProxyTLS `hcl:"tls,block"`
Nomad *NomadServer `hcl:"nomad,block"`
Validators []Validator `hcl:"validator,block"`
Mutators []Mutator `hcl:"mutator,block"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
func LoadConfig ¶
type NomadServer ¶
type NomadServer struct {
Address string `hcl:"address"`
TLS *NomadServerTLS `hcl:"tls,block"`
}
type NomadServerTLS ¶
Click to show internal directories.
Click to hide internal directories.