Update AgentCheck struct in api

This commit is contained in:
Kyle Havlovitz 2017-11-01 15:30:29 -07:00
parent d3dd2b1402
commit c9c083d843
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 // 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