meta

package
v1.11.57 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountId added in v1.11.38

func GetAccountId() string

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 GetDataV1 added in v1.10.41

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

func GetDataV2 added in v1.10.41

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

func GetRegion added in v1.10.38

func GetRegion(metaEndPoint string, preferEnv bool) string

GetRegion get current region from identity document

Types

This section is empty.

Jump to

Keyboard shortcuts

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