Documentation
¶
Index ¶
Constants ¶
View Source
const Copyright = `
Copyright (C) 2022 NETWAYS GmbH <info@netways.de>
`
View Source
const License = `` /* 661-byte string literal not displayed */
Variables ¶
View Source
var Timeout = 30
Functions ¶
Types ¶
type AlertConfig ¶
type Config ¶
type Config struct {
BasicAuth string `env:"CHECK_PROMETHEUS_BASICAUTH"`
Bearer string `env:"CHECK_PROMETHEUS_BEARER"`
CAFile string `env:"CHECK_PROMETHEUS_CA_FILE"`
CertFile string `env:"CHECK_PROMETHEUS_CERT_FILE"`
KeyFile string `env:"CHECK_PROMETHEUS_KEY_FILE"`
Hostname string `env:"CHECK_PROMETHEUS_HOSTNAME"`
URL string `env:"CHECK_PROMETHEUS_URL"`
Headers []string
Port int
Info bool
Insecure bool
PReady bool
Secure bool
}
type QueryConfig ¶
Click to show internal directories.
Click to hide internal directories.