Alexander Morozov
4adf5d2c0d
Add debug logging about events
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-08 11:32:04 -08:00
Alexander Morozov
9f5caf529c
Add logging for started supervisor
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-08 11:30:50 -08:00
Michael Crosby
d9e8fe62cb
Add concurrency and id flag for daemon
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 15:19:56 -08:00
Michael Crosby
acc8d9e97c
Remove journal for now
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 14:24:40 -08:00
Michael Crosby
9eb08b8971
Refactor checkpoint information
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 14:00:07 -08:00
Michael Crosby
c10b3cde9f
Implement proper shutdown logic
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 13:31:17 -08:00
Michael Crosby
ae9b2bafd5
Add basic checkpoint and restore support
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-03 16:07:53 -08:00
Michael Crosby
c1eb9ac90b
Change /containers to /state with machine info
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-03 11:49:56 -08:00
Michael Crosby
3ea5dd79e0
Make events chan local to supervisor
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 17:44:39 -08:00
Michael Crosby
5eac8891ed
Move task workers to new type
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 17:42:28 -08:00
David Calavera
e4a61633c5
Add event subscribers.
...
- Add exit event for exec processes.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-01 18:49:24 -05:00
David Calavera
05f20c993d
Make supervisor.go to compile without libcontainer.
...
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-01 18:47:27 -05:00
Michael Crosby
b823ce9149
Move libcontainer to linux pkg
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-01 12:00:11 -08:00
Michael Crosby
c24abdde1b
Move runtime implementation types to pkg
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-01 11:56:08 -08:00
Michael Crosby
779cb69e6d
Refactor event loop with types
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-01 10:55:13 -08:00
Michael Crosby
510c9c852b
Add funcs for events endpoint
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-30 15:46:36 -08:00
Michael Crosby
3a30ea0c4f
Add basic stats
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-30 15:34:10 -08:00
Michael Crosby
371226d314
Give event loop it's own thread
2015-11-13 14:13:13 -08:00
Michael Crosby
18338b29a1
Add journal queue
2015-11-13 14:09:35 -08:00
Michael Crosby
0136213e78
Add basic log support
2015-11-13 13:25:03 -08:00
Michael Crosby
f9ad7970d2
Improve process addition and removal
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
implement pause and resume
Add godeps
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Add readme
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-13 13:25:03 -08:00
Michael Crosby
17d9c10e2d
Implement journal replay
...
Add addprocess event for addtional processes
Add more api process information
2015-11-13 13:25:02 -08:00
Michael Crosby
6ff2239019
Add journaling
2015-11-10 14:24:34 -08:00
Michael Crosby
d34d482a5f
Implement container signal
2015-11-10 13:44:35 -08:00
Michael Crosby
a2ddcc2232
implement state api command
2015-11-10 11:38:26 -08:00
Michael Crosby
c787ecada3
Fix concurrency issues
2015-11-06 16:44:52 -08:00
Michael Crosby
412d2b0239
Flatten stuff
2015-11-06 15:42:32 -08:00
Michael Crosby
86ec7e8fd2
Sync container start
2015-11-06 13:01:55 -08:00
Michael Crosby
1005dfb224
Fix panic on nil container
2015-11-05 16:54:45 -08:00
Michael Crosby
5f5f4904e0
Making containers run and delete
2015-11-05 16:40:57 -08:00
Michael Crosby
2af0f297fe
Add basic counters
2015-11-05 16:16:11 -08:00
Michael Crosby
05683fb0ee
Fix build errors
2015-11-05 15:49:13 -08:00
Michael Crosby
15a96783ca
Initial commit
2015-11-05 15:29:53 -08:00