mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-29 17:58:36 +08:00
15 lines
306 B
Go
15 lines
306 B
Go
package modules
|
|
|
|
var (
|
|
Snapshots ResourceManager
|
|
)
|
|
|
|
func init() {
|
|
Snapshots = NewComputeManager("snapshot", "snapshots",
|
|
[]string{"ID", "Name", "Size", "Status",
|
|
"Disk_id", "Guest_id", "Created_at"},
|
|
[]string{"Storage_id", "Create_by", "Location", "Out_of_chain"})
|
|
|
|
registerCompute(&Snapshots)
|
|
}
|