aws_lambda

package
v0.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.Reader, version string) error

type Provider

type Provider struct {
}

func (Provider) Deploy

func (p Provider) Deploy(nsConfig api.Config, application *types.Application, env *types.Environment, workspace *types.Workspace, 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, application *types.Application, env *types.Environment, workspace *types.Workspace, userConfig map[string]string) error

Push will upload the versioned artifact to the source artifact bucket for the lambda

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL