Documentation ¶
Index ¶
- func GetData(base, path string) ([]byte, error)
- func GetDomain(metaEndpoint string) (string, error)
- func GetInstanceId(metaEndpoint string) (string, error)
- func GetInstanceName(metaEndpoint string) (string, error)
- func GetInstancePrivateIp(metaEndpoint string) (string, error)
- func GetInstancePublicIp(metaEndpoint string) (string, error)
- func GetProfile(metaEndpoint string) (string, error)
- func GetProject(metaEndpoint string) (string, error)
- func GetRegion(metaEndPoint string) string
- func GetService(metaEndpoint string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetData ¶
GetData makes a http call to the local metadata end point and returns the metadata document as bytes
func GetInstanceId ¶
func GetInstanceName ¶ added in v1.11.31
func GetInstancePrivateIp ¶ added in v1.11.29
func GetInstancePublicIp ¶ added in v1.11.29
func GetProfile ¶
func GetProject ¶
func GetService ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.