AppGUID returns the GUID for an app in the currently targeted space.
(appName string)
| 250 | |
| 251 | // AppGUID returns the GUID for an app in the currently targeted space. |
| 252 | func AppGUID(appName string) string { |
| 253 | session := CF("app", appName, "--guid") |
| 254 | Eventually(session).Should(Exit(0)) |
| 255 | return strings.TrimSpace(string(session.Out.Contents())) |
| 256 | } |
| 257 | |
| 258 | // AppJSON returns the JSON representation of an app by name. |
| 259 | func AppJSON(appName string) string { |
no test coverage detected