Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusUp = "UP" StatusDown = "DOWN" ServiceDatastore = "datastore" ServiceBroker = "broker" ServiceRuntime = "runtime" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheck ¶
type HealthCheck struct {
// contains filtered or unexported fields
}
func NewHealthCheck ¶
func NewHealthCheck() *HealthCheck
func (*HealthCheck) Do ¶
func (b *HealthCheck) Do(ctx context.Context) HealthCheckResult
func (*HealthCheck) WithIndicator ¶
func (b *HealthCheck) WithIndicator(name string, ind HealthIndicator) *HealthCheck
type HealthCheckResult ¶
type HealthIndicator ¶
Click to show internal directories.
Click to hide internal directories.