containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

Split virtcontainers into smaller packages #631

Closed sameo closed 6 years ago

sameo commented 6 years ago

Currently all the virtcontainers code lives under the virtcontainers package, making code documentation not clear and all mixed together. See https://godoc.org/github.com/containers/virtcontainers

We should start splitting the code into different logical packages. For example:

sboeuf commented 6 years ago

This will certainly add some complexity into the code since we won't be able to access everything as easily as we do today, due to the fact that everything is from the same package main. Seems like a pretty big change for the purpose of clearer documentation.

egernst commented 6 years ago

This issue was moved to kata-containers/runtime#150