(deps commandregistry.Dependency, pluginCall bool)
| 61 | } |
| 62 | |
| 63 | func (cmd *Stop) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 64 | cmd.ui = deps.UI |
| 65 | cmd.config = deps.Config |
| 66 | cmd.appRepo = deps.RepoLocator.GetApplicationRepository() |
| 67 | return cmd |
| 68 | } |
| 69 | |
| 70 | func (cmd *Stop) ApplicationStop(app models.Application, orgName, spaceName string) (models.Application, error) { |
| 71 | var updatedApp models.Application |
nothing calls this directly
no test coverage detected