clustvirt/lib/storagevol/lib.go
Matthew Stobbs fada05c56d add icons for tailwind
- svg icons from heroicons.com
- add Type to String map for:
  - StoragePoolState
  - StorageVolType
- default icons are sized 24x24
  - added 36x36, 48x48, 64x64
- adding styling to home.gohtml homepage
2024-03-13 22:21:01 -06:00

13 lines
330 B
Go

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