Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsStartupHotPath ¶
func MaterializedFileKey ¶
Types ¶
type CacheOption ¶
type CacheOption func(*cacheOptions)
func WithCacheOpts ¶
func WithCacheOpts(cacheOpts ...cache.Option) CacheOption
func WithFilter ¶
func WithFilter(filter func(int64) bool) CacheOption
func WithReader ¶
func WithReader(sr *io.SectionReader) CacheOption
type LocalFileReaderAt ¶
type MaterializedFileSet ¶
type Reader ¶
type Reader interface {
OpenFile(id uint32) (io.ReaderAt, error)
Metadata() metadata.Reader
Close() error
LastOnDemandReadTime() time.Time
}
func NewReader ¶
func NewReader(r metadata.Reader, layerSha digest.Digest, spanManager *spanmanager.SpanManager, disableVerification bool, enableStartupReadahead ...bool) (Reader, error)
NewReader creates a Reader based on the given soci blob and Span Manager.
func NewReaderWithMaterializedFiles ¶
func NewReaderWithMaterializedFiles(r metadata.Reader, layerSha digest.Digest, spanManager *spanmanager.SpanManager, disableVerification bool, materialized *MaterializedFileSet, enableStartupReadahead bool) (Reader, error)
Click to show internal directories.
Click to hide internal directories.