Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobReader ¶
type BlobReader struct {
// contains filtered or unexported fields
}
func NewBlobReader ¶
func NewBlobReader(blobPath string) (*BlobReader, error)
func (*BlobReader) Close ¶
func (d *BlobReader) Close() error
type LayerFetcher ¶
type LayerFetcher struct {
// contains filtered or unexported fields
}
func NewLayerFetcher ¶
func NewLayerFetcher(source Source) *LayerFetcher
func (*LayerFetcher) Close ¶
func (f *LayerFetcher) Close() error
func (*LayerFetcher) ImageInfo ¶
func (f *LayerFetcher) ImageInfo(logger lager.Logger) (imagepuller.ImageInfo, error)
func (*LayerFetcher) StreamBlob ¶
func (f *LayerFetcher) StreamBlob(logger lager.Logger, layerInfo imagepuller.LayerInfo) (io.ReadCloser, int64, error)
type QuotaedReader ¶
type QuotaedReader struct { DelegateReader io.ReadCloser QuotaLeft int64 QuotaExceededErrorHandler func() error }
func NewQuotaedReader ¶
func NewQuotaedReader(delegateReader io.ReadCloser, quotaLeft int64, errorMsg string) *QuotaedReader
func (*QuotaedReader) Close ¶
func (q *QuotaedReader) Close() error
Click to show internal directories.
Click to hide internal directories.