Documentation
¶
Overview ¶
Package controlplane contains the HTTP and gRPC base servers and the xDS gRPC implementation for envoy.
Index ¶
- type Server
- func (srv *Server) EnableAuthenticate(svc Service) error
- func (srv *Server) EnableProxy(svc Service) error
- func (srv *Server) OnConfigChange(ctx context.Context, cfg *config.Config) error
- func (srv *Server) Run(ctx context.Context) error
- func (srv *Server) StreamAccessLogs(stream envoy_service_accesslog_v3.AccessLogService_StreamAccessLogsServer) error
- type Service
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 MetricsListener net.Listener MetricsRouter *mux.Router DebugListener net.Listener DebugRouter *mux.Router Builder *envoyconfig.Builder EventsMgr *events.Manager // contains filtered or unexported fields }
A Server is the control-plane gRPC and HTTP servers.
func NewServer ¶
func NewServer(cfg *config.Config, metricsMgr *config.MetricsManager, eventsMgr *events.Manager) (*Server, error)
NewServer creates a new Server. Listener ports are chosen by the OS.
func (*Server) EnableAuthenticate ¶ added in v0.18.0
EnableAuthenticate enables the authenticate service.
func (*Server) EnableProxy ¶ added in v0.18.0
EnableProxy enables the proxy service.
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.