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

Method GetCurrentSpace

plugin/cli_connection.go:141–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141func (c *cliConnection) GetCurrentSpace() (plugin_models.Space, error) {
142 var result plugin_models.Space
143
144 err := c.withClientDo(func(client *rpc.Client) error {
145 return client.Call("CliRpcCmd.GetCurrentSpace", "", &result)
146 })
147
148 return result, err
149}
150
151func (c *cliConnection) Username() (string, error) {
152 var result string

Callers

nothing calls this directly

Calls 1

withClientDoMethod · 0.95

Tested by

no test coverage detected