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

Method SetDependency

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

Source from the content-addressed store, hash-verified

53}
54
55func (cmd *DisableSSH) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
56 cmd.ui = deps.UI
57 cmd.config = deps.Config
58 cmd.appRepo = deps.RepoLocator.GetApplicationRepository()
59 return cmd
60}
61
62func (cmd *DisableSSH) Execute(fc flags.FlagContext) error {
63 app := cmd.appReq.GetApplication()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected