server

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server Envoy management server

func NewServer

func NewServer(port int, config cache.SnapshotCache) *Server

NewServer creates an Envoy xDS management server

func (*Server) Report

func (srv *Server) Report()

Report waits for Envoy to access the xDS server and logs the number of gRPC requests

func (*Server) Serve

func (srv *Server) Serve(ctx context.Context)

Serve starts the Envoy xDS management server

Jump to

Keyboard shortcuts

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