package imageutil
import "github.com/moby/buildkit/util/imageutil"
Index ¶
- func AddLease(f func(context.Context) error)
- func CancelCacheLeases()
- func Config(ctx context.Context, str string, resolver remotes.Resolver, cache ContentCache, leaseManager leases.Manager, p *ocispecs.Platform) (digest.Digest, []byte, error)
- func DetectManifestBlobMediaType(dt []byte) (string, error)
- func DetectManifestMediaType(ra content.ReaderAt) (string, error)
- type ContentCache
Functions ¶
func AddLease ¶
func CancelCacheLeases ¶
func CancelCacheLeases()
func Config ¶
func Config(ctx context.Context, str string, resolver remotes.Resolver, cache ContentCache, leaseManager leases.Manager, p *ocispecs.Platform) (digest.Digest, []byte, error)
func DetectManifestBlobMediaType ¶
func DetectManifestMediaType ¶
specs.MediaTypeImageManifest, // TODO: detect schema1/manifest-list
Types ¶
type ContentCache ¶
Source Files ¶
- Version
- v0.10.0-rc2
- Published
- Feb 25, 2022
- Platform
- js/wasm
- Imports
- 19 packages
- Last checked
- 2 minutes ago –
Tools for package owners.