containers / virtcontainers

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

container: Simplify container management #594

Closed sboeuf closed 6 years ago

sboeuf commented 6 years ago

By pushing implementation details into each agent implementation, this commit allows for a much simpler and readable code related to the containers.

Also, it cleans up the fetching of container states which is not needed since all states (pod and containers) should have been fetched when pod and containers structure are created.

Depends-on: github.com/clearcontainers/runtime#990

Signed-off-by: Sebastien Boeuf sebastien.boeuf@intel.com

sboeuf commented 6 years ago

I can close this PR since all those different commits have been recently merged through other PRs