Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDurationEmpty = errors.New("duration string is empty")
ErrDurationEmpty is returned when the duration string is empty or blank.
Functions ¶
func ParseDurationFlexible ¶ added in v1.197.0
ParseDurationFlexible parses a duration string in the shared Atmos duration format (see pkg/duration): bare integers are seconds, Go durations such as "1h30m", days such as "2d", and keywords such as "daily". Returns whole seconds, or an error for values that are not positive.
func SetEnvironmentVariable ¶
func SetEnvironmentVariable(stackInfo *schema.ConfigAndStacksInfo, key, value string)
SetEnvironmentVariable appends an environment variable to the stack info map/list.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.