mock

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBatchWriterCloser

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

MockBatchWriterCloser is a mock of BatchWriterCloser interface.

func NewMockBatchWriterCloser

func NewMockBatchWriterCloser(ctrl *gomock.Controller) *MockBatchWriterCloser

NewMockBatchWriterCloser creates a new mock instance.

func (*MockBatchWriterCloser) CloseWriterAsync

func (m *MockBatchWriterCloser) CloseWriterAsync(arg0 committed.ResultCloser) error

CloseWriterAsync mocks base method.

func (*MockBatchWriterCloser) EXPECT

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

func (*MockBatchWriterCloser) Wait

Wait mocks base method.

type MockBatchWriterCloserMockRecorder

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

MockBatchWriterCloserMockRecorder is the mock recorder for MockBatchWriterCloser.

func (*MockBatchWriterCloserMockRecorder) CloseWriterAsync

func (mr *MockBatchWriterCloserMockRecorder) CloseWriterAsync(arg0 interface{}) *gomock.Call

CloseWriterAsync indicates an expected call of CloseWriterAsync.

func (*MockBatchWriterCloserMockRecorder) Wait

Wait indicates an expected call of Wait.

type MockDiffIterator

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

MockDiffIterator is a mock of DiffIterator interface.

func NewMockDiffIterator

func NewMockDiffIterator(ctrl *gomock.Controller) *MockDiffIterator

NewMockDiffIterator creates a new mock instance.

func (*MockDiffIterator) Close

func (m *MockDiffIterator) Close()

Close mocks base method.

func (*MockDiffIterator) EXPECT

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

func (*MockDiffIterator) Err

func (m *MockDiffIterator) Err() error

Err mocks base method.

func (*MockDiffIterator) Next

func (m *MockDiffIterator) Next() bool

Next mocks base method.

func (*MockDiffIterator) NextRange

func (m *MockDiffIterator) NextRange() bool

NextRange mocks base method.

func (*MockDiffIterator) SeekGE

func (m *MockDiffIterator) SeekGE(id graveler.Key)

SeekGE mocks base method.

func (*MockDiffIterator) Value

Value mocks base method.

type MockDiffIteratorMockRecorder

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

MockDiffIteratorMockRecorder is the mock recorder for MockDiffIterator.

func (*MockDiffIteratorMockRecorder) Close

Close indicates an expected call of Close.

func (*MockDiffIteratorMockRecorder) Err

Err indicates an expected call of Err.

func (*MockDiffIteratorMockRecorder) Next

Next indicates an expected call of Next.

func (*MockDiffIteratorMockRecorder) NextRange

func (mr *MockDiffIteratorMockRecorder) NextRange() *gomock.Call

NextRange indicates an expected call of NextRange.

func (*MockDiffIteratorMockRecorder) SeekGE

func (mr *MockDiffIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call

SeekGE indicates an expected call of SeekGE.

func (*MockDiffIteratorMockRecorder) Value

Value indicates an expected call of Value.

type MockIterator

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

MockIterator is a mock of Iterator interface.

func NewMockIterator

func NewMockIterator(ctrl *gomock.Controller) *MockIterator

NewMockIterator creates a new mock instance.

func (*MockIterator) Close

func (m *MockIterator) Close()

Close mocks base method.

func (*MockIterator) EXPECT

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

func (*MockIterator) Err

func (m *MockIterator) Err() error

Err mocks base method.

func (*MockIterator) Next

func (m *MockIterator) Next() bool

Next mocks base method.

func (*MockIterator) NextRange

func (m *MockIterator) NextRange() bool

NextRange mocks base method.

func (*MockIterator) SeekGE

func (m *MockIterator) SeekGE(id graveler.Key)

SeekGE mocks base method.

func (*MockIterator) Value

Value mocks base method.

type MockIteratorMockRecorder

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

MockIteratorMockRecorder is the mock recorder for MockIterator.

func (*MockIteratorMockRecorder) Close

func (mr *MockIteratorMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockIteratorMockRecorder) Err

Err indicates an expected call of Err.

func (*MockIteratorMockRecorder) Next

func (mr *MockIteratorMockRecorder) Next() *gomock.Call

Next indicates an expected call of Next.

func (*MockIteratorMockRecorder) NextRange

func (mr *MockIteratorMockRecorder) NextRange() *gomock.Call

NextRange indicates an expected call of NextRange.

func (*MockIteratorMockRecorder) SeekGE

func (mr *MockIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call

SeekGE indicates an expected call of SeekGE.

func (*MockIteratorMockRecorder) Value

func (mr *MockIteratorMockRecorder) Value() *gomock.Call

Value indicates an expected call of Value.

type MockMetaRangeManager

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

MockMetaRangeManager is a mock of MetaRangeManager interface.

func NewMockMetaRangeManager

func NewMockMetaRangeManager(ctrl *gomock.Controller) *MockMetaRangeManager

NewMockMetaRangeManager creates a new mock instance.

func (*MockMetaRangeManager) EXPECT

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

func (*MockMetaRangeManager) Exists

Exists mocks base method.

func (*MockMetaRangeManager) GetMetaRangeURI

func (m *MockMetaRangeManager) GetMetaRangeURI(ctx context.Context, ns graveler.StorageNamespace, metaRangeID graveler.MetaRangeID) (string, error)

GetMetaRangeURI mocks base method.

func (*MockMetaRangeManager) GetRangeByKey added in v0.98.0

GetRangeByKey mocks base method.

func (*MockMetaRangeManager) GetRangeURI

GetRangeURI mocks base method.

func (*MockMetaRangeManager) GetValue

GetValue mocks base method.

func (*MockMetaRangeManager) NewMetaRangeIterator

func (m *MockMetaRangeManager) NewMetaRangeIterator(ctx context.Context, ns graveler.StorageNamespace, metaRangeID graveler.MetaRangeID) (committed.Iterator, error)

NewMetaRangeIterator mocks base method.

func (*MockMetaRangeManager) NewWriter

NewWriter mocks base method.

type MockMetaRangeManagerMockRecorder

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

MockMetaRangeManagerMockRecorder is the mock recorder for MockMetaRangeManager.

func (*MockMetaRangeManagerMockRecorder) Exists

func (mr *MockMetaRangeManagerMockRecorder) Exists(ctx, ns, id interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockMetaRangeManagerMockRecorder) GetMetaRangeURI

func (mr *MockMetaRangeManagerMockRecorder) GetMetaRangeURI(ctx, ns, metaRangeID interface{}) *gomock.Call

GetMetaRangeURI indicates an expected call of GetMetaRangeURI.

func (*MockMetaRangeManagerMockRecorder) GetRangeByKey added in v0.98.0

func (mr *MockMetaRangeManagerMockRecorder) GetRangeByKey(ctx, ns, id, key interface{}) *gomock.Call

GetRangeByKey indicates an expected call of GetRangeByKey.

func (*MockMetaRangeManagerMockRecorder) GetRangeURI

func (mr *MockMetaRangeManagerMockRecorder) GetRangeURI(ctx, ns, rangeID interface{}) *gomock.Call

GetRangeURI indicates an expected call of GetRangeURI.

func (*MockMetaRangeManagerMockRecorder) GetValue

func (mr *MockMetaRangeManagerMockRecorder) GetValue(ctx, ns, id, key interface{}) *gomock.Call

GetValue indicates an expected call of GetValue.

func (*MockMetaRangeManagerMockRecorder) NewMetaRangeIterator

func (mr *MockMetaRangeManagerMockRecorder) NewMetaRangeIterator(ctx, ns, metaRangeID interface{}) *gomock.Call

NewMetaRangeIterator indicates an expected call of NewMetaRangeIterator.

func (*MockMetaRangeManagerMockRecorder) NewWriter

func (mr *MockMetaRangeManagerMockRecorder) NewWriter(ctx, ns, metadata interface{}) *gomock.Call

NewWriter indicates an expected call of NewWriter.

type MockMetaRangeWriter

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

MockMetaRangeWriter is a mock of MetaRangeWriter interface.

func NewMockMetaRangeWriter

func NewMockMetaRangeWriter(ctrl *gomock.Controller) *MockMetaRangeWriter

NewMockMetaRangeWriter creates a new mock instance.

func (*MockMetaRangeWriter) Abort

func (m *MockMetaRangeWriter) Abort() error

Abort mocks base method.

func (*MockMetaRangeWriter) Close

Close mocks base method.

func (*MockMetaRangeWriter) EXPECT

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

func (*MockMetaRangeWriter) WriteRange

func (m *MockMetaRangeWriter) WriteRange(arg0 committed.Range) error

WriteRange mocks base method.

func (*MockMetaRangeWriter) WriteRecord

func (m *MockMetaRangeWriter) WriteRecord(arg0 graveler.ValueRecord) error

WriteRecord mocks base method.

type MockMetaRangeWriterMockRecorder

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

MockMetaRangeWriterMockRecorder is the mock recorder for MockMetaRangeWriter.

func (*MockMetaRangeWriterMockRecorder) Abort

Abort indicates an expected call of Abort.

func (*MockMetaRangeWriterMockRecorder) Close

func (mr *MockMetaRangeWriterMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close.

func (*MockMetaRangeWriterMockRecorder) WriteRange

func (mr *MockMetaRangeWriterMockRecorder) WriteRange(arg0 interface{}) *gomock.Call

WriteRange indicates an expected call of WriteRange.

func (*MockMetaRangeWriterMockRecorder) WriteRecord

func (mr *MockMetaRangeWriterMockRecorder) WriteRecord(arg0 interface{}) *gomock.Call

WriteRecord indicates an expected call of WriteRecord.

type MockRangeManager

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

MockRangeManager is a mock of RangeManager interface.

func NewMockRangeManager

func NewMockRangeManager(ctrl *gomock.Controller) *MockRangeManager

NewMockRangeManager creates a new mock instance.

func (*MockRangeManager) EXPECT

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

func (*MockRangeManager) Exists

Exists mocks base method.

func (*MockRangeManager) GetURI

GetURI mocks base method.

func (*MockRangeManager) GetValue

GetValue mocks base method.

func (*MockRangeManager) GetValueGE

GetValueGE mocks base method.

func (*MockRangeManager) GetWriter

GetWriter mocks base method.

func (*MockRangeManager) NewRangeIterator

NewRangeIterator mocks base method.

type MockRangeManagerMockRecorder

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

MockRangeManagerMockRecorder is the mock recorder for MockRangeManager.

func (*MockRangeManagerMockRecorder) Exists

func (mr *MockRangeManagerMockRecorder) Exists(ctx, ns, id interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockRangeManagerMockRecorder) GetURI

func (mr *MockRangeManagerMockRecorder) GetURI(ctx, ns, id interface{}) *gomock.Call

GetURI indicates an expected call of GetURI.

func (*MockRangeManagerMockRecorder) GetValue

func (mr *MockRangeManagerMockRecorder) GetValue(ctx, ns, id, key interface{}) *gomock.Call

GetValue indicates an expected call of GetValue.

func (*MockRangeManagerMockRecorder) GetValueGE

func (mr *MockRangeManagerMockRecorder) GetValueGE(ctx, ns, id, key interface{}) *gomock.Call

GetValueGE indicates an expected call of GetValueGE.

func (*MockRangeManagerMockRecorder) GetWriter

func (mr *MockRangeManagerMockRecorder) GetWriter(ctx, ns, metadata interface{}) *gomock.Call

GetWriter indicates an expected call of GetWriter.

func (*MockRangeManagerMockRecorder) NewRangeIterator

func (mr *MockRangeManagerMockRecorder) NewRangeIterator(ctx, ns, pid interface{}) *gomock.Call

NewRangeIterator indicates an expected call of NewRangeIterator.

type MockRangeWriter

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

MockRangeWriter is a mock of RangeWriter interface.

func NewMockRangeWriter

func NewMockRangeWriter(ctrl *gomock.Controller) *MockRangeWriter

NewMockRangeWriter creates a new mock instance.

func (*MockRangeWriter) Abort

func (m *MockRangeWriter) Abort() error

Abort mocks base method.

func (*MockRangeWriter) Close

func (m *MockRangeWriter) Close() (*committed.WriteResult, error)

Close mocks base method.

func (*MockRangeWriter) EXPECT

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

func (*MockRangeWriter) GetApproximateSize

func (m *MockRangeWriter) GetApproximateSize() uint64

GetApproximateSize mocks base method.

func (*MockRangeWriter) SetMetadata

func (m *MockRangeWriter) SetMetadata(key, value string)

SetMetadata mocks base method.

func (*MockRangeWriter) ShouldBreakAtKey

func (m *MockRangeWriter) ShouldBreakAtKey(key graveler.Key, params *committed.Params) bool

ShouldBreakAtKey mocks base method.

func (*MockRangeWriter) WriteRecord

func (m *MockRangeWriter) WriteRecord(record committed.Record) error

WriteRecord mocks base method.

type MockRangeWriterMockRecorder

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

MockRangeWriterMockRecorder is the mock recorder for MockRangeWriter.

func (*MockRangeWriterMockRecorder) Abort

Abort indicates an expected call of Abort.

func (*MockRangeWriterMockRecorder) Close

Close indicates an expected call of Close.

func (*MockRangeWriterMockRecorder) GetApproximateSize

func (mr *MockRangeWriterMockRecorder) GetApproximateSize() *gomock.Call

GetApproximateSize indicates an expected call of GetApproximateSize.

func (*MockRangeWriterMockRecorder) SetMetadata

func (mr *MockRangeWriterMockRecorder) SetMetadata(key, value interface{}) *gomock.Call

SetMetadata indicates an expected call of SetMetadata.

func (*MockRangeWriterMockRecorder) ShouldBreakAtKey

func (mr *MockRangeWriterMockRecorder) ShouldBreakAtKey(key, params interface{}) *gomock.Call

ShouldBreakAtKey indicates an expected call of ShouldBreakAtKey.

func (*MockRangeWriterMockRecorder) WriteRecord

func (mr *MockRangeWriterMockRecorder) WriteRecord(record interface{}) *gomock.Call

WriteRecord indicates an expected call of WriteRecord.

type MockValueIterator

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

MockValueIterator is a mock of ValueIterator interface.

func NewMockValueIterator

func NewMockValueIterator(ctrl *gomock.Controller) *MockValueIterator

NewMockValueIterator creates a new mock instance.

func (*MockValueIterator) Close

func (m *MockValueIterator) Close()

Close mocks base method.

func (*MockValueIterator) EXPECT

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

func (*MockValueIterator) Err

func (m *MockValueIterator) Err() error

Err mocks base method.

func (*MockValueIterator) Next

func (m *MockValueIterator) Next() bool

Next mocks base method.

func (*MockValueIterator) SeekGE

func (m *MockValueIterator) SeekGE(id committed.Key)

SeekGE mocks base method.

func (*MockValueIterator) Value

func (m *MockValueIterator) Value() *committed.Record

Value mocks base method.

type MockValueIteratorMockRecorder

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

MockValueIteratorMockRecorder is the mock recorder for MockValueIterator.

func (*MockValueIteratorMockRecorder) Close

Close indicates an expected call of Close.

func (*MockValueIteratorMockRecorder) Err

Err indicates an expected call of Err.

func (*MockValueIteratorMockRecorder) Next

Next indicates an expected call of Next.

func (*MockValueIteratorMockRecorder) SeekGE

func (mr *MockValueIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call

SeekGE indicates an expected call of SeekGE.

func (*MockValueIteratorMockRecorder) Value

Value indicates an expected call of Value.

Jump to

Keyboard shortcuts

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