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

Method DeleteKey

kontrol/keypair.go:167–173  ·  view source on GitHub ↗
(keyPair *KeyPair)

Source from the content-addressed store, hash-verified

165}
166
167func (m *CachedStorage) DeleteKey(keyPair *KeyPair) error {
168 if err := m.backend.DeleteKey(keyPair); err != nil {
169 return err
170 }
171
172 return m.cache.DeleteKey(keyPair)
173}
174
175func (m *CachedStorage) GetKeyFromID(id string) (*KeyPair, error) {
176 if keyPair, err := m.cache.GetKeyFromID(id); err == nil {

Callers

nothing calls this directly

Calls 1

DeleteKeyMethod · 0.65

Tested by

no test coverage detected