etcd: go.etcd.io/etcd/lease/leasepb Index | Files

package leasepb

import "go.etcd.io/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

Package Files

lease.pb.go

Variables

var (
    ErrInvalidLengthLease = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowLease   = fmt.Errorf("proto: integer overflow")
)

type Lease Uses

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"`
}

func (*Lease) Descriptor Uses

func (*Lease) Descriptor() ([]byte, []int)

func (*Lease) Marshal Uses

func (m *Lease) Marshal() (dAtA []byte, err error)

func (*Lease) MarshalTo Uses

func (m *Lease) MarshalTo(dAtA []byte) (int, error)

func (*Lease) ProtoMessage Uses

func (*Lease) ProtoMessage()

func (*Lease) Reset Uses

func (m *Lease) Reset()

func (*Lease) Size Uses

func (m *Lease) Size() (n int)

func (*Lease) String Uses

func (m *Lease) String() string

func (*Lease) Unmarshal Uses

func (m *Lease) Unmarshal(dAtA []byte) error

type LeaseInternalRequest Uses

type LeaseInternalRequest struct {
    LeaseTimeToLiveRequest *etcdserverpb.LeaseTimeToLiveRequest `protobuf:"bytes,1,opt,name=LeaseTimeToLiveRequest" json:"LeaseTimeToLiveRequest,omitempty"`
}

func (*LeaseInternalRequest) Descriptor Uses

func (*LeaseInternalRequest) Descriptor() ([]byte, []int)

func (*LeaseInternalRequest) Marshal Uses

func (m *LeaseInternalRequest) Marshal() (dAtA []byte, err error)

func (*LeaseInternalRequest) MarshalTo Uses

func (m *LeaseInternalRequest) MarshalTo(dAtA []byte) (int, error)

func (*LeaseInternalRequest) ProtoMessage Uses

func (*LeaseInternalRequest) ProtoMessage()

func (*LeaseInternalRequest) Reset Uses

func (m *LeaseInternalRequest) Reset()

func (*LeaseInternalRequest) Size Uses

func (m *LeaseInternalRequest) Size() (n int)

func (*LeaseInternalRequest) String Uses

func (m *LeaseInternalRequest) String() string

func (*LeaseInternalRequest) Unmarshal Uses

func (m *LeaseInternalRequest) Unmarshal(dAtA []byte) error

type LeaseInternalResponse Uses

type LeaseInternalResponse struct {
    LeaseTimeToLiveResponse *etcdserverpb.LeaseTimeToLiveResponse `protobuf:"bytes,1,opt,name=LeaseTimeToLiveResponse" json:"LeaseTimeToLiveResponse,omitempty"`
}

func (*LeaseInternalResponse) Descriptor Uses

func (*LeaseInternalResponse) Descriptor() ([]byte, []int)

func (*LeaseInternalResponse) Marshal Uses

func (m *LeaseInternalResponse) Marshal() (dAtA []byte, err error)

func (*LeaseInternalResponse) MarshalTo Uses

func (m *LeaseInternalResponse) MarshalTo(dAtA []byte) (int, error)

func (*LeaseInternalResponse) ProtoMessage Uses

func (*LeaseInternalResponse) ProtoMessage()

func (*LeaseInternalResponse) Reset Uses

func (m *LeaseInternalResponse) Reset()

func (*LeaseInternalResponse) Size Uses

func (m *LeaseInternalResponse) Size() (n int)

func (*LeaseInternalResponse) String Uses

func (m *LeaseInternalResponse) String() string

func (*LeaseInternalResponse) Unmarshal Uses

func (m *LeaseInternalResponse) Unmarshal(dAtA []byte) error

Package leasepb imports 6 packages (graph) and is imported by 23 packages. Updated 2018-08-29. Refresh now. Tools for package owners.