(serviceOfferingName string, serviceBrokerName string, labels map[string]types.NullString)
| 146 | } |
| 147 | |
| 148 | func (actor *Actor) UpdateServiceOfferingLabels(serviceOfferingName string, serviceBrokerName string, labels map[string]types.NullString) (Warnings, error) { |
| 149 | serviceOffering, warnings, err := actor.CloudControllerClient.GetServiceOfferingByNameAndBroker(serviceOfferingName, serviceBrokerName) |
| 150 | if err != nil { |
| 151 | return Warnings(warnings), actionerror.EnrichAPIErrors(err) |
| 152 | } |
| 153 | return actor.updateResourceMetadata("service-offering", serviceOffering.GUID, resources.Metadata{Labels: labels}, Warnings(warnings)) |
| 154 | } |
| 155 | |
| 156 | func (actor *Actor) UpdateServicePlanLabels(servicePlanName string, serviceOfferingName string, serviceBrokerName string, labels map[string]types.NullString) (Warnings, error) { |
| 157 | servicePlan, warnings, err := actor.GetServicePlanByNameOfferingAndBroker(servicePlanName, serviceOfferingName, serviceBrokerName) |
nothing calls this directly
no test coverage detected