mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 06:09:39 +08:00
14 lines
357 B
Go
14 lines
357 B
Go
package modules
|
|
|
|
var (
|
|
Storages ResourceManager
|
|
)
|
|
|
|
func init() {
|
|
Storages = NewComputeManager("storage", "storages",
|
|
[]string{"ID", "Name", "Capacity", "Status", "Used_capacity", "Waste_capacity", "Free_capacity", "Storage_type", "Medium_type", "Virtual_capacity", "commit_bound", "commit_rate", "Enabled"},
|
|
[]string{})
|
|
|
|
registerCompute(&Storages)
|
|
}
|