Read is for reading entire objects from the backend. cacheInfo contains information to make a caching decision
(ctx context.Context, name string, blockID uuid.UUID, tenantID string, cacheInfo *CacheInfo)
| 64 | type Reader interface { |
| 65 | // Read is for reading entire objects from the backend. cacheInfo contains information to make a caching decision |
| 66 | Read(ctx context.Context, name string, blockID uuid.UUID, tenantID string, cacheInfo *CacheInfo) ([]byte, error) |
| 67 | // StreamReader is for streaming entire objects from the backend. It is expected this will _not_ be cached. |
| 68 | StreamReader(ctx context.Context, name string, blockID uuid.UUID, tenantID string) (io.ReadCloser, int64, error) |
| 69 | // ReadRange is for reading parts of large objects from the backend. cacheInfo contains information to make a caching decision |
no outgoing calls