Documentation ¶
Index ¶
Constants ¶
View Source
const VerifyCacheWrites = false
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache interface { Bytes(context.Context, schema.Digest) ([]byte, error) Blob(schema.Digest) (io.ReadCloser, error) // XXX No context is required here to make it simpler for Compressed() to call Blob(). Stat(context.Context, schema.Digest) (CacheInfo, error) WriteBlob(context.Context, schema.Digest, io.ReadCloser) error WriteBytes(context.Context, schema.Digest, []byte) error LoadEntry(context.Context, schema.Digest) (CachedOutput, bool, error) StoreEntry(context.Context, []schema.Digest, CachedOutput) error }
Click to show internal directories.
Click to hide internal directories.