legacycollectorregistrar

package
v0.0.0-...-0848747 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2015 License: Apache-2.0, BSD-3-Clause, MIT Imports: 6 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

func NewCollectorRegistrar

func NewCollectorRegistrar(mBusClient yagnats.NATSConn, logger *gosteno.Logger) *collectorRegistrar

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)

Jump to

Keyboard shortcuts

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