Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GCECredFile ¶
func GCECredFile(c common.Credential) (f *os.File, err error)
GCECredFile creates a Google Compute Engine credential file in the system temporary directory and returns the resulting *os.File. Multiple programs calling GCECredFile simultaneously will not choose the same file. The caller can use f.Name() to find the pathname of the file. It is the caller's responsibility to remove the file when no longer needed.
func GetCloudCredential ¶
GetCloudCredential cloud credential files and generates environment variables, This accepts string slice and common.Credential (cloud credential) interface and returns slice of environment variables generated and file handler to the credential file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.