poolList

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Uuid       string                     `json:"uuid"`
	Name       string                     `json:"name"`
	State      libvirt.StoragePoolState   `json:"state"`
	Autostart  bool                       `json:"autostart"`
	Persistent bool                       `json:"persistent"`
	Capacity   libvirtxml.StoragePoolSize `json:"capacity"`
	Allocation libvirtxml.StoragePoolSize `json:"allocation"`
	Available  libvirtxml.StoragePoolSize `json:"available"`
}

type Request

type Request struct {
	Option   string `default:"0"`
	Inactive string `default:"0"`
}

type Response

type Response struct {
	Response bool         `json:"response"`
	Code     int          `json:"code"`
	Data     []Data       `json:"data"`
	Error    virest.Error `json:"error"`
}

Jump to

Keyboard shortcuts

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