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

Method SetDependency

cf/commands/application/delete.go:60–66  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

GetRouteRepositoryMethod · 0.80

Tested by

no test coverage detected