(quota models.QuotaFields)
| 77 | } |
| 78 | |
| 79 | func (repo CloudControllerQuotaRepository) Update(quota models.QuotaFields) error { |
| 80 | path := fmt.Sprintf("/v2/quota_definitions/%s", quota.GUID) |
| 81 | return repo.gateway.UpdateResourceFromStruct(repo.config.APIEndpoint(), path, quota) |
| 82 | } |
| 83 | |
| 84 | func (repo CloudControllerQuotaRepository) AssignQuotaToOrg(orgGUID, quotaGUID string) (apiErr error) { |
| 85 | path := fmt.Sprintf("/v2/organizations/%s", orgGUID) |
nothing calls this directly
no test coverage detected