MCPcopy Create free account
hub / github.com/cloudfoundry/cli / SetDependency

Method SetDependency

cf/commands/service/bind_route_service.go:88–94  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

86}
87
88func (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
96func (cmd *BindRouteService) Execute(c flags.FlagContext) error {
97 var port int

Callers

nothing calls this directly

Calls 2

GetRouteRepositoryMethod · 0.80

Tested by

no test coverage detected