Documentation ¶
Index ¶
Constants ¶
View Source
const RefreshInterval time.Duration = time.Second * 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessStatus ¶
type ProcessStatus struct { sync.RWMutex CpuUsage float64 MemRss int64 // contains filtered or unexported fields }
func NewProcessStatus ¶
func NewProcessStatus() *ProcessStatus
func (*ProcessStatus) StopUpdate ¶
func (p *ProcessStatus) StopUpdate()
func (*ProcessStatus) Update ¶
func (p *ProcessStatus) Update()
type RouterStart ¶
type VcapComponent ¶
type VcapComponent struct { Config interface{} `json:"-"` Varz *health.Varz `json:"-"` Healthz *health.Healthz `json:"-"` InfoRoutes map[string]json.Marshaler `json:"-"` Logger lager.Logger `json:"-"` // contains filtered or unexported fields }
func (*VcapComponent) ListenAndServe ¶
func (c *VcapComponent) ListenAndServe()
func (*VcapComponent) Start ¶
func (c *VcapComponent) Start() error
func (*VcapComponent) Stop ¶
func (c *VcapComponent) Stop()
func (*VcapComponent) UpdateVarz ¶
func (c *VcapComponent) UpdateVarz()
Click to show internal directories.
Click to hide internal directories.