package imageutil

import "github.com/moby/buildkit/util/imageutil"

Index

Functions

func CancelCacheLeases

func CancelCacheLeases()

func Config

func Config(ctx context.Context, str string, resolver remotes.Resolver, cache ContentCache, leaseManager leases.Manager, p *specs.Platform) (digest.Digest, []byte, error)

func DetectManifestBlobMediaType

func DetectManifestBlobMediaType(dt []byte) (string, error)

func DetectManifestMediaType

func DetectManifestMediaType(ra content.ReaderAt) (string, error)

specs.MediaTypeImageManifest, // TODO: detect schema1/manifest-list

func SetChildrenLabelsNonBlobs

func SetChildrenLabelsNonBlobs(manager content.Manager, f images.HandlerFunc) images.HandlerFunc

Types

type ContentCache

type ContentCache interface {
	content.Ingester
	content.Provider
}

Source Files

config.go schema1.go

Version
v0.6.1
Published
Aug 15, 2019
Platform
js/wasm
Imports
17 packages
Last checked
6 minutes ago

Tools for package owners.