v0

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_ocis_messages_store_v0_store_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeleteOptions

type DeleteOptions struct {
	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Table    string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOptions) Descriptor deprecated

func (*DeleteOptions) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead.

func (*DeleteOptions) GetDatabase

func (x *DeleteOptions) GetDatabase() string

func (*DeleteOptions) GetTable

func (x *DeleteOptions) GetTable() string

func (*DeleteOptions) ProtoMessage

func (*DeleteOptions) ProtoMessage()

func (*DeleteOptions) ProtoReflect

func (x *DeleteOptions) ProtoReflect() protoreflect.Message

func (*DeleteOptions) Reset

func (x *DeleteOptions) Reset()

func (*DeleteOptions) String

func (x *DeleteOptions) String() string

type Field

type Field struct {

	// type of value e.g string, int, int64, bool, float64
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// the actual value
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Field) Descriptor deprecated

func (*Field) Descriptor() ([]byte, []int)

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetType

func (x *Field) GetType() string

func (*Field) GetValue

func (x *Field) GetValue() string

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

func (x *Field) ProtoReflect() protoreflect.Message

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

type ListOptions

type ListOptions struct {
	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Table    string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
	Prefix   string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Suffix   string `protobuf:"bytes,4,opt,name=suffix,proto3" json:"suffix,omitempty"`
	Limit    uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset   uint64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOptions) Descriptor deprecated

func (*ListOptions) Descriptor() ([]byte, []int)

Deprecated: Use ListOptions.ProtoReflect.Descriptor instead.

func (*ListOptions) GetDatabase

func (x *ListOptions) GetDatabase() string

func (*ListOptions) GetLimit

func (x *ListOptions) GetLimit() uint64

func (*ListOptions) GetOffset

func (x *ListOptions) GetOffset() uint64

func (*ListOptions) GetPrefix

func (x *ListOptions) GetPrefix() string

func (*ListOptions) GetSuffix

func (x *ListOptions) GetSuffix() string

func (*ListOptions) GetTable

func (x *ListOptions) GetTable() string

func (*ListOptions) ProtoMessage

func (*ListOptions) ProtoMessage()

func (*ListOptions) ProtoReflect

func (x *ListOptions) ProtoReflect() protoreflect.Message

func (*ListOptions) Reset

func (x *ListOptions) Reset()

func (*ListOptions) String

func (x *ListOptions) String() string

type ReadOptions

type ReadOptions struct {
	Database string            `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Table    string            `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
	Prefix   bool              `protobuf:"varint,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Suffix   bool              `protobuf:"varint,4,opt,name=suffix,proto3" json:"suffix,omitempty"`
	Limit    uint64            `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset   uint64            `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
	Where    map[string]*Field `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ReadOptions) Descriptor deprecated

func (*ReadOptions) Descriptor() ([]byte, []int)

Deprecated: Use ReadOptions.ProtoReflect.Descriptor instead.

func (*ReadOptions) GetDatabase

func (x *ReadOptions) GetDatabase() string

func (*ReadOptions) GetLimit

func (x *ReadOptions) GetLimit() uint64

func (*ReadOptions) GetOffset

func (x *ReadOptions) GetOffset() uint64

func (*ReadOptions) GetPrefix

func (x *ReadOptions) GetPrefix() bool

func (*ReadOptions) GetSuffix

func (x *ReadOptions) GetSuffix() bool

func (*ReadOptions) GetTable

func (x *ReadOptions) GetTable() string

func (*ReadOptions) GetWhere

func (x *ReadOptions) GetWhere() map[string]*Field

func (*ReadOptions) ProtoMessage

func (*ReadOptions) ProtoMessage()

func (*ReadOptions) ProtoReflect

func (x *ReadOptions) ProtoReflect() protoreflect.Message

func (*ReadOptions) Reset

func (x *ReadOptions) Reset()

func (*ReadOptions) String

func (x *ReadOptions) String() string

type Record

type Record struct {

	// key of the recorda
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// value in the record
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// time.Duration (signed int64 nanoseconds)
	Expiry int64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// the associated metadata
	Metadata map[string]*Field `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Record) Descriptor deprecated

func (*Record) Descriptor() ([]byte, []int)

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetExpiry

func (x *Record) GetExpiry() int64

func (*Record) GetKey

func (x *Record) GetKey() string

func (*Record) GetMetadata

func (x *Record) GetMetadata() map[string]*Field

func (*Record) GetValue

func (x *Record) GetValue() []byte

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

func (x *Record) ProtoReflect() protoreflect.Message

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

type WriteOptions

type WriteOptions struct {
	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Table    string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
	// time.Time
	Expiry int64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// time.Duration
	Ttl int64 `protobuf:"varint,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteOptions) Descriptor deprecated

func (*WriteOptions) Descriptor() ([]byte, []int)

Deprecated: Use WriteOptions.ProtoReflect.Descriptor instead.

func (*WriteOptions) GetDatabase

func (x *WriteOptions) GetDatabase() string

func (*WriteOptions) GetExpiry

func (x *WriteOptions) GetExpiry() int64

func (*WriteOptions) GetTable

func (x *WriteOptions) GetTable() string

func (*WriteOptions) GetTtl

func (x *WriteOptions) GetTtl() int64

func (*WriteOptions) ProtoMessage

func (*WriteOptions) ProtoMessage()

func (*WriteOptions) ProtoReflect

func (x *WriteOptions) ProtoReflect() protoreflect.Message

func (*WriteOptions) Reset

func (x *WriteOptions) Reset()

func (*WriteOptions) String

func (x *WriteOptions) String() string

Jump to

Keyboard shortcuts

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