RawWriter is a collection of methods to write data to tempodb backends
| 51 | |
| 52 | // RawWriter is a collection of methods to write data to tempodb backends |
| 53 | type RawWriter interface { |
| 54 | // Write is for in memory data. shouldCache specifies whether or not caching should be attempted. |
| 55 | Write(ctx context.Context, name string, keypath KeyPath, data io.Reader, size int64, cacheInfo *CacheInfo) error |
| 56 | // Append starts or continues an Append job. Pass nil to AppendTracker to start a job. |
| 57 | Append(ctx context.Context, name string, keypath KeyPath, tracker AppendTracker, buffer []byte) (AppendTracker, error) |
| 58 | // CloseAppend closes any resources associated with the AppendTracker. |
| 59 | CloseAppend(ctx context.Context, tracker AppendTracker) error |
| 60 | // Delete deletes a file. |
| 61 | Delete(ctx context.Context, name string, keypath KeyPath, cacheInfo *CacheInfo) error |
| 62 | } |
| 63 | |
| 64 | // RawReader is a collection of methods to read data from tempodb backends |
| 65 | type RawReader interface { |
no outgoing calls
no test coverage detected