package
Version:
v2.11.0+incompatible
Opens a new window with list of versions in this module.
Published: Jul 31, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Command string `yaml:"Command" validate:"nonzero"`
Port int `yaml:"Port" validate:"nonzero"`
PidFile string `yaml:"PidFile" validate:"nonzero"`
Credentials Credentials `yaml:"Credentials" validate:"nonzero"`
TLS TLSConfig `yaml:"TLS"`
Logger lager.Logger
}
type Credentials struct {
Username string `yaml:"Username" validate:"nonzero"`
Password string `yaml:"Password" validate:"nonzero"`
}
type TLSConfig struct {
EnableMutualTLS bool `yaml:"EnableMutualTLS"`
ServerCert string `yaml:"ServerCert" validate:"nonzero"`
ServerKey string `yaml:"ServerKey" validate:"nonzero"`
ClientCA string `yaml:"ClientCA" validate:"nonzero"`
Config *tls.Config `yaml:"-"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.