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