Documentation ¶
Index ¶
- Variables
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetData() []byte
- func (x *Value) GetTs() *timestamppb.Timestamp
- func (x *Value) GetTtl() *durationpb.Duration
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_internal_proto_state_etcd_v2_value_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Value ¶
type Value struct { // Required. The value of the state key item. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Required. The creation time of the state key item. This is an // approximation by the components-contrib instance since ETCD does not // provide this information natively. Ts *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"` // Optional. The Time To Live of the state key item. The duration of the TTL // is from the creation time of the key (`ts`). If not specified, the key has // no TTL. Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"` // contains filtered or unexported fields }
Value is the value of the state key item. It contains the underlying data as well as necessary metadata.
func (*Value) Descriptor
deprecated
func (*Value) GetTs ¶
func (x *Value) GetTs() *timestamppb.Timestamp
func (*Value) GetTtl ¶
func (x *Value) GetTtl() *durationpb.Duration
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.