Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppMetadata ¶
type CloudProvider ¶
type CloudProvider string
const ( CloudAWS CloudProvider = "aws" CloudGCP CloudProvider = "gcp" CloudAzure CloudProvider = "azure" CloudLocal CloudProvider = "local" )
type Environment ¶
type Environment struct {
Name string
Type EnvironmentType
Cloud CloudProvider
}
type EnvironmentType ¶
type EnvironmentType string
const ( EnvProduction EnvironmentType = "production" EnvDevelopment EnvironmentType = "development" EnvEphemeral EnvironmentType = "ephemeral" EnvLocal EnvironmentType = "local" EnvTest EnvironmentType = "test" )
type PathParams ¶
type PathParams []PathParam
func (PathParams) Get ¶
func (p PathParams) Get(name string) string
type Request ¶
type Request struct {
Type RequestType
Started time.Time
InvocationID string
TraceID string
CallerBinding string
ExecutionID string
Deployment string
Locale string
Deadline time.Time
API *APIDesc
Service string
Endpoint string
Path string
PathParams PathParams
Method string
Headers http.Header
Payload any
// CronIdempotencyKey is set when the current request was triggered by a cron job.
CronIdempotencyKey string
}
type RequestType ¶
type RequestType string
const ( None RequestType = "none" APICall RequestType = "api-call" InternalCall RequestType = "internal-call" RawAPICall RequestType = "raw-api-call" EventCall RequestType = "event-call" DurableCall RequestType = "durable-call" )
Click to show internal directories.
Click to hide internal directories.