Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSecretLock ¶
type MockSecretLock struct { ValEncrypt string ValDecrypt string ErrEncrypt error ErrDecrypt error }
MockSecretLock mocking a Secret Lock service
func (*MockSecretLock) Decrypt ¶
func (m *MockSecretLock) Decrypt(keyURI string, req *secretlock.DecryptRequest) (*secretlock.DecryptResponse, error)
Decrypt req for master key in keyURI
func (*MockSecretLock) Encrypt ¶
func (m *MockSecretLock) Encrypt(keyURI string, req *secretlock.EncryptRequest) (*secretlock.EncryptResponse, error)
Encrypt req for master key in keyURI
Click to show internal directories.
Click to hide internal directories.