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

Method Execute

cf/requirements/domain.go:31–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (req *domainAPIRequirement) Execute() error {
32 var apiErr error
33 req.domain, apiErr = req.domainRepo.FindByNameInOrg(req.name, req.config.OrganizationFields().GUID)
34
35 if apiErr != nil {
36 return apiErr
37 }
38
39 return nil
40}
41
42func (req *domainAPIRequirement) GetDomain() models.DomainFields {
43 return req.domain

Callers

nothing calls this directly

Calls 2

FindByNameInOrgMethod · 0.65
OrganizationFieldsMethod · 0.65

Tested by

no test coverage detected