Commit graph

26 commits

Author SHA1 Message Date
Michael Crosby
ab8586b7c5 Remove bundles from API
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-02-15 13:56:41 -08:00
Alexander Morozov
69f8f566a2 Move supervisor to it's own package
It allows to keep main namespace cleaner

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-17 16:18:48 -08:00
Alexander Morozov
79591b2ae1 Use eventloop package in containerd
It's first attempt to decouple code into independent modules for more
effective unit-testing.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-16 13:56:20 -08:00
Alexander Morozov
188eeae376 Stop stats collection on container exit
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-16 09:39:28 -08:00
Michael Crosby
76cf593212 Add oom notifications and pid to create response
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-15 16:22:53 -08:00
Michael Crosby
d542ece69c Add tty support from client
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-14 16:47:42 -08:00
Alexander Morozov
4bc322397f Add initial implementation of stats
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-14 14:45:06 -08:00
Michael Crosby
92c0790899 Add stdin support for client and daemon
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-14 14:40:50 -08:00
Michael Crosby
e9f63fc9a4 Add basic fifo support for IO copy
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-14 14:15:26 -08:00
Michael Crosby
e5545a1461 Add basic logging to file support
This currently logs to a json file with the stream type.  This is slow
and hard on the cpu and memory so we need to swich this over to
something like protobufs for the binary logs but this is just a start.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-11 10:26:49 -08:00
Michael Crosby
cb5aaec5d6 Remove serialization for internal types
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 14:47:03 -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
ae9b2bafd5 Add basic checkpoint and restore support
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-03 16:07:53 -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
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
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
15a96783ca Initial commit 2015-11-05 15:29:53 -08:00