Documentation ¶
Index ¶
- func GetInstanceID(ctx context.Context) (string, error)
- func GetInstanceType(ctx context.Context) (string, error)
- func GetRegionID(ctx context.Context) (string, error)
- func GetVPCCIDRBlock(ctx context.Context) (string, error)
- func GetVPCID(ctx context.Context) (string, error)
- func GetZoneID(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstanceID ¶
GetInstanceID returns the instance ID from metadata
func GetInstanceType ¶
GetInstanceType returns the instance type from metadata
func GetRegionID ¶
GetRegionID returns the region ID from metadata
func GetVPCCIDRBlock ¶
GetVPCCIDRBlock returns the IPv4 CIDR block of the VPC to which the instance belongs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.