Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // by parameter Email string PrivateKey string // by file Filename string Scopes []string TokenURL string Timeout time.Duration CredsJSONBody string UseTempCredsFile bool // contains filtered or unexported fields }
func (*Config) CredsFilePath ¶ added in v0.5.0
CredsFilePath returns credential file path. if UseTempCredsFile is true, then temporary creds json file will be created.
func (Config) DeleteTempCredsFile ¶ added in v0.5.0
DeleteTempCredsFile deletes temporary creds json file.
func (Config) NewContext ¶
Click to show internal directories.
Click to hide internal directories.