Documentation ¶
Index ¶
Constants ¶
const StatusClientClosedRequest = 499
StatusClientClosedRequest non-standard HTTP status code for client disconnection.
const StatusClientClosedRequestText = "Client Closed Request"
StatusClientClosedRequestText non-standard HTTP status for client disconnection.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InternalHandlers ¶
type InternalHandlers struct {
// contains filtered or unexported fields
}
InternalHandlers is the internal HTTP handlers builder.
func NewInternalHandlers ¶
func NewInternalHandlers(next serviceManager, apiHandler, rest, metricsHandler, pingHandler, dashboard, acmeHTTP http.Handler) *InternalHandlers
NewInternalHandlers creates a new InternalHandlers.
type KerberosRoundTripper ¶
type KerberosRoundTripper struct { OriginalRoundTripper http.RoundTripper // contains filtered or unexported fields }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager The service manager.
func NewManager ¶
func NewManager(configs map[string]*runtime.ServiceInfo, observabilityMgr *middleware.ObservabilityMgr, routinePool *safe.Pool, roundTripperManager RoundTripperGetter) *Manager
NewManager creates a new Manager.
func (*Manager) LaunchHealthCheck ¶
LaunchHealthCheck launches the health checks.
type ManagerFactory ¶
type ManagerFactory struct {
// contains filtered or unexported fields
}
ManagerFactory a factory of service manager.
func NewManagerFactory ¶
func NewManagerFactory(staticConfiguration static.Configuration, routinesPool *safe.Pool, observabilityMgr *middleware.ObservabilityMgr, roundTripperManager *RoundTripperManager, acmeHTTPHandler http.Handler) *ManagerFactory
NewManagerFactory creates a new ManagerFactory.
func (*ManagerFactory) Build ¶
func (f *ManagerFactory) Build(configuration *runtime.Configuration) *InternalHandlers
Build creates a service manager.
type RoundTripperGetter ¶
type RoundTripperGetter interface {
Get(name string) (http.RoundTripper, error)
}
RoundTripperGetter is a roundtripper getter interface.
type RoundTripperManager ¶
type RoundTripperManager struct {
// contains filtered or unexported fields
}
RoundTripperManager handles roundtripper for the reverse proxy.
func NewRoundTripperManager ¶
func NewRoundTripperManager(spiffeX509Source SpiffeX509Source) *RoundTripperManager
NewRoundTripperManager creates a new RoundTripperManager.
func (*RoundTripperManager) Get ¶
func (r *RoundTripperManager) Get(name string) (http.RoundTripper, error)
Get gets a roundtripper by name.
func (*RoundTripperManager) Update ¶
func (r *RoundTripperManager) Update(newConfigs map[string]*dynamic.ServersTransport)
Update updates the roundtrippers configurations.
type SpiffeX509Source ¶
type SpiffeX509Source interface { x509svid.Source x509bundle.Source }
SpiffeX509Source allows to retrieve a x509 SVID and bundle.