headers

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderPrefix = "X-Nuclio"

	// Function headers
	FunctionName                        = "X-Nuclio-Function-Name"
	FunctionNamespace                   = "X-Nuclio-Function-Namespace"
	WaitFunctionAction                  = "X-Nuclio-Wait-Function-Action"
	DeleteFunctionIgnoreStateValidation = "X-Nuclio-Delete-Function-Ignore-State-Validation"
	DeleteFunctionWithAPIGateways       = "X-Nuclio-Delete-Function-With-API-Gateways"
	CreationStateUpdatedTimeout         = "X-Nuclio-Creation-State-Updated-Timeout"
	FunctionEnrichApiGateways           = "X-Nuclio-Function-Enrich-Apigateways"
	ImportedFunctionOnly                = "X-Nuclio-Imported-Function-Only"
	SkipSpecCleanup                     = "X-Nuclio-Skip-Spec-Cleanup"
	VerifyExternalRegistry              = "X-Nuclio-Verify-External-Registry"
	AutofixFunctionConfiguration        = "X-Nuclio-Autofix-Function-Configuration"

	// Project headers
	ProjectName           = "X-Nuclio-Project-Name"
	ProjectNamespace      = "X-Nuclio-Project-Namespace"
	DeleteProjectStrategy = "X-Nuclio-Delete-Project-Strategy"

	// Invocation headers
	TargetName          = "X-Nuclio-Target"
	InvokeURL           = "X-Nuclio-Invoke-Url"
	InvokeTimeout       = "X-Nuclio-Invoke-Timeout"
	InvokeVia           = "X-Nuclio-Invoke-Via"
	InvokeTrigger       = "X-Nuclio-Invoke-Trigger"
	SkipTLSVerification = "X-Nuclio-Skip-Tls-Verification"
	Path                = "X-Nuclio-Path"
	LogLevel            = "X-Nuclio-Log-Level"
	SanitizeResponse    = "X-Nuclio-Sanitize-Response"

	// ApiGateway headers
	ApiGatewayName                      = "X-Nuclio-Api-Gateway-Name"
	ApiGatewayNamespace                 = "X-Nuclio-Api-Gateway-Namespace"
	ApiGatewayValidateFunctionExistence = "X-Nuclio-Agw-Validate-Functions-Existence"

	// Function event headers
	FunctionEventName      = "X-Nuclio-Function-Event-Name"
	FunctionEventNamespace = "X-Nuclio-Function-Event-Namespace"

	// Auth headers
	RemoteUser     = "X-Remote-User"
	V3IOSessionKey = "X-V3io-Session-Key"
	UserID         = "X-User-Id"
	UserGroupIds   = "X-User-Group-Ids"

	// Others
	Logs           = "X-Nuclio-Logs"
	FilterContains = "X-Nuclio-Filter-Contains"
	StreamNoAck    = "X-Nuclio-Stream-No-Ack"
	Arguments      = "X-Nuclio-Arguments"
)

Nuclio Headers

Variables

This section is empty.

Functions

func IsNuclioHeader

func IsNuclioHeader(headerName string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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