types

package
v1.13.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthRequestContext

type AuthRequestContext struct {
	SourceEnabled   bool
	SourceID        string
	WriteKey        string
	WorkspaceID     string
	SourceName      string
	SourceDefName   string
	SourceCategory  string
	ReplaySource    bool
	SourceJobRunID  string
	SourceTaskRunID string
}

AuthRequestContext contains the authenticated source information for a request.

func (*AuthRequestContext) SourceTag

func (arctx *AuthRequestContext) SourceTag() string

type ContextKey

type ContextKey string
const (
	// CtxParamCallType is the key for the call type in the request context.
	CtxParamCallType ContextKey = "rudder.gateway.callType"
	// CtxParamAuthRequestContext is the key for the auth request context in the request context.
	CtxParamAuthRequestContext ContextKey = "rudder.gateway.authRequestContext"
)

Jump to

Keyboard shortcuts

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