responses

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterStatusInformation

type ClusterStatusInformation struct {
	Name    string `json:"name"`
	Nodes   int    `json:"nodes"`
	Quorate int    `json:"quorate"`
	Version int    `json:"version"`
}

type Pool

type Pool struct {
	PoolID  string `json:"poolid"`
	Comment string `json:"comment"`
}

type PoolDetail

type PoolDetail struct {
	Members []*PoolMember `json:"members"`
	Comment string        `json:"comment"`
}

type PoolMember

type PoolMember struct {
	ID        string  `json:"id"`
	VmID      int     `json:"vmid"`
	Type      string  `json:"type"`
	Name      string  `json:"name"`
	Node      string  `json:"node"`
	Status    string  `json:"status"`
	Uptime    int64   `json:"uptime"`
	Cpu       float64 `json:"cpu"`
	MaxCPU    int     `json:"maxcpu"`
	Template  int     `json:"template"`
	NetIn     int64   `json:"netin"`
	NetOut    int64   `json:"netout"`
	Mem       int64   `json:"mem"`
	MaxMem    int64   `json:"maxmem"`
	Disk      int64   `json:"disk"`
	MaxDisk   int64   `json:"maxdisk"`
	DiskRead  int64   `json:"diskread"`
	DiskWrite int64   `json:"diskwrite"`
}

type ProxmoxResponse

type ProxmoxResponse struct {
	Data *json.RawMessage `json:"data"`
}

type Version

type Version struct {
	Version  string `json:"version"`
	Release  string `json:"release"`
	Keyboard string `json:"keyboard"`
	RepoID   string `json:"repo_id"`
}

Directories

Path Synopsis
vm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL