Documentation ¶
Index ¶
- func GetDBConnectionDetails() (string, error)
- func GetMyApplicationURIs() ([]string, error)
- func GetPassel() ([]string, error)
- func GetPasselState(db *sql.DB, passel []string) (map[string]string, error)
- func GetPassword() (string, error)
- func GetState(db *sql.DB, possum string) (string, error)
- func GetUsername() (string, error)
- func SetupStateDB(db *sql.DB) error
- func WriteState(db *sql.DB, desiredPossum string, desiredState string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDBConnectionDetails ¶
GetDBConnectionDetails - Loads database connection details from UPS "possum-db"
func GetMyApplicationURIs ¶
GetMyApplicationURIs - fetched application URIs from VCAP Application
func GetPasselState ¶
GetPasselState - returns current state for the given passel
func SetupStateDB ¶
SetupStateDB - creates the state DB if it does not exist
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.