MCPcopy Index your code
hub / github.com/cubefs/cubefs / handleGetKey

Method handleGetKey

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

Source from the content-addressed store, hash-verified

288}
289
290func (m *Server) handleGetKey(keyInfo *keystore.KeyInfo) (res *keystore.KeyInfo, err error) {
291 return m.getSecretKeyInfo(keyInfo.ID)
292}
293
294func (m *Server) handleAddCaps(keyInfo *keystore.KeyInfo) (res *keystore.KeyInfo, err error) {
295 return m.cluster.AddCaps(keyInfo.ID, keyInfo)

Callers 1

apiAccessEntryMethod · 0.95

Calls 1

getSecretKeyInfoMethod · 0.95

Tested by

no test coverage detected