Files
cloudpods/pkg/mcclient/modules/mod_snapshots.go
T
wanyaoqi fb330c98be disk reset
minor fixs
2018-09-12 19:59:00 +08:00

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)
}