Versions in this module Expand all Collapse all v0 v0.17.0 Sep 8, 2020 Changes in this version + const CurrentAlias + const DryRun + const Event + const RequestResponse + func RegisterPlugin(name string, plugin Plugin) + type Builder interface + Build func(*Function, *archive.Zip) error + type Cleaner interface + Clean func(*Function) error + type Config struct + DeadLetterARN string + Description string + Edge bool + Environment map[string]string + Handler string + Hooks hooks.Hooks + KMSKeyArn string + Memory int64 + Region string + RetainedVersions *int + Role string + Runtime string + Shim bool + Timeout int64 + VPC vpc.VPC + Zip string + type Deployer interface + Deploy func(*Function) error + type Function struct + Alias string + FunctionName string + IgnoreFile []byte + Log log.Interface + Name string + Path string + Plugins []string + Service lambdaiface.LambdaAPI + func (f *Function) AWSConfig() *aws.Config + func (f *Function) Build() (io.Reader, error) + func (f *Function) BuildBytes() ([]byte, error) + func (f *Function) Clean() error + func (f *Function) Create(zip []byte) error + func (f *Function) CreateOrUpdateAlias(alias, version string) error + func (f *Function) Delete() error + func (f *Function) Deploy() error + func (f *Function) DeployCode(zip []byte, config *lambda.GetFunctionOutput) error + func (f *Function) DeployConfigAndCode(zip []byte) error + func (f *Function) GetAliases() (*lambda.ListAliasesOutput, error) + func (f *Function) GetConfig() (*lambda.GetFunctionOutput, error) + func (f *Function) GetConfigCurrent() (*lambda.GetFunctionOutput, error) + func (f *Function) GetConfigQualifier(s string) (*lambda.GetFunctionOutput, error) + func (f *Function) GetVersionFromAlias(alias string) (string, error) + func (f *Function) GroupName() string + func (f *Function) Invoke(event, context interface{}) (reply, logs io.Reader, err error) + func (f *Function) Open(environment string) error + func (f *Function) Rollback() error + func (f *Function) RollbackVersion(version string) error + func (f *Function) Setenv(name, value string) + func (f *Function) Update(zip []byte) error + func (f *Function) ZipBytes() ([]byte, error) + type InvocationType string + type InvokeError struct + Handled bool + Message string + Stack []string + Type string + func (e *InvokeError) Error() string + type Opener interface + Open func(*Function) error + type Plugin interface