(verb, path string, body io.ReadSeeker)
| 267 | } |
| 268 | |
| 269 | func (repo CloudControllerUserRepository) callAPI(verb, path string, body io.ReadSeeker) (err error) { |
| 270 | request, err := repo.ccGateway.NewRequest(verb, path, repo.config.AccessToken(), body) |
| 271 | if err != nil { |
| 272 | return |
| 273 | } |
| 274 | _, err = repo.ccGateway.PerformRequest(request) |
| 275 | if err != nil { |
| 276 | return |
| 277 | } |
| 278 | return |
| 279 | } |
| 280 | |
| 281 | func userGUIDPath(apiEndpoint, userGUID, orgGUID string, role models.Role) (string, error) { |
| 282 | rolePath, err := rolePath(role) |
no test coverage detected