Commit Graph

447 Commits

Author SHA1 Message Date
Lantao Liu
e657e1eb14 Add container logging support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-02 16:36:02 +00:00
Lantao Liu
264619a858 Merge pull request #64 from Random-Liu/cleanup-code
Cleanup code.
2017-06-02 09:18:47 -07:00
Lantao Liu
95e0fc694f Cleanup some code.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-02 02:15:58 +00:00
Lantao Liu
a4e067cdff Merge pull request #53 from Random-Liu/add-other-small-functions
Add other small functions
2017-05-31 14:54:42 -07:00
Lantao Liu
61cee6cf12 Merge pull request #59 from Random-Liu/backoff-when-lose-containerd-connection
Retry and backoff when lost connection with containerd.
2017-05-31 14:53:02 -07:00
Lantao Liu
0179d0fbaf Retry and backoff when lost connection with containerd.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 21:33:52 +00:00
Lantao Liu
2df96e1654 Add unit test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 19:11:56 +00:00
Lantao Liu
7c1a4c1fc1 Add Version, UpdateRuntimeConfig and Status.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 19:11:56 +00:00
Lantao Liu
bc5dfdae24 Update containerd to 2562aca1a3 and add gomock.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 17:13:56 +00:00
Lantao Liu
6e27320f40 Merge pull request #57 from Random-Liu/remove-golang-1.7
Remove golang 1.7 from ci.
2017-05-30 18:57:16 -07:00
Lantao Liu
80f457c199 Merge pull request #52 from Random-Liu/apply-container-image-config
Apply container image config
2017-05-30 18:34:14 -07:00
Lantao Liu
eb5f378dd4 Remove golang 1.7 from ci.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 01:28:09 +00:00
Lantao Liu
80384fc24f Start container event monitor.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 01:18:22 +00:00
Lantao Liu
dee95bc315 Add unit test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 01:18:22 +00:00
Lantao Liu
80c973a550 Ensure container rootfs and apply image config
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 01:18:22 +00:00
Lantao Liu
98bc3edf50 Merge pull request #48 from Random-Liu/apply-sandbox-image-config
Apply sandbox image config
2017-05-30 18:16:59 -07:00
Lantao Liu
6eb1ddb1f8 Add unit test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 00:39:38 +00:00
Lantao Liu
eb20601c08 Pull sandbox image and apply image config
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 00:39:38 +00:00
Lantao Liu
60e28a9460 Minor cleanup.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-27 00:31:30 +00:00
Lantao Liu
a49f66e0bb Merge pull request #46 from Random-Liu/wait-image-pulling
Wait and check image pulling progress.
2017-05-26 17:24:47 -07:00
Random-Liu
c3ac5f7533 Add image pull waiting.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-05-27 00:12:00 +00:00
Random-Liu
bc7dfa2650 Update containerd version to 193abed96e.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-05-27 00:07:48 +00:00
Lantao Liu
bdc443a77c Merge pull request #41 from Random-Liu/finish-image-management
Finish image management.
2017-05-26 17:04:41 -07:00
Random-Liu
8c1f26747a Add unit test.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-05-26 23:52:31 +00:00
Random-Liu
b112418e7b Finish image management.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-05-26 23:52:31 +00:00
Lantao Liu
751f119cbc Merge pull request #45 from Crazykev/update-k8s-vendor
Update kubernetes vendor for new CRI change
2017-05-23 20:22:12 -07:00
Crazykev
49e7ef2153 update kubernetes vendor for new CRI change
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
2017-05-24 10:25:55 +08:00
Lantao Liu
6ce1dc0167 Merge pull request #44 from Random-Liu/stop-on-cancellation
Stop waiting on cancellation.
2017-05-23 15:08:57 -07:00
Lantao Liu
40514f332a Merge pull request #40 from xlgao-zju/add-cni
Add network plugin
2017-05-23 09:14:31 -07:00
Xianglin Gao
4a4414987f Add unit test
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2017-05-23 18:30:20 +08:00
Xianglin Gao
6d2b9fabca And setup and teardown
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2017-05-23 15:17:40 +08:00
Xianglin Gao
87c704bdf5 Update vendor
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2017-05-23 15:17:34 +08:00
Lantao Liu
84390cc6a7 Stop waiting on cancellation.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-23 05:47:48 +00:00
Xianglin Gao
c541515674 Add flags and initialize network plugin
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2017-05-23 12:48:36 +08:00
Lantao Liu
10e3afbb23 Merge pull request #22 from Random-Liu/add-container-implementation
Add container implementation
2017-05-22 13:21:05 -07:00
Lantao Liu
322b6ef333 Add unit test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-22 19:14:09 +00:00
Random-Liu
6ac71e5862 Add initial container implementation.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-22 19:14:09 +00:00
Lantao Liu
dea7ed3fcc Merge pull request #39 from mozhuli/enhance-fake-services
Enhance fake services
2017-05-17 09:03:48 -07:00
Lantao Liu
a397b69b09 Merge pull request #37 from mozhuli/add-fake-iamges-service
Add fake images service
2017-05-17 09:02:54 -07:00
mozhuli
938cbe3e74 Enhance fake services
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-05-17 11:25:46 +08:00
mozhulee
e6b4c3e18c Add fake images service
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-05-17 11:11:23 +08:00
Lantao Liu
b4f9911f0e Merge pull request #30 from mozhuli/master
Add fake rootfs service
2017-05-16 19:18:14 -07:00
mozhuli
0e56cab7c0 add fake rootfs service
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-05-17 10:10:20 +08:00
Random-Liu
11fff60aff Add container metadata store.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-16 20:47:25 +00:00
Random-Liu
48118ae086 Update godeps.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-16 20:47:17 +00:00
Lantao Liu
55545ef83f Merge pull request #38 from Random-Liu/add-not-exist-error
Return not exist error in metadata store
2017-05-16 13:45:49 -07:00
Lantao Liu
2d2fcedf24 Return not exist error in metadata store
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-16 19:57:41 +00:00
Lantao Liu
c484046261 Merge pull request #34 from Random-Liu/add-all-docker-image-reference
Use docker/distribution library used by docker 17.05.x to support all docker image reference.
2017-05-12 14:15:11 -07:00
Random-Liu
ca2167f17e Use docker/distribution library to resolve image reference.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-05-12 13:57:05 -07:00
Lantao Liu
8fa87a1754 Merge pull request #19 from Random-Liu/add-sandbox-implementation
Add sandbox implementation
2017-05-12 13:55:00 -07:00