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

Method Set

store/engine/engine.go:40–40  ·  view source on GitHub ↗
(ctx context.Context, key string, value []byte)

Source from the content-addressed store, hash-verified

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
42 List(ctx context.Context, prefix string) ([]Entry, error)
43

Callers 15

CreateNamespaceMethod · 0.65
UpdateClusterMethod · 0.65
SetClusterMethod · 0.65
CreateClusterMethod · 0.65
TestClusterNodeFunction · 0.65
TestBasicOperationsFunction · 0.65
TestBasicOperationsFunction · 0.65
TestBasicOperationsFunction · 0.65
TestCluster_SingleNodeFunction · 0.65
TestCluster_MultiNodesFunction · 0.65
TestTriggerSnapshotFunction · 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 14

TestClusterNodeFunction · 0.52
TestBasicOperationsFunction · 0.52
TestBasicOperationsFunction · 0.52
TestBasicOperationsFunction · 0.52
TestCluster_SingleNodeFunction · 0.52
TestCluster_MultiNodesFunction · 0.52
TestTriggerSnapshotFunction · 0.52
TestBasicOperationsFunction · 0.52
TestNodeBasicsFunction · 0.52
TestShardBasicsFunction · 0.52
TestClusterFailoverFunction · 0.52