# Functions
No description provided by the author
GenerateConfig generates a blank config with optional annotations.
GenerateManifest generates a manifest.
GenerateManifestAndConfig generates a config and then a manifest.
No description provided by the author
NewFile creats a new file target.
NewGunzipWriter wrap a writer with a gunzip, so that the stream is gunzipped
By default, it calculates the hash when writing.
NewIoContentWriter create a new IoContentWriter.
NewMemory creats a new memory store.
NewOCI creates a new OCI store.
No description provided by the author
NewPassthroughWriter creates a pass-through writer that allows for processing the content via an arbitrary function.
No description provided by the author
NewRegistry creates a new Registry store.
NewUntarWriter wrap a writer with an untar, so that the stream is untarred
By default, it calculates the hash when writing.
NewUntarWriterByName wrap multiple writers with an untar, so that the stream is untarred and passed to the appropriate writer, based on the filename.
No description provided by the author
ResolveName resolves name from descriptor.
WithBlocksize set the blocksize used by the processor of data.
WithErrorOnNoName some ingesters, when creating a Writer, do not return an error if the descriptor does not have a valid name on the descriptor.
WithIgnoreNoName some ingesters, when creating a Writer, return an error if the descriptor does not have a valid name on the descriptor.
WithInputHash provide the expected input hash to a writer.
WithMultiWriterIngester the passed ingester also implements MultiWriter and should be used as such.
WithOutputHash provide the expected output hash to a writer.
# Constants
AnnotationDigest is the annotation key for the digest of the uncompressed content.
AnnotationUnpack is the annotation key for indication of unpacking.
what you get for a blank digest.
DefaultBlobDirMediaType specifies the default blob directory media type.
DefaultBlobMediaType specifies the default blob media type.
DefaultBlocksize default size of each slice of bytes read in each write through in gunzipand untar.
OCIImageIndexFile is the file name of the index from the OCI Image Layout Specification Reference: https://github.com/opencontainers/image-spec/blob/master/image-layout.md#indexjson-file.
TempFilePattern specifies the pattern to create temporary files.
# Variables
Common errors.
Common errors.
Common errors.
FileStore errors.
FileStore errors.
Common errors.
Common errors.
# Structs
Decompress store to decompress content and extract from tar, if needed, wrapping another store.
File provides content via files from the file system.
IoContentWriter writer that wraps an io.Writer, so the results can be streamed to an open io.Writer.
Memory provides content from the memory.
MultiReader store to read content from multiple stores.
OCI provides content from the file system with the OCI-Image layout.
PassthroughMultiWriter single writer that passes through to multiple writers, allowing the passthrough function to select which writer to use.
PassthroughWriter takes an input stream and passes it through to an underlying writer, while providing the ability to manipulate the stream before it gets passed through.
readerAtWrapper wraps a ReaderAt to give a Reader.
Registry provides content from a spec-compliant registry.
RegistryOptions provide configuration options to a Registry.
No description provided by the author
# Interfaces
MultiWriterIngester an ingester that can provide a single writer or multiple writers for a single descriptor.
MultiWriterPusher a pusher that can provide a single writer or multiple writers for a single descriptor.
ProvideIngester is the interface that groups the basic Read and Write methods.
# Type aliases
No description provided by the author