pkg

package
v0.0.0-...-c92c692 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployConfig

type DeployConfig struct {
	Env                string `json:"env" env:"ENV"  mapstructure:"ENV"`
	AppName            string `json:"app_name" env:"APP_NAME"  mapstructure:"APP_NAME"`
	LambdaName         string // Combined AppName and Env
	SourceCodeFilename string // LambdaName + commit + '.zip'; it appends -dirty if there are uncommitted changes
	BuildsBucket       string `json:"builds_bucket" env:"BUILDS_BUCKET"  mapstructure:"BUILDS_BUCKET"`
	LogGroupName       string `json:"log_group_name" env:"LOG_GROUP_NAME"  mapstructure:"LOG_GROUP_NAME"`
}

func LoadConfig

func LoadConfig() (DeployConfig, error)

func LoadConfigOrDefaults

func LoadConfigOrDefaults() DeployConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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