Phil Estes
b444d7d507
Handle additional cleanups from prior PR
...
Update comment and streamline getting the default platform spec
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com >
2019-01-16 13:07:29 -05:00
kadisi
40267382c5
fix ctr image export not found error
...
Signed-off-by: Jie Zhang <iamkadisi@163.com >
2018-12-17 08:52:28 +08:00
Derek McGowan
da6d29033c
Clean up error messages
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2018-09-17 14:41:43 -07:00
Derek McGowan
a62be324b7
Unify docker and oci importer
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2018-09-17 14:41:43 -07:00
Derek McGowan
bce20b75da
Simplify docker importer
...
Support any layout and rely on manifest.json to reference blobs
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2018-09-14 14:21:27 -07:00
Derek McGowan
f57c5cdefb
Refactor image importer
...
Allow customization of reference creation.
Add option for digest references.
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2018-09-14 14:21:26 -07:00
Tonis Tiigi
82e7204a3c
oci-exporter: do not filter current platform on export
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-07-13 17:08:01 -07:00
Vincent Demeester
832b05ae67
Update tests to use gotest.tools angel
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-06-08 21:02:01 +02:00
Akihiro Suda
d88de4a34f
content: change Writer/ReaderAt to take OCI
...
This change allows implementations to resolve the location of the actual data
using OCI descriptor fields such as MediaType.
No OCI descriptor field is written to the store.
No change on gRPC API.
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
2018-06-01 11:51:43 +09:00
Jess Valarezo
c3cf3d7822
allow content to be pulled for specific platform(s), all platforms
...
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com >
2018-03-12 17:31:42 -07:00
Kunal Kushwaha
b12c3215a0
Licence header added
...
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp >
2018-02-19 10:32:26 +09:00
Daniel Nephin
3279acca82
Check timestamps in snapshot storage test suite
...
also use t.Helper()
convert assertions to canonical
Signed-off-by: Daniel Nephin <dnephin@gmail.com >
2018-02-12 12:26:26 -05:00
Daniel Nephin
ef48a0268e
Migrate to gotestyourself/assert
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com >
2018-02-12 12:26:26 -05:00
Michael Crosby
5471ba9445
Merge pull request #2117 from dmcgowan/update-fetch-handlers
...
content: support manifest labeling on completed content ingests on the client
2018-02-12 11:08:14 -05:00
Derek McGowan
944a9ade37
Update fetch handling
...
Fix issue where manifest content must always be fetched
even if it is already fully downloaded or shared locally.
Simplify children label setting and platform filtering.
Prevent getting a fetcher when content shared locally.
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2018-02-09 14:33:14 -08:00
Akihiro Suda
ee70879202
*: use narrower content interfaces
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
2018-02-09 19:52:52 +09:00
Michael Crosby
d179c61231
Revert "Use jsoniteer for faster json encoding/decoding"
...
This reverts commit 4233b87b89 .
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2018-01-29 15:47:48 -05:00
Michael Crosby
4233b87b89
Use jsoniteer for faster json encoding/decoding
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2018-01-26 16:32:55 -05:00
Akihiro Suda
63401970c7
importer: refactor
...
- Use lease API (previoisly, GC was not supported)
- Refactored interfaces for ease of future Docker v1 importer support
For usage, please refer to `ctr images import --help`.
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
2017-12-05 12:48:32 +09:00