Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func NewComponent ¶
func NewComponent( logger lager.Logger, name string, index uint, heathMonitor HealthMonitor, statusPort uint16, statusCreds []string, instrumentables []instrumentation.Instrumentable, ) (Component, error)
func (*Component) StartMonitoringEndpoints ¶
func (*Component) StopMonitoringEndpoints ¶
func (c *Component) StopMonitoringEndpoints()
type HealthMonitor ¶
type HealthMonitor interface {
Ok() bool
}
func NewDummyHealthMonitor ¶
func NewDummyHealthMonitor() HealthMonitor
Click to show internal directories.
Click to hide internal directories.