Documentation ¶
Index ¶
- type Domain
- type QEMU
- func (q *QEMU) AllNetworks() ([]libvirt.Network, error)
- func (q *QEMU) AllNetworksMap() (map[string][]string, error)
- func (q *QEMU) Close() error
- func (q *QEMU) CreateDomain(name string, storageVol *StorageVolume) (*Domain, error)
- func (q *QEMU) GetDomain(id string) (*Domain, error)
- func (q *QEMU) GetDomains() ([]*Domain, error)
- func (q *QEMU) GetStoragePool(name string) (*StoragePool, error)
- func (q *QEMU) GetStoragePools() ([]*StoragePool, error)
- type StoragePool
- type StorageVolume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Domain ¶
type QEMU ¶
type QEMU struct {
// contains filtered or unexported fields
}
func (*QEMU) AllNetworks ¶
func (*QEMU) CreateDomain ¶
func (q *QEMU) CreateDomain(name string, storageVol *StorageVolume) (*Domain, error)
func (*QEMU) GetDomains ¶
func (*QEMU) GetStoragePool ¶
func (q *QEMU) GetStoragePool(name string) (*StoragePool, error)
func (*QEMU) GetStoragePools ¶
func (q *QEMU) GetStoragePools() ([]*StoragePool, error)
type StoragePool ¶
type StoragePool struct { LVStoragePool *libvirt.StoragePool Volumes []*StorageVolume // contains filtered or unexported fields }
func (*StoragePool) GetVolumes ¶
func (s *StoragePool) GetVolumes() ([]*StorageVolume, error)
func (*StoragePool) ImportImage ¶
func (s *StoragePool) ImportImage(name string, imageFile string) (*StorageVolume, error)
type StorageVolume ¶
type StorageVolume struct { LVStorageVolume *libvirt.StorageVol // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.