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

Method Execute

cf/requirements/application.go:28–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (req *applicationAPIRequirement) Execute() error {
29 var apiErr error
30 req.application, apiErr = req.appRepo.Read(req.name)
31
32 if apiErr != nil {
33 return apiErr
34 }
35
36 return nil
37}
38
39func (req *applicationAPIRequirement) GetApplication() models.Application {
40 return req.application

Callers

nothing calls this directly

Calls 1

ReadMethod · 0.65

Tested by

no test coverage detected