tencentlh

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LHCacheFilePath = cmdutil.ReturnCacheFile("tencent", "LH")
)

Functions

func GetLHRegions

func GetLHRegions() []*lh.RegionInfo

func LHClient

func LHClient(region string) *lh.Client

func PrintInstancesList

func PrintInstancesList(region string, running bool, specifiedInstanceID string, lhFlushCache bool)

func PrintInstancesListHistory

func PrintInstancesListHistory(region string, running bool, specifiedInstanceID string)

func PrintInstancesListRealTime

func PrintInstancesListRealTime(region string, running bool, specifiedInstanceID string)

Types

type Instances

type Instances struct {
	InstanceId       string
	InstanceName     string
	OSName           string
	Status           string
	PrivateIpAddress string
	PublicIpAddress  string
	RegionId         string
	CWPStatus        string
	UUID             string
}

func DescribeInstances

func DescribeInstances(region string, running bool, SpecifiedInstanceID string) []Instances

func ReturnInstancesList

func ReturnInstancesList(region string, running bool, specifiedInstanceID string) []Instances

Jump to

Keyboard shortcuts

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