https://github.com/upcloudltd/upcloud-go-instance-metadata
Go library for reading UpCloud server instance metadata
https://github.com/upcloudltd/upcloud-go-instance-metadata
cloud go golang metadata upcloud
Last synced: 8 months ago
JSON representation
Go library for reading UpCloud server instance metadata
- Host: GitHub
- URL: https://github.com/upcloudltd/upcloud-go-instance-metadata
- Owner: UpCloudLtd
- License: mit
- Created: 2022-07-06T22:04:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T12:10:34.000Z (almost 3 years ago)
- Last Synced: 2025-02-06T22:32:48.467Z (over 1 year ago)
- Topics: cloud, go, golang, metadata, upcloud
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UpCloud instance metadata Go library
[](https://pkg.go.dev/github.com/UpCloudLtd/upcloud-go-instance-metadata)
Go library for reading UpCloud server instance metadata from `http://169.254.169.254/metadata/v1.json`.
## Installation
You can use the following command to retrieve the this library:
```sh
go get github.com/UpCloudLtd/upcloud-go-instance-metadata
```
## Usage
To fetch an unmarshal instance metadata, see [example](metadata/example_read_test.go).