Documentation ¶
Index ¶
Constants ¶
View Source
const ContinuationTokenOpaque = "FakeContToken"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEntryIterator ¶
type FakeEntryIterator struct { Entries []*catalog.EntryRecord Error error // contains filtered or unexported fields }
func NewFakeEntryIterator ¶
func NewFakeEntryIterator(entries []*catalog.EntryRecord) *FakeEntryIterator
func (*FakeEntryIterator) Close ¶
func (f *FakeEntryIterator) Close()
func (*FakeEntryIterator) Err ¶
func (f *FakeEntryIterator) Err() error
func (*FakeEntryIterator) Next ¶
func (f *FakeEntryIterator) Next() bool
func (*FakeEntryIterator) SeekGE ¶
func (f *FakeEntryIterator) SeekGE(id catalog.Path)
func (*FakeEntryIterator) Value ¶
func (f *FakeEntryIterator) Value() *catalog.EntryRecord
type FakeFactory ¶ added in v0.65.0
type FakeFactory struct {
Walker *FakeWalker
}
func (FakeFactory) GetWalker ¶ added in v0.65.0
func (f FakeFactory) GetWalker(_ context.Context, op store.WalkerOptions) (*store.WalkerWrapper, error)
type FakeValueIterator ¶
type FakeValueIterator struct { Records []*graveler.ValueRecord Error error // contains filtered or unexported fields }
func NewFakeValueIterator ¶
func NewFakeValueIterator(records []*graveler.ValueRecord) *FakeValueIterator
func (*FakeValueIterator) Close ¶
func (f *FakeValueIterator) Close()
func (*FakeValueIterator) Err ¶
func (f *FakeValueIterator) Err() error
func (*FakeValueIterator) Next ¶
func (f *FakeValueIterator) Next() bool
func (*FakeValueIterator) SeekGE ¶
func (f *FakeValueIterator) SeekGE(id graveler.Key)
func (*FakeValueIterator) Value ¶
func (f *FakeValueIterator) Value() *graveler.ValueRecord
type FakeWalker ¶ added in v0.65.0
type FakeWalker struct { Entries []block.ObjectStoreEntry Max int // contains filtered or unexported fields }
func NewFakeWalker ¶ added in v0.65.0
func NewFakeWalker(count, max int, uriPrefix, expectedAfter, expectedContinuationToken, expectedFromSourceURIWithPrefix string, err error) *FakeWalker
func (*FakeWalker) GetSkippedEntries ¶ added in v0.98.0
func (w *FakeWalker) GetSkippedEntries() []block.ObjectStoreEntry
func (*FakeWalker) Marker ¶ added in v0.65.0
func (w *FakeWalker) Marker() block.Mark
func (*FakeWalker) Walk ¶ added in v0.65.0
func (w *FakeWalker) Walk(_ context.Context, storageURI *url.URL, op block.WalkOptions, walkFn func(e block.ObjectStoreEntry) error) error
Click to show internal directories.
Click to hide internal directories.