clusterpb

package
v0.0.0-...-6bc65d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*FullState) Marshal

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

func (*FullState) MarshalTo

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

func (*FullState) MarshalToSizedBuffer

func (m *FullState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FullState) ProtoMessage

func (*FullState) ProtoMessage()

func (*FullState) Reset

func (m *FullState) Reset()

func (*FullState) Size

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

func (*FullState) String

func (m *FullState) String() string

func (*FullState) Unmarshal

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

func (*FullState) XXX_DiscardUnknown

func (m *FullState) XXX_DiscardUnknown()

func (*FullState) XXX_Marshal

func (m *FullState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FullState) XXX_Merge

func (m *FullState) XXX_Merge(src proto.Message)

func (*FullState) XXX_Size

func (m *FullState) XXX_Size() int

func (*FullState) XXX_Unmarshal

func (m *FullState) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Part) Marshal

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

func (*Part) MarshalTo

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

func (*Part) MarshalToSizedBuffer

func (m *Part) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Part) ProtoMessage

func (*Part) ProtoMessage()

func (*Part) Reset

func (m *Part) Reset()

func (*Part) Size

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

func (*Part) String

func (m *Part) String() string

func (*Part) Unmarshal

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

func (*Part) XXX_DiscardUnknown

func (m *Part) XXX_DiscardUnknown()

func (*Part) XXX_Marshal

func (m *Part) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Part) XXX_Merge

func (m *Part) XXX_Merge(src proto.Message)

func (*Part) XXX_Size

func (m *Part) XXX_Size() int

func (*Part) XXX_Unmarshal

func (m *Part) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL