MCPcopy
hub / github.com/NVIDIA/aistore / Set

Method Set

dbdriver/api.go:35–35  ·  view source on GitHub ↗

Write an object to database. Object is marshaled as JSON

(collection, key string, object interface{})

Source from the content-addressed store, hash-verified

33 Close() error
34 // Write an object to database. Object is marshaled as JSON
35 Set(collection, key string, object interface{}) error
36 // Read an object from database.
37 Get(collection, key string, object interface{}) error
38 // Write an already marshaled object or simple string

Callers 15

ServeHTTPMethod · 0.65
TestVFunction · 0.65
TestVmoduleOnFunction · 0.65
TestVmoduleOffFunction · 0.65
testVmoduleGlobFunction · 0.65
TestLogBacktraceAtFunction · 0.65
persistErrorMethod · 0.65
persistTaskInfoMethod · 0.65
flushMethod · 0.65
makeCommunicatorFunction · 0.65
tryDoRequestMethod · 0.65
doMethod · 0.65

Implementers 2

BuntDriverdbdriver/bunt.go
DBDrivercluster/mock/dbdriver_mock.go

Calls

no outgoing calls

Tested by 9

TestVFunction · 0.52
TestVmoduleOnFunction · 0.52
TestVmoduleOffFunction · 0.52
testVmoduleGlobFunction · 0.52
TestLogBacktraceAtFunction · 0.52
testUserDeleteFunction · 0.52
TestTokenFunction · 0.52
TestETLTar2TFRangesFunction · 0.52