clustvirt/lib/storagevol/lib.go

13 lines
330 B
Go
Raw Normal View History

package storagevol
import "libvirt.org/go/libvirt"
var StorageVolTypeMap = map[libvirt.StorageVolType]string{
libvirt.STORAGE_VOL_FILE: "file",
libvirt.STORAGE_VOL_BLOCK: "block",
libvirt.STORAGE_VOL_DIR: "dir",
libvirt.STORAGE_VOL_NETWORK: "network",
libvirt.STORAGE_VOL_NETDIR: "netdir",
libvirt.STORAGE_VOL_PLOOP: "ploop",
}