GetSpaceGUID gets the GUID of a space with the given name.
(spaceName string)
| 106 | |
| 107 | // GetSpaceGUID gets the GUID of a space with the given name. |
| 108 | func GetSpaceGUID(spaceName string) string { |
| 109 | session := CF("space", "--guid", spaceName) |
| 110 | Eventually(session).Should(Exit(0)) |
| 111 | return strings.TrimSpace(string(session.Out.Contents())) |
| 112 | } |
| 113 | |
| 114 | // QuickDeleteOrg deletes the org with the given name, if provided, using |
| 115 | // 'cf curl /v3/organizations... -X DELETE'. |
no test coverage detected