Documentation
¶
Overview ¶
Package proxmox implements the Proxmox VE protocol plugin: a deep node → guests/storage tree, VM/LXC/node detail views, live metrics, noVNC and xterm consoles, snapshots, backups, and lifecycle actions — all over the PVE REST API (with the console websocket bridged through the gateway transport).
Index ¶
Constants ¶
const CredentialProxmoxToken plugin.CredentialKind = "proxmox_api_token"
CredentialProxmoxToken is the plugin-owned reusable credential kind: a Proxmox API token (identity is the token id `user@realm!name`, secret is the value).
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session holds the per-connection Proxmox VE client. REST traffic flows through the go-proxmox client (wired to cfg.Net via a custom http.Client); the console websocket is dialed separately so it shares the same transport.
func Unwrap ¶
Unwrap recovers the concrete Proxmox session from a (possibly wrapped) plugin session, mirroring the helper the other plugins expose for their route code.