Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EnvStateRunning means that ALL instances for an env are in "running" state EnvStateRunning = "running" // EnvStateStopped means that ALL instances for an env are in "stopped" state EnvStateStopped = "stopped" // EnvStateMixed means that instances for an env are in EITHER "stopped" or "running" state EnvStateMixed = "mixed" // EnvStateChanging means that AT LEAST ONE instance for an env is NOT in a "running" state or "stopped" state EnvStateChanging = "changing" // ASGLabel is used to identify an ASG instance ASGLabel = "ASG" )
View Source
const (
// APIVersion defines the compatability version of the API and is appended to each API route
APIVersion = "1"
)
Variables ¶
View Source
var ( // Version of application Version = "devel" // CommitSHA is the short SHA hash of the git commit CommitSHA = "unknown" // BuildDate is the date this application was compiled BuildDate = "unknown" )
Functions ¶
func ComputeID ¶
ComputeID returns the first 12 characters from a SHA1 hash of the combined input string(s)
func ConfigInit ¶
ConfigInit instantiates and validates the configuration options optionally it can print out a configuration summary
func PrintVersion ¶
func PrintVersion()
PrintVersion prints the current version information to stdout
func StartBackendDeamon ¶
func StartBackendDeamon(cfgFile string)
StartBackendDeamon Blocking function that starts the backend process
func StartPoller ¶
func StartPoller()
StartPoller is an infinite loop which periodically polls AWS to refresh the cache
Types ¶
Click to show internal directories.
Click to hide internal directories.