Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { GoCdBaseURL string `json:"gocd-base-url,omitempty" yaml:"gocd-base-url,omitempty"` GoCdUserName string `json:"gocd-username,omitempty" yaml:"gocd-username,omitempty"` GoCdPassword string `json:"gocd-password,omitempty" yaml:"gocd-password,omitempty"` GoCDBearerToken string `json:"go-cd-bearer-token,omitempty" yaml:"go-cd-bearer-token,omitempty"` InsecureTLS bool `json:"insecure-tls,omitempty" yaml:"insecure-tls,omitempty"` CaPath string `json:"ca-path,omitempty" yaml:"ca-path,omitempty"` Port int `json:"port,omitempty" yaml:"port,omitempty"` Endpoint string `json:"metric-endpoint,omitempty" yaml:"metric-endpoint,omitempty"` LogLevel string `json:"log-level,omitempty" yaml:"log-level,omitempty"` SkipMetrics []string `json:"skip-metrics,omitempty" yaml:"skip-metrics,omitempty"` APICron string `json:"api-cron-schedule,omitempty" yaml:"api-cron-schedule,omitempty"` MetricCron map[string]string `json:"metric-cron,omitempty" yaml:"metric-cron,omitempty"` AppGraceDuration time.Duration `json:"grace-duration,omitempty" yaml:"grace-duration,omitempty"` }
Config holds the information of the app gocd-prometheus-exporter.
Click to show internal directories.
Click to hide internal directories.