Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WatcherConfig ¶
type WatcherConfig struct {
BBSAddress string `json:"bbs_api_url"`
BBSCACert string `json:"bbs_ca_cert"`
BBSClientCert string `json:"bbs_client_cert"`
BBSClientKey string `json:"bbs_client_key"`
BBSClientSessionCacheSize int `json:"bbs_client_cache_size"`
BBSMaxIdleConnsPerHost int `json:"bbs_max_idle_conns_per_host"`
CCBaseUrl string `json:"cc_base_url"`
DebugServerConfig debugserver.DebugServerConfig `json:"debug_server_config"`
DropsondePort int `json:"dropsonde_port"`
LagerConfig lagerflags.LagerConfig `json:"lager_config"`
LockRetryInterval Duration `json:"lock_retry_interval"`
LockTTL Duration `json:"lock_ttl"`
MaxEventHandlingWorkers int `json:"max_event_handling_workers"`
CCClientCert string `json:"cc_client_cert"`
CCClientKey string `json:"cc_client_key"`
CCCACert string `json:"cc_ca_cert"`
InstanceID string `json:"instance_id"`
locket.ClientLocketConfig
}
func DefaultWatcherConfig ¶
func DefaultWatcherConfig() WatcherConfig
func NewWatcherConfig ¶
func NewWatcherConfig(configPath string) (WatcherConfig, error)
Click to show internal directories.
Click to hide internal directories.