Commit Graph

1881 Commits

Author SHA1 Message Date
Michael Crosby
a33e8d034f Merge pull request #1078 from mlaventure/bubble-correct-runc-error
shim: Use correct error when trying to expand runc error
2017-06-23 11:43:59 -07:00
Kenfe-Mickael Laventure
0917269a9a
shim: Use correct error when trying to expand runc error
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-06-23 11:31:16 -07:00
Michael Crosby
bcb04540fa Merge pull request #1074 from stevvooe/whale-no-more
Makefile: replace whale with D
2017-06-23 11:08:27 -07:00
Michael Crosby
99160a7ac0 Merge pull request #854 from AkihiroSuda/lookup-mountinfo
mountinfo: add Lookup for ease of implementing snapshotters
2017-06-22 20:14:39 -07:00
Stephen J Day
e3f919f1d2
Makefile: replace whale with D
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-22 19:25:01 -07:00
Stephen J Day
c05be46348
events: move types into service package
When using events, it was found to be fairly unwieldy with a number of
extra packages. For the most part, when interacting with the events
service, we want types of the same version of the service. This has been
accomplished by moving all events types into the events package.

In addition, several fixes to the way events are marshaled have been
included. Specifically, we defer to the protobuf type registration
system to assemble events and type urls, with a little bit sheen on top
of add a containerd.io oriented namespace.

This has resulted in much cleaner event consumption and has removed the
reliance on error prone type urls, in favor of concrete types.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-22 19:12:25 -07:00
Stephen Day
4c08911578 Merge pull request #1070 from stevvooe/namespaces-test-fixups
namespaces: ensure that tests actually fail
2017-06-22 16:15:33 -07:00
Stephen J Day
c6efdfb9ee
namespaces: ensure that tests actually fail
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-22 16:05:48 -07:00
Michael Crosby
a6e77432df Create server package for containerd daemon
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-22 13:08:19 -07:00
Phil Estes
c4da4ed393 Merge pull request #1049 from mlaventure/provide-error-when-task-not-found
Update execution.getTask() to provide more fine grained error
2017-06-22 15:18:53 -04:00
Kenfe-Mickael Laventure
40ce7665bd
Update execution.getTask() to provide more fine grained error
This allow returning a more meaningful message when a request context
doesn't hold a namespace.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-06-22 07:53:40 -07:00
Kenfe-Mickaël Laventure
2fdb8020c4 Merge pull request #1062 from stevvooe/versioned-services
*: version protobuf service packages
2017-06-22 07:38:09 -07:00
Stephen J Day
12a6beaeeb
*: update import paths to use versioned services
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-21 18:29:06 -07:00
Stephen J Day
782d78346d
api/services: update go packages and regenerate
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-21 18:22:32 -07:00
Stephen J Day
4784c3962a
api/services: move services into version directories
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-21 18:17:27 -07:00
Phil Estes
76697ac8cb Merge pull request #1060 from samuelkarp/namespace-from-env
namespaces: Export env var and default value
2017-06-21 20:49:33 -04:00
Michael Crosby
98e17a2b97 Merge pull request #1059 from stevvooe/namespaces-charset
namespaces: enforce a character set for namespaces
2017-06-21 17:40:46 -07:00
Samuel Karp
9190f98e9c namespaces: Export env var and default value
Signed-off-by: Samuel Karp <skarp@amazon.com>
2017-06-21 17:38:07 -07:00
Stephen J Day
5380585e21
namespaces: enforce a character set for namespaces
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-21 17:31:25 -07:00
Michael Crosby
e588b30637 Merge pull request #1058 from dmcgowan/snapshot-command
Update snapshot command in ctr
2017-06-21 17:31:02 -07:00
Phil Estes
753f1a6c16 Merge pull request #1056 from samuelkarp/namespace-from-env
namespaces: Add NamespaceFromEnv
2017-06-21 20:25:55 -04:00
Michael Crosby
ab8311b494 Merge pull request #1053 from stevvooe/expand-container-runtime-bucket
metadata: expand container runtime into bucket
2017-06-21 17:22:26 -07:00
Derek McGowan
a3d5a818f6
Update snapshot command in ctr
Move existing snapshot command to archive subcommand of snapshot.
Add list command for listing snapshots.
Add usage command for showing snapshot disk usage.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-06-21 17:18:52 -07:00
Michael Crosby
3c9c46e2e3 Merge pull request #1048 from estesp/err-cause-withstack-fixes
Error handler cleanup
2017-06-21 17:18:34 -07:00
Samuel Karp
879f092925 namespaces: Add NamespaceFromEnv
Signed-off-by: Samuel Karp <skarp@amazon.com>
2017-06-21 17:06:25 -07:00
Stephen Day
e7a06511aa Merge pull request #1047 from crosbymichael/rename-to-tasks
Rename execution service to tasks
2017-06-21 16:25:42 -07:00
Stephen J Day
ea44901921
metadata: expand container runtime into bucket
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-21 16:22:56 -07:00
Phil Estes
fb311ef2ec
Error handler cleanup
Cleanup per additional comments in PR #992.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-06-21 15:47:23 -07:00
Michael Crosby
235869eb1f Rename execution service to tasks
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-21 14:39:25 -07:00
Stephen Day
6fbe4bd568 Merge pull request #1040 from crosbymichael/api-review
Update GRPC APIs for consistency post review
2017-06-21 14:18:32 -07:00
Michael Crosby
8b2cf6e8e6 Fix Wait() on process/tasks
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-21 13:48:24 -07:00
Michael Crosby
8830866eed Remove events from Runtime
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-21 13:34:24 -07:00
Evan Hazlett
0b06fa8518 use event service for task wait
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-21 13:34:24 -07:00
Evan Hazlett
440fc06041 add event service to client
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2017-06-21 13:34:24 -07:00
Michael Crosby
94eafaab60 Update GRPC for consistency
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-21 13:34:24 -07:00
Derek McGowan
13e7d3c393 Merge pull request #1045 from tonistiigi/err-fix
Fix store errors build conflict
2017-06-21 13:06:35 -07:00
Tonis Tiigi
82464fe949 Fix store errors build conflict
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-21 12:49:33 -07:00
Michael Crosby
ca2ec3e33c Merge pull request #992 from estesp/errrbody-likes-errrrors
Use error interfaces for content/metadata
2017-06-21 11:55:11 -07:00
Phil Estes
ac4c2ab35b Merge pull request #1043 from dmcgowan/dist-remove-grpc-connect
Clean up dist tool to use containerd client
2017-06-21 14:35:12 -04:00
Derek McGowan
6c498c61eb
Clean up dist tool to use containerd client
Remove direct use of grpc in dist tool

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-06-21 11:26:02 -07:00
Michael Crosby
3cdd7a9153 Merge pull request #1042 from mlaventure/fix-var-names
Rename variables holding a task from `c` to `t`
2017-06-21 10:21:18 -07:00
Phil Estes
ad0c8a04f0 Merge pull request #1039 from stevvooe/filter-syntax
filters: clean up implementation
2017-06-21 12:44:10 -04:00
Kenfe-Mickael Laventure
fb5a3d2989
Rename variables holding a task from c to t
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-06-21 09:26:50 -07:00
Kenfe-Mickaël Laventure
725b4d5803 Merge pull request #1007 from dmcgowan/with-block-fast-fail
Add with block and fail on non-temp dial error
2017-06-21 09:04:40 -07:00
Kunal Kushwaha
a0f73ae229 Container list and Task List printed separately.
Fix for #914

Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2017-06-21 10:26:49 +09:00
Stephen J Day
3d5ee9e8b8
filters: clean up implementation
Address a few cleanup items in the parser. Currently, we don't handle
compound values and we remove a panic when part of the input is not
consumed.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-20 18:02:52 -07:00
Michael Crosby
80656bf8ca Merge pull request #1034 from crosbymichael/readme
Update readme
2017-06-20 13:45:26 -07:00
Michael Crosby
58367550e2 Merge pull request #1036 from crosbymichael/client-addr
Add DefaultAddress to client
2017-06-20 13:39:48 -07:00
Michael Crosby
9efe341f8e Add DefaultAddress to client
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-20 13:34:37 -07:00
Michael Crosby
ebf4620206 Merge pull request #995 from stevvooe/filter-syntax
filters: add package for filter syntax
2017-06-20 13:31:52 -07:00