bigmapdiff

package
v0.0.0-...-4a4274a Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: repository.go

Generated by this command:

mockgen -source=repository.go -destination=../mock/bigmapdiff/mock.go -package=bigmapdiff -typed

Package bigmapdiff is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) Count

func (m *MockRepository) Count(ctx context.Context, ptr int64) (int, error)

Count mocks base method.

func (*MockRepository) Current

func (m *MockRepository) Current(ctx context.Context, keyHash string, ptr int64) (bigmapdiff.BigMapState, error)

Current mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) Get

Get mocks base method.

func (*MockRepository) GetByPtr

func (m *MockRepository) GetByPtr(ctx context.Context, contract string, ptr int64) ([]bigmapdiff.BigMapState, error)

GetByPtr mocks base method.

func (*MockRepository) GetByPtrAndKeyHash

func (m *MockRepository) GetByPtrAndKeyHash(ctx context.Context, ptr int64, keyHash string, size, offset int64) ([]bigmapdiff.BigMapDiff, int64, error)

GetByPtrAndKeyHash mocks base method.

func (*MockRepository) GetForAddress

func (m *MockRepository) GetForAddress(ctx context.Context, address string) ([]bigmapdiff.BigMapState, error)

GetForAddress mocks base method.

func (*MockRepository) GetForOperation

func (m *MockRepository) GetForOperation(ctx context.Context, id int64) ([]bigmapdiff.BigMapDiff, error)

GetForOperation mocks base method.

func (*MockRepository) GetStats

func (m *MockRepository) GetStats(ctx context.Context, ptr int64) (bigmapdiff.Stats, error)

GetStats mocks base method.

func (*MockRepository) Keys

Keys mocks base method.

func (*MockRepository) Previous

Previous mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Count

func (mr *MockRepositoryMockRecorder) Count(ctx, ptr any) *RepositoryCountCall

Count indicates an expected call of Count.

func (*MockRepositoryMockRecorder) Current

func (mr *MockRepositoryMockRecorder) Current(ctx, keyHash, ptr any) *RepositoryCurrentCall

Current indicates an expected call of Current.

func (*MockRepositoryMockRecorder) Get

func (mr *MockRepositoryMockRecorder) Get(ctx, reqCtx any) *RepositoryGetCall

Get indicates an expected call of Get.

func (*MockRepositoryMockRecorder) GetByPtr

func (mr *MockRepositoryMockRecorder) GetByPtr(ctx, contract, ptr any) *RepositoryGetByPtrCall

GetByPtr indicates an expected call of GetByPtr.

func (*MockRepositoryMockRecorder) GetByPtrAndKeyHash

func (mr *MockRepositoryMockRecorder) GetByPtrAndKeyHash(ctx, ptr, keyHash, size, offset any) *RepositoryGetByPtrAndKeyHashCall

GetByPtrAndKeyHash indicates an expected call of GetByPtrAndKeyHash.

func (*MockRepositoryMockRecorder) GetForAddress

func (mr *MockRepositoryMockRecorder) GetForAddress(ctx, address any) *RepositoryGetForAddressCall

GetForAddress indicates an expected call of GetForAddress.

func (*MockRepositoryMockRecorder) GetForOperation

func (mr *MockRepositoryMockRecorder) GetForOperation(ctx, id any) *RepositoryGetForOperationCall

GetForOperation indicates an expected call of GetForOperation.

func (*MockRepositoryMockRecorder) GetStats

func (mr *MockRepositoryMockRecorder) GetStats(ctx, ptr any) *RepositoryGetStatsCall

GetStats indicates an expected call of GetStats.

func (*MockRepositoryMockRecorder) Keys

func (mr *MockRepositoryMockRecorder) Keys(ctx, reqCtx any) *RepositoryKeysCall

Keys indicates an expected call of Keys.

func (*MockRepositoryMockRecorder) Previous

func (mr *MockRepositoryMockRecorder) Previous(ctx, diffs any) *RepositoryPreviousCall

Previous indicates an expected call of Previous.

type RepositoryCountCall

type RepositoryCountCall struct {
	*gomock.Call
}

RepositoryCountCall wrap *gomock.Call

func (*RepositoryCountCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryCountCall) DoAndReturn

func (c *RepositoryCountCall) DoAndReturn(f func(context.Context, int64) (int, error)) *RepositoryCountCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryCountCall) Return

func (c *RepositoryCountCall) Return(arg0 int, arg1 error) *RepositoryCountCall

Return rewrite *gomock.Call.Return

type RepositoryCurrentCall

type RepositoryCurrentCall struct {
	*gomock.Call
}

RepositoryCurrentCall wrap *gomock.Call

func (*RepositoryCurrentCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryCurrentCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryCurrentCall) Return

Return rewrite *gomock.Call.Return

type RepositoryGetByPtrAndKeyHashCall

type RepositoryGetByPtrAndKeyHashCall struct {
	*gomock.Call
}

RepositoryGetByPtrAndKeyHashCall wrap *gomock.Call

func (*RepositoryGetByPtrAndKeyHashCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryGetByPtrAndKeyHashCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryGetByPtrAndKeyHashCall) Return

Return rewrite *gomock.Call.Return

type RepositoryGetByPtrCall

type RepositoryGetByPtrCall struct {
	*gomock.Call
}

RepositoryGetByPtrCall wrap *gomock.Call

func (*RepositoryGetByPtrCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryGetByPtrCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryGetByPtrCall) Return

Return rewrite *gomock.Call.Return

type RepositoryGetCall

type RepositoryGetCall struct {
	*gomock.Call
}

RepositoryGetCall wrap *gomock.Call

func (*RepositoryGetCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryGetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryGetCall) Return

func (c *RepositoryGetCall) Return(arg0 []bigmapdiff.Bucket, arg1 error) *RepositoryGetCall

Return rewrite *gomock.Call.Return

type RepositoryGetForAddressCall

type RepositoryGetForAddressCall struct {
	*gomock.Call
}

RepositoryGetForAddressCall wrap *gomock.Call

func (*RepositoryGetForAddressCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryGetForAddressCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryGetForAddressCall) Return

Return rewrite *gomock.Call.Return

type RepositoryGetForOperationCall

type RepositoryGetForOperationCall struct {
	*gomock.Call
}

RepositoryGetForOperationCall wrap *gomock.Call

func (*RepositoryGetForOperationCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryGetForOperationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryGetForOperationCall) Return

Return rewrite *gomock.Call.Return

type RepositoryGetStatsCall

type RepositoryGetStatsCall struct {
	*gomock.Call
}

RepositoryGetStatsCall wrap *gomock.Call

func (*RepositoryGetStatsCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryGetStatsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryGetStatsCall) Return

Return rewrite *gomock.Call.Return

type RepositoryKeysCall

type RepositoryKeysCall struct {
	*gomock.Call
}

RepositoryKeysCall wrap *gomock.Call

func (*RepositoryKeysCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryKeysCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryKeysCall) Return

Return rewrite *gomock.Call.Return

type RepositoryPreviousCall

type RepositoryPreviousCall struct {
	*gomock.Call
}

RepositoryPreviousCall wrap *gomock.Call

func (*RepositoryPreviousCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryPreviousCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryPreviousCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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