mocks

package
v0.0.0-...-ed45f3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2021 License: MIT Imports: 4 Imported by: 0

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockDatabase) Find

func (m *MockDatabase) Find(arg0 string, arg1 *mongo.Client) (primitive.M, error)

Find mocks base method

func (*MockDatabase) Insert

func (m *MockDatabase) Insert(arg0 string, arg1 []byte, arg2 *mongo.Client) error

Insert mocks base method

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL