Help us shape the future of Go! Take the 2026 Go Developer Survey

imageutil

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(ctx context.Context, str string, resolver remotes.Resolver, cache ContentCache, p *specs.Platform) (digest.Digest, []byte, 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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL