()
| 34 | } |
| 35 | |
| 36 | func (c *config) Token() *oauth2.Token { |
| 37 | return &oauth2.Token{ |
| 38 | AccessToken: c.Credential.AccessToken, |
| 39 | Expiry: c.Credential.TokenExpiry, |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | // Path returns the absolute path to the gcloud command. If the command is not |
| 44 | // found it returns an error. |
no outgoing calls