controlplane

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 68 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 Endpoint added in v0.12.2

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

An Endpoint is a URL with its corresponding Transport Socket.

func NewEndpoint added in v0.12.2

func NewEndpoint(u url.URL, ts *envoy_config_core_v3.TransportSocket, weight uint32) Endpoint

NewEndpoint creates a new Endpoint.

func (Endpoint) TransportSocketName added in v0.12.2

func (e Endpoint) TransportSocketName() string

TransportSocketName return the name for this endpoint.

type Server

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

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

func NewServer

func NewServer(name string) (*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(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