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
OnConfigChange updates the pomerium config options.
func (*Server) StreamAccessLogs ¶
func (srv *Server) StreamAccessLogs(stream envoy_service_accesslog_v3.AccessLogService_StreamAccessLogsServer) error
StreamAccessLogs receives logs from envoy and prints them to stdout.
Click to show internal directories.
Click to hide internal directories.