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" // WeaveDNSHostname is the ket for the WeaveDNS hostname WeaveDNSHostname = "weave_dns_hostname" // WeaveMACAddress is the key for the mac address of the container on the // weave network, to be found in container node metadata WeaveMACAddress = "weave_mac_address" )
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 ¶
NewWeave returns a new Weave tagger based on the Weave router at address. The address should be an IP or FQDN, no port.
Click to show internal directories.
Click to hide internal directories.