package etcdserverpb
import "github.com/coreos/etcd/etcdserver/etcdserverpb"
Package etcdserverpb is a generated protocol buffer package.
It is generated from these files:
etcdserver.proto
It has these top-level messages:
Request Metadata
Index ¶
- type Metadata
- func (m *Metadata) Marshal() (data []byte, err error)
- func (m *Metadata) MarshalTo(data []byte) (n int, err error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(data []byte) error
- type Request
Types ¶
type Metadata ¶
type Metadata struct { NodeID uint64 `protobuf:"varint,1,req" json:"NodeID"` ClusterID uint64 `protobuf:"varint,2,req" json:"ClusterID"` XXX_unrecognized []byte `json:"-"` }
func (*Metadata) Marshal ¶
func (*Metadata) MarshalTo ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) Reset ¶
func (m *Metadata) Reset()
func (*Metadata) Size ¶
func (*Metadata) String ¶
func (*Metadata) Unmarshal ¶
type Request ¶
type Request struct { ID uint64 `protobuf:"varint,1,req" json:"ID"` Method string `protobuf:"bytes,2,req" json:"Method"` Path string `protobuf:"bytes,3,req" json:"Path"` Val string `protobuf:"bytes,4,req" json:"Val"` Dir bool `protobuf:"varint,5,req" json:"Dir"` PrevValue string `protobuf:"bytes,6,req" json:"PrevValue"` PrevIndex uint64 `protobuf:"varint,7,req" json:"PrevIndex"` PrevExist *bool `protobuf:"varint,8,req" json:"PrevExist,omitempty"` Expiration int64 `protobuf:"varint,9,req" json:"Expiration"` Wait bool `protobuf:"varint,10,req" json:"Wait"` Since uint64 `protobuf:"varint,11,req" json:"Since"` Recursive bool `protobuf:"varint,12,req" json:"Recursive"` Sorted bool `protobuf:"varint,13,req" json:"Sorted"` Quorum bool `protobuf:"varint,14,req" json:"Quorum"` Time int64 `protobuf:"varint,15,req" json:"Time"` Stream bool `protobuf:"varint,16,req" json:"Stream"` XXX_unrecognized []byte `json:"-"` }
func (*Request) Marshal ¶
func (*Request) MarshalTo ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) Reset ¶
func (m *Request) Reset()
func (*Request) Size ¶
func (*Request) String ¶
func (*Request) Unmarshal ¶
Source Files ¶
- Version
- v0.5.0-alpha.4
- Published
- Nov 26, 2014
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 hours ago –
Tools for package owners.