Documentation ¶
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 (m *Lease) MarshalToSizedBuffer(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
- 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
- func (*LeaseInternalRequest) Descriptor() ([]byte, []int)
- 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 (*LeaseInternalRequest) ProtoMessage()
- 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
- func (*LeaseInternalResponse) Descriptor() ([]byte, []int)
- 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 (*LeaseInternalResponse) ProtoMessage()
- 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
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthLease = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLease = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Lease) Descriptor ¶
func (*Lease) MarshalToSizedBuffer ¶ added in v3.3.15
func (*Lease) ProtoMessage ¶
func (*Lease) ProtoMessage()
func (*Lease) XXX_DiscardUnknown ¶ added in v3.3.15
func (m *Lease) XXX_DiscardUnknown()
func (*Lease) XXX_Marshal ¶ added in v3.3.15
func (*Lease) XXX_Unmarshal ¶ added in v3.3.15
type LeaseInternalRequest ¶ added in v3.1.0
type LeaseInternalRequest struct { LeaseTimeToLiveRequest *etcdserverpb.LeaseTimeToLiveRequest `protobuf:"bytes,1,opt,name=LeaseTimeToLiveRequest,proto3" json:"LeaseTimeToLiveRequest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LeaseInternalRequest) Descriptor ¶ added in v3.1.0
func (*LeaseInternalRequest) Descriptor() ([]byte, []int)
func (*LeaseInternalRequest) Marshal ¶ added in v3.1.0
func (m *LeaseInternalRequest) Marshal() (dAtA []byte, err error)
func (*LeaseInternalRequest) MarshalTo ¶ added in v3.1.0
func (m *LeaseInternalRequest) MarshalTo(dAtA []byte) (int, error)
func (*LeaseInternalRequest) MarshalToSizedBuffer ¶ added in v3.3.15
func (m *LeaseInternalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LeaseInternalRequest) ProtoMessage ¶ added in v3.1.0
func (*LeaseInternalRequest) ProtoMessage()
func (*LeaseInternalRequest) Reset ¶ added in v3.1.0
func (m *LeaseInternalRequest) Reset()
func (*LeaseInternalRequest) Size ¶ added in v3.1.0
func (m *LeaseInternalRequest) Size() (n int)
func (*LeaseInternalRequest) String ¶ added in v3.1.0
func (m *LeaseInternalRequest) String() string
func (*LeaseInternalRequest) Unmarshal ¶ added in v3.1.0
func (m *LeaseInternalRequest) Unmarshal(dAtA []byte) error
func (*LeaseInternalRequest) XXX_DiscardUnknown ¶ added in v3.3.15
func (m *LeaseInternalRequest) XXX_DiscardUnknown()
func (*LeaseInternalRequest) XXX_Marshal ¶ added in v3.3.15
func (m *LeaseInternalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeaseInternalRequest) XXX_Merge ¶ added in v3.3.15
func (m *LeaseInternalRequest) XXX_Merge(src proto.Message)
func (*LeaseInternalRequest) XXX_Size ¶ added in v3.3.15
func (m *LeaseInternalRequest) XXX_Size() int
func (*LeaseInternalRequest) XXX_Unmarshal ¶ added in v3.3.15
func (m *LeaseInternalRequest) XXX_Unmarshal(b []byte) error
type LeaseInternalResponse ¶ added in v3.1.0
type LeaseInternalResponse struct { LeaseTimeToLiveResponse *etcdserverpb.LeaseTimeToLiveResponse `protobuf:"bytes,1,opt,name=LeaseTimeToLiveResponse,proto3" json:"LeaseTimeToLiveResponse,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LeaseInternalResponse) Descriptor ¶ added in v3.1.0
func (*LeaseInternalResponse) Descriptor() ([]byte, []int)
func (*LeaseInternalResponse) Marshal ¶ added in v3.1.0
func (m *LeaseInternalResponse) Marshal() (dAtA []byte, err error)
func (*LeaseInternalResponse) MarshalTo ¶ added in v3.1.0
func (m *LeaseInternalResponse) MarshalTo(dAtA []byte) (int, error)
func (*LeaseInternalResponse) MarshalToSizedBuffer ¶ added in v3.3.15
func (m *LeaseInternalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LeaseInternalResponse) ProtoMessage ¶ added in v3.1.0
func (*LeaseInternalResponse) ProtoMessage()
func (*LeaseInternalResponse) Reset ¶ added in v3.1.0
func (m *LeaseInternalResponse) Reset()
func (*LeaseInternalResponse) Size ¶ added in v3.1.0
func (m *LeaseInternalResponse) Size() (n int)
func (*LeaseInternalResponse) String ¶ added in v3.1.0
func (m *LeaseInternalResponse) String() string
func (*LeaseInternalResponse) Unmarshal ¶ added in v3.1.0
func (m *LeaseInternalResponse) Unmarshal(dAtA []byte) error
func (*LeaseInternalResponse) XXX_DiscardUnknown ¶ added in v3.3.15
func (m *LeaseInternalResponse) XXX_DiscardUnknown()
func (*LeaseInternalResponse) XXX_Marshal ¶ added in v3.3.15
func (m *LeaseInternalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeaseInternalResponse) XXX_Merge ¶ added in v3.3.15
func (m *LeaseInternalResponse) XXX_Merge(src proto.Message)
func (*LeaseInternalResponse) XXX_Size ¶ added in v3.3.15
func (m *LeaseInternalResponse) XXX_Size() int
func (*LeaseInternalResponse) XXX_Unmarshal ¶ added in v3.3.15
func (m *LeaseInternalResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.