MCPcopy
hub / github.com/grafana/k6 / RecordReader

Interface RecordReader

internal/js/modules/k6/data/data.go:109–111  ·  view source on GitHub ↗

RecordReader is the interface that wraps the action of reading records from a resource. The data module RecordReader interface is implemented by types that can read data that can be treated as records, from data sources such as a CSV file, etc.

Source from the content-addressed store, hash-verified

107// The data module RecordReader interface is implemented by types that can read data that can be
108// treated as records, from data sources such as a CSV file, etc.
109type RecordReader interface {
110 Read() (any, error)
111}
112
113// NewSharedArrayFrom creates a new shared array from the provided [RecordReader].
114//

Callers 8

NewRandSourceFunction · 0.65
ReadMethod · 0.65
NewSharedArrayFromMethod · 0.65
GenerateKeyMethod · 0.65
GetRandomValuesMethod · 0.65
GenerateKeyMethod · 0.65

Implementers 11

Connlib/netext/dialer.go
mockReaderinternal/js/modules/k6/browser/common/
MockReaderinternal/js/modules/k6/crypto/crypto_t
countingRecordReaderinternal/js/modules/k6/data/data_test.
sharedCountingRecordReaderinternal/js/modules/k6/data/data_test.
errorRecordReaderinternal/js/modules/k6/data/data_test.
unmarshalableRecordReaderinternal/js/modules/k6/data/data_test.
ReadableStreamDefaultReaderinternal/js/modules/k6/experimental/st
fileinternal/js/modules/k6/experimental/fs
Fileinternal/js/modules/k6/experimental/fs
Readerinternal/js/modules/k6/experimental/cs

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…