Documentation
¶
Overview ¶
Package sysfeed pkg/cxo/sysfeed/sysfeed.go c2-net-cxo
Leaf names a visor uses for the registrations it carries on its system feed (dmsg port 50, the telemetry feed TPD aggregates). When dmsg discovery, the address resolver or service discovery runs in the transport discovery's process, its host labels the local link to it transport.LabelSysFeed, and visors then publish its registrations here instead of on a CXO feed of its own. See docs/design/cxo-one-feed-per-visor.md.
The leaves sit at the top of the Root, next to "tp-list", so the transport discovery's targeted fetch reads them from the same few objects.
Index ¶
Constants ¶
const ( DmsgdPrefix = Prefix + "dmsgd." ARPrefix = Prefix + "ar." SDPrefix = Prefix + "sd." )
Prefixes of each service's leaves. A service's leaf is its prefix followed by the name it uses on its own feed, so "entry" on the dmsg discovery feed is "reg.dmsgd.entry" here.
const ( DmsgDiscovery = "dmsg_discovery" AddressResolver = "address_resolver" ServiceDiscovery = "service_discovery" )
Names of the services, the JSON names of their fields in the deployment's services config.
const Prefix = "reg."
Prefix starts every registration leaf on the system feed.
Variables ¶
This section is empty.
Functions ¶
func IsRegistration ¶
IsRegistration reports whether a top-level leaf name is a registration leaf.
Types ¶
This section is empty.