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

Method SetDependency

cf/commands/route/unmap_route.go:86–91  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

84}
85
86func (cmd *UnmapRoute) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
87 cmd.ui = deps.UI
88 cmd.config = deps.Config
89 cmd.routeRepo = deps.RepoLocator.GetRouteRepository()
90 return cmd
91}
92
93func (cmd *UnmapRoute) Execute(c flags.FlagContext) error {
94 hostName := c.String("n")

Callers

nothing calls this directly

Calls 1

GetRouteRepositoryMethod · 0.80

Tested by

no test coverage detected