Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Probe ¶ added in v0.2.2
type Probe struct {
Hostname string
Probes []HealthProbe.HealthProbe `json:"probes"`
}
func NewHealthProbe ¶ added in v0.2.2
func (*Probe) Health ¶ added in v0.2.2
func (p *Probe) Health() *ServiceHealth
type ServiceHealth ¶ added in v0.2.2
type ServiceHealth struct {
Hostname string `json:"hostname"`
RawStatus HealthProbe.Status `json:"rawStatus"`
Status string `json:"status"`
}
TODO: Add version to the health probe
Click to show internal directories.
Click to hide internal directories.