Documentation ¶
Index ¶
Constants ¶
View Source
const MaxLambdaRetries = 3
MaxLambdaRetries is the number of times to try invoking a function before giving up and returning an error
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionConfig ¶
FunctionConfig holds the configuration of an individual Lambda function
type LambdaClient ¶
type LambdaClient struct {
Client lambdaiface.LambdaAPI
}
LambdaClient wraps the AWS Lambda API and provides functions for deploying and invoking lambda functions
func NewLambdaClient ¶
func NewLambdaClient() *LambdaClient
NewLambdaClient initializes a new LambdaClient
func (*LambdaClient) DeleteFunction ¶
func (l *LambdaClient) DeleteFunction(functionName string) error
DeleteFunction tears down the given function
func (*LambdaClient) DeployFunction ¶
func (l *LambdaClient) DeployFunction(function *FunctionConfig) error
DeployFunction deploys the current directory as a lamba function
Click to show internal directories.
Click to hide internal directories.