Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContextKey ¶
type ContextKey string
ContextKey defines a type to store the integration lambda session in context.Context.
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger logs the lambda operations in a configurable file.
func GetLogger ¶
func GetLogger() *Logger
GetLogger returns the logger for lambda operations. If the logger is not created yet, it creates a new instance of Logger.
type Session ¶
type Session struct {
AwsSession *aws_s.Session
S3Session *s3.Session
// contains filtered or unexported fields
}
func GetSession ¶
GetSession returns the integration lambda session stored in context. Note that the context should be previously initialized with InitializeContext function.
func (*Session) CreateLambdaFunction ¶
func (*Session) DeleteLambdaFunction ¶
func (*Session) SetLambdaClient ¶
func (s *Session) SetLambdaClient()