Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.MonitorConfig `yaml:",inline" acceptsEndpoints:"true"` Host string `yaml:"host" validate:"required"` Port uint16 `yaml:"port" validate:"required"` // An arbitrary name of the etcd cluster to make it easier to group // together and identify instances. ClusterName string `yaml:"clusterName" validate:"required"` SSLKeyFile string `yaml:"sslKeyFile"` SSLCertificate string `yaml:"sslCertificate"` SSLCACerts string `yaml:"sslCACerts"` SkipSSLValidation bool `yaml:"skipSSLValidation"` EnhancedMetrics bool `yaml:"enhancedMetrics"` }
Config is the monitor-specific config with the generic config embedded
Click to show internal directories.
Click to hide internal directories.