[Marathon] Bump go-marathon dep
attempt to remove glide from integration glide trim Revert "attempt to remove glide from integration" This reverts commit c5b42b6cdebb44e730080a0cf20a871c11ef095b.
This commit is contained in:
parent
bd6056c269
commit
4e238280bc
376 changed files with 32648 additions and 96 deletions
7
vendor/github.com/gambol99/go-marathon/health.go
generated
vendored
7
vendor/github.com/gambol99/go-marathon/health.go
generated
vendored
|
@ -27,6 +27,7 @@ type HealthCheck struct {
|
|||
GracePeriodSeconds int `json:"gracePeriodSeconds,omitempty"`
|
||||
IntervalSeconds int `json:"intervalSeconds,omitempty"`
|
||||
TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
|
||||
IgnoreHTTP1xx *bool `json:"ignoreHttp1xx,ommitempty"`
|
||||
}
|
||||
|
||||
// SetCommand sets the given command on the health check.
|
||||
|
@ -59,6 +60,12 @@ func (h HealthCheck) SetMaxConsecutiveFailures(i int) HealthCheck {
|
|||
return h
|
||||
}
|
||||
|
||||
// SetIgnoreHTTP1xx sets ignore http 1xx on the health check.
|
||||
func (h HealthCheck) SetIgnoreHTTP1xx(ignore bool) HealthCheck {
|
||||
h.IgnoreHTTP1xx = &ignore
|
||||
return h
|
||||
}
|
||||
|
||||
// NewDefaultHealthCheck creates a default application health check
|
||||
func NewDefaultHealthCheck() *HealthCheck {
|
||||
portIndex := 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue