Matthew Heon
34ba0cb8a9
Order containers returned from state and make container config public
...
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes : #63
Approved by: baude
2017-11-22 18:12:57 +00:00
Matthew Heon
8e76ebcf6e
Add ability to update container status from runc
...
Wire this in to all state-bound container operations to ensure
syncronization of container state.
Also exposes PID of running containers via API.
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes : #56
Approved by: rhatdan
2017-11-21 20:09:09 +00:00
Matthew Heon
51fc8827f5
Add tests for SQL-backed state impl
...
Minor changes to container.go and sql_state.go to fix issues
identified by the tests
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2017-11-20 16:24:28 -05:00
Matthew Heon
898138441d
Need to provide ID of container being updated
...
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2017-11-18 12:58:48 -05:00
Matthew Heon
657cb1b7f6
Fix lingering SQL error
...
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2017-11-18 12:58:48 -05:00
Matthew Heon
763e372649
Wire SQL backed state into rest of libpod
...
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2017-11-18 12:58:48 -05:00
Matthew Heon
cb56716fc4
Address review comments, fix gofmt and lint
...
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2017-11-18 12:54:05 -05:00
Matthew Heon
c6fe4430b7
Compile-tested implementation of SQL-backed state
...
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2017-11-18 12:54:05 -05:00