istio: istio.io/istio/pkg/mcp/configz/client Index | Files | Directories

package configz

import "istio.io/istio/pkg/mcp/configz/client"

Index

Package Files

configz.go

func CreateTopic Uses

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 Uses

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.

type SinkTopic Uses

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

PathSynopsis
assetsCode generated for package assets by go-bindata DO NOT EDIT.

Package configz imports 6 packages (graph) and is imported by 4 packages. Updated 2019-12-11. Refresh now. Tools for package owners.