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
Click to show internal directories.
Click to hide internal directories.