Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func GetDiffer ¶
func GetDiffer(ctx context.Context, store storage.Store, blobSize int64, annotations map[string]string, iss ImageSourceSeekable) (graphdriver.Differ, error)
GetDiffer returns a differ than can be used with ApplyDiffWithDiffer.
func ZstdCompressor ¶
ZstdCompressor is a CompressorFunc for the zstd compression algorithm. Deprecated: Use pkg/chunked/compressor.ZstdCompressor.
Types ¶
type ErrBadRequest ¶
type ErrBadRequest struct { }
ErrBadRequest is returned when the request is not valid
func (ErrBadRequest) Error ¶
func (e ErrBadRequest) Error() string
type ImageSourceChunk ¶
ImageSourceChunk is a portion of a blob.
type ImageSourceSeekable ¶
type ImageSourceSeekable interface { // GetBlobAt returns a stream for the specified blob. GetBlobAt([]ImageSourceChunk) (chan io.ReadCloser, chan error, error) }
ImageSourceSeekable is an image source that permits to fetch chunks of the entire blob.
Directories ¶
Path | Synopsis |
---|---|
Package rollsum implements rolling checksums similar to apenwarr's bup, which is similar to librsync.
|
Package rollsum implements rolling checksums similar to apenwarr's bup, which is similar to librsync. |
Click to show internal directories.
Click to hide internal directories.