Documentation ¶
Index ¶
- Variables
- type BatchStored
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetGarbageCollect() *GarbageCollect
- func (x *Event) GetLookup() *LookupBatch
- func (x *Event) GetLookupResponse() *LookupBatchResponse
- func (x *Event) GetStore() *StoreBatch
- func (x *Event) GetStored() *BatchStored
- func (m *Event) GetType() isEvent_Type
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (*Event) ReflectTypeOptions() []reflect.Type
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_GarbageCollect
- type Event_Lookup
- type Event_LookupResponse
- type Event_Store
- type Event_Stored
- type Event_Type
- type Event_TypeWrapper
- type GarbageCollect
- type LookupBatch
- func (*LookupBatch) Descriptor() ([]byte, []int)deprecated
- func (x *LookupBatch) GetBatchId() []byte
- func (x *LookupBatch) GetOrigin() *LookupBatchOrigin
- func (*LookupBatch) ProtoMessage()
- func (x *LookupBatch) ProtoReflect() protoreflect.Message
- func (x *LookupBatch) Reset()
- func (x *LookupBatch) String() string
- type LookupBatchOrigin
- func (*LookupBatchOrigin) Descriptor() ([]byte, []int)deprecated
- func (x *LookupBatchOrigin) GetContextStore() *contextstorepb.Origin
- func (x *LookupBatchOrigin) GetDsl() *dslpb.Origin
- func (x *LookupBatchOrigin) GetModule() string
- func (m *LookupBatchOrigin) GetType() isLookupBatchOrigin_Type
- func (*LookupBatchOrigin) ProtoMessage()
- func (x *LookupBatchOrigin) ProtoReflect() protoreflect.Message
- func (*LookupBatchOrigin) ReflectTypeOptions() []reflect.Type
- func (x *LookupBatchOrigin) Reset()
- func (x *LookupBatchOrigin) String() string
- type LookupBatchOrigin_ContextStore
- type LookupBatchOrigin_Dsl
- type LookupBatchOrigin_Type
- type LookupBatchOrigin_TypeWrapper
- type LookupBatchResponse
- func (*LookupBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LookupBatchResponse) GetFound() bool
- func (x *LookupBatchResponse) GetOrigin() *LookupBatchOrigin
- func (x *LookupBatchResponse) GetTxs() []*trantorpb.Transaction
- func (*LookupBatchResponse) ProtoMessage()
- func (x *LookupBatchResponse) ProtoReflect() protoreflect.Message
- func (x *LookupBatchResponse) Reset()
- func (x *LookupBatchResponse) String() string
- type StoreBatch
- func (*StoreBatch) Descriptor() ([]byte, []int)deprecated
- func (x *StoreBatch) GetBatchId() []byte
- func (x *StoreBatch) GetOrigin() *StoreBatchOrigin
- func (x *StoreBatch) GetRetentionIndex() uint64
- func (x *StoreBatch) GetTxs() []*trantorpb.Transaction
- func (*StoreBatch) ProtoMessage()
- func (x *StoreBatch) ProtoReflect() protoreflect.Message
- func (x *StoreBatch) Reset()
- func (x *StoreBatch) String() string
- type StoreBatchOrigin
- func (*StoreBatchOrigin) Descriptor() ([]byte, []int)deprecated
- func (x *StoreBatchOrigin) GetContextStore() *contextstorepb.Origin
- func (x *StoreBatchOrigin) GetDsl() *dslpb.Origin
- func (x *StoreBatchOrigin) GetModule() string
- func (m *StoreBatchOrigin) GetType() isStoreBatchOrigin_Type
- func (*StoreBatchOrigin) ProtoMessage()
- func (x *StoreBatchOrigin) ProtoReflect() protoreflect.Message
- func (*StoreBatchOrigin) ReflectTypeOptions() []reflect.Type
- func (x *StoreBatchOrigin) Reset()
- func (x *StoreBatchOrigin) String() string
- type StoreBatchOrigin_ContextStore
- type StoreBatchOrigin_Dsl
- type StoreBatchOrigin_Type
- type StoreBatchOrigin_TypeWrapper
Constants ¶
This section is empty.
Variables ¶
var File_availabilitypb_batchdbpb_batchdbpb_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BatchStored ¶
type BatchStored struct { Origin *StoreBatchOrigin `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
BatchStored is a response to a VerifyCert event.
func (*BatchStored) Descriptor
deprecated
func (*BatchStored) Descriptor() ([]byte, []int)
Deprecated: Use BatchStored.ProtoReflect.Descriptor instead.
func (*BatchStored) GetOrigin ¶
func (x *BatchStored) GetOrigin() *StoreBatchOrigin
func (*BatchStored) ProtoMessage ¶
func (*BatchStored) ProtoMessage()
func (*BatchStored) ProtoReflect ¶
func (x *BatchStored) ProtoReflect() protoreflect.Message
func (*BatchStored) Reset ¶
func (x *BatchStored) Reset()
func (*BatchStored) String ¶
func (x *BatchStored) String() string
type Event ¶
type Event struct { // Types that are assignable to Type: // *Event_Lookup // *Event_LookupResponse // *Event_Store // *Event_Stored // *Event_GarbageCollect Type isEvent_Type `protobuf_oneof:"Type"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetGarbageCollect ¶
func (x *Event) GetGarbageCollect() *GarbageCollect
func (*Event) GetLookup ¶
func (x *Event) GetLookup() *LookupBatch
func (*Event) GetLookupResponse ¶
func (x *Event) GetLookupResponse() *LookupBatchResponse
func (*Event) GetStore ¶
func (x *Event) GetStore() *StoreBatch
func (*Event) GetStored ¶
func (x *Event) GetStored() *BatchStored
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) ReflectTypeOptions ¶
type Event_GarbageCollect ¶
type Event_GarbageCollect struct {
GarbageCollect *GarbageCollect `protobuf:"bytes,5,opt,name=garbage_collect,json=garbageCollect,proto3,oneof"`
}
func (*Event_GarbageCollect) Unwrap ¶
func (w *Event_GarbageCollect) Unwrap() *GarbageCollect
type Event_Lookup ¶
type Event_Lookup struct {
Lookup *LookupBatch `protobuf:"bytes,1,opt,name=lookup,proto3,oneof"`
}
func (*Event_Lookup) Unwrap ¶
func (w *Event_Lookup) Unwrap() *LookupBatch
type Event_LookupResponse ¶
type Event_LookupResponse struct {
LookupResponse *LookupBatchResponse `protobuf:"bytes,2,opt,name=lookup_response,json=lookupResponse,proto3,oneof"`
}
func (*Event_LookupResponse) Unwrap ¶
func (w *Event_LookupResponse) Unwrap() *LookupBatchResponse
type Event_Store ¶
type Event_Store struct {
Store *StoreBatch `protobuf:"bytes,3,opt,name=store,proto3,oneof"`
}
func (*Event_Store) Unwrap ¶
func (w *Event_Store) Unwrap() *StoreBatch
type Event_Stored ¶
type Event_Stored struct {
Stored *BatchStored `protobuf:"bytes,4,opt,name=stored,proto3,oneof"`
}
func (*Event_Stored) Unwrap ¶
func (w *Event_Stored) Unwrap() *BatchStored
type Event_Type ¶
type Event_Type = isEvent_Type
type Event_TypeWrapper ¶
type Event_TypeWrapper[T any] interface { Event_Type Unwrap() *T }
type GarbageCollect ¶
type GarbageCollect struct { RetentionIndex uint64 `protobuf:"varint,1,opt,name=retention_index,json=retentionIndex,proto3" json:"retention_index,omitempty"` // contains filtered or unexported fields }
func (*GarbageCollect) Descriptor
deprecated
func (*GarbageCollect) Descriptor() ([]byte, []int)
Deprecated: Use GarbageCollect.ProtoReflect.Descriptor instead.
func (*GarbageCollect) GetRetentionIndex ¶
func (x *GarbageCollect) GetRetentionIndex() uint64
func (*GarbageCollect) ProtoMessage ¶
func (*GarbageCollect) ProtoMessage()
func (*GarbageCollect) ProtoReflect ¶
func (x *GarbageCollect) ProtoReflect() protoreflect.Message
func (*GarbageCollect) Reset ¶
func (x *GarbageCollect) Reset()
func (*GarbageCollect) String ¶
func (x *GarbageCollect) String() string
type LookupBatch ¶
type LookupBatch struct { BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` Origin *LookupBatchOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
LookupBatch is used to pull a batch with its metadata from the local batch database.
func (*LookupBatch) Descriptor
deprecated
func (*LookupBatch) Descriptor() ([]byte, []int)
Deprecated: Use LookupBatch.ProtoReflect.Descriptor instead.
func (*LookupBatch) GetBatchId ¶
func (x *LookupBatch) GetBatchId() []byte
func (*LookupBatch) GetOrigin ¶
func (x *LookupBatch) GetOrigin() *LookupBatchOrigin
func (*LookupBatch) ProtoMessage ¶
func (*LookupBatch) ProtoMessage()
func (*LookupBatch) ProtoReflect ¶
func (x *LookupBatch) ProtoReflect() protoreflect.Message
func (*LookupBatch) Reset ¶
func (x *LookupBatch) Reset()
func (*LookupBatch) String ¶
func (x *LookupBatch) String() string
type LookupBatchOrigin ¶
type LookupBatchOrigin struct { Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // Types that are assignable to Type: // *LookupBatchOrigin_ContextStore // *LookupBatchOrigin_Dsl Type isLookupBatchOrigin_Type `protobuf_oneof:"Type"` // contains filtered or unexported fields }
func (*LookupBatchOrigin) Descriptor
deprecated
func (*LookupBatchOrigin) Descriptor() ([]byte, []int)
Deprecated: Use LookupBatchOrigin.ProtoReflect.Descriptor instead.
func (*LookupBatchOrigin) GetContextStore ¶
func (x *LookupBatchOrigin) GetContextStore() *contextstorepb.Origin
func (*LookupBatchOrigin) GetDsl ¶
func (x *LookupBatchOrigin) GetDsl() *dslpb.Origin
func (*LookupBatchOrigin) GetModule ¶
func (x *LookupBatchOrigin) GetModule() string
func (*LookupBatchOrigin) GetType ¶
func (m *LookupBatchOrigin) GetType() isLookupBatchOrigin_Type
func (*LookupBatchOrigin) ProtoMessage ¶
func (*LookupBatchOrigin) ProtoMessage()
func (*LookupBatchOrigin) ProtoReflect ¶
func (x *LookupBatchOrigin) ProtoReflect() protoreflect.Message
func (*LookupBatchOrigin) ReflectTypeOptions ¶
func (*LookupBatchOrigin) ReflectTypeOptions() []reflect.Type
func (*LookupBatchOrigin) Reset ¶
func (x *LookupBatchOrigin) Reset()
func (*LookupBatchOrigin) String ¶
func (x *LookupBatchOrigin) String() string
type LookupBatchOrigin_ContextStore ¶
type LookupBatchOrigin_ContextStore struct {
ContextStore *contextstorepb.Origin `protobuf:"bytes,2,opt,name=context_store,json=contextStore,proto3,oneof"`
}
func (*LookupBatchOrigin_ContextStore) Unwrap ¶
func (w *LookupBatchOrigin_ContextStore) Unwrap() *contextstorepb.Origin
type LookupBatchOrigin_Dsl ¶
type LookupBatchOrigin_Dsl struct {
Dsl *dslpb.Origin `protobuf:"bytes,3,opt,name=dsl,proto3,oneof"`
}
func (*LookupBatchOrigin_Dsl) Unwrap ¶
func (w *LookupBatchOrigin_Dsl) Unwrap() *dslpb.Origin
type LookupBatchOrigin_Type ¶
type LookupBatchOrigin_Type = isLookupBatchOrigin_Type
type LookupBatchOrigin_TypeWrapper ¶
type LookupBatchOrigin_TypeWrapper[T any] interface { LookupBatchOrigin_Type Unwrap() *T }
type LookupBatchResponse ¶
type LookupBatchResponse struct { Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"` Txs []*trantorpb.Transaction `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"` Origin *LookupBatchOrigin `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
LookupBatchResponse is a response to a LookupBatch event.
func (*LookupBatchResponse) Descriptor
deprecated
func (*LookupBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use LookupBatchResponse.ProtoReflect.Descriptor instead.
func (*LookupBatchResponse) GetFound ¶
func (x *LookupBatchResponse) GetFound() bool
func (*LookupBatchResponse) GetOrigin ¶
func (x *LookupBatchResponse) GetOrigin() *LookupBatchOrigin
func (*LookupBatchResponse) GetTxs ¶
func (x *LookupBatchResponse) GetTxs() []*trantorpb.Transaction
func (*LookupBatchResponse) ProtoMessage ¶
func (*LookupBatchResponse) ProtoMessage()
func (*LookupBatchResponse) ProtoReflect ¶
func (x *LookupBatchResponse) ProtoReflect() protoreflect.Message
func (*LookupBatchResponse) Reset ¶
func (x *LookupBatchResponse) Reset()
func (*LookupBatchResponse) String ¶
func (x *LookupBatchResponse) String() string
type StoreBatch ¶
type StoreBatch struct { BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` Txs []*trantorpb.Transaction `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"` RetentionIndex uint64 `protobuf:"varint,3,opt,name=retention_index,json=retentionIndex,proto3" json:"retention_index,omitempty"` Origin *StoreBatchOrigin `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
StoreBatch is used to store a new batch in the local batch database.
func (*StoreBatch) Descriptor
deprecated
func (*StoreBatch) Descriptor() ([]byte, []int)
Deprecated: Use StoreBatch.ProtoReflect.Descriptor instead.
func (*StoreBatch) GetBatchId ¶
func (x *StoreBatch) GetBatchId() []byte
func (*StoreBatch) GetOrigin ¶
func (x *StoreBatch) GetOrigin() *StoreBatchOrigin
func (*StoreBatch) GetRetentionIndex ¶
func (x *StoreBatch) GetRetentionIndex() uint64
func (*StoreBatch) GetTxs ¶
func (x *StoreBatch) GetTxs() []*trantorpb.Transaction
func (*StoreBatch) ProtoMessage ¶
func (*StoreBatch) ProtoMessage()
func (*StoreBatch) ProtoReflect ¶
func (x *StoreBatch) ProtoReflect() protoreflect.Message
func (*StoreBatch) Reset ¶
func (x *StoreBatch) Reset()
func (*StoreBatch) String ¶
func (x *StoreBatch) String() string
type StoreBatchOrigin ¶
type StoreBatchOrigin struct { Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // Types that are assignable to Type: // *StoreBatchOrigin_ContextStore // *StoreBatchOrigin_Dsl Type isStoreBatchOrigin_Type `protobuf_oneof:"Type"` // contains filtered or unexported fields }
func (*StoreBatchOrigin) Descriptor
deprecated
func (*StoreBatchOrigin) Descriptor() ([]byte, []int)
Deprecated: Use StoreBatchOrigin.ProtoReflect.Descriptor instead.
func (*StoreBatchOrigin) GetContextStore ¶
func (x *StoreBatchOrigin) GetContextStore() *contextstorepb.Origin
func (*StoreBatchOrigin) GetDsl ¶
func (x *StoreBatchOrigin) GetDsl() *dslpb.Origin
func (*StoreBatchOrigin) GetModule ¶
func (x *StoreBatchOrigin) GetModule() string
func (*StoreBatchOrigin) GetType ¶
func (m *StoreBatchOrigin) GetType() isStoreBatchOrigin_Type
func (*StoreBatchOrigin) ProtoMessage ¶
func (*StoreBatchOrigin) ProtoMessage()
func (*StoreBatchOrigin) ProtoReflect ¶
func (x *StoreBatchOrigin) ProtoReflect() protoreflect.Message
func (*StoreBatchOrigin) ReflectTypeOptions ¶
func (*StoreBatchOrigin) ReflectTypeOptions() []reflect.Type
func (*StoreBatchOrigin) Reset ¶
func (x *StoreBatchOrigin) Reset()
func (*StoreBatchOrigin) String ¶
func (x *StoreBatchOrigin) String() string
type StoreBatchOrigin_ContextStore ¶
type StoreBatchOrigin_ContextStore struct {
ContextStore *contextstorepb.Origin `protobuf:"bytes,2,opt,name=context_store,json=contextStore,proto3,oneof"`
}
func (*StoreBatchOrigin_ContextStore) Unwrap ¶
func (w *StoreBatchOrigin_ContextStore) Unwrap() *contextstorepb.Origin
type StoreBatchOrigin_Dsl ¶
type StoreBatchOrigin_Dsl struct {
Dsl *dslpb.Origin `protobuf:"bytes,3,opt,name=dsl,proto3,oneof"`
}
func (*StoreBatchOrigin_Dsl) Unwrap ¶
func (w *StoreBatchOrigin_Dsl) Unwrap() *dslpb.Origin
type StoreBatchOrigin_Type ¶
type StoreBatchOrigin_Type = isStoreBatchOrigin_Type
type StoreBatchOrigin_TypeWrapper ¶
type StoreBatchOrigin_TypeWrapper[T any] interface { StoreBatchOrigin_Type Unwrap() *T }