Write is for in memory data. cacheInfo contains information to make a caching decision.
(ctx context.Context, name string, blockID uuid.UUID, tenantID string, buffer []byte, cacheInfo *CacheInfo)
| 42 | type Writer interface { |
| 43 | // Write is for in memory data. cacheInfo contains information to make a caching decision. |
| 44 | Write(ctx context.Context, name string, blockID uuid.UUID, tenantID string, buffer []byte, cacheInfo *CacheInfo) error |
| 45 | // StreamWriter is for larger data payloads streamed through an io.Reader. It is expected this will _not_ be cached. |
| 46 | StreamWriter(ctx context.Context, name string, blockID uuid.UUID, tenantID string, data io.Reader, size int64) error |
| 47 | // WriteBlockMeta writes a block meta to its blocks |
no outgoing calls