Update AgentCheck struct in api

This commit is contained in:
Kyle Havlovitz 2017-11-01 15:30:29 -07:00
parent 068ca11eb8
commit 49a010555f
No known key found for this signature in database
GPG Key ID: 8A5E6B173056AD6C
1 changed files with 9 additions and 16 deletions

View File

@ -7,22 +7,15 @@ import (
// AgentCheck represents a check known to the agent
type AgentCheck struct {
Node string
CheckID string
Name string
Status string
Notes string
Output string
ServiceID string
ServiceName string
HTTP string
Header map[string][]string
Method string
TLSSkipVerify bool
TCP string
Interval ReadableDuration
Timeout ReadableDuration
DeregisterCriticalServiceAfter ReadableDuration
Node string
CheckID string
Name string
Status string
Notes string
Output string
ServiceID string
ServiceName string
Definition HealthCheckDefinition
}
// AgentService represents a service known to the agent