libvirt_schema

package
v0.0.0-...-ad30d65 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Devices

type Devices struct {
	Disks      []Disk      `xml:"disk"`
	Interfaces []Interface `xml:"interface"`
}

type Disk

type Disk struct {
	Device   string     `xml:"device,attr"`
	Source   DiskSource `xml:"source"`
	Target   DiskTarget `xml:"target"`
	DiskType string     `xml:"type,attr"`
}

type DiskSource

type DiskSource struct {
	File string `xml:"file,attr"`
	Name string `xml:"name,attr"`
}

type DiskTarget

type DiskTarget struct {
	Device string `xml:"dev,attr"`
}

type Domain

type Domain struct {
	Devices Devices `xml:"devices"`
}

type Interface

type Interface struct {
	Source      InterfaceSource      `xml:"source"`
	Target      InterfaceTarget      `xml:"target"`
	Virtualport InterfaceVirtualPort `xml:"virtualport"`
}

type InterfaceSource

type InterfaceSource struct {
	Bridge string `xml:"bridge,attr"`
}

type InterfaceTarget

type InterfaceTarget struct {
	Device string `xml:"dev,attr"`
}

type InterfaceVirtualPort

type InterfaceVirtualPort struct {
	Parameters InterfaceVirtualPortParam `xml:"parameters"`
}

type InterfaceVirtualPortParam

type InterfaceVirtualPortParam struct {
	InterfaceId string `xml:"interfaceid,attr"`
}

type VirDomainMemoryStats

type VirDomainMemoryStats struct {
	Major_fault    uint64
	Minor_fault    uint64
	Unused         uint64
	Available      uint64
	Actual_balloon uint64
	Rss            uint64
	Usable         uint64
	Disk_caches    uint64
}

Jump to

Keyboard shortcuts

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