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

Method GetOrganizationLabels

actor/v7action/label.go:19–22  ·  view source on GitHub ↗
(orgName string)

Source from the content-addressed store, hash-verified

17}
18
19func (actor *Actor) GetOrganizationLabels(orgName string) (map[string]types.NullString, Warnings, error) {
20 resource, warnings, err := actor.GetOrganizationByName(orgName)
21 return actor.extractLabels(resource.Metadata, warnings, err)
22}
23
24func (actor *Actor) GetRouteLabels(routeName string, spaceGUID string) (map[string]types.NullString, Warnings, error) {
25 resource, warnings, err := actor.GetRoute(routeName, spaceGUID)

Callers

nothing calls this directly

Implementers 1

FakeActorcommand/v7/v7fakes/fake_actor.go

Calls 2

GetOrganizationByNameMethod · 0.95
extractLabelsMethod · 0.95

Tested by

no test coverage detected