meta

package
v1.11.36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetData

func GetData(base, path string) ([]byte, error)

GetData makes a http call to the local metadata end point and returns the metadata document as bytes

func GetDomain

func GetDomain(metaEndpoint string) (string, error)

func GetInstanceId

func GetInstanceId(metaEndpoint string) (string, error)

func GetInstanceName added in v1.11.31

func GetInstanceName(metaEndpoint string) (string, error)

func GetInstancePrivateIp added in v1.11.29

func GetInstancePrivateIp(metaEndpoint string) (string, error)

func GetInstancePublicIp added in v1.11.29

func GetInstancePublicIp(metaEndpoint string) (string, error)

func GetProfile

func GetProfile(metaEndpoint string) (string, error)

func GetProject

func GetProject(metaEndpoint string) (string, error)

func GetRegion

func GetRegion(metaEndPoint string) string

GetRegion get current region from identity document

func GetService

func GetService(metaEndpoint string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL