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

Method GetRouteLabels

actor/v7action/label.go:24–27  ·  view source on GitHub ↗
(routeName string, spaceGUID string)

Source from the content-addressed store, hash-verified

22}
23
24func (actor *Actor) GetRouteLabels(routeName string, spaceGUID string) (map[string]types.NullString, Warnings, error) {
25 resource, warnings, err := actor.GetRoute(routeName, spaceGUID)
26 return actor.extractLabels((*resources.Metadata)(resource.Metadata), warnings, err)
27}
28
29func (actor *Actor) GetServiceBrokerLabels(serviceBrokerName string) (map[string]types.NullString, Warnings, error) {
30 serviceBroker, warnings, err := actor.GetServiceBrokerByName(serviceBrokerName)

Callers

nothing calls this directly

Implementers 1

FakeActorcommand/v7/v7fakes/fake_actor.go

Calls 2

GetRouteMethod · 0.95
extractLabelsMethod · 0.95

Tested by

no test coverage detected