(servicePlan models.ServicePlanFields, serviceGUID string, public bool)
| 32 | } |
| 33 | |
| 34 | func (repo CloudControllerServicePlanRepository) Update(servicePlan models.ServicePlanFields, serviceGUID string, public bool) error { |
| 35 | return repo.gateway.UpdateResource( |
| 36 | repo.config.APIEndpoint(), |
| 37 | fmt.Sprintf("/v2/service_plans/%s", servicePlan.GUID), |
| 38 | strings.NewReader(fmt.Sprintf(`{"public":%t}`, public)), |
| 39 | ) |
| 40 | } |
| 41 | |
| 42 | func (repo CloudControllerServicePlanRepository) ListPlansFromManyServices(serviceGUIDs []string) ([]models.ServicePlanFields, error) { |
| 43 | serviceGUIDsString := strings.Join(serviceGUIDs, ",") |
nothing calls this directly
no test coverage detected