Documentation
¶
Index ¶
- Constants
- func FileExists(filename string) (bool, error)
- func GetCachedVersionFilePath() (string, error)
- func GetCredentials() (map[string]interface{}, error)
- func GetCredentialsToken() string
- func KusionCredentialsFilename() string
- func KusionDataFolder() (string, error)
- func Stat(filename string) (fileInfo os.FileInfo, err error)
Constants ¶
View Source
const ( EnvKusionPath = "KUSION_PATH" // CachedVersionFile is the name of the file we use to store when we last checked if the CLI was out of date CachedVersionFile = ".cached_version" )
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func GetCachedVersionFilePath ¶ added in v0.7.2
GetCachedVersionFilePath returns the location where the CLI caches information from pulumi.com on the newest available version of the CLI
func GetCredentials ¶
Get the kusion credentials data
func GetCredentialsToken ¶
func GetCredentialsToken() string
GetCredentialsToken returns the token from credentials file
func KusionCredentialsFilename ¶
func KusionCredentialsFilename() string
Get the file name of the kusion credentials file
func KusionDataFolder ¶
KusionDataFolder gets the kusion data directory of the current user
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.