Documentation
¶
Index ¶
- Constants
- Variables
- func DriverTest(t *testing.T, ms MakeStore)
- func GetStore(ctx context.Context, t testing.TB) kv.Store
- type MakeStore
- type StoreWithCounter
- type TestModel
- func (*TestModel) Descriptor() ([]byte, []int)deprecated
- func (x *TestModel) GetADouble() float64
- func (x *TestModel) GetJustAString() string
- func (x *TestModel) GetName() []byte
- func (x *TestModel) GetTestList() []bool
- func (x *TestModel) GetTestMap() map[string]int32
- func (x *TestModel) GetTestTime() *timestamppb.Timestamp
- func (*TestModel) ProtoMessage()
- func (x *TestModel) ProtoReflect() protoreflect.Message
- func (x *TestModel) Reset()
- func (x *TestModel) String() string
Constants ¶
View Source
const MaxPageSize = 10
MaxPageSize is the maximum page size for pagination tests
Variables ¶
View Source
var File_test_model_proto protoreflect.FileDescriptor
Functions ¶
func DriverTest ¶ added in v0.97.0
Types ¶
type StoreWithCounter ¶ added in v0.106.0
func NewStoreWithCounter ¶ added in v0.106.0
func NewStoreWithCounter(store kv.Store) *StoreWithCounter
func (*StoreWithCounter) Scan ¶ added in v0.106.0
func (swc *StoreWithCounter) Scan(ctx context.Context, partitionKey []byte, options kv.ScanOptions) (kv.EntriesIterator, error)
type TestModel ¶ added in v0.65.0
type TestModel struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` JustAString string `protobuf:"bytes,2,opt,name=just_a_string,json=justAString,proto3" json:"just_a_string,omitempty"` ADouble float64 `protobuf:"fixed64,3,opt,name=a_double,json=aDouble,proto3" json:"a_double,omitempty"` TestTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=test_time,json=testTime,proto3" json:"test_time,omitempty"` TestMap map[string]int32 `` /* 171-byte string literal not displayed */ TestList []bool `protobuf:"varint,6,rep,packed,name=test_list,json=testList,proto3" json:"test_list,omitempty"` // contains filtered or unexported fields }
func (*TestModel) Descriptor
deprecated
added in
v0.65.0
func (*TestModel) GetADouble ¶ added in v0.65.0
func (*TestModel) GetJustAString ¶ added in v0.69.0
func (*TestModel) GetTestList ¶ added in v0.65.0
func (*TestModel) GetTestMap ¶ added in v0.65.0
func (*TestModel) GetTestTime ¶ added in v0.65.0
func (x *TestModel) GetTestTime() *timestamppb.Timestamp
func (*TestModel) ProtoMessage ¶ added in v0.65.0
func (*TestModel) ProtoMessage()
func (*TestModel) ProtoReflect ¶ added in v0.65.0
func (x *TestModel) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.