Documentation ¶
Index ¶
- func ConfigureAccessKey()
- func FileExists(path string) bool
- func GetCFHomeDir() (string, error)
- func GetConfig(provider string) cloud.Config
- func GetConfigFilePath(provider string) string
- func MaskAK(ak string) string
- func PrintECSCacheFile(filePath string, header []string, region string, specifiedInstanceID string, ...)
- func PrintOSSCacheFile(filePath string, header []string, region string, provider string, ...)
- func PrintRDSCacheFile(filePath string, header []string, region string, specifiedDBInstanceID string, ...)
- func PrintTable(data [][]string, header []string, resourceType string)
- func ReadCacheFile(filePath string, provider string, resourceType string) [][]string
- func ReturnCacheDict() string
- func ReturnCacheFile(provider string, resourceType string) string
- func ReturnCloudProviderList() ([]string, []string)
- func SaveAccessKey(config cloud.Config, provider string)
- func Upgrade(version string)
- func WriteCacheFile(td cloud.TableData, filePath string, region string, id string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureAccessKey ¶
func ConfigureAccessKey()
func FileExists ¶
func GetCFHomeDir ¶
func GetConfig ¶ added in v0.3.0
GetConfig reads the given provider profile and returns the cloud.Config
func GetConfigFilePath ¶ added in v0.3.0
func PrintECSCacheFile ¶ added in v0.1.0
func PrintOSSCacheFile ¶ added in v0.1.0
func PrintRDSCacheFile ¶ added in v0.1.0
func PrintTable ¶ added in v0.1.0
func ReadCacheFile ¶
func ReturnCacheDict ¶
func ReturnCacheDict() string
func ReturnCacheFile ¶ added in v0.3.0
func ReturnCloudProviderList ¶ added in v0.3.0
func SaveAccessKey ¶
SaveAccessKey saves the access key and secret key to the config file. [Can be used to Save and switch the profile]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.