libvirtxml

package
v0.1.32 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 1 Imported by: 3

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 Enum

type Enum struct {
	Name  string   `xml:"name,attr"`
	Value []string `xml:"value"`
}

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"`
}

Jump to

Keyboard shortcuts

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