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

Function NewAppStager

command/v7/shared/app_stager.go:59–66  ·  view source on GitHub ↗
(actor stagingAndStartActor, ui command.UI, config command.Config, logCache sharedaction.LogCacheClient)

Source from the content-addressed store, hash-verified

57}
58
59func NewAppStager(actor stagingAndStartActor, ui command.UI, config command.Config, logCache sharedaction.LogCacheClient) AppStager {
60 return &Stager{
61 Actor: actor,
62 UI: ui,
63 Config: config,
64 LogCache: logCache,
65 }
66}
67
68func (stager *Stager) StageAndStart(app resources.Application, space configv3.Space, organization configv3.Organization, packageGUID string, opts AppStartOpts) error {
69 droplet, err := stager.StageApp(app, packageGUID, space)

Callers 6

SetupMethod · 0.92
SetupMethod · 0.92
SetupMethod · 0.92
SetupMethod · 0.92
SetupMethod · 0.92
app_stager_test.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected