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

Method AddKey

kontrol/keypair.go:42–42  ·  view source on GitHub ↗

AddKey adds the given key pair to the storage

(*KeyPair)

Source from the content-addressed store, hash-verified

40type KeyPairStorage interface {
41 // AddKey adds the given key pair to the storage
42 AddKey(*KeyPair) error
43
44 // DeleteKey deletes the given key pairs from the storage
45 DeleteKey(*KeyPair) error

Callers 5

AddKeyMethod · 0.65
GetKeyFromIDMethod · 0.65
GetKeyFromPublicMethod · 0.65
AddKeyPairMethod · 0.65
registerSelfMethod · 0.65

Implementers 3

MemKeyPairStoragekontrol/keypair.go
CachedStoragekontrol/keypair.go
Postgreskontrol/postgres.go

Calls

no outgoing calls

Tested by

no test coverage detected