grpcv3

package
v0.14.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Invoke(
	fx.Annotate(
		newLifecycleManager,
		fx.OnStart(func(ctx context.Context, lcm *fxlcm.LifecycleManager) error { return lcm.Start(ctx) }),
		fx.OnStop(func(ctx context.Context, lcm *fxlcm.LifecycleManager) error { return lcm.Stop(ctx) }),
	),
)

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) Check

type RequestContext

type RequestContext struct {
	// contains filtered or unexported fields
}

func NewRequestContext

func NewRequestContext(ctx context.Context, req *envoy_auth.CheckRequest, signer heimdall.JWTSigner) *RequestContext

func (*RequestContext) AddCookieForUpstream

func (r *RequestContext) AddCookieForUpstream(name, value string)

func (*RequestContext) AddHeaderForUpstream

func (r *RequestContext) AddHeaderForUpstream(name, value string)

func (*RequestContext) AppContext

func (r *RequestContext) AppContext() context.Context

func (*RequestContext) Body

func (r *RequestContext) Body() any

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) Request

func (r *RequestContext) Request() *heimdall.Request

func (*RequestContext) SetPipelineError

func (r *RequestContext) SetPipelineError(err error)

func (*RequestContext) Signer

func (r *RequestContext) Signer() heimdall.JWTSigner

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL