Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultHealthPath = "/healthz"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessControl ¶
type AccessControl struct {
// contains filtered or unexported fields
}
func NewAccessControl ¶
func NewAccessControl(protected http.Handler, list accesscontrol.List) *AccessControl
func (*AccessControl) Child ¶
func (a *AccessControl) Child() http.Handler
func (*AccessControl) ServeHTTP ¶
func (a *AccessControl) ServeHTTP(rw http.ResponseWriter, req *http.Request)
func (*AccessControl) String ¶
func (a *AccessControl) String() string
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
func NewEndpoint ¶
func NewEndpoint(opts *EndpointOptions, log *logrus.Entry, modifier []hcl.Body) *Endpoint
func (*Endpoint) BodyContext ¶
func (e *Endpoint) BodyContext() hcl.Body
BodyContext exposes the current endpoint hcl.Body.
func (*Endpoint) BufferOptions ¶
func (*Endpoint) RequestLimit ¶
type EndpointOptions ¶
type EndpointOptions struct { APIName string BufferOpts buffer.Option Context *hclsyntax.Body ErrorTemplate *errors.Template ErrorHandler http.Handler IsErrorHandler bool IsJob bool LogHandlerKind string LogPattern string ReqBodyLimit int64 SendServerTimings bool ServerOpts *server.Options Items sequence.List Producers map[string]producer.Roundtrip Redirect *producer.Redirect Response *producer.Response }
type Health ¶
type Health struct {
// contains filtered or unexported fields
}
func NewHealthCheck ¶
type PreferSPAfn ¶
func NewPreferSpaFn ¶
func NewPreferSpaFn(bootstrapFiles []string, docRoot string) PreferSPAfn
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy wraps a httputil.ReverseProxy to apply additional configuration context and have control over the roundtrip configuration.
type ResultPanic ¶
type ResultPanic struct {
// contains filtered or unexported fields
}
func (ResultPanic) Error ¶
func (r ResultPanic) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.