Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CagoManagedKey = "cago_managed"
CagoManagedKey The key in the credentials file indicating the profile is managed by Cago
View Source
var CredentialsFileLocation = credentialsFilePath + "credentials"
CredentialsFileLocation The location of the credentials file
Functions ¶
func GetAllManagedProfileNames ¶
func GetAllManagedProfileNames() []string
GetAllManagedProfileNames returns a list of the names of all managed profiles
func GetCredentialsFile ¶
GetCredentialsFile Returns the credentials file, creates a new empty file if it does not already exist
func GetProfileKey ¶
GetProfileKey returns the value for the specified profile and key
func HasManagedProfiles ¶
func HasManagedProfiles() bool
HasManagedProfiles returns true if there are managed profiles in the credentials file; false otherwise
func HasProfileExpired ¶
HasProfileExpired returns whether the specified profile has expired or not
Types ¶
Click to show internal directories.
Click to hide internal directories.