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

Method GetSummary

cf/api/app_summary.go:163–174  ·  view source on GitHub ↗
(appGUID string)

Source from the content-addressed store, hash-verified

161}
162
163func (repo CloudControllerAppSummaryRepository) GetSummary(appGUID string) (summary models.Application, apiErr error) {
164 path := fmt.Sprintf("%s/v2/apps/%s/summary", repo.config.APIEndpoint(), appGUID)
165 summaryResponse := new(ApplicationFromSummary)
166 apiErr = repo.gateway.GetResource(path, summaryResponse)
167 if apiErr != nil {
168 return
169 }
170
171 summary = summaryResponse.ToModel()
172
173 return
174}

Callers

nothing calls this directly

Calls 3

GetResourceMethod · 0.80
APIEndpointMethod · 0.65
ToModelMethod · 0.45

Tested by

no test coverage detected