Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeDns ¶
type NodeDns struct { Data struct { Searchdomain string `json:"search"` } `json:"data"` }
type Proxmox ¶
type Proxmox struct { BaseURL string `toml:"base_url"` APIToken string `toml:"api_token"` ResponseTimeout internal.Duration `toml:"response_timeout"` NodeName string `toml:"node_name"` tls.ClientConfig Log cua.Logger `toml:"-"` // contains filtered or unexported fields }
func (*Proxmox) Description ¶
func (*Proxmox) SampleConfig ¶
type ResourceType ¶
type ResourceType string
var ( QEMU ResourceType = "qemu" LXC ResourceType = "lxc" )
type VmCurrentStats ¶
type VmCurrentStats struct {
Data VmStat `json:"data"`
}
type VmStat ¶
type VmStat struct { ID string `json:"vmid"` Name string `json:"name"` Status string `json:"status"` UsedMem json.Number `json:"mem"` TotalMem json.Number `json:"maxmem"` UsedDisk json.Number `json:"disk"` TotalDisk json.Number `json:"maxdisk"` UsedSwap json.Number `json:"swap"` TotalSwap json.Number `json:"maxswap"` Uptime json.Number `json:"uptime"` CpuLoad json.Number `json:"cpu"` }
Click to show internal directories.
Click to hide internal directories.