buildkit/session
Akihiro Suda 6e7617e889 support local cache exporter and importer
Export:

  $ buildctl build ... --export-cache type=local,store=/path/to/output-dir

Import:

  $ buildctl build ... --import-cache type=local,store=/path/to/input-dir

Impact on CLI:
* Old (deprecated but still effective): `--export-cache localhost:5000/myrepo:buildcache --export-cache-opt mode=max`
* New: `--export-cache type=registry,ref=localhost:5000/myrepo:buildcache,mode=max`

Impact on API:
* New fields are added to control.proto and gateway.proto. The daemon
internally translates old API calls to the new ones.
* While new API can be used for `registry` caches, the client continues
to use the legacy API for `registry` caches to ensure compatibility with
old daemons.
* To import `local` caches with a frontend, the frontend needs to support
a new frontend opt `cache-imports`.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-01-19 02:38:26 +09:00
..
auth update containerd (binary: v1.1.0, library: May 11, 2018) 2018-05-11 15:46:15 +09:00
content support local cache exporter and importer 2019-01-19 02:38:26 +09:00
filesync Bump github.com/tonistiigi/fsutil dependency to f567071bed24 2018-10-03 11:46:35 +01:00
grpchijack update golint comments 2018-09-18 22:06:47 -07:00
secrets buildctl: allow passing secret values from files 2018-07-20 18:50:05 -07:00
sshforward update golint comments 2018-09-18 22:06:47 -07:00
testutil Remove net/context dependencies 2018-01-17 09:11:22 -08:00
context.go session: remove confusing uuid variable 2017-07-17 16:08:26 -07:00
grpc.go Remove net/context dependencies 2018-01-17 09:11:22 -08:00
manager.go session: clear prefix on lookup 2018-02-23 10:52:55 -08:00
session.go Correct trivial typos 2018-11-18 00:10:57 +01:00