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

Method GetDomainLabels

actor/v7action/label.go:14–17  ·  view source on GitHub ↗
(domainName string)

Source from the content-addressed store, hash-verified

12}
13
14func (actor *Actor) GetDomainLabels(domainName string) (map[string]types.NullString, Warnings, error) {
15 resource, warnings, err := actor.GetDomainByName(domainName)
16 return actor.extractLabels(resource.Metadata, warnings, err)
17}
18
19func (actor *Actor) GetOrganizationLabels(orgName string) (map[string]types.NullString, Warnings, error) {
20 resource, warnings, err := actor.GetOrganizationByName(orgName)

Callers

nothing calls this directly

Implementers 1

FakeActorcommand/v7/v7fakes/fake_actor.go

Calls 2

GetDomainByNameMethod · 0.95
extractLabelsMethod · 0.95

Tested by

no test coverage detected