Discover Packages
github.com/metal-stack-cloud/api
examples
directory
Version:
v0.8.3
Opens a new window with list of versions in this module.
Published: Mar 13, 2024
License: MIT
Opens a new window with license information.
README
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.
You can get the Project ID from the console as described here .
export API_TOKEN=yourapitoken
export PROJECT_ID=yourprojectuuid
Then you can execute them as follwoing:
Golang:
go run go/cluster-list.go
Typescript:
cd ts && npm install
npx tsx cluster-list.ts
Ansible:
ansible-playbook ansible/cluster-list.yaml
Curl:
sh curl/cluster-list.sh
Expand ▾
Collapse ▴
Directories
¶
Click to show internal directories.
Click to hide internal directories.