libvirtSchema

package
v0.0.0-...-a9612be Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 0 Imported by: 1

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"`
	Driver   DiskDriver `xml:"driver"`
	Source   DiskSource `xml:"source"`
	Target   DiskTarget `xml:"target"`
	DiskType string     `xml:"type,attr"`
	Serial   string     `xml:"serial"`
}

type DiskDriver

type DiskDriver struct {
	Type    string `xml:"type,attr"`
	Cache   string `xml:"cache,attr"`
	Discard string `xml:"discard,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"`
	Bus    string `xml:"bus,attr"`
}

type Domain

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

type Flavor

type Flavor struct {
	FlavorName string `xml:"name,attr"`
}

type Instance

type Instance struct {
	NovaFlavor Flavor `xml:"flavor"`
	NovaOwner  Owner  `xml:"owner"`
	NovaName   string `xml:"name"`
	NovaRoot   Root   `xml:"root"`
}

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 Metadata

type Metadata struct {
	NovaInstance Instance `xml:"instance"`
}

type Owner

type Owner struct {
	NovaUser    User    `xml:"user"`
	NovaProject Project `xml:"project"`
}

type Project

type Project struct {
	ProjectName string `xml:",chardata"`
	ProjectUUID string `xml:"uuid,attr"`
}

type Root

type Root struct {
	RootType string `xml:"type,attr"`
	RootUUID string `xml:"uuid,attr"`
}

type User

type User struct {
	UserName string `xml:",chardata"`
	UserUUID string `xml:"uuid,attr"`
}

type VirDomainMemoryStats

type VirDomainMemoryStats struct {
	MajorFault    uint64
	MinorFault    uint64
	Unused        uint64
	Available     uint64
	ActualBalloon uint64
	Rss           uint64
	Usable        uint64
	DiskCaches    uint64
}

Jump to

Keyboard shortcuts

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