Skip to content

k8s-proxmox/proxmox-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxmox VE REST API Client

Go client for the Proxmox VE REST API (https://pve.proxmox.com/wiki/Proxmox_VE_API)

Overview

A Go package containing a client for Proxmox VE. The client implements /api2/json and aims to provide better sdk solution for especially cluster-api-provider-proxmox and cloud-provider-proxmox project.

Developing

Unit Testing

go test ./... -v -skip ^TestSuiteIntegration

Integration Testing

export PROXMOX_URL='http://localhost:8006/api2/json'
# tokenid & secret
export PROXMOX_TOKENID='root@pam!your-token-id'
export PROXMOX_SECRET='aaaaaaaaa-bbb-cccc-dddd-ef0123456789'
# or username & password
# export PROXMOX_USERNAME='root@pam'
# export PROXMOX_PASSWORD='password'

go test ./... -v -run ^TestSuiteIntegration

About

Go client package for the Proxmox VE REST API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages