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

Method Username

plugin/cli_connection.go:151–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149}
150
151func (c *cliConnection) Username() (string, error) {
152 var result string
153
154 err := c.withClientDo(func(client *rpc.Client) error {
155 return client.Call("CliRpcCmd.Username", "", &result)
156 })
157
158 return result, err
159}
160
161func (c *cliConnection) UserGuid() (string, error) {
162 var result string

Callers

nothing calls this directly

Calls 1

withClientDoMethod · 0.95

Tested by

no test coverage detected