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 ¶
type Server interface {
api.AggregatedDiscoveryServiceServer
api.EndpointDiscoveryServiceServer
api.ClusterDiscoveryServiceServer
api.RouteDiscoveryServiceServer
api.ListenerDiscoveryServiceServer
}
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.
Click to show internal directories.
Click to hide internal directories.