Added remaining HTTP health check fields to structs

This commit is contained in:
Kyle Havlovitz 2017-10-23 17:44:32 -07:00 committed by Frank Schroeder
parent 84a07ea113
commit 7d82ece118
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
3 changed files with 29 additions and 20 deletions

View File

@ -483,6 +483,9 @@ type HealthCheck struct {
ServiceTags []string // optional service tags
HTTP string `json:",omitempty"`
TLSSkipVerify bool `json:",omitempty"`
Header map[string][]string `json:",omitempty"`
Method string `json:",omitempty"`
TCP string `json:",omitempty"`
Interval string `json:",omitempty"`
Timeout string `json:",omitempty"`

View File

@ -16,6 +16,9 @@ type AgentCheck struct {
ServiceID string
ServiceName string
HTTP string
Header map[string][]string
Method string
TLSSkipVerify bool
TCP string
Interval string
Timeout string

View File

@ -36,6 +36,9 @@ type HealthCheck struct {
ServiceTags []string
HTTP string
Header map[string][]string
Method string
TLSSkipVerify bool
TCP string
Interval string
Timeout string