Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenTestByteSeq ¶
GenTestByteSeq returns a byte slice for tests with length n.
func NewMockBucket ¶
func NewMockBucket(ctx context.Context, ctrl *gomock.Controller, set resultset.ResultSet, testBuf []byte) obj.Bucket
NewMockBucket returns a mock bucket for set that returns testBuf data.
func NewTestReader ¶
func NewTestReader(set resultset.ResultSet, idx int, buf []byte, off, length int64) (io.ReadCloser, error)
NewTestReader returns an io.ReadCloser for buf [off, off+length] based on the offsets in set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.