clustvirt/lib/storagepool/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

12 lines
345 B
Go

package storagepool
import "libvirt.org/go/libvirt"
var StoragePoolStateMap = map[libvirt.StoragePoolState]string{
libvirt.STORAGE_POOL_INACTIVE: "inactive",
libvirt.STORAGE_POOL_BUILDING: "building",
libvirt.STORAGE_POOL_RUNNING: "running",
libvirt.STORAGE_POOL_DEGRADED: "degraded",
libvirt.STORAGE_POOL_INACCESSIBLE: "inaccessible",
}