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

Method Upsert

kontrol/etcd.go:98–100  ·  view source on GitHub ↗
(k *protocol.Kite, v *kontrolprotocol.RegisterValue)

Source from the content-addressed store, hash-verified

96}
97
98func (e *Etcd) Upsert(k *protocol.Kite, v *kontrolprotocol.RegisterValue) error {
99 return e.Add(k, v)
100}
101
102func (e *Etcd) Add(k *protocol.Kite, v *kontrolprotocol.RegisterValue) error {
103 etcdKey := KitesPrefix + k.String()

Callers

nothing calls this directly

Calls 1

AddMethod · 0.95

Tested by

no test coverage detected