MCPcopy Create free account
hub / github.com/koding/kite / Clear

Method Clear

kontrol/etcd.go:91–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89}
90
91func (e *Etcd) Clear() error {
92 _, err := e.client.Delete(context.TODO(), KitesPrefix, &etcd.DeleteOptions{
93 Recursive: true,
94 })
95 return err
96}
97
98func (e *Etcd) Upsert(k *protocol.Kite, v *kontrolprotocol.RegisterValue) error {
99 return e.Add(k, v)

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected