overlay

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WeavePeerName                          = report.WeavePeerName
	WeavePeerNickName                      = report.WeavePeerNickName
	WeaveDNSHostname                       = "weave_dns_hostname"
	WeaveMACAddress                        = "weave_mac_address"
	WeaveVersion                           = "weave_version"
	WeaveEncryption                        = "weave_encryption"
	WeaveProtocol                          = "weave_protocol"
	WeavePeerDiscovery                     = "weave_peer_discovery"
	WeaveTargetCount                       = "weave_target_count"
	WeaveConnectionCount                   = "weave_connection_count"
	WeavePeerCount                         = "weave_peer_count"
	WeaveTrustedSubnets                    = "weave_trusted_subnet_count"
	WeaveIPAMTableID                       = "weave_ipam_table"
	WeaveIPAMStatus                        = "weave_ipam_status"
	WeaveIPAMRange                         = "weave_ipam_range"
	WeaveIPAMDefaultSubnet                 = "weave_ipam_default_subnet"
	WeaveDNSTableID                        = "weave_dns_table"
	WeaveDNSDomain                         = "weave_dns_domain"
	WeaveDNSUpstream                       = "weave_dns_upstream"
	WeaveDNSTTL                            = "weave_dns_ttl"
	WeaveDNSEntryCount                     = "weave_dns_entry_count"
	WeaveProxyTableID                      = "weave_proxy_table"
	WeaveProxyStatus                       = "weave_proxy_status"
	WeaveProxyAddress                      = "weave_proxy_address"
	WeavePluginTableID                     = "weave_plugin_table"
	WeavePluginStatus                      = "weave_plugin_status"
	WeavePluginDriver                      = "weave_plugin_driver"
	WeaveConnectionsConnection             = "weave_connection_connection"
	WeaveConnectionsState                  = "weave_connection_state"
	WeaveConnectionsInfo                   = "weave_connection_info"
	WeaveConnectionsTablePrefix            = "weave_connections_table_"
	WeaveConnectionsMulticolumnTablePrefix = "weave_connections_multicolumn_table_"
)

Keys for use in Node

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(hostID string, client weave.Client) (*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) Name added in v0.10.0

func (*Weave) Name() string

Name of this reporter/tagger/ticker, for metrics gathering

func (*Weave) Report

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

Report implements Reporter.

func (*Weave) Stop added in v0.10.0

func (w *Weave) Stop()

Stop gathering weave status.

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