overlay

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// WeavePeerName is the key for the peer name, typically a MAC address.
	WeavePeerName = "weave_peer_name"

	// WeavePeerNickName is the key for the peer nickname, typically a
	// hostname.
	WeavePeerNickName = "weave_peer_nick_name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Weave

type Weave struct {
	// contains filtered or unexported fields
}

Weave represents a single Weave router, presumably on the same host as the probe. It is both a Reporter and a Tagger: it produces an Overlay topology, and (in theory) can tag existing topologies with foreign keys to overlay -- though I'm not sure what that would look like in practice right now.

func NewWeave

func NewWeave(weaveRouterAddress string) (*Weave, error)

NewWeave returns a new Weave tagger based on the Weave router at address. The address should be an IP or FQDN, no port.

func (Weave) Report

func (w Weave) Report() (report.Report, error)

Report implements Reporter.

func (Weave) Tag

func (w Weave) Tag(r report.Report) (report.Report, error)

Tag implements Tagger.

Jump to

Keyboard shortcuts

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