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

Method SetDependency

cf/commands/route/delete_route.go:82–87  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

80}
81
82func (cmd *DeleteRoute) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
83 cmd.ui = deps.UI
84 cmd.config = deps.Config
85 cmd.routeRepo = deps.RepoLocator.GetRouteRepository()
86 return cmd
87}
88
89func (cmd *DeleteRoute) Execute(c flags.FlagContext) error {
90 host := c.String("n")

Callers

nothing calls this directly

Calls 1

GetRouteRepositoryMethod · 0.80

Tested by

no test coverage detected