Documentation ¶
Index ¶
Constants ¶
View Source
const AnnounceComponentMessageSubject = "vcap.component.announce"
View Source
const DiscoverComponentMessageSubject = "vcap.component.discover"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnounceComponentMessage ¶
type AnnounceComponentMessage struct { Type string `json:"type"` Index uint `json:"index"` Host string `json:"host"` UUID string `json:"uuid"` Credentials []string `json:"credentials"` }
func NewAnnounceComponentMessage ¶
func NewAnnounceComponentMessage(cfc cfcomponent.Component) (message *AnnounceComponentMessage)
type ClientProvider ¶
type CollectorRegistrar ¶
type CollectorRegistrar struct {
// contains filtered or unexported fields
}
func NewCollectorRegistrar ¶
func NewCollectorRegistrar(clientProvider ClientProvider, cfc cfcomponent.Component, interval time.Duration, config *cfcomponent.Config) *CollectorRegistrar
func (*CollectorRegistrar) Run ¶
func (registrar *CollectorRegistrar) Run()
func (*CollectorRegistrar) Stop ¶
func (registrar *CollectorRegistrar) Stop()
Click to show internal directories.
Click to hide internal directories.