Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Test = false
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
RegionID string
ZoneID string
VPCID string
VSwitchID string
PrimaryMAC string
InstanceID string
InstanceType string
}
func GetInstanceMeta ¶
func GetInstanceMeta() *Instance
type Limits ¶
type Limits struct {
// Adapters specifies the maximum number of interfaces that can be
// attached to the instance
Adapters int
// TotalAdapters maximum number of interfaces that can be
// attached to the instance
TotalAdapters int
// IPv4PerAdapter is the maximum number of ipv4 addresses per adapter/interface
IPv4PerAdapter int
// IPv6PerAdapter is the maximum number of ipv6 addresses per adapter/interface
IPv6PerAdapter int
// MemberAdapterLimit is the number interfaces that type is member
MemberAdapterLimit int
// MaxMemberAdapterLimit is the limit to use member
MaxMemberAdapterLimit int
// ERdmaAdapters specifies the maximum number of erdma interfaces
ERdmaAdapters int
InstanceBandwidthRx int
InstanceBandwidthTx int
}
Limits specifies the IPAM relevant instance limits
func GetLimit ¶
GetLimit returns the instance limits of a particular instance type. // https://www.alibabacloud.com/help/doc-detail/25620.htm if instanceType is empty will list all instanceType and warm the cache, no error and Limits will return
func (*Limits) ExclusiveENIPod ¶
func (*Limits) ExclusiveERDMARes ¶
func (*Limits) MaximumTrunkPod ¶
func (*Limits) MultiIPPod ¶
func (*Limits) SupportIPv6 ¶
func (*Limits) SupportMultiIPIPv6 ¶
Click to show internal directories.
Click to hide internal directories.