testutils

package
v0.57.2 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

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

Jump to

Keyboard shortcuts

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