Commit graph

26 commits

Author SHA1 Message Date
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
c42c9aeb06 Return nil processes with no pid 2015-11-13 14:52:25 -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
cb7ab16427 Remove process
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-06 16:58:11 -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
e81513349f Use gague for go routines 2015-11-05 17:03:37 -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