Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ECS ¶ added in v1.13.7
type ECS struct {
// contains filtered or unexported fields
}
func (*ECS) GetInstanceID ¶ added in v1.13.7
func (*ECS) GetInstanceType ¶ added in v1.13.7
func (*ECS) GetPrimaryMAC ¶ added in v1.13.7
func (*ECS) GetRegionID ¶ added in v1.13.7
func (*ECS) GetVSwitchID ¶ added in v1.13.7
type Interface ¶ added in v1.13.7
type Interface interface {
GetRegionID() (string, error)
GetZoneID() (string, error)
GetVSwitchID() (string, error)
GetPrimaryMAC() (string, error)
GetInstanceID() (string, error)
GetInstanceType() (string, error)
}
func GetInstanceMeta ¶
func GetInstanceMeta() Interface
Click to show internal directories.
Click to hide internal directories.