# Functions
No description provided by the author
GetAPIErrorCode returns 0 if an error is not an APIError, or the result of the Code() method from an APIError.
IsAPIError returns whether err implements APIError.
IsFuncError checks if err is of type FuncError.
NewAPIError returns an APIError given a code and error.
No description provided by the author
NewFuncError returns a FuncError.
ValidTriggerType checks that a given trigger type is valid on this service.
ValidTriggerTypes lists the supported trigger types in this service.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
FnInvokeEndpointAnnotation is the annotation that exposes the fn invoke endpoint For want of a better place to put this it's here.
MaxLengthAppName is the max length for an app name.
MaxLengthFnName is the max length for an fn name.
MaxLengthTriggerName is the max length for a trigger name.
1024 CPUs.
0 is unlimited.
TriggerHTTPEndpointAnnotation is the annotation that exposes the HTTP trigger endpoint For want of a better place to put this it's here.
TriggerTypeHTTP represents an HTTP trigger.
TypeDetached is used for calls which return an ack to the caller as soon as the call starts.
TypeNone ...
TypeSync ...
# Variables
seconds.
MB.
seconds.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrTriggerExists - a trigger with the specified name already exists.
ErrTriggerFnIDNotSameApp - specified Fn does not belong to the same app as the provided AppID.
ErrTriggerIDMismatch indicates an ID was provided that did not match the ID of the corresponding operation/call.
ErrTriggerIDProvided indicates that a trigger ID was specified when it shouldn't have been.
ErrTriggerInvalidName - name does not comply with naming spec.
ErrTriggerMissingAppID - no API id specified on trigger creation.
ErrTriggerMissingFnID - no FNID specified on trigger creation.
ErrTriggerMissingName - name not specified on a trigger object.
ErrTriggerMissingSource - no source spceified for trigger.
ErrTriggerMissingSourcePrefix - source does not have a / prefix.
ErrTriggerNotFound - trigger not found.
ErrTriggerSourceExists - another trigger on the same app has the same source and type.
ErrTriggerTooLongName - name exceeds maximum permitted name.
ErrTriggerTypeUnknown - unsupported trigger type.
No description provided by the author
No description provided by the author
1h.
8GB.
5m.
# Structs
No description provided by the author
AppFilter is the filter used for querying apps.
No description provided by the author
No description provided by the author
Call is a representation of a specific invocation of a fn.
No description provided by the author
No description provided by the author
No description provided by the author
ErrorWrapper uniform error output (v1) only.
Fn contains information about a function configuration.
No description provided by the author
No description provided by the author
ResourceConfig specified resource constraints imposed on a function execution.
Trigger represents a binding between a Function and an external event source.
TriggerFilter is a search criteria on triggers.
TriggerList is a container of triggers returned by search, optionally indicating the next page cursor.
# Interfaces
APIError any error that implements this interface will return an API response with the provided status code and error message body.
APIErrorWrapper wraps an error with an APIError such that the APIError governs the HTTP response but the root error remains accessible.
No description provided by the author
FuncError is an error that is the function's fault, that uses the APIError but distinguishes fault to function specific errors.
# Type aliases
Annotations encapsulates key-value metadata associated with resource.
No description provided by the author
No description provided by the author
Headers is an http.Header that implements additional methods.
MilliCPU units.