package imageutil

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

Index

Functions

func Config

func Config(ctx context.Context, str string, resolver remotes.Resolver, cache ContentCache, 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

Types

type ContentCache

type ContentCache interface {
	content.Ingester
	content.Provider
}

Source Files

config.go schema1.go

Version
v0.5.1
Published
May 9, 2019
Platform
js/wasm
Imports
13 packages
Last checked
7 minutes ago

Tools for package owners.