Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTokenSource ¶
func GetTokenSource( ctx context.Context, keyFile string, tokenUrl string, reuseTokenFromUrl bool, ) (tokenSrc oauth2.TokenSource, err error)
GetTokenSource returns a TokenSource for GCS API given a key file, or with the default credentials.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.