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

Method IsLoggedIn

plugin/cli_connection.go:191–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189}
190
191func (c *cliConnection) IsLoggedIn() (bool, error) {
192 var result bool
193
194 err := c.withClientDo(func(client *rpc.Client) error {
195 return client.Call("CliRpcCmd.IsLoggedIn", "", &result)
196 })
197
198 return result, err
199}
200
201func (c *cliConnection) HasOrganization() (bool, error) {
202 var result bool

Callers

nothing calls this directly

Calls 1

withClientDoMethod · 0.95

Tested by

no test coverage detected