Documentation ¶
Index ¶
- Constants
- type ApiGateway
- type CloudWatch
- type IAM
- type Lambda
- func (l *Lambda) Build() (string, error)
- func (l *Lambda) CreateFunctionEntry(file string) error
- func (l *Lambda) Deploy(zipPath string) (bool, error)
- func (l *Lambda) Invoke(command string) error
- func (l *Lambda) Logs()
- func (l *Lambda) Rollback(steps int) error
- func (l *Lambda) Undeploy() error
- func (l *Lambda) Update(zipPath string) error
- type S3
Constants ¶
View Source
const ( DefaultTimeout = 30 DefaultWaitDuration = 20 DefaultMaxRetry = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiGateway ¶
type ApiGateway struct {
// contains filtered or unexported fields
}
func NewApiGateway ¶
func NewApiGateway(config *config.Config, awsConfig aws.Config) *ApiGateway
type CloudWatch ¶
type CloudWatch struct {
// contains filtered or unexported fields
}
CloudWatch is the AWS Cloudwatch operations
func NewCloudWatch ¶
func NewCloudWatch(config *config.Config, awsConfig aws.Config) *CloudWatch
NewCloudWatch creates a new AWS Cloudwatch
func (*CloudWatch) DeleteLog ¶
func (c *CloudWatch) DeleteLog()
func (*CloudWatch) Monitor ¶
func (c *CloudWatch) Monitor()
monitor is an infinite loop that continously monitors AWS Cloudwatch log events
type Lambda ¶
type Lambda struct {
// contains filtered or unexported fields
}
Lambda is the AWS Lambda operations
func (*Lambda) CreateFunctionEntry ¶
CreateFunctionEntry creates a Lambda function handler file
Click to show internal directories.
Click to hide internal directories.