Help us shape the future of Go! Take the 2026 Go Developer Survey

sysfeed

package
v1.3.103 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

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

View Source
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.

View Source
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.

View Source
const Prefix = "reg."

Prefix starts every registration leaf on the system feed.

Variables

This section is empty.

Functions

func IsRegistration

func IsRegistration(name string) bool

IsRegistration reports whether a top-level leaf name is a registration leaf.

func PrefixOf

func PrefixOf(service string) string

PrefixOf returns the leaf prefix of the named service, or "".

Types

This section is empty.

Jump to

Keyboard shortcuts

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