Documentation ¶
Index ¶
Constants ¶
View Source
const ECSCLOUDSERVICETYPECODE = "hws.service.type.ec2"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudServerExt ¶
type CloudServerExt struct { CloudServer *cloudservers.CloudServer //volume attached new VolumeAttached []VolumeInfo //云服务器计费信息 new Charging Charging }
在server结构上加上了相关bss(Charging)信息及相关volume(VolumeAttached)信息
func GetPrepaidServerDetailByOrderId ¶
func GetPrepaidServerDetailByOrderId(client *gophercloud.ServiceClient, orderId string) ([]CloudServerExt, error)
func GetServerExt ¶
func GetServerExt(client *gophercloud.ServiceClient, serverId string) (CloudServerExt, error)
type VolumeInfo ¶
Click to show internal directories.
Click to hide internal directories.