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

Function SpaceFromGUID

util/lookuptable/resource_from_guid.go:13–19  ·  view source on GitHub ↗
(spaces []resources.Space)

Source from the content-addressed store, hash-verified

11}
12
13func SpaceFromGUID(spaces []resources.Space) map[string]resources.Space {
14 result := make(map[string]resources.Space)
15 for _, space := range spaces {
16 result[space.GUID] = space
17 }
18 return result
19}
20
21func AppFromGUID(apps []resources.Application) map[string]resources.Application {
22 result := make(map[string]resources.Application)

Callers 1

getSecurityGroupSpacesFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected