Versions in this module Expand all Collapse all v3 v3.4.15 Feb 24, 2021 Changes in this version + var ErrIntOverflowLease = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthLease = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupLease = fmt.Errorf("proto: unexpected end of group") + type Lease struct + ID int64 + RemainingTTL int64 + TTL int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Lease) Descriptor() ([]byte, []int) + func (*Lease) ProtoMessage() + func (m *Lease) Marshal() (dAtA []byte, err error) + func (m *Lease) MarshalTo(dAtA []byte) (int, error) + func (m *Lease) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Lease) Reset() + func (m *Lease) Size() (n int) + func (m *Lease) String() string + func (m *Lease) Unmarshal(dAtA []byte) error + func (m *Lease) XXX_DiscardUnknown() + func (m *Lease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Lease) XXX_Merge(src proto.Message) + func (m *Lease) XXX_Size() int + func (m *Lease) XXX_Unmarshal(b []byte) error + type LeaseInternalRequest struct + LeaseTimeToLiveRequest *etcdserverpb.LeaseTimeToLiveRequest + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LeaseInternalRequest) Descriptor() ([]byte, []int) + func (*LeaseInternalRequest) ProtoMessage() + func (m *LeaseInternalRequest) Marshal() (dAtA []byte, err error) + func (m *LeaseInternalRequest) MarshalTo(dAtA []byte) (int, error) + func (m *LeaseInternalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LeaseInternalRequest) Reset() + func (m *LeaseInternalRequest) Size() (n int) + func (m *LeaseInternalRequest) String() string + func (m *LeaseInternalRequest) Unmarshal(dAtA []byte) error + func (m *LeaseInternalRequest) XXX_DiscardUnknown() + func (m *LeaseInternalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LeaseInternalRequest) XXX_Merge(src proto.Message) + func (m *LeaseInternalRequest) XXX_Size() int + func (m *LeaseInternalRequest) XXX_Unmarshal(b []byte) error + type LeaseInternalResponse struct + LeaseTimeToLiveResponse *etcdserverpb.LeaseTimeToLiveResponse + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LeaseInternalResponse) Descriptor() ([]byte, []int) + func (*LeaseInternalResponse) ProtoMessage() + func (m *LeaseInternalResponse) Marshal() (dAtA []byte, err error) + func (m *LeaseInternalResponse) MarshalTo(dAtA []byte) (int, error) + func (m *LeaseInternalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LeaseInternalResponse) Reset() + func (m *LeaseInternalResponse) Size() (n int) + func (m *LeaseInternalResponse) String() string + func (m *LeaseInternalResponse) Unmarshal(dAtA []byte) error + func (m *LeaseInternalResponse) XXX_DiscardUnknown() + func (m *LeaseInternalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LeaseInternalResponse) XXX_Merge(src proto.Message) + func (m *LeaseInternalResponse) XXX_Size() int + func (m *LeaseInternalResponse) XXX_Unmarshal(b []byte) error