Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
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 MockCrypter ¶
type MockCrypter struct {
// contains filtered or unexported fields
}
MockCrypter is a mock of Crypter interface
func NewMockCrypter ¶
func NewMockCrypter(ctrl *gomock.Controller) *MockCrypter
NewMockCrypter creates a new mock instance
func (*MockCrypter) Decrypt ¶
func (m *MockCrypter) Decrypt(arg0, arg1 []byte) ([]byte, error)
Decrypt mocks base method
func (*MockCrypter) DecryptFile ¶
func (m *MockCrypter) DecryptFile(arg0 string, arg1 []byte) ([]byte, error)
DecryptFile mocks base method
func (*MockCrypter) EXPECT ¶
func (m *MockCrypter) EXPECT() *MockCrypterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCrypter) EncryptFile ¶
func (m *MockCrypter) EncryptFile(arg0 string, arg1, arg2 []byte) error
EncryptFile mocks base method
type MockCrypterMockRecorder ¶
type MockCrypterMockRecorder struct {
// contains filtered or unexported fields
}
MockCrypterMockRecorder is the mock recorder for MockCrypter
func (*MockCrypterMockRecorder) Decrypt ¶
func (mr *MockCrypterMockRecorder) Decrypt(arg0, arg1 interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt
func (*MockCrypterMockRecorder) DecryptFile ¶
func (mr *MockCrypterMockRecorder) DecryptFile(arg0, arg1 interface{}) *gomock.Call
DecryptFile indicates an expected call of DecryptFile
func (*MockCrypterMockRecorder) EncryptFile ¶
func (mr *MockCrypterMockRecorder) EncryptFile(arg0, arg1, arg2 interface{}) *gomock.Call
EncryptFile indicates an expected call of EncryptFile
type MockDatabase ¶
type MockDatabase struct {
// contains filtered or unexported fields
}
MockDatabase is a mock of Database interface
func NewMockDatabase ¶
func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase
NewMockDatabase creates a new mock instance
func (*MockDatabase) EXPECT ¶
func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDatabaseMockRecorder ¶
type MockDatabaseMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseMockRecorder is the mock recorder for MockDatabase
func (*MockDatabaseMockRecorder) Find ¶
func (mr *MockDatabaseMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockDatabaseMockRecorder) Insert ¶
func (mr *MockDatabaseMockRecorder) Insert(arg0, arg1, arg2 interface{}) *gomock.Call
Insert indicates an expected call of Insert