cmdutil

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureAccessKey

func ConfigureAccessKey()

func FileExists

func FileExists(path string) bool

func GetAliCredential

func GetAliCredential() cloud.Credential

func GetAliCredentialFilePath

func GetAliCredentialFilePath() string

func GetCFHomeDir

func GetCFHomeDir() (string, error)

func PrintECSCacheFile added in v0.1.0

func PrintECSCacheFile(filePath string, header []string, region string, specifiedInstanceID string)

func PrintOSSCacheFile added in v0.1.0

func PrintOSSCacheFile(filePath string, header []string, region string)

func PrintRDSCacheFile added in v0.1.0

func PrintRDSCacheFile(filePath string, header []string, region string, specifiedDBInstanceID string, engine string)

func PrintTable added in v0.1.0

func PrintTable(data [][]string, header []string, resourceType string)

func ReadCacheFile

func ReadCacheFile(filePath string) [][]string

func ReturnCacheDict

func ReturnCacheDict() string

func ReturnECSCacheFile

func ReturnECSCacheFile() string

func ReturnOSSCacheFile

func ReturnOSSCacheFile() string

func ReturnRDSCacheFile added in v0.1.0

func ReturnRDSCacheFile() string

func SaveAccessKey

func SaveAccessKey(config cloud.Credential)

func Upgrade

func Upgrade(version string)

func WriteCacheFile

func WriteCacheFile(td cloud.TableData, filePath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL