lambda

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 39 Imported by: 0

Documentation

Overview

Package lambda implements the API Gateway & AWS Lambda platform.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	// contains filtered or unexported fields
}

Platform implementation.

func New

func New(c *up.Config, events event.Events) *Platform

New platform.

func (*Platform) ApplyStack

func (p *Platform) ApplyStack(region string) error

ApplyStack implementation.

func (*Platform) Build

func (p *Platform) Build() error

Build implementation.

func (*Platform) CreateStack

func (p *Platform) CreateStack(region, version string) error

CreateStack implementation.

func (*Platform) DeleteStack

func (p *Platform) DeleteStack(region string, wait bool) error

DeleteStack implementation.

func (*Platform) Deploy

func (p *Platform) Deploy(d up.Deploy) error

Deploy implementation.

func (*Platform) Domains

func (p *Platform) Domains() up.Domains

Domains implementation.

func (*Platform) Exists

func (p *Platform) Exists(region string) (bool, error)

Exists implementation.

func (*Platform) Init

func (p *Platform) Init(stage string) error

Init initializes the runtime.

func (*Platform) Logs

func (p *Platform) Logs(c up.LogsConfig) up.Logs

Logs implementation.

func (*Platform) PlanStack

func (p *Platform) PlanStack(region string) error

PlanStack implementation.

func (*Platform) Prune

func (p *Platform) Prune(region, stage string, versions int) error

Prune implementation.

func (*Platform) ShowMetrics

func (p *Platform) ShowMetrics(region, stage string, start time.Time) error

ShowMetrics implementation.

func (*Platform) ShowStack

func (p *Platform) ShowStack(region string) error

ShowStack implementation.

func (*Platform) URL

func (p *Platform) URL(region, stage string) (string, error)

URL returns the stage url.

func (*Platform) Zip

func (p *Platform) Zip() io.Reader

Zip returns the zip reader.

Directories

Path Synopsis
Package stack provides CloudFormation stack support.
Package stack provides CloudFormation stack support.

Jump to

Keyboard shortcuts

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