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

Method GetCurrentOrg

plugin/plugin.go:24–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 CliCommandWithoutTerminalOutput(args ...string) ([]string, error)
23 CliCommand(args ...string) ([]string, error)
24 GetCurrentOrg() (plugin_models.Organization, error)
25 GetCurrentSpace() (plugin_models.Space, error)
26 Username() (string, error)
27 UserGuid() (string, error)

Callers 2

RunMethod · 0.65
RunMethod · 0.65

Implementers 2

cliConnectionplugin/cli_connection.go
FakeCliConnectionplugin/pluginfakes/fake_cli_connection

Calls

no outgoing calls

Tested by

no test coverage detected