mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 08:19:23 +02:00
authenticate: fix debug and metrics endpoints (#3212)
This commit is contained in:
parent
b83bb8f2f7
commit
b435f73e2b
16 changed files with 167 additions and 128 deletions
|
@ -7,23 +7,26 @@ import (
|
|||
|
||||
// A Builder builds envoy config from pomerium config.
|
||||
type Builder struct {
|
||||
localGRPCAddress string
|
||||
localHTTPAddress string
|
||||
filemgr *filemgr.Manager
|
||||
reproxy *reproxy.Handler
|
||||
localGRPCAddress string
|
||||
localHTTPAddress string
|
||||
localMetricsAddress string
|
||||
filemgr *filemgr.Manager
|
||||
reproxy *reproxy.Handler
|
||||
}
|
||||
|
||||
// New creates a new Builder.
|
||||
func New(
|
||||
localGRPCAddress string,
|
||||
localHTTPAddress string,
|
||||
localMetricsAddress string,
|
||||
fileManager *filemgr.Manager,
|
||||
reproxyHandler *reproxy.Handler,
|
||||
) *Builder {
|
||||
return &Builder{
|
||||
localGRPCAddress: localGRPCAddress,
|
||||
localHTTPAddress: localHTTPAddress,
|
||||
filemgr: fileManager,
|
||||
reproxy: reproxyHandler,
|
||||
localGRPCAddress: localGRPCAddress,
|
||||
localHTTPAddress: localHTTPAddress,
|
||||
localMetricsAddress: localMetricsAddress,
|
||||
filemgr: fileManager,
|
||||
reproxy: reproxyHandler,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue