Documentation
¶
Index ¶
- Variables
- type Handler
- type RequestContext
- func (r *RequestContext) AddCookieForUpstream(name, value string)
- func (r *RequestContext) AddHeaderForUpstream(name, value string)
- func (r *RequestContext) Body() any
- func (r *RequestContext) Context() context.Context
- func (r *RequestContext) Cookie(name string) string
- func (r *RequestContext) Finalize() (*envoy_auth.CheckResponse, error)
- func (r *RequestContext) Header(name string) string
- func (r *RequestContext) Headers() map[string]string
- func (r *RequestContext) Init(ctx context.Context, req *envoy_auth.CheckRequest)
- func (r *RequestContext) Outputs() map[string]any
- func (r *RequestContext) Request() *heimdall.Request
- func (r *RequestContext) Reset()
- func (r *RequestContext) SetPipelineError(err error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) Check ¶
func (h *Handler) Check(ctx context.Context, req *envoy_auth.CheckRequest) (*envoy_auth.CheckResponse, error)
type RequestContext ¶
type RequestContext struct {
// contains filtered or unexported fields
}
func (*RequestContext) AddCookieForUpstream ¶
func (r *RequestContext) AddCookieForUpstream(name, value string)
func (*RequestContext) AddHeaderForUpstream ¶
func (r *RequestContext) AddHeaderForUpstream(name, value string)
func (*RequestContext) Body ¶
func (r *RequestContext) Body() any
func (*RequestContext) Context ¶ added in v0.16.0
func (r *RequestContext) Context() context.Context
func (*RequestContext) Cookie ¶
func (r *RequestContext) Cookie(name string) string
func (*RequestContext) Finalize ¶
func (r *RequestContext) Finalize() (*envoy_auth.CheckResponse, error)
func (*RequestContext) Header ¶
func (r *RequestContext) Header(name string) string
func (*RequestContext) Headers ¶
func (r *RequestContext) Headers() map[string]string
func (*RequestContext) Init ¶ added in v0.17.9
func (r *RequestContext) Init(ctx context.Context, req *envoy_auth.CheckRequest)
func (*RequestContext) Outputs ¶
func (r *RequestContext) Outputs() map[string]any
func (*RequestContext) Request ¶
func (r *RequestContext) Request() *heimdall.Request
func (*RequestContext) Reset ¶ added in v0.17.9
func (r *RequestContext) Reset()
func (*RequestContext) SetPipelineError ¶
func (r *RequestContext) SetPipelineError(err error)
Click to show internal directories.
Click to hide internal directories.