MCPcopy
hub / github.com/cloudfoundry/cli / GetSpaceUsers

Method GetSpaceUsers

plugin/rpc/cli_rpc_server.go:389–401  ·  view source on GitHub ↗
(args []string, retVal *[]plugin_models.GetSpaceUsers_Model)

Source from the content-addressed store, hash-verified

387}
388
389func (cmd *CliRpcCmd) GetSpaceUsers(args []string, retVal *[]plugin_models.GetSpaceUsers_Model) error {
390 deps := commandregistry.NewDependency(cmd.stdout, cmd.logger, dialTimeout)
391
392 // set deps objs to be the one used by all other commands
393 // once all commands are converted, we can make fresh deps for each command run
394 deps.Config = cmd.cliConfig
395 deps.RepoLocator = cmd.repoLocator
396 deps.PluginModels.SpaceUsers = retVal
397 cmd.terminalOutputSwitch.DisableTerminalOutput(true)
398 deps.UI = terminal.NewUI(os.Stdin, cmd.stdout, cmd.terminalOutputSwitch.(*terminal.TeePrinter), cmd.logger)
399
400 return cmd.newCmdRunner.Command(append([]string{"space-users"}, args...), deps, true)
401}
402
403func (cmd *CliRpcCmd) GetOrg(orgName string, retVal *plugin_models.GetOrg_Model) error {
404 deps := commandregistry.NewDependency(cmd.stdout, cmd.logger, dialTimeout)

Callers

nothing calls this directly

Calls 4

NewDependencyFunction · 0.92
NewUIFunction · 0.92
DisableTerminalOutputMethod · 0.65
CommandMethod · 0.65

Tested by

no test coverage detected