Documentation ¶
Index ¶
Constants ¶
View Source
const KafkaType = Type("kafka")
View Source
const NoneType = Type("none")
View Source
const PrometheusType = Type("prometheus")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker interface { Start() error Check() ([]CheckerSuccess, []CheckerError) }
type CheckerError ¶
type CheckerError interface {
Details() map[string]interface{}
}
type CheckerSuccess ¶
type CheckerSuccess interface {
Details() map[string]interface{}
}
type Model ¶
type Model struct { Type Type `json:"type"` Config json.RawMessage `json:"config"` }
type PrometheusCheckError ¶
func (PrometheusCheckError) Details ¶
func (err PrometheusCheckError) Details() map[string]interface{}
type PrometheusCheckOk ¶
type PrometheusCheckOk struct { Query prometheusCheck Val float64 }
func (PrometheusCheckOk) Details ¶
func (ok PrometheusCheckOk) Details() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.