MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewCloudControllerServicePlanRepository

Function NewCloudControllerServicePlanRepository

cf/api/service_plan.go:27–32  ·  view source on GitHub ↗
(config coreconfig.Reader, gateway net.Gateway)

Source from the content-addressed store, hash-verified

25}
26
27func NewCloudControllerServicePlanRepository(config coreconfig.Reader, gateway net.Gateway) CloudControllerServicePlanRepository {
28 return CloudControllerServicePlanRepository{
29 config: config,
30 gateway: gateway,
31 }
32}
33
34func (repo CloudControllerServicePlanRepository) Update(servicePlan models.ServicePlanFields, serviceGUID string, public bool) error {
35 return repo.gateway.UpdateResource(

Callers 2

NewRepositoryLocatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected