MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cloud-sql-proxy / Token

Method Token

internal/gcloud/gcloud.go:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func (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.

Callers 3

TokenMethod · 0.95
TestGcloudFunction · 0.45
removeAuthEnvVarFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestGcloudFunction · 0.36
removeAuthEnvVarFunction · 0.36