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

Struct StartCommand

command/v7/start_command.go:13–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type StartCommand struct {
14 BaseCommand
15
16 RequiredArgs flag.AppName `positional-args:"yes"`
17 usage interface{} `usage:"CF_NAME start APP_NAME\n\n If the app's most recent package is unstaged, starting the app will stage and run that package.\n Otherwise, the app's current droplet will be run."`
18 relatedCommands interface{} `related_commands:"apps, logs, scale, ssh, stop, restart, run-task"`
19 envCFStagingTimeout interface{} `environmentName:"CF_STAGING_TIMEOUT" environmentDescription:"Max wait time for staging, in minutes" environmentDefault:"15"`
20 envCFStartupTimeout interface{} `environmentName:"CF_STARTUP_TIMEOUT" environmentDescription:"Max wait time for app instance startup, in minutes" environmentDefault:"5"`
21
22 LogCacheClient sharedaction.LogCacheClient
23 Stager shared.AppStager
24}
25
26func (cmd *StartCommand) Setup(config command.Config, ui command.UI) error {
27 err := cmd.BaseCommand.Setup(config, ui)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected