repoMocks

package
v0.0.0-...-ee95d54 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package repoMocks is a generated GoMock package.

Package repoMocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOperationRepo

type MockOperationRepo struct {
	// contains filtered or unexported fields
}

MockOperationRepo is a mock of OperationRepo interface.

func NewMockOperationRepo

func NewMockOperationRepo(ctrl *gomock.Controller) *MockOperationRepo

NewMockOperationRepo creates a new mock instance.

func (*MockOperationRepo) DeleteOperation

func (m *MockOperationRepo) DeleteOperation(operation *types.Operation) error

DeleteOperation mocks base method.

func (*MockOperationRepo) EXPECT

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

func (*MockOperationRepo) GetOperationByID

func (m *MockOperationRepo) GetOperationByID(operationID string) (*types.Operation, error)

GetOperationByID mocks base method.

func (*MockOperationRepo) GetOperations

func (m *MockOperationRepo) GetOperations() (map[string]*types.Operation, error)

GetOperations mocks base method.

func (*MockOperationRepo) PutOperation

func (m *MockOperationRepo) PutOperation(operation *types.Operation) error

PutOperation mocks base method.

type MockOperationRepoMockRecorder

type MockOperationRepoMockRecorder struct {
	// contains filtered or unexported fields
}

MockOperationRepoMockRecorder is the mock recorder for MockOperationRepo.

func (*MockOperationRepoMockRecorder) DeleteOperation

func (mr *MockOperationRepoMockRecorder) DeleteOperation(operation interface{}) *gomock.Call

DeleteOperation indicates an expected call of DeleteOperation.

func (*MockOperationRepoMockRecorder) GetOperationByID

func (mr *MockOperationRepoMockRecorder) GetOperationByID(operationID interface{}) *gomock.Call

GetOperationByID indicates an expected call of GetOperationByID.

func (*MockOperationRepoMockRecorder) GetOperations

func (mr *MockOperationRepoMockRecorder) GetOperations() *gomock.Call

GetOperations indicates an expected call of GetOperations.

func (*MockOperationRepoMockRecorder) PutOperation

func (mr *MockOperationRepoMockRecorder) PutOperation(operation interface{}) *gomock.Call

PutOperation indicates an expected call of PutOperation.

type MockSignatureRepo

type MockSignatureRepo struct {
	// contains filtered or unexported fields
}

MockSignatureRepo is a mock of SignatureRepo interface.

func NewMockSignatureRepo

func NewMockSignatureRepo(ctrl *gomock.Controller) *MockSignatureRepo

NewMockSignatureRepo creates a new mock instance.

func (*MockSignatureRepo) EXPECT

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

func (*MockSignatureRepo) GetBatches

func (m *MockSignatureRepo) GetBatches(dkgID string) ([]string, error)

GetBatches mocks base method.

func (*MockSignatureRepo) GetSignatureByID

func (m *MockSignatureRepo) GetSignatureByID(dkgID, signatureID string) ([]types.ReconstructedSignature, error)

GetSignatureByID mocks base method.

func (*MockSignatureRepo) GetSignatures

func (m *MockSignatureRepo) GetSignatures(dkgID string) (signature.SignaturesStorage, error)

GetSignatures mocks base method.

func (*MockSignatureRepo) GetSignaturesByBatchID

func (m *MockSignatureRepo) GetSignaturesByBatchID(dkgID, batchID string) (map[string][]types.ReconstructedSignature, error)

GetSignaturesByBatchID mocks base method.

func (*MockSignatureRepo) SaveSignatures

func (m *MockSignatureRepo) SaveSignatures(signature []types.ReconstructedSignature) error

SaveSignatures mocks base method.

type MockSignatureRepoMockRecorder

type MockSignatureRepoMockRecorder struct {
	// contains filtered or unexported fields
}

MockSignatureRepoMockRecorder is the mock recorder for MockSignatureRepo.

func (*MockSignatureRepoMockRecorder) GetBatches

func (mr *MockSignatureRepoMockRecorder) GetBatches(dkgID interface{}) *gomock.Call

GetBatches indicates an expected call of GetBatches.

func (*MockSignatureRepoMockRecorder) GetSignatureByID

func (mr *MockSignatureRepoMockRecorder) GetSignatureByID(dkgID, signatureID interface{}) *gomock.Call

GetSignatureByID indicates an expected call of GetSignatureByID.

func (*MockSignatureRepoMockRecorder) GetSignatures

func (mr *MockSignatureRepoMockRecorder) GetSignatures(dkgID interface{}) *gomock.Call

GetSignatures indicates an expected call of GetSignatures.

func (*MockSignatureRepoMockRecorder) GetSignaturesByBatchID

func (mr *MockSignatureRepoMockRecorder) GetSignaturesByBatchID(dkgID, batchID interface{}) *gomock.Call

GetSignaturesByBatchID indicates an expected call of GetSignaturesByBatchID.

func (*MockSignatureRepoMockRecorder) SaveSignatures

func (mr *MockSignatureRepoMockRecorder) SaveSignatures(signature interface{}) *gomock.Call

SaveSignatures indicates an expected call of SaveSignatures.

Jump to

Keyboard shortcuts

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