functions

package
v0.0.0-...-c54e3d4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildScriptInput

type BuildScriptInput struct {
	RootDir          string
	BuildDir         string
	BuildPath        string
	PackageDir       string
	SourcePath       string
	PackageFile      string
	RequirementsFile string

	ShouldCleanup bool

	GlobalRequirements []string
	GlobalIncludes     []string
}

BuildScriptInput holds are the required data to generate the build script from the buildScriptTemplate

type DeploymentPackage

type DeploymentPackage struct {
	Name         string
	FunctionName string
	FunctionArn  string
	AliasArn     string
	PackageFile  string
	RevisionId   string
	Config       *viper.Viper
}

func Build

func Build() []*DeploymentPackage

Build starts the build process for all of the serverless functions

func Deploy

func Deploy(deploymentPackages []*DeploymentPackage) []*DeploymentPackage

Jump to

Keyboard shortcuts

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