(deps commandregistry.Dependency, pluginCall bool)
| 59 | } |
| 60 | |
| 61 | func (cmd *ShowService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 62 | cmd.ui = deps.UI |
| 63 | |
| 64 | cmd.pluginCall = pluginCall |
| 65 | cmd.pluginModel = deps.PluginModels.Service |
| 66 | cmd.appRepo = deps.RepoLocator.GetApplicationRepository() |
| 67 | |
| 68 | return cmd |
| 69 | } |
| 70 | |
| 71 | func (cmd *ShowService) Execute(c flags.FlagContext) error { |
| 72 | serviceInstance := cmd.serviceInstanceReq.GetServiceInstance() |
nothing calls this directly
no test coverage detected