Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDecrypter ¶
type MockDecrypter struct {
// contains filtered or unexported fields
}
MockDecrypter is a mock of Decrypter interface
func NewMockDecrypter ¶
func NewMockDecrypter(ctrl *gomock.Controller) *MockDecrypter
NewMockDecrypter creates a new mock instance
func (*MockDecrypter) Decrypt ¶
func (m *MockDecrypter) Decrypt(arg0 cipher.EncryptedContent) (cipher.PlainContent, error)
Decrypt mocks base method
func (*MockDecrypter) EXPECT ¶
func (m *MockDecrypter) EXPECT() *MockDecrypterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDecrypterMockRecorder ¶
type MockDecrypterMockRecorder struct {
// contains filtered or unexported fields
}
MockDecrypterMockRecorder is the mock recorder for MockDecrypter
func (*MockDecrypterMockRecorder) Decrypt ¶
func (mr *MockDecrypterMockRecorder) Decrypt(arg0 interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt
type MockEncrypter ¶
type MockEncrypter struct {
// contains filtered or unexported fields
}
MockEncrypter is a mock of Encrypter interface
func NewMockEncrypter ¶
func NewMockEncrypter(ctrl *gomock.Controller) *MockEncrypter
NewMockEncrypter creates a new mock instance
func (*MockEncrypter) EXPECT ¶
func (m *MockEncrypter) EXPECT() *MockEncrypterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEncrypter) Encrypt ¶
func (m *MockEncrypter) Encrypt(rand io.Reader, pub keys.PublicKey, plain cipher.PlainContent) (cipher.EncryptedContent, error)
Encrypt mocks base method
type MockEncrypterMockRecorder ¶
type MockEncrypterMockRecorder struct {
// contains filtered or unexported fields
}
MockEncrypterMockRecorder is the mock recorder for MockEncrypter
func (*MockEncrypterMockRecorder) Encrypt ¶
func (mr *MockEncrypterMockRecorder) Encrypt(rand, pub, plain interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt