Documentation
¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetData() []byte
- func (m *Event) GetPipelineID() uint64
- func (m *Event) GetSequence() uint64
- func (m *Event) GetSnapshotID() string
- func (m *Event) GetType() Event_Type
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type Event_Type
Constants ¶
This section is empty.
Variables ¶
View Source
var Event_Type_name = map[int32]string{
0: "EVENT",
1: "SNAPSHOT",
}
View Source
var Event_Type_value = map[string]int32{
"EVENT": 0,
"SNAPSHOT": 1,
}
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
PipelineID uint64 `protobuf:"varint,1,opt,name=pipelineID,proto3" json:"pipelineID,omitempty"`
Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
Type Event_Type `protobuf:"varint,4,opt,name=type,proto3,enum=gravity.sdk.types.event.Event_Type" json:"type,omitempty"`
SnapshotID string `protobuf:"bytes,5,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Event) Descriptor ¶
func (*Event) GetPipelineID ¶
func (*Event) GetSequence ¶
func (*Event) GetSnapshotID ¶ added in v0.0.10
func (*Event) GetType ¶ added in v0.0.10
func (m *Event) GetType() Event_Type
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type Event_Type ¶ added in v0.0.10
type Event_Type int32
const ( Event_EVENT Event_Type = 0 Event_SNAPSHOT Event_Type = 1 )
func (Event_Type) EnumDescriptor ¶ added in v0.0.10
func (Event_Type) EnumDescriptor() ([]byte, []int)
func (Event_Type) String ¶ added in v0.0.10
func (x Event_Type) String() string
Click to show internal directories.
Click to hide internal directories.