Documentation ¶
Index ¶
- Variables
- func GetClusterStatus() (*proxmox.GetClusterStatusResponse, error)
- func GetNodeCertificatesInfo(name string) (*proxmox.GetNodeCertificatesInfoResponse, error)
- func GetNodeDisksList(name string) (*proxmox.GetNodeDisksListResponse, error)
- func GetNodeLxc(name string) (*proxmox.GetNodeLxcResponse, error)
- func GetNodeQemu(name string) (*proxmox.GetNodeQemuResponse, error)
- func GetNodeStatus(name string) (*proxmox.GetNodeStatusResponse, error)
- func GetNodeStorage(name string) (*proxmox.GetNodeStorageResponse, error)
- func GetNodes() (*proxmox.GetNodesResponse, error)
- func Init(endpoints []string, tokenID, token string, tlsVerify bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ClusterName gets populated with the proxmox cluster's cluster name on clustered PVE instances ClusterName string )
Functions ¶
func GetClusterStatus ¶
func GetClusterStatus() (*proxmox.GetClusterStatusResponse, error)
GetClusterStatus returns a proxmox GetClusterStatusResponse object or an error from the /cluster/status endpoint
func GetNodeCertificatesInfo ¶
func GetNodeCertificatesInfo(name string) (*proxmox.GetNodeCertificatesInfoResponse, error)
GetNodeCertificatesInfo returns the certificates for a node
func GetNodeDisksList ¶
func GetNodeDisksList(name string) (*proxmox.GetNodeDisksListResponse, error)
GetNodeDisksList returns the disks for a node
func GetNodeLxc ¶
func GetNodeLxc(name string) (*proxmox.GetNodeLxcResponse, error)
GetNodeLxc returns the LXCs for a node
func GetNodeQemu ¶
func GetNodeQemu(name string) (*proxmox.GetNodeQemuResponse, error)
GetNodeQemu returns the virtual machines for a node
func GetNodeStatus ¶
func GetNodeStatus(name string) (*proxmox.GetNodeStatusResponse, error)
GetNodeStatus returns a proxmox Node object or an error from the /nodes/%s/status endpoint
func GetNodeStorage ¶
func GetNodeStorage(name string) (*proxmox.GetNodeStorageResponse, error)
GetNodeStorage returns the storage for a node
func GetNodes ¶
func GetNodes() (*proxmox.GetNodesResponse, error)
GetNodes returns a proxmox NodeStatuses object or an error from the /nodes endpoint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.