Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RetryCodes = []int{429, 503} False = false RealTime = "realtime" Cached = "cached" )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Log *logConfig `yaml:"log"`
Exporter *exporterConfig `yaml:"exporter"`
Nsxt *NSXConfig `yaml:"nsxt"`
}
func (*Config) UnmarshalYAML ¶
type NSXConfig ¶
type NSXConfig struct {
URL string `yaml:"url"`
Username string `yaml:"username"`
Password string `yaml:"password"`
ClientCertPath string `yaml:"client_cert_path"`
ClientKeyPath string `yaml:"client_key_path"`
SkipSslVerify bool `yaml:"skip_ssl_verify"`
CaCertPath string `yaml:"ca_cert_path"`
MaxRetries int `yaml:"max_retries"`
T0Filters []string `yaml:"t0_filters"`
T1Filters []string `yaml:"t1_filters"`
LBFilters []string `yaml:"lb_filters"`
VSFilters []string `yaml:"vs_filters"`
LBSource string `yaml:"lb_source"`
LBDetails bool `yaml:"lb_details"`
}
func (*NSXConfig) NeedPasswordLogin ¶
func (*NSXConfig) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.