MCPcopy Index your code
hub / github.com/cloudfoundry/cli / GetCurrentOrg

Method GetCurrentOrg

plugin/cli_connection.go:131–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131func (c *cliConnection) GetCurrentOrg() (plugin_models.Organization, error) {
132 var result plugin_models.Organization
133
134 err := c.withClientDo(func(client *rpc.Client) error {
135 return client.Call("CliRpcCmd.GetCurrentOrg", "", &result)
136 })
137
138 return result, err
139}
140
141func (c *cliConnection) GetCurrentSpace() (plugin_models.Space, error) {
142 var result plugin_models.Space

Callers

nothing calls this directly

Calls 1

withClientDoMethod · 0.95

Tested by

no test coverage detected