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

Method SetDependency

cf/commands/route/check_route.go:61–67  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

59}
60
61func (cmd *CheckRoute) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
62 cmd.ui = deps.UI
63 cmd.config = deps.Config
64 cmd.routeRepo = deps.RepoLocator.GetRouteRepository()
65 cmd.domainRepo = deps.RepoLocator.GetDomainRepository()
66 return cmd
67}
68
69func (cmd *CheckRoute) Execute(c flags.FlagContext) error {
70 hostName := c.Args()[0]

Callers

nothing calls this directly

Calls 2

GetRouteRepositoryMethod · 0.80
GetDomainRepositoryMethod · 0.80

Tested by

no test coverage detected