Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BaseDir string `toml:"-"` Namespace string `toml:"namespace"` BasicAuthUser string `toml:"basic_auth_user"` BasicAuthPass string `toml:"basic_auth_pass"` Headers []string `toml:"headers"` ConnectTimeoutMillis int64 `toml:"connect_timeout_millis"` RequestTimeoutMillis int64 `toml:"request_timeout_millis"` MaxIdleConnsPerHost int `toml:"max_idle_conns_per_host"` ProxyURL string `toml:"proxy_url"` Interface string `toml:"interface"` FollowRedirects bool `toml:"follow_redirects"` Method string `toml:"method"` Payload string `toml:"payload"` BearerToken string `toml:"bearer_token"` BearerTokeFile string `toml:"bearer_token_file"` SplitBody bool `toml:"split_body"` clienttls.ClientConfig }
type Prometheus ¶
type Prometheus struct{}
func (*Prometheus) ParseConfig ¶
func (*Prometheus) ParseConfig(baseDir string, bs []byte) (any, error)
Click to show internal directories.
Click to hide internal directories.