buildkit/cache
Erik Sipsma 03ed0548ef cache: Replace Parent method with LayerChain.
The Parent method will no longer make sense with forthcoming Merge and
Diff support as refs will become capable of having multiple parents. It
was also only ever used externally to get the full chain of refs for
each layer in the ref's chain.

The newly added LayerChain method replaces Parents with a method that
just returns a slice of refs for each layer in the ref's chain. This
will work more seamlessly with Merge and Diff (in which case it returns
the "flattened" ancestors of the ref) in addition to being a bit easier
to use for the exiting cases anyways.

Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2021-11-17 11:02:16 -08:00
..
contenthash go fmt: add //go:build 2021-10-28 13:26:43 +02:00
metadata Clean up old TODOs 2021-09-14 22:28:08 -07:00
remotecache push: workaround deadlock in containerd pusher 2021-11-12 17:33:08 -08:00
util add session injection to remote loading 2020-11-02 22:20:44 -08:00
blobs.go Re-add Finalize method to ImmutableRef. 2021-10-25 10:51:30 -07:00
blobs_linux.go Move overlay diff to util package. 2021-11-15 14:19:37 -08:00
blobs_nolinux.go go fmt: add //go:build 2021-10-28 13:26:43 +02:00
converter.go Converter: make sure uncompressed digest annotation is set 2021-10-05 15:02:05 +09:00
estargz.go Fix estargz compression loses the original tar metadata 2021-09-22 10:50:57 +09:00
manager.go Re-add Finalize method to ImmutableRef. 2021-10-25 10:51:30 -07:00
manager_test.go Merge pull request #2405 from ktock/cachecompression 2021-10-27 20:58:53 -07:00
metadata.go Refactor cache metadata interface. 2021-08-25 19:15:09 +00:00
migrate_v2.go Refactor cache metadata interface. 2021-08-25 19:15:09 +00:00
opts.go Add `estargz` compression type 2021-08-24 14:10:09 +09:00
refs.go cache: Replace Parent method with LayerChain. 2021-11-17 11:02:16 -08:00
remote.go Propagate compression options to the inline cache export 2021-10-22 15:43:32 +09:00