MCPcopy
hub / github.com/etcd-io/etcd / Put

Method Put

tests/framework/interfaces/interface.go:46–46  ·  view source on GitHub ↗
(context context.Context, key, value string, opts config.PutOptions)

Source from the content-addressed store, hash-verified

44
45type Client interface {
46 Put(context context.Context, key, value string, opts config.PutOptions) error
47 Get(context context.Context, key string, opts config.GetOptions) (*clientv3.GetResponse, error)
48 Delete(context context.Context, key string, opts config.DeleteOptions) (*clientv3.DeleteResponse, error)
49 Compact(context context.Context, rev int64, opts config.CompactOption) (*clientv3.CompactResponse, error)

Calls

no outgoing calls