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

Method Execute

cf/requirements/organization.go:29–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func (req *organizationAPIRequirement) Execute() error {
30 var apiErr error
31 req.org, apiErr = req.orgRepo.FindByName(req.name)
32
33 if apiErr != nil {
34 return apiErr
35 }
36
37 return nil
38}
39
40func (req *organizationAPIRequirement) SetOrganizationName(name string) {
41 req.name = name

Callers

nothing calls this directly

Calls 1

FindByNameMethod · 0.65

Tested by

no test coverage detected