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 Config ¶
type Config struct {
BasicAuth string `env:"CHECK_LOGSTASH_BASICAUTH"`
Bearer string `env:"CHECK_LOGSTASH_BEARER"`
CAFile string `env:"CHECK_LOGSTASH_CA_FILE"`
CertFile string `env:"CHECK_LOGSTASH_CERT_FILE"`
KeyFile string `env:"CHECK_LOGSTASH_KEY_FILE"`
Hostname string `env:"CHECK_LOGSTASH_HOSTNAME"`
Port int
Info bool
Insecure bool
PReady bool
Secure bool
}
type HealthConfig ¶
type HealthConfig struct {
FileDescThresWarning string
FileDescThresCritical string
HeapUseThresWarning string
HeapUseThresCritical string
CPUUseThresWarning string
CPUUseThresCritical string
UnreachableExitCode int
}
To store the CLI parameters.
type HealthThreshold ¶
type HealthThreshold struct {
// contains filtered or unexported fields
}
To store the parsed CLI parameters.
type PipelineConfig ¶
To store the CLI parameters.
type PipelineThreshold ¶
type PipelineThreshold struct {
Warning *check.Threshold
Critical *check.Threshold
}
To store the parsed CLI parameters.
Click to show internal directories.
Click to hide internal directories.