controlplane

package
v0.15.7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Overview

Package controlplane contains the HTTP and gRPC base servers and the xDS gRPC implementation for envoy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	GRPCListener net.Listener
	GRPCServer   *grpc.Server
	HTTPListener net.Listener
	HTTPRouter   *mux.Router
	Builder      *envoyconfig.Builder
	// contains filtered or unexported fields
}

A Server is the control-plane gRPC and HTTP servers.

func NewServer

func NewServer(name string, metricsMgr *config.MetricsManager) (*Server, error)

NewServer creates a new Server. Listener ports are chosen by the OS.

func (*Server) OnConfigChange added in v0.10.0

func (srv *Server) OnConfigChange(ctx context.Context, cfg *config.Config) error

OnConfigChange updates the pomerium config options.

func (*Server) Run

func (srv *Server) Run(ctx context.Context) error

Run runs the control-plane gRPC and HTTP servers.

func (*Server) StreamAccessLogs

StreamAccessLogs receives logs from envoy and prints them to stdout.

Directories

Path Synopsis
Package xdsmgr implements a resource discovery manager for envoy.
Package xdsmgr implements a resource discovery manager for envoy.

Jump to

Keyboard shortcuts

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