MCPcopy Index your code
hub / github.com/koding/kite / Set

Method Set

kontrol/etcd_keysapi_logger.go:27–30  ·  view source on GitHub ↗
(ctx context.Context, key, value string, opts *etcd.SetOptions)

Source from the content-addressed store, hash-verified

25}
26
27func (k KeysAPILogger) Set(ctx context.Context, key, value string, opts *etcd.SetOptions) (*etcd.Response, error) {
28 k.log.Debug("Set: key: %v value: %v opts: %v", key, value, opts)
29 return k.kapi.Set(ctx, key, value, opts)
30}
31
32func (k KeysAPILogger) Delete(ctx context.Context, key string, opts *etcd.DeleteOptions) (*etcd.Response, error) {
33 k.log.Debug("Delete: key: %v opts: %v", key, opts)

Callers 4

AddKeyMethod · 0.45
NewEtcdFunction · 0.45
AddMethod · 0.45
UpdateMethod · 0.45

Calls 1

DebugMethod · 0.80

Tested by

no test coverage detected