package
0.0.0-20241209154731-68356499f064
Repository: https://github.com/serverless/event-gateway.git
Documentation: pkg.go.dev
# Functions
RegisterProvider registers provider loader by provider type.
# Structs
ErrFunctionAccessDenied occurs when Event Gateway don't have access to call a function.
ErrFunctionAlreadyRegistered occurs when function with specified name is already registered.
ErrFunctionCallFailed occurs when function call failed.
ErrFunctionError occurs when function call failed because of function error.
ErrFunctionHasSubscriptions occurs when function with subscription is being deleted.
ErrFunctionIsAuthorizer occurs when function cannot be deleted because is used as authorizer.
ErrFunctionNotFound occurs when function couldn't been found in the discovery.
ErrFunctionProviderError occurs when function call failed because of provider error.
ErrFunctionValidation occurs when function payload doesn't validate.
Function represents a function deployed on one of the supported providers.
# Interfaces
Provider is an interface that function provider has to implement.
ProviderLoader returns Provider instance based on JSON config blob.
Service represents service for managing functions.
# Type aliases
Functions is an array of functions.
ID uniquely identifies a function.
ProviderType represents function provier type.