MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / getApps

Function getApps

commands/mta_command_test.go:210–218  ·  view source on GitHub ↗
(name, state string)

Source from the content-addressed store, hash-verified

208})
209
210func getApps(name, state string) []models.CloudFoundryApplication {
211 return []models.CloudFoundryApplication{
212 {
213 Name: name,
214 Guid: "app-guid",
215 State: state,
216 },
217 }
218}
219
220func getProcessStats(runningInstances, totalInstances int64, memory, diskQuota int64) []models.ApplicationProcessStatistics {
221 var processes []models.ApplicationProcessStatistics

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected