Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultFormat ¶
type DefaultFormat struct {
Type string `xml:"type,attr"`
}
type Pool ¶
type Pool struct { Type string `xml:"type,attr"` Supported string `xml:"supported,attr"` VolOptions VolOptions `xml:"volOptions"` PoolOptions PoolOptions `xml:"poolOptions"` }
type PoolOptions ¶
type PoolOptions struct { DefaultFormat DefaultFormat `xml:"defaultFormat"` Enum Enum `xml:"enum"` }
type StoragepoolCapabilities ¶
type StoragepoolCapabilities struct { XMLName xml.Name `xml:"storagepoolCapabilities"` Pool []Pool `xml:"pool"` }
Storage Pool Capabilities xml not found inside https://pkg.go.dev/libvirt.org/go/libvirtxml.
func (*StoragepoolCapabilities) Marshal ¶
func (storagepoolCapabilities *StoragepoolCapabilities) Marshal() (string, error)
func (*StoragepoolCapabilities) Unmarshal ¶
func (storagepoolCapabilities *StoragepoolCapabilities) Unmarshal(doc string) error
type VolOptions ¶
type VolOptions struct { DefaultFormat DefaultFormat `xml:"defaultFormat"` Enum Enum `xml:"enum"` }
Click to show internal directories.
Click to hide internal directories.