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

Method GetCurrentSpace

plugin/rpc/cli_rpc_server.go:214–219  ·  view source on GitHub ↗
(args string, retVal *plugin_models.Space)

Source from the content-addressed store, hash-verified

212}
213
214func (cmd *CliRpcCmd) GetCurrentSpace(args string, retVal *plugin_models.Space) error {
215 retVal.Name = cmd.cliConfig.SpaceFields().Name
216 retVal.Guid = cmd.cliConfig.SpaceFields().GUID
217
218 return nil
219}
220
221func (cmd *CliRpcCmd) Username(args string, retVal *string) error {
222 *retVal = cmd.cliConfig.Username()

Callers

nothing calls this directly

Calls 1

SpaceFieldsMethod · 0.65

Tested by

no test coverage detected