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

Function NewRollbackMtaCommand

commands/rollback_mta_command.go:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func NewRollbackMtaCommand() *RollbackMtaCommand {
26 baseCmd := &BaseCommand{flagsParser: NewProcessActionExecutorCommandArgumentsParser([]string{"MTA_ID"}), flagsValidator: NewDefaultCommandFlagsValidator(nil)}
27 rollbackMtaCmd := &RollbackMtaCommand{baseCmd, &rollbackMtaCommandProcessTypeProvider{}}
28 baseCmd.Command = rollbackMtaCmd
29 return rollbackMtaCmd
30}
31
32// GetPluginCommand returns more information for the blue green deploy command.
33func (c *RollbackMtaCommand) GetPluginCommand() plugin.Command {

Callers 2

Tested by

no test coverage detected