LunaNode / lobster

Hourly billing panel for virtual machines
http://lobster.lunanode.com
Other
84 stars 22 forks source link

Separate VM interface functionality into different Go interfaces #23

Closed uakfdotb closed 9 years ago

uakfdotb commented 9 years ago

We can have a VMISnapshot, VMIReimage, etc. for various VM interface functionality. Rather than calling CanImages and such, we just try casting to the appropriate interface. This removes some static checking but it seems okay for VM interfaces since it'll reduce a lot of useless code.