type github.com/prometheus/common/model.Alerts
6 uses
github.com/prometheus/common/model (current package)
alert.go#L105: type Alerts []*Alert
alert.go#L107: func (as Alerts) Len() int { return len(as) }
alert.go#L108: func (as Alerts) Swap(i, j int) { as[i], as[j] = as[j], as[i] }
alert.go#L110: func (as Alerts) Less(i, j int) bool {
alert.go#L121: func (as Alerts) HasFiring() bool {
alert.go#L131: func (as Alerts) Status() AlertStatus {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |