(deps commandregistry.Dependency, pluginCall bool)
| 86 | } |
| 87 | |
| 88 | func (cmd *BindRouteService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 89 | cmd.ui = deps.UI |
| 90 | cmd.config = deps.Config |
| 91 | cmd.routeRepo = deps.RepoLocator.GetRouteRepository() |
| 92 | cmd.routeServiceBindingRepo = deps.RepoLocator.GetRouteServiceBindingRepository() |
| 93 | return cmd |
| 94 | } |
| 95 | |
| 96 | func (cmd *BindRouteService) Execute(c flags.FlagContext) error { |
| 97 | var port int |
nothing calls this directly
no test coverage detected