add

package
v4.2.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLayerToConfig

func AddLayerToConfig(config *dockerv1client.DockerImageConfig, layer distribution.Descriptor, diffID string)

func DigestCopy

func DigestCopy(dst io.ReaderFrom, src io.Reader) (layerDigest, blobDigest digest.Digest, modTime *time.Time, size int64, err error)

DigestCopy reads all of src into dst, where src is a gzipped stream. It will return the sha256 sum of the underlying content (the layerDigest) and the sha256 sum of the tar archive (the blobDigest) or an error. If the gzip layer has a modification time it will be returned. TODO: use configurable digests

func NewEmptyConfig

func NewEmptyConfig() *dockerv1client.DockerImageConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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