configz

package
v0.0.0-...-1a56975 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTopic

func CreateTopic(topic SinkTopic) fw.Topic

CreateTopic creates and returns a configz topic from the given MCP client. It does not do any registration.

func Register

func Register(topic SinkTopic)

Register the Configz topic for the given sink. TODO: Multi-client registration is currently not supported. We should update the topic, so that we can show output from multiple clients.

Types

type SinkTopic

type SinkTopic interface {
	SnapshotRequestInfo() []sink.RecentRequestInfo
	Metadata() map[string]string
	ID() string
	Collections() []string
}

SinkTopic defines the expected interface for producing configz data from an MCP sink.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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