MCPcopy Create free account
hub / github.com/apache/kvrocks-controller / Get

Method Get

store/engine/engine.go:38–38  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

36 IsReady(ctx context.Context) bool
37
38 Get(ctx context.Context, key string) ([]byte, error)
39 Exists(ctx context.Context, key string) (bool, error)
40 Set(ctx context.Context, key string, value []byte) error
41 Delete(ctx context.Context, key string) error

Callers 15

getClusterWithoutLockMethod · 0.65
TestBasicOperationsFunction · 0.65
GetMethod · 0.65
ListMethod · 0.65
TestBasicOperationsFunction · 0.65
GetMethod · 0.65
TestBasicOperationsFunction · 0.65
GetMethod · 0.65
ExistsMethod · 0.65
TestCluster_SingleNodeFunction · 0.65
TestCluster_MultiNodesFunction · 0.65

Implementers 6

Mockstore/engine/engine_inmemory.go
Postgresqlstore/engine/postgresql/postgresql.go
Etcdstore/engine/etcd/etcd.go
Consulstore/engine/consul/consul.go
Nodestore/engine/raft/node.go
Zookeeperstore/engine/zookeeper/zookeeper.go

Calls

no outgoing calls

Tested by 9

TestBasicOperationsFunction · 0.52
TestBasicOperationsFunction · 0.52
TestBasicOperationsFunction · 0.52
TestCluster_SingleNodeFunction · 0.52
TestCluster_MultiNodesFunction · 0.52
TestTriggerSnapshotFunction · 0.52
TestBasicOperationsFunction · 0.52
TestClusterMigrateDataFunction · 0.52