collector_registrar

package
v0.0.0-...-5d12fbd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

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(component metricz.Component) *AnnounceComponentMessage

type CollectorRegistrar

type CollectorRegistrar interface {
	RegisterWithCollector(metricz.Component) error
}

func New

func New(natsClient diegonats.NATSClient) CollectorRegistrar

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL