buildkit/cache
Tibor Vass fad612e748 Allow worker to override GetRemote(), needed in moby integration
This fixes panics in the moby integration of buildkit when using cache.
Panics come from nil Differ in computeBlobChain which is called in GetRemote().

GetRemote() got moved from Worker to ImmutableRef during the lazy-pull refactor.
However, the ability to easily override GetRemote() got lost with that refactor.

This patch attempts to allow for the override while keeping changes minimal.

Signed-off-by: Tibor Vass <tibor@docker.com>
2020-11-13 21:30:35 +00:00
..
contenthash add session injection to remote loading 2020-11-02 22:20:44 -08:00
metadata cache: Remove ImageRef from DescHandlers 2020-08-05 17:18:43 -07:00
remotecache add session injection to remote loading 2020-11-02 22:20:44 -08:00
util add session injection to remote loading 2020-11-02 22:20:44 -08:00
blobs.go add session injection to remote loading 2020-11-02 22:20:44 -08:00
manager.go Fixes needed to vendor buildkit into moby 2020-11-13 01:51:55 +00:00
manager_test.go add session injection to remote loading 2020-11-02 22:20:44 -08:00
metadata.go cache: Remove ImageRef from DescHandlers 2020-08-05 17:18:43 -07:00
migrate_v2.go cache: avoid snapshot migration on shallow refs 2020-06-12 17:59:30 -07:00
opts.go add session injection to remote loading 2020-11-02 22:20:44 -08:00
refs.go Merge pull request #1773 from tonistiigi/preprocess 2020-11-12 21:07:00 -08:00
remote.go Allow worker to override GetRemote(), needed in moby integration 2020-11-13 21:30:35 +00:00