MCPcopy
hub / github.com/ipfs/kubo / PluginDatastore

Interface PluginDatastore

plugin/datastore.go:9–14  ·  view source on GitHub ↗

PluginDatastore is an interface that can be implemented to add handlers for for different datastores.

Source from the content-addressed store, hash-verified

7// PluginDatastore is an interface that can be implemented to add handlers for
8// for different datastores.
9type PluginDatastore interface {
10 Plugin
11
12 DatastoreTypeName() string
13 DatastoreConfigParser() fsrepo.ConfigFromMap
14}

Callers 6

injectDatastorePluginFunction · 0.65
makeNodeFunction · 0.65
loadDatastorePluginsFunction · 0.65
injectDatastorePluginFunction · 0.65
makeNodeFunction · 0.65
loadDatastorePluginsFunction · 0.65

Implementers 4

flatfsPluginplugin/plugins/flatfs/flatfs.go
pebbledsPluginplugin/plugins/pebbleds/pebbleds.go
leveldsPluginplugin/plugins/levelds/levelds.go
badgerdsPluginplugin/plugins/badgerds/badgerds.go

Calls

no outgoing calls

Tested by

no test coverage detected