MCPcopy Create free account
hub / github.com/cloudfoundry/cli / GetServicePlans

Method GetServicePlans

api/cloudcontroller/ccv3/service_plan.go:28–31  ·  view source on GitHub ↗

GetServicePlans lists service plan with optional filters.

(query ...Query)

Source from the content-addressed store, hash-verified

26
27// GetServicePlans lists service plan with optional filters.
28func (client *Client) GetServicePlans(query ...Query) ([]resources.ServicePlan, Warnings, error) {
29 plans, _, warnings, err := client.getServicePlans(query...)
30 return plans, warnings, err
31}
32
33func (client *Client) getServicePlans(query ...Query) ([]resources.ServicePlan, IncludedResources, Warnings, error) {
34 var plans []resources.ServicePlan

Callers

nothing calls this directly

Calls 1

getServicePlansMethod · 0.95

Tested by

no test coverage detected