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.
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