Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewHealthIndicator ¶
type ComponentStatus ¶
type ComponentStatus struct {
// contains filtered or unexported fields
}
func Down ¶
func Down(name string) ComponentStatus
func Up ¶
func Up(name string) ComponentStatus
func (ComponentStatus) Build ¶
func (cs ComponentStatus) Build() map[string]interface{}
func (ComponentStatus) GetName ¶
func (cs ComponentStatus) GetName() string
func (ComponentStatus) GetStatus ¶
func (cs ComponentStatus) GetStatus() string
func (ComponentStatus) SetStatus ¶
func (cs ComponentStatus) SetStatus(status string)
func (ComponentStatus) WithDetail ¶
func (cs ComponentStatus) WithDetail(key string, detail interface{}) ComponentStatus
type DiskHealthIndicator ¶
type DiskHealthIndicator struct{}
func NewDiskHealthIndicator ¶
func NewDiskHealthIndicator() *DiskHealthIndicator
func (*DiskHealthIndicator) Health ¶
func (u *DiskHealthIndicator) Health() ComponentStatus
type Indicator ¶
type Indicator interface {
Health() ComponentStatus
}
Click to show internal directories.
Click to hide internal directories.