package leasepb
import "go.etcd.io/etcd/server/v3/lease/leasepb"
Index ¶
- Variables
- type Lease
- func (*Lease) Descriptor() ([]byte, []int)
- func (x *Lease) GetID() int64
- func (x *Lease) GetRemainingTTL() int64
- func (x *Lease) GetTTL() int64
- func (*Lease) ProtoMessage()
- func (x *Lease) ProtoReflect() protoreflect.Message
- func (x *Lease) Reset()
- func (x *Lease) String() string
- type LeaseInternalRequest
- func (*LeaseInternalRequest) Descriptor() ([]byte, []int)
- func (x *LeaseInternalRequest) GetLeaseTimeToLiveRequest() *etcdserverpb.LeaseTimeToLiveRequest
- func (*LeaseInternalRequest) ProtoMessage()
- func (x *LeaseInternalRequest) ProtoReflect() protoreflect.Message
- func (x *LeaseInternalRequest) Reset()
- func (x *LeaseInternalRequest) String() string
- type LeaseInternalResponse
- func (*LeaseInternalResponse) Descriptor() ([]byte, []int)
- func (x *LeaseInternalResponse) GetLeaseTimeToLiveResponse() *etcdserverpb.LeaseTimeToLiveResponse
- func (*LeaseInternalResponse) ProtoMessage()
- func (x *LeaseInternalResponse) ProtoReflect() protoreflect.Message
- func (x *LeaseInternalResponse) Reset()
- func (x *LeaseInternalResponse) String() string
Variables ¶
var File_lease_proto protoreflect.FileDescriptor
Types ¶
type Lease ¶
type Lease struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
TTL int64 `protobuf:"varint,2,opt,name=TTL,proto3" json:"TTL,omitempty"`
RemainingTTL int64 `protobuf:"varint,3,opt,name=RemainingTTL,proto3" json:"RemainingTTL,omitempty"`
// contains filtered or unexported fields
}
func (*Lease) Descriptor ¶
Deprecated: Use Lease.ProtoReflect.Descriptor instead.
func (*Lease) GetID ¶
func (*Lease) GetRemainingTTL ¶
func (*Lease) GetTTL ¶
func (*Lease) ProtoMessage ¶
func (*Lease) ProtoMessage()
func (*Lease) ProtoReflect ¶
func (x *Lease) ProtoReflect() protoreflect.Message
func (*Lease) Reset ¶
func (x *Lease) Reset()
func (*Lease) String ¶
type LeaseInternalRequest ¶
type LeaseInternalRequest struct {
LeaseTimeToLiveRequest *etcdserverpb.LeaseTimeToLiveRequest `protobuf:"bytes,1,opt,name=LeaseTimeToLiveRequest,proto3" json:"LeaseTimeToLiveRequest,omitempty"`
// contains filtered or unexported fields
}
func (*LeaseInternalRequest) Descriptor ¶
func (*LeaseInternalRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaseInternalRequest.ProtoReflect.Descriptor instead.
func (*LeaseInternalRequest) GetLeaseTimeToLiveRequest ¶
func (x *LeaseInternalRequest) GetLeaseTimeToLiveRequest() *etcdserverpb.LeaseTimeToLiveRequest
func (*LeaseInternalRequest) ProtoMessage ¶
func (*LeaseInternalRequest) ProtoMessage()
func (*LeaseInternalRequest) ProtoReflect ¶
func (x *LeaseInternalRequest) ProtoReflect() protoreflect.Message
func (*LeaseInternalRequest) Reset ¶
func (x *LeaseInternalRequest) Reset()
func (*LeaseInternalRequest) String ¶
func (x *LeaseInternalRequest) String() string
type LeaseInternalResponse ¶
type LeaseInternalResponse struct {
LeaseTimeToLiveResponse *etcdserverpb.LeaseTimeToLiveResponse `protobuf:"bytes,1,opt,name=LeaseTimeToLiveResponse,proto3" json:"LeaseTimeToLiveResponse,omitempty"`
// contains filtered or unexported fields
}
func (*LeaseInternalResponse) Descriptor ¶
func (*LeaseInternalResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaseInternalResponse.ProtoReflect.Descriptor instead.
func (*LeaseInternalResponse) GetLeaseTimeToLiveResponse ¶
func (x *LeaseInternalResponse) GetLeaseTimeToLiveResponse() *etcdserverpb.LeaseTimeToLiveResponse
func (*LeaseInternalResponse) ProtoMessage ¶
func (*LeaseInternalResponse) ProtoMessage()
func (*LeaseInternalResponse) ProtoReflect ¶
func (x *LeaseInternalResponse) ProtoReflect() protoreflect.Message
func (*LeaseInternalResponse) Reset ¶
func (x *LeaseInternalResponse) Reset()
func (*LeaseInternalResponse) String ¶
func (x *LeaseInternalResponse) String() string
Source Files ¶
lease.pb.go
- Version
- v3.7.1 (latest)
- Published
- Jul 23, 2026
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 4 hours ago –
Tools for package owners.