mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-20 09:56:49 +02:00
Initial commit
This commit is contained in:
commit
33c8439604
9 changed files with 270 additions and 0 deletions
15
haproxy/types.go
Normal file
15
haproxy/types.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
package haproxy;
|
||||
|
||||
// All supported health check values for HAproxy.
|
||||
// See https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#5.2-agent-check
|
||||
type HealthCheckStatus string
|
||||
const (
|
||||
HealthCheckUp = "up"
|
||||
HealthCheckDown = "down"
|
||||
HealthCheckMaint = "maint"
|
||||
HealthCheckReady = "ready"
|
||||
HealthCheckDrain = "drain"
|
||||
HealthCheckFailed = "failed"
|
||||
HealthCheckStopped = "Stopped"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue