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

Method SetDependency

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

Source from the content-addressed store, hash-verified

58}
59
60func (cmd *Logs) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
61 cmd.ui = deps.UI
62 cmd.config = deps.Config
63 cmd.logsRepo = deps.RepoLocator.GetLogsRepository()
64 return cmd
65}
66
67func (cmd *Logs) Execute(c flags.FlagContext) error {
68 app := cmd.appReq.GetApplication()

Callers

nothing calls this directly

Calls 1

GetLogsRepositoryMethod · 0.80

Tested by

no test coverage detected