MCPcopy
hub / github.com/cloudfoundry/cli / Execute

Method Execute

cf/requirements/space.go:33–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33func (req *spaceAPIRequirement) Execute() error {
34 var apiErr error
35 req.space, apiErr = req.spaceRepo.FindByName(req.name)
36
37 if apiErr != nil {
38 return apiErr
39 }
40
41 return nil
42}
43
44func (req *spaceAPIRequirement) GetSpace() models.Space {
45 return req.space

Callers

nothing calls this directly

Calls 1

FindByNameMethod · 0.65

Tested by

no test coverage detected