Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetEnvProviderFunc func() EnvProvider
Functions ¶
func GetExecStatus ¶
func GetPreviousVersion ¶
GetPreviousVersion tries to extract the version property in a JSON response and return the previous version that must be a non-negative integer.
func ParseHours ¶
ParseHours returns the number of hours given a string that can represent either an integer (denoting hours) or an integer with a time-unit specifier.
func StringToSlice ¶
StringToSlice converts a string with comma-separated elements to a slice. It first excludes a leading or trailing bracket character if present in the string.
Types ¶
type EnvProvider ¶
func NewEnvProvider ¶
func NewEnvProvider() EnvProvider
Click to show internal directories.
Click to hide internal directories.