MCPcopy
hub / github.com/cubefs/cubefs / handleDeleteKey

Method handleDeleteKey

authnode/api_service.go:286–288  ·  view source on GitHub ↗
(keyInfo *keystore.KeyInfo)

Source from the content-addressed store, hash-verified

284}
285
286func (m *Server) handleDeleteKey(keyInfo *keystore.KeyInfo) (res *keystore.KeyInfo, err error) {
287 return m.cluster.DeleteKey(keyInfo.ID)
288}
289
290func (m *Server) handleGetKey(keyInfo *keystore.KeyInfo) (res *keystore.KeyInfo, err error) {
291 return m.getSecretKeyInfo(keyInfo.ID)

Callers 1

apiAccessEntryMethod · 0.95

Calls 1

DeleteKeyMethod · 0.45

Tested by

no test coverage detected