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

Method SetDependency

cf/commands/service/service.go:61–69  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

59}
60
61func (cmd *ShowService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
62 cmd.ui = deps.UI
63
64 cmd.pluginCall = pluginCall
65 cmd.pluginModel = deps.PluginModels.Service
66 cmd.appRepo = deps.RepoLocator.GetApplicationRepository()
67
68 return cmd
69}
70
71func (cmd *ShowService) Execute(c flags.FlagContext) error {
72 serviceInstance := cmd.serviceInstanceReq.GetServiceInstance()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected