MCPcopy Create free account
hub / github.com/brimdata/super / Put

Method Put

pkg/storage/engine.go:25–25  ·  view source on GitHub ↗
(context.Context, *URI)

Source from the content-addressed store, hash-verified

23type Engine interface {
24 Get(context.Context, *URI) (Reader, error)
25 Put(context.Context, *URI) (io.WriteCloser, error)
26 PutIfNotExists(context.Context, *URI, []byte) error
27 Delete(context.Context, *URI) error
28 DeleteByPrefix(context.Context, *URI) error

Callers 15

LookupTypeRecordMethod · 0.65
duplicateFieldFunction · 0.65
LookupTypeMapMethod · 0.65
LookupTypeUnionMethod · 0.65
LookupTypeEnumMethod · 0.65
LookupTypeNamedMethod · 0.65
DiscardMethod · 0.65
PutFunction · 0.65
PutMethod · 0.65
UnrefMethod · 0.65
ReadMethod · 0.65
compressBufferFunction · 0.65

Implementers 7

Routerpkg/storage/router.go
HTTPEnginepkg/storage/http.go
FileSystempkg/storage/file.go
S3Enginepkg/storage/s3.go
StdioEnginepkg/storage/stdio.go
MockEnginepkg/storage/mock/mock_engine.go
MockEngineMockRecorderpkg/storage/mock/mock_engine.go

Calls

no outgoing calls

Tested by 1

TestDirS3SourceFunction · 0.52