Documentation ¶
Index ¶
- Variables
- type FullState
- func (*FullState) Descriptor() ([]byte, []int)
- func (m *FullState) Marshal() (dAtA []byte, err error)
- func (m *FullState) MarshalTo(dAtA []byte) (int, error)
- func (m *FullState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FullState) ProtoMessage()
- func (m *FullState) Reset()
- func (m *FullState) Size() (n int)
- func (m *FullState) String() string
- func (m *FullState) Unmarshal(dAtA []byte) error
- func (m *FullState) XXX_DiscardUnknown()
- func (m *FullState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FullState) XXX_Merge(src proto.Message)
- func (m *FullState) XXX_Size() int
- func (m *FullState) XXX_Unmarshal(b []byte) error
- type MemberlistMessage
- func (*MemberlistMessage) Descriptor() ([]byte, []int)
- func (m *MemberlistMessage) Marshal() (dAtA []byte, err error)
- func (m *MemberlistMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *MemberlistMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MemberlistMessage) ProtoMessage()
- func (m *MemberlistMessage) Reset()
- func (m *MemberlistMessage) Size() (n int)
- func (m *MemberlistMessage) String() string
- func (m *MemberlistMessage) Unmarshal(dAtA []byte) error
- func (m *MemberlistMessage) XXX_DiscardUnknown()
- func (m *MemberlistMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MemberlistMessage) XXX_Merge(src proto.Message)
- func (m *MemberlistMessage) XXX_Size() int
- func (m *MemberlistMessage) XXX_Unmarshal(b []byte) error
- type MemberlistMessage_Kind
- type Part
- func (*Part) Descriptor() ([]byte, []int)
- func (m *Part) Marshal() (dAtA []byte, err error)
- func (m *Part) MarshalTo(dAtA []byte) (int, error)
- func (m *Part) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Part) ProtoMessage()
- func (m *Part) Reset()
- func (m *Part) Size() (n int)
- func (m *Part) String() string
- func (m *Part) Unmarshal(dAtA []byte) error
- func (m *Part) XXX_DiscardUnknown()
- func (m *Part) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Part) XXX_Merge(src proto.Message)
- func (m *Part) XXX_Size() int
- func (m *Part) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthCluster = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCluster = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCluster = fmt.Errorf("proto: unexpected end of group") )
View Source
var MemberlistMessage_Kind_name = map[int32]string{
0: "STREAM",
1: "PACKET",
}
View Source
var MemberlistMessage_Kind_value = map[string]int32{
"STREAM": 0,
"PACKET": 1,
}
Functions ¶
This section is empty.
Types ¶
type FullState ¶
type FullState struct { Parts []Part `protobuf:"bytes,1,rep,name=parts,proto3" json:"parts"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FullState) Descriptor ¶
func (*FullState) MarshalToSizedBuffer ¶
func (*FullState) ProtoMessage ¶
func (*FullState) ProtoMessage()
func (*FullState) XXX_DiscardUnknown ¶
func (m *FullState) XXX_DiscardUnknown()
func (*FullState) XXX_Marshal ¶
func (*FullState) XXX_Unmarshal ¶
type MemberlistMessage ¶
type MemberlistMessage struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Kind MemberlistMessage_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=clusterpb.MemberlistMessage_Kind" json:"kind,omitempty"` FromAddr string `protobuf:"bytes,3,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"` Msg []byte `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MemberlistMessage) Descriptor ¶
func (*MemberlistMessage) Descriptor() ([]byte, []int)
func (*MemberlistMessage) Marshal ¶
func (m *MemberlistMessage) Marshal() (dAtA []byte, err error)
func (*MemberlistMessage) MarshalTo ¶
func (m *MemberlistMessage) MarshalTo(dAtA []byte) (int, error)
func (*MemberlistMessage) MarshalToSizedBuffer ¶
func (m *MemberlistMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MemberlistMessage) ProtoMessage ¶
func (*MemberlistMessage) ProtoMessage()
func (*MemberlistMessage) Reset ¶
func (m *MemberlistMessage) Reset()
func (*MemberlistMessage) Size ¶
func (m *MemberlistMessage) Size() (n int)
func (*MemberlistMessage) String ¶
func (m *MemberlistMessage) String() string
func (*MemberlistMessage) Unmarshal ¶
func (m *MemberlistMessage) Unmarshal(dAtA []byte) error
func (*MemberlistMessage) XXX_DiscardUnknown ¶
func (m *MemberlistMessage) XXX_DiscardUnknown()
func (*MemberlistMessage) XXX_Marshal ¶
func (m *MemberlistMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MemberlistMessage) XXX_Merge ¶
func (m *MemberlistMessage) XXX_Merge(src proto.Message)
func (*MemberlistMessage) XXX_Size ¶
func (m *MemberlistMessage) XXX_Size() int
func (*MemberlistMessage) XXX_Unmarshal ¶
func (m *MemberlistMessage) XXX_Unmarshal(b []byte) error
type MemberlistMessage_Kind ¶
type MemberlistMessage_Kind int32
const ( MemberlistMessage_STREAM MemberlistMessage_Kind = 0 MemberlistMessage_PACKET MemberlistMessage_Kind = 1 )
func (MemberlistMessage_Kind) EnumDescriptor ¶
func (MemberlistMessage_Kind) EnumDescriptor() ([]byte, []int)
func (MemberlistMessage_Kind) String ¶
func (x MemberlistMessage_Kind) String() string
type Part ¶
type Part struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Part) Descriptor ¶
func (*Part) ProtoMessage ¶
func (*Part) ProtoMessage()
func (*Part) XXX_DiscardUnknown ¶
func (m *Part) XXX_DiscardUnknown()
func (*Part) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.