Function
NewAppStager
(actor stagingAndStartActor, ui command.UI, config command.Config, logCache sharedaction.LogCacheClient)
Source from the content-addressed store, hash-verified
| 57 | } |
| 58 | |
| 59 | func 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 | |
| 68 | func (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) |
Tested by
no test coverage detected