Whether this encoding can create new blocks, or is in deprecated read-only mode. CreateBlock with the given attributes and trace contents. BlockMeta is used as a container for many options. Required fields: * BlockID * TenantID * Encoding * StartTime * EndTime * TotalObjects
(ctx context.Context, cfg *common.BlockConfig, meta *backend.BlockMeta, i common.Iterator, r backend.Reader, to backend.Writer)
| 40 | // * EndTime |
| 41 | // * TotalObjects |
| 42 | CreateBlock(ctx context.Context, cfg *common.BlockConfig, meta *backend.BlockMeta, i common.Iterator, r backend.Reader, to backend.Writer) (*backend.BlockMeta, error) |
| 43 | |
| 44 | // CopyBlock from one backend to another. |
| 45 | CopyBlock(ctx context.Context, meta *backend.BlockMeta, from backend.Reader, to backend.Writer) error |
no outgoing calls