server

package
v0.0.0-...-84cf697 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package server provides an implementation of a streaming xDS server.

Index

Constants

View Source
const (
	EndpointType = typePrefix + "ClusterLoadAssignment"
	ClusterType  = typePrefix + "Cluster"
	RouteType    = typePrefix + "RouteConfiguration"
	ListenerType = typePrefix + "Listener"
	AnyType      = ""
)

Resource types in xDS v2.

Variables

This section is empty.

Functions

func GetTypeURL

func GetTypeURL(typ cache.ResponseType) string

GetTypeURL retrieves type URL by response type.

Types

type Server

Server is a collection of handlers for streaming discovery requests.

func NewServer

func NewServer(config cache.ConfigWatcher) Server

NewServer creates handlers from a config watcher.

Jump to

Keyboard shortcuts

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