mirror of https://github.com/status-im/consul.git
Update AgentCheck struct in api
This commit is contained in:
parent
d3dd2b1402
commit
c9c083d843
25
api/agent.go
25
api/agent.go
|
@ -7,22 +7,15 @@ import (
|
||||||
|
|
||||||
// AgentCheck represents a check known to the agent
|
// AgentCheck represents a check known to the agent
|
||||||
type AgentCheck struct {
|
type AgentCheck struct {
|
||||||
Node string
|
Node string
|
||||||
CheckID string
|
CheckID string
|
||||||
Name string
|
Name string
|
||||||
Status string
|
Status string
|
||||||
Notes string
|
Notes string
|
||||||
Output string
|
Output string
|
||||||
ServiceID string
|
ServiceID string
|
||||||
ServiceName string
|
ServiceName string
|
||||||
HTTP string
|
Definition HealthCheckDefinition
|
||||||
Header map[string][]string
|
|
||||||
Method string
|
|
||||||
TLSSkipVerify bool
|
|
||||||
TCP string
|
|
||||||
Interval ReadableDuration
|
|
||||||
Timeout ReadableDuration
|
|
||||||
DeregisterCriticalServiceAfter ReadableDuration
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// AgentService represents a service known to the agent
|
// AgentService represents a service known to the agent
|
||||||
|
|
Loading…
Reference in New Issue