intel / ccloudvm

Configurable Cloud VM is a small command line tool for automatically creating development and demo environments for complex projects. The tool sets up these development environments inside a virtual machine which it automatically creates on the user’s host computer. This avoids polluting the user’s host machine with components from the chosen development environment and provides a clean, predictable and repeatable environment in which this development environment can run.
Apache License 2.0
32 stars 19 forks source link

Separate out common types into the types package #44

Closed markdryan closed 6 years ago

markdryan commented 6 years ago

The forthcoming client and server will communicate via some public types. This commit creates a new home for these public types; the types package. These types already existed but were a little convoluted as their usage was overloaded somewhat. Some of the methods they defined had uses that were specific to one component. For example, the ccvm package doesn't need to know anything about parsing flags and the cmd package doesn't need to know about marshalling and unmarshalling VMspecs. For this reason, some of the methods of the relocated types have been separated out and moved into the packages where they logically belong.

Signed-off-by: Mark Ryan mark.d.ryan@intel.com