package leasepb
import "github.com/coreos/etcd/lease/leasepb"
Package leasepb is a generated protocol buffer package.
It is generated from these files:
lease.proto
It has these top-level messages:
Lease LeaseInternalRequest LeaseInternalResponse
Index ¶
- Variables
- type Lease
- func (*Lease) Descriptor() ([]byte, []int)
- func (m *Lease) Marshal() (dAtA []byte, err error)
- func (m *Lease) MarshalTo(dAtA []byte) (int, error)
- func (*Lease) ProtoMessage()
- func (m *Lease) Reset()
- func (m *Lease) Size() (n int)
- func (m *Lease) String() string
- func (m *Lease) Unmarshal(dAtA []byte) error
- type LeaseInternalRequest
- func (*LeaseInternalRequest) Descriptor() ([]byte, []int)
- func (m *LeaseInternalRequest) Marshal() (dAtA []byte, err error)
- func (m *LeaseInternalRequest) MarshalTo(dAtA []byte) (int, error)
- func (*LeaseInternalRequest) ProtoMessage()
- func (m *LeaseInternalRequest) Reset()
- func (m *LeaseInternalRequest) Size() (n int)
- func (m *LeaseInternalRequest) String() string
- func (m *LeaseInternalRequest) Unmarshal(dAtA []byte) error
- type LeaseInternalResponse
- func (*LeaseInternalResponse) Descriptor() ([]byte, []int)
- func (m *LeaseInternalResponse) Marshal() (dAtA []byte, err error)
- func (m *LeaseInternalResponse) MarshalTo(dAtA []byte) (int, error)
- func (*LeaseInternalResponse) ProtoMessage()
- func (m *LeaseInternalResponse) Reset()
- func (m *LeaseInternalResponse) Size() (n int)
- func (m *LeaseInternalResponse) String() string
- func (m *LeaseInternalResponse) Unmarshal(dAtA []byte) error
Variables ¶
var ( ErrInvalidLengthLease = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLease = fmt.Errorf("proto: integer overflow") )
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"` }
func (*Lease) Descriptor ¶
func (*Lease) Marshal ¶
func (*Lease) MarshalTo ¶
func (*Lease) ProtoMessage ¶
func (*Lease) ProtoMessage()
func (*Lease) Reset ¶
func (m *Lease) Reset()
func (*Lease) Size ¶
func (*Lease) String ¶
func (*Lease) Unmarshal ¶
type LeaseInternalRequest ¶
type LeaseInternalRequest struct { LeaseTimeToLiveRequest *etcdserverpb.LeaseTimeToLiveRequest `protobuf:"bytes,1,opt,name=LeaseTimeToLiveRequest" json:"LeaseTimeToLiveRequest,omitempty"` }
func (*LeaseInternalRequest) Descriptor ¶
func (*LeaseInternalRequest) Descriptor() ([]byte, []int)
func (*LeaseInternalRequest) Marshal ¶
func (m *LeaseInternalRequest) Marshal() (dAtA []byte, err error)
func (*LeaseInternalRequest) MarshalTo ¶
func (m *LeaseInternalRequest) MarshalTo(dAtA []byte) (int, error)
func (*LeaseInternalRequest) ProtoMessage ¶
func (*LeaseInternalRequest) ProtoMessage()
func (*LeaseInternalRequest) Reset ¶
func (m *LeaseInternalRequest) Reset()
func (*LeaseInternalRequest) Size ¶
func (m *LeaseInternalRequest) Size() (n int)
func (*LeaseInternalRequest) String ¶
func (m *LeaseInternalRequest) String() string
func (*LeaseInternalRequest) Unmarshal ¶
func (m *LeaseInternalRequest) Unmarshal(dAtA []byte) error
type LeaseInternalResponse ¶
type LeaseInternalResponse struct { LeaseTimeToLiveResponse *etcdserverpb.LeaseTimeToLiveResponse `protobuf:"bytes,1,opt,name=LeaseTimeToLiveResponse" json:"LeaseTimeToLiveResponse,omitempty"` }
func (*LeaseInternalResponse) Descriptor ¶
func (*LeaseInternalResponse) Descriptor() ([]byte, []int)
func (*LeaseInternalResponse) Marshal ¶
func (m *LeaseInternalResponse) Marshal() (dAtA []byte, err error)
func (*LeaseInternalResponse) MarshalTo ¶
func (m *LeaseInternalResponse) MarshalTo(dAtA []byte) (int, error)
func (*LeaseInternalResponse) ProtoMessage ¶
func (*LeaseInternalResponse) ProtoMessage()
func (*LeaseInternalResponse) Reset ¶
func (m *LeaseInternalResponse) Reset()
func (*LeaseInternalResponse) Size ¶
func (m *LeaseInternalResponse) Size() (n int)
func (*LeaseInternalResponse) String ¶
func (m *LeaseInternalResponse) String() string
func (*LeaseInternalResponse) Unmarshal ¶
func (m *LeaseInternalResponse) Unmarshal(dAtA []byte) error
Source Files ¶
- Version
- v3.3.10+incompatible
- Published
- Oct 10, 2018
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 4 minutes ago –
Tools for package owners.