mirror of https://github.com/status-im/consul.git
Added remaining HTTP health check fields to structs
This commit is contained in:
parent
a7c42a6c2a
commit
d56936e27a
|
@ -483,6 +483,9 @@ type HealthCheck struct {
|
||||||
ServiceTags []string // optional service tags
|
ServiceTags []string // optional service tags
|
||||||
|
|
||||||
HTTP string `json:",omitempty"`
|
HTTP string `json:",omitempty"`
|
||||||
|
TLSSkipVerify bool `json:",omitempty"`
|
||||||
|
Header map[string][]string `json:",omitempty"`
|
||||||
|
Method string `json:",omitempty"`
|
||||||
TCP string `json:",omitempty"`
|
TCP string `json:",omitempty"`
|
||||||
Interval string `json:",omitempty"`
|
Interval string `json:",omitempty"`
|
||||||
Timeout string `json:",omitempty"`
|
Timeout string `json:",omitempty"`
|
||||||
|
|
|
@ -16,6 +16,9 @@ type AgentCheck struct {
|
||||||
ServiceID string
|
ServiceID string
|
||||||
ServiceName string
|
ServiceName string
|
||||||
HTTP string
|
HTTP string
|
||||||
|
Header map[string][]string
|
||||||
|
Method string
|
||||||
|
TLSSkipVerify bool
|
||||||
TCP string
|
TCP string
|
||||||
Interval string
|
Interval string
|
||||||
Timeout string
|
Timeout string
|
||||||
|
|
|
@ -36,6 +36,9 @@ type HealthCheck struct {
|
||||||
ServiceTags []string
|
ServiceTags []string
|
||||||
|
|
||||||
HTTP string
|
HTTP string
|
||||||
|
Header map[string][]string
|
||||||
|
Method string
|
||||||
|
TLSSkipVerify bool
|
||||||
TCP string
|
TCP string
|
||||||
Interval string
|
Interval string
|
||||||
Timeout string
|
Timeout string
|
||||||
|
|
Loading…
Reference in New Issue