# Packages
No description provided by the author
# Functions
AddContainerFilters adds to the default Registry (topologyRegistry)'s containerFilters.
Interfaces returns the list of Interfaces on the machine.
MakeAPITopologyOption provides an external interface to the package for creating an APITopologyOption.
MakeRegistry returns a new Registry.
NewCollector returns a collector ready for use.
NewFastMerger makes a Merger which merges together reports, mutating the one we are building up.
NewFileCollector reads and parses the files at path (a file or directory) as reports.
NewLocalControlRouter creates a new ControlRouter that does everything locally, in memory.
NewLocalPipeRouter returns a new local (in-memory) pipe router.
NewVersion is called to expose new version information to /api.
NewWeavePublisher makes a new Weave.
RegisterAdminRoutes registers routes for admin calls with a http mux.
RegisterControlRoutes registers the various control routes with a http mux.
RegisterPipeRoutes registers the pipe routes.
RegisterReportPostHandler registers the handler for report submission.
RegisterTopologyRoutes registers the various topology routes with a http mux.
RenderContextForReporter creates the rendering context for the given reporter.
URLMatcher uses request.RequestURI (the raw, unparsed request) to attempt to match pattern.
# Constants
Default values for weave app integration.
Default values for weave app integration.
Default values for weave app integration.
Valid values of type End.
RequestCtxKey is key used for request entry in context.
Valid values of type End.
# Structs
APINode is returned by the /api/topology/{name}/{id} handler.
APITopology is returned by the /api/topology/{name} handler.
APITopologyDesc is returned in a list by the /api/topology handler.
APITopologyOption describes a ¶m=value to a given topology.
APITopologyOptionGroup describes a group of APITopologyOptions.
Interface is because net.Interface isn't mockable.
Registry is a threadsafe store of the available topologies.
WeavePublisher is a thing which periodically registers this app with WeaveDNS.
WebReporter is a reporter that creates reports whose data is eventually displayed on websites.
# Interfaces
Adder is something that can accept reports.
A Collector is a Reporter and an Adder.
ControlRouter is a thing that can route control requests and responses between the UI and a probe.
DockerClient is the little bit of the docker client we need.
Merger is the type for a thing that can merge reports.
PipeRouter stores pipes and allows you to connect to either end of them.
Reporter is something that can produce reports on demand.
WeaveClient is the little bit of the weave clent we need.
# Type aliases
CtxHandlerFunc is a http.HandlerFunc, with added contexts.
End is an enum for either end of the pipe.
InterfaceFunc is the type of Interfaces().
StaticCollector always returns the given report.