(username, orgGUID string, resource interface{})
| 352 | } |
| 353 | |
| 354 | func (repo CloudControllerUserRepository) assocUserWithOrgByUsername(username, orgGUID string, resource interface{}) (apiErr error) { |
| 355 | path := fmt.Sprintf("/v2/organizations/%s/users", orgGUID) |
| 356 | return repo.ccGateway.UpdateResourceSync(repo.config.APIEndpoint(), path, usernamePayload(username), resource) |
| 357 | } |
| 358 | |
| 359 | func (repo CloudControllerUserRepository) assocUserWithOrgByUserGUID(userGUID, orgGUID string) (apiErr error) { |
| 360 | path := fmt.Sprintf("/v2/organizations/%s/users/%s", orgGUID, userGUID) |
no test coverage detected