Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TransAvailableZoneToZoneName ¶
TransAvailableZoneToZoneName - 将 availableZone 转成 zoneName
Types ¶
type AvailableZone ¶
type AvailableZone string
AvailableZone 可用区
const ( // ZoneA 可用区 A ZoneA AvailableZone = "zoneA" // ZoneB 可用区 B ZoneB AvailableZone = "zoneB" // ZoneC 可用区 C ZoneC AvailableZone = "zoneC" // ZoneD 可用区 D ZoneD AvailableZone = "zoneD" // ZoneE 可用区 E ZoneE AvailableZone = "zoneE" // ZoneF 可用区 F ZoneF AvailableZone = "zoneF" )
func TransZoneNameToAvailableZone ¶
func TransZoneNameToAvailableZone(zoneName string) (AvailableZone, error)
TransZoneNameToAvailableZone - 将 zoneName 转成 availableZone
Click to show internal directories.
Click to hide internal directories.