examples/

directory
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2025 License: MIT

README

Usage examples

You must first get a API Token and the Project ID to access the metalstack.cloud api then export this as environment variables.

Grab a project with metalctl.

export API_TOKEN=yourapitoken
export PROJECT_ID=yourprojectuuid
export METAL_APISERVER_URL=metal-apiserver url

Then you can execute them as following:

# Golang:
go run go/ip-list.go

# Curl:
sh curl/ip-list.sh

# Python:
python python/ip-list.py

Python support

In order to make python work with a connect server we can choose which of the unofficial connectrpc python libraries we would use:

All of them do not have a buf plugin yet, the last one does not need one.

There is a upstream PR where this feature request is discussed: Connect Python Implementation

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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