Documentation
¶
Index ¶
- Variables
- type InfraConfig
- type Provider
- func (p Provider) DefaultLogProvider() string
- func (p Provider) Deploy(nsConfig api.Config, details app.Details, userConfig map[string]string) error
- func (p Provider) Exec(ctx context.Context, nsConfig api.Config, details app.Details, ...) error
- func (p Provider) Push(nsConfig api.Config, details app.Details, userConfig map[string]string) error
- func (p Provider) Ssh(ctx context.Context, nsConfig api.Config, details app.Details, ...) error
- func (p Provider) Status(nsConfig api.Config, details app.Details) (app.StatusReport, error)
- func (p Provider) StatusDetail(nsConfig api.Config, details app.Details) (app.StatusDetailReports, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ModuleContractName = types.ModuleContractName{ Category: string(types.CategoryApp), Subcategory: string(types.SubcategoryAppServerless), Provider: "aws", Platform: "lambda", Subplatform: "zip", }
Functions ¶
This section is empty.
Types ¶
type InfraConfig ¶
type InfraConfig struct {
Outputs aws_lambda_service.Outputs
}
InfraConfig provides a minimal understanding of the infrastructure provisioned for a module type=aws-fargate
func (InfraConfig) Print ¶
func (c InfraConfig) Print(logger *log.Logger)
func (InfraConfig) UpdateLambdaVersion ¶
func (c InfraConfig) UpdateLambdaVersion(ctx context.Context, version string) error
func (InfraConfig) UploadArtifact ¶
func (c InfraConfig) UploadArtifact(ctx context.Context, content io.ReadSeeker, version string) error
type Provider ¶
type Provider struct { }
func (Provider) DefaultLogProvider ¶
func (Provider) Deploy ¶
func (p Provider) Deploy(nsConfig api.Config, details app.Details, userConfig map[string]string) error
Deploy takes the following steps to deploy an AWS Lambda service
Update app version in nullstone Update function code to use just-uploaded archive
func (Provider) Push ¶
func (p Provider) Push(nsConfig api.Config, details app.Details, userConfig map[string]string) error
Push will upload the versioned artifact to the source artifact bucket for the lambda
func (Provider) StatusDetail ¶
Click to show internal directories.
Click to hide internal directories.