Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TABLE_NAME = "AppDetail"
)
Functions ¶
func IsDBEnabled ¶
func IsDBEnabled() bool
Types ¶
type AppDetail ¶
type AppInstanceDetail ¶
type VcapServiceTypeDefn ¶
type VcapServiceTypeDefn struct { Name string `json:"name"` Label string `json:"label"` Plan string `json:"plan"` Tags []string `json:"tags"` Credentials struct { Name string `json:"name"` Hostname string `json:"hostname"` Uri string `json:"uri"` JdbcUrl string `json:"jbdbcUrl"` Port string `json:"port"` Password string `json:"password"` Username string `json:"username"` } `json:"credentials"` }
type VcapServices ¶
type VcapServices struct {
MySqlServiceDefn []VcapServiceTypeDefn `json:"cleardb-n/a"`
}
EDIT the mongo db version based on actual vcap services output
if going with MongoDB
Click to show internal directories.
Click to hide internal directories.