Documentation
¶
Index ¶
- Constants
- func NewSRPCBlockStoreHandler(impl SRPCBlockStoreServer, serviceID string) srpc.Handler
- func SRPCRegisterBlockStore(mux srpc.Mux, impl SRPCBlockStoreServer) error
- type BeginDeferFlushRequest
- func (m *BeginDeferFlushRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *BeginDeferFlushRequest) CloneVT() *BeginDeferFlushRequest
- func (this *BeginDeferFlushRequest) EqualMessageVT(thatMsg any) bool
- func (this *BeginDeferFlushRequest) EqualVT(that *BeginDeferFlushRequest) bool
- func (x *BeginDeferFlushRequest) MarshalJSON() ([]byte, error)
- func (x *BeginDeferFlushRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *BeginDeferFlushRequest) MarshalProtoText() string
- func (m *BeginDeferFlushRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BeginDeferFlushRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *BeginDeferFlushRequest) MarshalVT() (dAtA []byte, err error)
- func (*BeginDeferFlushRequest) ProtoMessage()
- func (x *BeginDeferFlushRequest) Reset()
- func (m *BeginDeferFlushRequest) SizeVT() (n int)
- func (x *BeginDeferFlushRequest) String() string
- func (x *BeginDeferFlushRequest) UnmarshalJSON(b []byte) error
- func (x *BeginDeferFlushRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *BeginDeferFlushRequest) UnmarshalVT(dAtA []byte) error
- type BeginDeferFlushResponse
- func (m *BeginDeferFlushResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *BeginDeferFlushResponse) CloneVT() *BeginDeferFlushResponse
- func (this *BeginDeferFlushResponse) EqualMessageVT(thatMsg any) bool
- func (this *BeginDeferFlushResponse) EqualVT(that *BeginDeferFlushResponse) bool
- func (x *BeginDeferFlushResponse) GetError() string
- func (x *BeginDeferFlushResponse) MarshalJSON() ([]byte, error)
- func (x *BeginDeferFlushResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *BeginDeferFlushResponse) MarshalProtoText() string
- func (m *BeginDeferFlushResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BeginDeferFlushResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *BeginDeferFlushResponse) MarshalVT() (dAtA []byte, err error)
- func (*BeginDeferFlushResponse) ProtoMessage()
- func (x *BeginDeferFlushResponse) Reset()
- func (m *BeginDeferFlushResponse) SizeVT() (n int)
- func (x *BeginDeferFlushResponse) String() string
- func (x *BeginDeferFlushResponse) UnmarshalJSON(b []byte) error
- func (x *BeginDeferFlushResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *BeginDeferFlushResponse) UnmarshalVT(dAtA []byte) error
- type EndDeferFlushRequest
- func (m *EndDeferFlushRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *EndDeferFlushRequest) CloneVT() *EndDeferFlushRequest
- func (this *EndDeferFlushRequest) EqualMessageVT(thatMsg any) bool
- func (this *EndDeferFlushRequest) EqualVT(that *EndDeferFlushRequest) bool
- func (x *EndDeferFlushRequest) MarshalJSON() ([]byte, error)
- func (x *EndDeferFlushRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *EndDeferFlushRequest) MarshalProtoText() string
- func (m *EndDeferFlushRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EndDeferFlushRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *EndDeferFlushRequest) MarshalVT() (dAtA []byte, err error)
- func (*EndDeferFlushRequest) ProtoMessage()
- func (x *EndDeferFlushRequest) Reset()
- func (m *EndDeferFlushRequest) SizeVT() (n int)
- func (x *EndDeferFlushRequest) String() string
- func (x *EndDeferFlushRequest) UnmarshalJSON(b []byte) error
- func (x *EndDeferFlushRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *EndDeferFlushRequest) UnmarshalVT(dAtA []byte) error
- type EndDeferFlushResponse
- func (m *EndDeferFlushResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *EndDeferFlushResponse) CloneVT() *EndDeferFlushResponse
- func (this *EndDeferFlushResponse) EqualMessageVT(thatMsg any) bool
- func (this *EndDeferFlushResponse) EqualVT(that *EndDeferFlushResponse) bool
- func (x *EndDeferFlushResponse) GetError() string
- func (x *EndDeferFlushResponse) MarshalJSON() ([]byte, error)
- func (x *EndDeferFlushResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *EndDeferFlushResponse) MarshalProtoText() string
- func (m *EndDeferFlushResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EndDeferFlushResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *EndDeferFlushResponse) MarshalVT() (dAtA []byte, err error)
- func (*EndDeferFlushResponse) ProtoMessage()
- func (x *EndDeferFlushResponse) Reset()
- func (m *EndDeferFlushResponse) SizeVT() (n int)
- func (x *EndDeferFlushResponse) String() string
- func (x *EndDeferFlushResponse) UnmarshalJSON(b []byte) error
- func (x *EndDeferFlushResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *EndDeferFlushResponse) UnmarshalVT(dAtA []byte) error
- type FlushRequest
- func (m *FlushRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FlushRequest) CloneVT() *FlushRequest
- func (this *FlushRequest) EqualMessageVT(thatMsg any) bool
- func (this *FlushRequest) EqualVT(that *FlushRequest) bool
- func (x *FlushRequest) MarshalJSON() ([]byte, error)
- func (x *FlushRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *FlushRequest) MarshalProtoText() string
- func (m *FlushRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FlushRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *FlushRequest) MarshalVT() (dAtA []byte, err error)
- func (*FlushRequest) ProtoMessage()
- func (x *FlushRequest) Reset()
- func (m *FlushRequest) SizeVT() (n int)
- func (x *FlushRequest) String() string
- func (x *FlushRequest) UnmarshalJSON(b []byte) error
- func (x *FlushRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *FlushRequest) UnmarshalVT(dAtA []byte) error
- type FlushResponse
- func (m *FlushResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FlushResponse) CloneVT() *FlushResponse
- func (this *FlushResponse) EqualMessageVT(thatMsg any) bool
- func (this *FlushResponse) EqualVT(that *FlushResponse) bool
- func (x *FlushResponse) GetError() string
- func (x *FlushResponse) MarshalJSON() ([]byte, error)
- func (x *FlushResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *FlushResponse) MarshalProtoText() string
- func (m *FlushResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FlushResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *FlushResponse) MarshalVT() (dAtA []byte, err error)
- func (*FlushResponse) ProtoMessage()
- func (x *FlushResponse) Reset()
- func (m *FlushResponse) SizeVT() (n int)
- func (x *FlushResponse) String() string
- func (x *FlushResponse) UnmarshalJSON(b []byte) error
- func (x *FlushResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *FlushResponse) UnmarshalVT(dAtA []byte) error
- type GetBlockExistsBatchRequest
- func (m *GetBlockExistsBatchRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetBlockExistsBatchRequest) CloneVT() *GetBlockExistsBatchRequest
- func (this *GetBlockExistsBatchRequest) EqualMessageVT(thatMsg any) bool
- func (this *GetBlockExistsBatchRequest) EqualVT(that *GetBlockExistsBatchRequest) bool
- func (x *GetBlockExistsBatchRequest) GetRefs() []*block.BlockRef
- func (x *GetBlockExistsBatchRequest) MarshalJSON() ([]byte, error)
- func (x *GetBlockExistsBatchRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetBlockExistsBatchRequest) MarshalProtoText() string
- func (m *GetBlockExistsBatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetBlockExistsBatchRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetBlockExistsBatchRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetBlockExistsBatchRequest) ProtoMessage()
- func (x *GetBlockExistsBatchRequest) Reset()
- func (m *GetBlockExistsBatchRequest) SizeVT() (n int)
- func (x *GetBlockExistsBatchRequest) String() string
- func (x *GetBlockExistsBatchRequest) UnmarshalJSON(b []byte) error
- func (x *GetBlockExistsBatchRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetBlockExistsBatchRequest) UnmarshalVT(dAtA []byte) error
- type GetBlockExistsBatchResponse
- func (m *GetBlockExistsBatchResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetBlockExistsBatchResponse) CloneVT() *GetBlockExistsBatchResponse
- func (this *GetBlockExistsBatchResponse) EqualMessageVT(thatMsg any) bool
- func (this *GetBlockExistsBatchResponse) EqualVT(that *GetBlockExistsBatchResponse) bool
- func (x *GetBlockExistsBatchResponse) GetError() string
- func (x *GetBlockExistsBatchResponse) GetExists() []bool
- func (x *GetBlockExistsBatchResponse) MarshalJSON() ([]byte, error)
- func (x *GetBlockExistsBatchResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetBlockExistsBatchResponse) MarshalProtoText() string
- func (m *GetBlockExistsBatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetBlockExistsBatchResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetBlockExistsBatchResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetBlockExistsBatchResponse) ProtoMessage()
- func (x *GetBlockExistsBatchResponse) Reset()
- func (m *GetBlockExistsBatchResponse) SizeVT() (n int)
- func (x *GetBlockExistsBatchResponse) String() string
- func (x *GetBlockExistsBatchResponse) UnmarshalJSON(b []byte) error
- func (x *GetBlockExistsBatchResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetBlockExistsBatchResponse) UnmarshalVT(dAtA []byte) error
- type GetBlockExistsRequest
- func (m *GetBlockExistsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetBlockExistsRequest) CloneVT() *GetBlockExistsRequest
- func (this *GetBlockExistsRequest) EqualMessageVT(thatMsg any) bool
- func (this *GetBlockExistsRequest) EqualVT(that *GetBlockExistsRequest) bool
- func (x *GetBlockExistsRequest) GetRef() *block.BlockRef
- func (x *GetBlockExistsRequest) MarshalJSON() ([]byte, error)
- func (x *GetBlockExistsRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetBlockExistsRequest) MarshalProtoText() string
- func (m *GetBlockExistsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetBlockExistsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetBlockExistsRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetBlockExistsRequest) ProtoMessage()
- func (x *GetBlockExistsRequest) Reset()
- func (m *GetBlockExistsRequest) SizeVT() (n int)
- func (x *GetBlockExistsRequest) String() string
- func (x *GetBlockExistsRequest) UnmarshalJSON(b []byte) error
- func (x *GetBlockExistsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetBlockExistsRequest) UnmarshalVT(dAtA []byte) error
- type GetBlockExistsResponse
- func (m *GetBlockExistsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetBlockExistsResponse) CloneVT() *GetBlockExistsResponse
- func (this *GetBlockExistsResponse) EqualMessageVT(thatMsg any) bool
- func (this *GetBlockExistsResponse) EqualVT(that *GetBlockExistsResponse) bool
- func (x *GetBlockExistsResponse) GetError() string
- func (x *GetBlockExistsResponse) GetExists() bool
- func (x *GetBlockExistsResponse) MarshalJSON() ([]byte, error)
- func (x *GetBlockExistsResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetBlockExistsResponse) MarshalProtoText() string
- func (m *GetBlockExistsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetBlockExistsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetBlockExistsResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetBlockExistsResponse) ProtoMessage()
- func (x *GetBlockExistsResponse) Reset()
- func (m *GetBlockExistsResponse) SizeVT() (n int)
- func (x *GetBlockExistsResponse) String() string
- func (x *GetBlockExistsResponse) UnmarshalJSON(b []byte) error
- func (x *GetBlockExistsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetBlockExistsResponse) UnmarshalVT(dAtA []byte) error
- type GetBlockRequest
- func (m *GetBlockRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetBlockRequest) CloneVT() *GetBlockRequest
- func (this *GetBlockRequest) EqualMessageVT(thatMsg any) bool
- func (this *GetBlockRequest) EqualVT(that *GetBlockRequest) bool
- func (x *GetBlockRequest) GetRef() *block.BlockRef
- func (x *GetBlockRequest) MarshalJSON() ([]byte, error)
- func (x *GetBlockRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetBlockRequest) MarshalProtoText() string
- func (m *GetBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetBlockRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetBlockRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetBlockRequest) ProtoMessage()
- func (x *GetBlockRequest) Reset()
- func (m *GetBlockRequest) SizeVT() (n int)
- func (x *GetBlockRequest) String() string
- func (x *GetBlockRequest) UnmarshalJSON(b []byte) error
- func (x *GetBlockRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetBlockRequest) UnmarshalVT(dAtA []byte) error
- type GetBlockResponse
- func (m *GetBlockResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetBlockResponse) CloneVT() *GetBlockResponse
- func (this *GetBlockResponse) EqualMessageVT(thatMsg any) bool
- func (this *GetBlockResponse) EqualVT(that *GetBlockResponse) bool
- func (x *GetBlockResponse) GetData() []byte
- func (x *GetBlockResponse) GetError() string
- func (x *GetBlockResponse) GetExists() bool
- func (x *GetBlockResponse) MarshalJSON() ([]byte, error)
- func (x *GetBlockResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetBlockResponse) MarshalProtoText() string
- func (m *GetBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetBlockResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetBlockResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetBlockResponse) ProtoMessage()
- func (x *GetBlockResponse) Reset()
- func (m *GetBlockResponse) SizeVT() (n int)
- func (x *GetBlockResponse) String() string
- func (x *GetBlockResponse) UnmarshalJSON(b []byte) error
- func (x *GetBlockResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetBlockResponse) UnmarshalVT(dAtA []byte) error
- type GetHashTypeRequest
- func (m *GetHashTypeRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetHashTypeRequest) CloneVT() *GetHashTypeRequest
- func (this *GetHashTypeRequest) EqualMessageVT(thatMsg any) bool
- func (this *GetHashTypeRequest) EqualVT(that *GetHashTypeRequest) bool
- func (x *GetHashTypeRequest) MarshalJSON() ([]byte, error)
- func (x *GetHashTypeRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetHashTypeRequest) MarshalProtoText() string
- func (m *GetHashTypeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetHashTypeRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetHashTypeRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetHashTypeRequest) ProtoMessage()
- func (x *GetHashTypeRequest) Reset()
- func (m *GetHashTypeRequest) SizeVT() (n int)
- func (x *GetHashTypeRequest) String() string
- func (x *GetHashTypeRequest) UnmarshalJSON(b []byte) error
- func (x *GetHashTypeRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetHashTypeRequest) UnmarshalVT(dAtA []byte) error
- type GetHashTypeResponse
- func (m *GetHashTypeResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetHashTypeResponse) CloneVT() *GetHashTypeResponse
- func (this *GetHashTypeResponse) EqualMessageVT(thatMsg any) bool
- func (this *GetHashTypeResponse) EqualVT(that *GetHashTypeResponse) bool
- func (x *GetHashTypeResponse) GetHashType() hash.HashType
- func (x *GetHashTypeResponse) MarshalJSON() ([]byte, error)
- func (x *GetHashTypeResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetHashTypeResponse) MarshalProtoText() string
- func (m *GetHashTypeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetHashTypeResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetHashTypeResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetHashTypeResponse) ProtoMessage()
- func (x *GetHashTypeResponse) Reset()
- func (m *GetHashTypeResponse) SizeVT() (n int)
- func (x *GetHashTypeResponse) String() string
- func (x *GetHashTypeResponse) UnmarshalJSON(b []byte) error
- func (x *GetHashTypeResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetHashTypeResponse) UnmarshalVT(dAtA []byte) error
- type GetSupportedFeaturesRequest
- func (m *GetSupportedFeaturesRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetSupportedFeaturesRequest) CloneVT() *GetSupportedFeaturesRequest
- func (this *GetSupportedFeaturesRequest) EqualMessageVT(thatMsg any) bool
- func (this *GetSupportedFeaturesRequest) EqualVT(that *GetSupportedFeaturesRequest) bool
- func (x *GetSupportedFeaturesRequest) MarshalJSON() ([]byte, error)
- func (x *GetSupportedFeaturesRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetSupportedFeaturesRequest) MarshalProtoText() string
- func (m *GetSupportedFeaturesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSupportedFeaturesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSupportedFeaturesRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetSupportedFeaturesRequest) ProtoMessage()
- func (x *GetSupportedFeaturesRequest) Reset()
- func (m *GetSupportedFeaturesRequest) SizeVT() (n int)
- func (x *GetSupportedFeaturesRequest) String() string
- func (x *GetSupportedFeaturesRequest) UnmarshalJSON(b []byte) error
- func (x *GetSupportedFeaturesRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetSupportedFeaturesRequest) UnmarshalVT(dAtA []byte) error
- type GetSupportedFeaturesResponse
- func (m *GetSupportedFeaturesResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetSupportedFeaturesResponse) CloneVT() *GetSupportedFeaturesResponse
- func (this *GetSupportedFeaturesResponse) EqualMessageVT(thatMsg any) bool
- func (this *GetSupportedFeaturesResponse) EqualVT(that *GetSupportedFeaturesResponse) bool
- func (x *GetSupportedFeaturesResponse) GetFeatures() block.StoreFeature
- func (x *GetSupportedFeaturesResponse) MarshalJSON() ([]byte, error)
- func (x *GetSupportedFeaturesResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetSupportedFeaturesResponse) MarshalProtoText() string
- func (m *GetSupportedFeaturesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSupportedFeaturesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSupportedFeaturesResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetSupportedFeaturesResponse) ProtoMessage()
- func (x *GetSupportedFeaturesResponse) Reset()
- func (m *GetSupportedFeaturesResponse) SizeVT() (n int)
- func (x *GetSupportedFeaturesResponse) String() string
- func (x *GetSupportedFeaturesResponse) UnmarshalJSON(b []byte) error
- func (x *GetSupportedFeaturesResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetSupportedFeaturesResponse) UnmarshalVT(dAtA []byte) error
- type PutBlockBackgroundRequest
- func (m *PutBlockBackgroundRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PutBlockBackgroundRequest) CloneVT() *PutBlockBackgroundRequest
- func (this *PutBlockBackgroundRequest) EqualMessageVT(thatMsg any) bool
- func (this *PutBlockBackgroundRequest) EqualVT(that *PutBlockBackgroundRequest) bool
- func (x *PutBlockBackgroundRequest) GetData() []byte
- func (x *PutBlockBackgroundRequest) GetPutOpts() *block.PutOpts
- func (x *PutBlockBackgroundRequest) MarshalJSON() ([]byte, error)
- func (x *PutBlockBackgroundRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *PutBlockBackgroundRequest) MarshalProtoText() string
- func (m *PutBlockBackgroundRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PutBlockBackgroundRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PutBlockBackgroundRequest) MarshalVT() (dAtA []byte, err error)
- func (*PutBlockBackgroundRequest) ProtoMessage()
- func (x *PutBlockBackgroundRequest) Reset()
- func (m *PutBlockBackgroundRequest) SizeVT() (n int)
- func (x *PutBlockBackgroundRequest) String() string
- func (x *PutBlockBackgroundRequest) UnmarshalJSON(b []byte) error
- func (x *PutBlockBackgroundRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PutBlockBackgroundRequest) UnmarshalVT(dAtA []byte) error
- type PutBlockBackgroundResponse
- func (m *PutBlockBackgroundResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PutBlockBackgroundResponse) CloneVT() *PutBlockBackgroundResponse
- func (this *PutBlockBackgroundResponse) EqualMessageVT(thatMsg any) bool
- func (this *PutBlockBackgroundResponse) EqualVT(that *PutBlockBackgroundResponse) bool
- func (x *PutBlockBackgroundResponse) GetError() string
- func (x *PutBlockBackgroundResponse) GetExisted() bool
- func (x *PutBlockBackgroundResponse) GetRef() *block.BlockRef
- func (x *PutBlockBackgroundResponse) MarshalJSON() ([]byte, error)
- func (x *PutBlockBackgroundResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *PutBlockBackgroundResponse) MarshalProtoText() string
- func (m *PutBlockBackgroundResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PutBlockBackgroundResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PutBlockBackgroundResponse) MarshalVT() (dAtA []byte, err error)
- func (*PutBlockBackgroundResponse) ProtoMessage()
- func (x *PutBlockBackgroundResponse) Reset()
- func (m *PutBlockBackgroundResponse) SizeVT() (n int)
- func (x *PutBlockBackgroundResponse) String() string
- func (x *PutBlockBackgroundResponse) UnmarshalJSON(b []byte) error
- func (x *PutBlockBackgroundResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PutBlockBackgroundResponse) UnmarshalVT(dAtA []byte) error
- type PutBlockBatchEntry
- func (m *PutBlockBatchEntry) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PutBlockBatchEntry) CloneVT() *PutBlockBatchEntry
- func (this *PutBlockBatchEntry) EqualMessageVT(thatMsg any) bool
- func (this *PutBlockBatchEntry) EqualVT(that *PutBlockBatchEntry) bool
- func (x *PutBlockBatchEntry) GetData() []byte
- func (x *PutBlockBatchEntry) GetRef() *block.BlockRef
- func (x *PutBlockBatchEntry) GetRefs() []*block.BlockRef
- func (x *PutBlockBatchEntry) GetTombstone() bool
- func (x *PutBlockBatchEntry) MarshalJSON() ([]byte, error)
- func (x *PutBlockBatchEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *PutBlockBatchEntry) MarshalProtoText() string
- func (m *PutBlockBatchEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PutBlockBatchEntry) MarshalToVT(dAtA []byte) (int, error)
- func (m *PutBlockBatchEntry) MarshalVT() (dAtA []byte, err error)
- func (*PutBlockBatchEntry) ProtoMessage()
- func (x *PutBlockBatchEntry) Reset()
- func (m *PutBlockBatchEntry) SizeVT() (n int)
- func (x *PutBlockBatchEntry) String() string
- func (x *PutBlockBatchEntry) UnmarshalJSON(b []byte) error
- func (x *PutBlockBatchEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PutBlockBatchEntry) UnmarshalVT(dAtA []byte) error
- type PutBlockBatchRequest
- func (m *PutBlockBatchRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PutBlockBatchRequest) CloneVT() *PutBlockBatchRequest
- func (this *PutBlockBatchRequest) EqualMessageVT(thatMsg any) bool
- func (this *PutBlockBatchRequest) EqualVT(that *PutBlockBatchRequest) bool
- func (x *PutBlockBatchRequest) GetEntries() []*PutBlockBatchEntry
- func (x *PutBlockBatchRequest) MarshalJSON() ([]byte, error)
- func (x *PutBlockBatchRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *PutBlockBatchRequest) MarshalProtoText() string
- func (m *PutBlockBatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PutBlockBatchRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PutBlockBatchRequest) MarshalVT() (dAtA []byte, err error)
- func (*PutBlockBatchRequest) ProtoMessage()
- func (x *PutBlockBatchRequest) Reset()
- func (m *PutBlockBatchRequest) SizeVT() (n int)
- func (x *PutBlockBatchRequest) String() string
- func (x *PutBlockBatchRequest) UnmarshalJSON(b []byte) error
- func (x *PutBlockBatchRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PutBlockBatchRequest) UnmarshalVT(dAtA []byte) error
- type PutBlockBatchResponse
- func (m *PutBlockBatchResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PutBlockBatchResponse) CloneVT() *PutBlockBatchResponse
- func (this *PutBlockBatchResponse) EqualMessageVT(thatMsg any) bool
- func (this *PutBlockBatchResponse) EqualVT(that *PutBlockBatchResponse) bool
- func (x *PutBlockBatchResponse) GetError() string
- func (x *PutBlockBatchResponse) MarshalJSON() ([]byte, error)
- func (x *PutBlockBatchResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *PutBlockBatchResponse) MarshalProtoText() string
- func (m *PutBlockBatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PutBlockBatchResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PutBlockBatchResponse) MarshalVT() (dAtA []byte, err error)
- func (*PutBlockBatchResponse) ProtoMessage()
- func (x *PutBlockBatchResponse) Reset()
- func (m *PutBlockBatchResponse) SizeVT() (n int)
- func (x *PutBlockBatchResponse) String() string
- func (x *PutBlockBatchResponse) UnmarshalJSON(b []byte) error
- func (x *PutBlockBatchResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PutBlockBatchResponse) UnmarshalVT(dAtA []byte) error
- type PutBlockRequest
- func (m *PutBlockRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PutBlockRequest) CloneVT() *PutBlockRequest
- func (this *PutBlockRequest) EqualMessageVT(thatMsg any) bool
- func (this *PutBlockRequest) EqualVT(that *PutBlockRequest) bool
- func (x *PutBlockRequest) GetData() []byte
- func (x *PutBlockRequest) GetPutOpts() *block.PutOpts
- func (x *PutBlockRequest) MarshalJSON() ([]byte, error)
- func (x *PutBlockRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *PutBlockRequest) MarshalProtoText() string
- func (m *PutBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PutBlockRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PutBlockRequest) MarshalVT() (dAtA []byte, err error)
- func (*PutBlockRequest) ProtoMessage()
- func (x *PutBlockRequest) Reset()
- func (m *PutBlockRequest) SizeVT() (n int)
- func (x *PutBlockRequest) String() string
- func (x *PutBlockRequest) UnmarshalJSON(b []byte) error
- func (x *PutBlockRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PutBlockRequest) UnmarshalVT(dAtA []byte) error
- type PutBlockResponse
- func (m *PutBlockResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PutBlockResponse) CloneVT() *PutBlockResponse
- func (this *PutBlockResponse) EqualMessageVT(thatMsg any) bool
- func (this *PutBlockResponse) EqualVT(that *PutBlockResponse) bool
- func (x *PutBlockResponse) GetError() string
- func (x *PutBlockResponse) GetExisted() bool
- func (x *PutBlockResponse) GetRef() *block.BlockRef
- func (x *PutBlockResponse) MarshalJSON() ([]byte, error)
- func (x *PutBlockResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *PutBlockResponse) MarshalProtoText() string
- func (m *PutBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PutBlockResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PutBlockResponse) MarshalVT() (dAtA []byte, err error)
- func (*PutBlockResponse) ProtoMessage()
- func (x *PutBlockResponse) Reset()
- func (m *PutBlockResponse) SizeVT() (n int)
- func (x *PutBlockResponse) String() string
- func (x *PutBlockResponse) UnmarshalJSON(b []byte) error
- func (x *PutBlockResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PutBlockResponse) UnmarshalVT(dAtA []byte) error
- type RmBlockRequest
- func (m *RmBlockRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RmBlockRequest) CloneVT() *RmBlockRequest
- func (this *RmBlockRequest) EqualMessageVT(thatMsg any) bool
- func (this *RmBlockRequest) EqualVT(that *RmBlockRequest) bool
- func (x *RmBlockRequest) GetRef() *block.BlockRef
- func (x *RmBlockRequest) MarshalJSON() ([]byte, error)
- func (x *RmBlockRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *RmBlockRequest) MarshalProtoText() string
- func (m *RmBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RmBlockRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RmBlockRequest) MarshalVT() (dAtA []byte, err error)
- func (*RmBlockRequest) ProtoMessage()
- func (x *RmBlockRequest) Reset()
- func (m *RmBlockRequest) SizeVT() (n int)
- func (x *RmBlockRequest) String() string
- func (x *RmBlockRequest) UnmarshalJSON(b []byte) error
- func (x *RmBlockRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RmBlockRequest) UnmarshalVT(dAtA []byte) error
- type RmBlockResponse
- func (m *RmBlockResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RmBlockResponse) CloneVT() *RmBlockResponse
- func (this *RmBlockResponse) EqualMessageVT(thatMsg any) bool
- func (this *RmBlockResponse) EqualVT(that *RmBlockResponse) bool
- func (x *RmBlockResponse) GetError() string
- func (x *RmBlockResponse) MarshalJSON() ([]byte, error)
- func (x *RmBlockResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *RmBlockResponse) MarshalProtoText() string
- func (m *RmBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RmBlockResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *RmBlockResponse) MarshalVT() (dAtA []byte, err error)
- func (*RmBlockResponse) ProtoMessage()
- func (x *RmBlockResponse) Reset()
- func (m *RmBlockResponse) SizeVT() (n int)
- func (x *RmBlockResponse) String() string
- func (x *RmBlockResponse) UnmarshalJSON(b []byte) error
- func (x *RmBlockResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RmBlockResponse) UnmarshalVT(dAtA []byte) error
- type SRPCBlockStoreClient
- type SRPCBlockStoreHandler
- func (SRPCBlockStoreHandler) GetMethodIDs() []string
- func (d *SRPCBlockStoreHandler) GetServiceID() string
- func (d *SRPCBlockStoreHandler) InvokeMethod(serviceID, methodID string, strm srpc.Stream) (bool, error)
- func (SRPCBlockStoreHandler) InvokeMethod_BeginDeferFlush(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_EndDeferFlush(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_Flush(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_GetBlock(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_GetBlockExists(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_GetBlockExistsBatch(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_GetHashType(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_GetSupportedFeatures(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_PutBlock(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_PutBlockBackground(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_PutBlockBatch(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_RmBlock(impl SRPCBlockStoreServer, strm srpc.Stream) error
- func (SRPCBlockStoreHandler) InvokeMethod_StatBlock(impl SRPCBlockStoreServer, strm srpc.Stream) error
- type SRPCBlockStoreServer
- type SRPCBlockStore_BeginDeferFlushStream
- type SRPCBlockStore_EndDeferFlushStream
- type SRPCBlockStore_FlushStream
- type SRPCBlockStore_GetBlockExistsBatchStream
- type SRPCBlockStore_GetBlockExistsStream
- type SRPCBlockStore_GetBlockStream
- type SRPCBlockStore_GetHashTypeStream
- type SRPCBlockStore_GetSupportedFeaturesStream
- type SRPCBlockStore_PutBlockBackgroundStream
- type SRPCBlockStore_PutBlockBatchStream
- type SRPCBlockStore_PutBlockStream
- type SRPCBlockStore_RmBlockStream
- type SRPCBlockStore_StatBlockStream
- type StatBlockRequest
- func (m *StatBlockRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StatBlockRequest) CloneVT() *StatBlockRequest
- func (this *StatBlockRequest) EqualMessageVT(thatMsg any) bool
- func (this *StatBlockRequest) EqualVT(that *StatBlockRequest) bool
- func (x *StatBlockRequest) GetRef() *block.BlockRef
- func (x *StatBlockRequest) MarshalJSON() ([]byte, error)
- func (x *StatBlockRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *StatBlockRequest) MarshalProtoText() string
- func (m *StatBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StatBlockRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StatBlockRequest) MarshalVT() (dAtA []byte, err error)
- func (*StatBlockRequest) ProtoMessage()
- func (x *StatBlockRequest) Reset()
- func (m *StatBlockRequest) SizeVT() (n int)
- func (x *StatBlockRequest) String() string
- func (x *StatBlockRequest) UnmarshalJSON(b []byte) error
- func (x *StatBlockRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StatBlockRequest) UnmarshalVT(dAtA []byte) error
- type StatBlockResponse
- func (m *StatBlockResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StatBlockResponse) CloneVT() *StatBlockResponse
- func (this *StatBlockResponse) EqualMessageVT(thatMsg any) bool
- func (this *StatBlockResponse) EqualVT(that *StatBlockResponse) bool
- func (x *StatBlockResponse) GetError() string
- func (x *StatBlockResponse) GetExists() bool
- func (x *StatBlockResponse) GetRef() *block.BlockRef
- func (x *StatBlockResponse) GetSize() int64
- func (x *StatBlockResponse) MarshalJSON() ([]byte, error)
- func (x *StatBlockResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *StatBlockResponse) MarshalProtoText() string
- func (m *StatBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StatBlockResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StatBlockResponse) MarshalVT() (dAtA []byte, err error)
- func (*StatBlockResponse) ProtoMessage()
- func (x *StatBlockResponse) Reset()
- func (m *StatBlockResponse) SizeVT() (n int)
- func (x *StatBlockResponse) String() string
- func (x *StatBlockResponse) UnmarshalJSON(b []byte) error
- func (x *StatBlockResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StatBlockResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
const SRPCBlockStoreServiceID = "block.rpc.BlockStore"
Variables ¶
This section is empty.
Functions ¶
func NewSRPCBlockStoreHandler ¶
func NewSRPCBlockStoreHandler(impl SRPCBlockStoreServer, serviceID string) srpc.Handler
NewSRPCBlockStoreHandler constructs a new RPC handler. serviceID: if empty, uses default: block.rpc.BlockStore
func SRPCRegisterBlockStore ¶
func SRPCRegisterBlockStore(mux srpc.Mux, impl SRPCBlockStoreServer) error
SRPCRegisterBlockStore registers the implementation with the mux. Uses the default serviceID: block.rpc.BlockStore
Types ¶
type BeginDeferFlushRequest ¶
type BeginDeferFlushRequest struct {
// contains filtered or unexported fields
}
BeginDeferFlushRequest requests opening a defer-flush scope.
func (*BeginDeferFlushRequest) CloneMessageVT ¶
func (m *BeginDeferFlushRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*BeginDeferFlushRequest) CloneVT ¶
func (m *BeginDeferFlushRequest) CloneVT() *BeginDeferFlushRequest
func (*BeginDeferFlushRequest) EqualMessageVT ¶
func (this *BeginDeferFlushRequest) EqualMessageVT(thatMsg any) bool
func (*BeginDeferFlushRequest) EqualVT ¶
func (this *BeginDeferFlushRequest) EqualVT(that *BeginDeferFlushRequest) bool
func (*BeginDeferFlushRequest) MarshalJSON ¶
func (x *BeginDeferFlushRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the BeginDeferFlushRequest to JSON.
func (*BeginDeferFlushRequest) MarshalProtoJSON ¶
func (x *BeginDeferFlushRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the BeginDeferFlushRequest message to JSON.
func (*BeginDeferFlushRequest) MarshalProtoText ¶
func (x *BeginDeferFlushRequest) MarshalProtoText() string
func (*BeginDeferFlushRequest) MarshalToSizedBufferVT ¶
func (m *BeginDeferFlushRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BeginDeferFlushRequest) MarshalToVT ¶
func (m *BeginDeferFlushRequest) MarshalToVT(dAtA []byte) (int, error)
func (*BeginDeferFlushRequest) MarshalVT ¶
func (m *BeginDeferFlushRequest) MarshalVT() (dAtA []byte, err error)
func (*BeginDeferFlushRequest) ProtoMessage ¶
func (*BeginDeferFlushRequest) ProtoMessage()
func (*BeginDeferFlushRequest) Reset ¶
func (x *BeginDeferFlushRequest) Reset()
func (*BeginDeferFlushRequest) SizeVT ¶
func (m *BeginDeferFlushRequest) SizeVT() (n int)
func (*BeginDeferFlushRequest) String ¶
func (x *BeginDeferFlushRequest) String() string
func (*BeginDeferFlushRequest) UnmarshalJSON ¶
func (x *BeginDeferFlushRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the BeginDeferFlushRequest from JSON.
func (*BeginDeferFlushRequest) UnmarshalProtoJSON ¶
func (x *BeginDeferFlushRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the BeginDeferFlushRequest message from JSON.
func (*BeginDeferFlushRequest) UnmarshalVT ¶
func (m *BeginDeferFlushRequest) UnmarshalVT(dAtA []byte) error
type BeginDeferFlushResponse ¶
type BeginDeferFlushResponse struct {
// Error is any error opening the defer-flush scope.
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
BeginDeferFlushResponse is the response to opening a defer-flush scope.
func (*BeginDeferFlushResponse) CloneMessageVT ¶
func (m *BeginDeferFlushResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*BeginDeferFlushResponse) CloneVT ¶
func (m *BeginDeferFlushResponse) CloneVT() *BeginDeferFlushResponse
func (*BeginDeferFlushResponse) EqualMessageVT ¶
func (this *BeginDeferFlushResponse) EqualMessageVT(thatMsg any) bool
func (*BeginDeferFlushResponse) EqualVT ¶
func (this *BeginDeferFlushResponse) EqualVT(that *BeginDeferFlushResponse) bool
func (*BeginDeferFlushResponse) GetError ¶
func (x *BeginDeferFlushResponse) GetError() string
func (*BeginDeferFlushResponse) MarshalJSON ¶
func (x *BeginDeferFlushResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the BeginDeferFlushResponse to JSON.
func (*BeginDeferFlushResponse) MarshalProtoJSON ¶
func (x *BeginDeferFlushResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the BeginDeferFlushResponse message to JSON.
func (*BeginDeferFlushResponse) MarshalProtoText ¶
func (x *BeginDeferFlushResponse) MarshalProtoText() string
func (*BeginDeferFlushResponse) MarshalToSizedBufferVT ¶
func (m *BeginDeferFlushResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BeginDeferFlushResponse) MarshalToVT ¶
func (m *BeginDeferFlushResponse) MarshalToVT(dAtA []byte) (int, error)
func (*BeginDeferFlushResponse) MarshalVT ¶
func (m *BeginDeferFlushResponse) MarshalVT() (dAtA []byte, err error)
func (*BeginDeferFlushResponse) ProtoMessage ¶
func (*BeginDeferFlushResponse) ProtoMessage()
func (*BeginDeferFlushResponse) Reset ¶
func (x *BeginDeferFlushResponse) Reset()
func (*BeginDeferFlushResponse) SizeVT ¶
func (m *BeginDeferFlushResponse) SizeVT() (n int)
func (*BeginDeferFlushResponse) String ¶
func (x *BeginDeferFlushResponse) String() string
func (*BeginDeferFlushResponse) UnmarshalJSON ¶
func (x *BeginDeferFlushResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the BeginDeferFlushResponse from JSON.
func (*BeginDeferFlushResponse) UnmarshalProtoJSON ¶
func (x *BeginDeferFlushResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the BeginDeferFlushResponse message from JSON.
func (*BeginDeferFlushResponse) UnmarshalVT ¶
func (m *BeginDeferFlushResponse) UnmarshalVT(dAtA []byte) error
type EndDeferFlushRequest ¶
type EndDeferFlushRequest struct {
// contains filtered or unexported fields
}
EndDeferFlushRequest requests closing a defer-flush scope.
func (*EndDeferFlushRequest) CloneMessageVT ¶
func (m *EndDeferFlushRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*EndDeferFlushRequest) CloneVT ¶
func (m *EndDeferFlushRequest) CloneVT() *EndDeferFlushRequest
func (*EndDeferFlushRequest) EqualMessageVT ¶
func (this *EndDeferFlushRequest) EqualMessageVT(thatMsg any) bool
func (*EndDeferFlushRequest) EqualVT ¶
func (this *EndDeferFlushRequest) EqualVT(that *EndDeferFlushRequest) bool
func (*EndDeferFlushRequest) MarshalJSON ¶
func (x *EndDeferFlushRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the EndDeferFlushRequest to JSON.
func (*EndDeferFlushRequest) MarshalProtoJSON ¶
func (x *EndDeferFlushRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the EndDeferFlushRequest message to JSON.
func (*EndDeferFlushRequest) MarshalProtoText ¶
func (x *EndDeferFlushRequest) MarshalProtoText() string
func (*EndDeferFlushRequest) MarshalToSizedBufferVT ¶
func (m *EndDeferFlushRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EndDeferFlushRequest) MarshalToVT ¶
func (m *EndDeferFlushRequest) MarshalToVT(dAtA []byte) (int, error)
func (*EndDeferFlushRequest) MarshalVT ¶
func (m *EndDeferFlushRequest) MarshalVT() (dAtA []byte, err error)
func (*EndDeferFlushRequest) ProtoMessage ¶
func (*EndDeferFlushRequest) ProtoMessage()
func (*EndDeferFlushRequest) Reset ¶
func (x *EndDeferFlushRequest) Reset()
func (*EndDeferFlushRequest) SizeVT ¶
func (m *EndDeferFlushRequest) SizeVT() (n int)
func (*EndDeferFlushRequest) String ¶
func (x *EndDeferFlushRequest) String() string
func (*EndDeferFlushRequest) UnmarshalJSON ¶
func (x *EndDeferFlushRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the EndDeferFlushRequest from JSON.
func (*EndDeferFlushRequest) UnmarshalProtoJSON ¶
func (x *EndDeferFlushRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the EndDeferFlushRequest message from JSON.
func (*EndDeferFlushRequest) UnmarshalVT ¶
func (m *EndDeferFlushRequest) UnmarshalVT(dAtA []byte) error
type EndDeferFlushResponse ¶
type EndDeferFlushResponse struct {
// Error is any error closing the defer-flush scope.
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
EndDeferFlushResponse is the response to closing a defer-flush scope.
func (*EndDeferFlushResponse) CloneMessageVT ¶
func (m *EndDeferFlushResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*EndDeferFlushResponse) CloneVT ¶
func (m *EndDeferFlushResponse) CloneVT() *EndDeferFlushResponse
func (*EndDeferFlushResponse) EqualMessageVT ¶
func (this *EndDeferFlushResponse) EqualMessageVT(thatMsg any) bool
func (*EndDeferFlushResponse) EqualVT ¶
func (this *EndDeferFlushResponse) EqualVT(that *EndDeferFlushResponse) bool
func (*EndDeferFlushResponse) GetError ¶
func (x *EndDeferFlushResponse) GetError() string
func (*EndDeferFlushResponse) MarshalJSON ¶
func (x *EndDeferFlushResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the EndDeferFlushResponse to JSON.
func (*EndDeferFlushResponse) MarshalProtoJSON ¶
func (x *EndDeferFlushResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the EndDeferFlushResponse message to JSON.
func (*EndDeferFlushResponse) MarshalProtoText ¶
func (x *EndDeferFlushResponse) MarshalProtoText() string
func (*EndDeferFlushResponse) MarshalToSizedBufferVT ¶
func (m *EndDeferFlushResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EndDeferFlushResponse) MarshalToVT ¶
func (m *EndDeferFlushResponse) MarshalToVT(dAtA []byte) (int, error)
func (*EndDeferFlushResponse) MarshalVT ¶
func (m *EndDeferFlushResponse) MarshalVT() (dAtA []byte, err error)
func (*EndDeferFlushResponse) ProtoMessage ¶
func (*EndDeferFlushResponse) ProtoMessage()
func (*EndDeferFlushResponse) Reset ¶
func (x *EndDeferFlushResponse) Reset()
func (*EndDeferFlushResponse) SizeVT ¶
func (m *EndDeferFlushResponse) SizeVT() (n int)
func (*EndDeferFlushResponse) String ¶
func (x *EndDeferFlushResponse) String() string
func (*EndDeferFlushResponse) UnmarshalJSON ¶
func (x *EndDeferFlushResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the EndDeferFlushResponse from JSON.
func (*EndDeferFlushResponse) UnmarshalProtoJSON ¶
func (x *EndDeferFlushResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the EndDeferFlushResponse message from JSON.
func (*EndDeferFlushResponse) UnmarshalVT ¶
func (m *EndDeferFlushResponse) UnmarshalVT(dAtA []byte) error
type FlushRequest ¶
type FlushRequest struct {
// contains filtered or unexported fields
}
FlushRequest requests a store flush.
func (*FlushRequest) CloneMessageVT ¶
func (m *FlushRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FlushRequest) CloneVT ¶
func (m *FlushRequest) CloneVT() *FlushRequest
func (*FlushRequest) EqualMessageVT ¶
func (this *FlushRequest) EqualMessageVT(thatMsg any) bool
func (*FlushRequest) EqualVT ¶
func (this *FlushRequest) EqualVT(that *FlushRequest) bool
func (*FlushRequest) MarshalJSON ¶
func (x *FlushRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the FlushRequest to JSON.
func (*FlushRequest) MarshalProtoJSON ¶
func (x *FlushRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the FlushRequest message to JSON.
func (*FlushRequest) MarshalProtoText ¶
func (x *FlushRequest) MarshalProtoText() string
func (*FlushRequest) MarshalToSizedBufferVT ¶
func (m *FlushRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FlushRequest) MarshalToVT ¶
func (m *FlushRequest) MarshalToVT(dAtA []byte) (int, error)
func (*FlushRequest) MarshalVT ¶
func (m *FlushRequest) MarshalVT() (dAtA []byte, err error)
func (*FlushRequest) ProtoMessage ¶
func (*FlushRequest) ProtoMessage()
func (*FlushRequest) Reset ¶
func (x *FlushRequest) Reset()
func (*FlushRequest) SizeVT ¶
func (m *FlushRequest) SizeVT() (n int)
func (*FlushRequest) String ¶
func (x *FlushRequest) String() string
func (*FlushRequest) UnmarshalJSON ¶
func (x *FlushRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the FlushRequest from JSON.
func (*FlushRequest) UnmarshalProtoJSON ¶
func (x *FlushRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the FlushRequest message from JSON.
func (*FlushRequest) UnmarshalVT ¶
func (m *FlushRequest) UnmarshalVT(dAtA []byte) error
type FlushResponse ¶
type FlushResponse struct {
// Error is any error flushing the store.
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
FlushResponse is the response to flushing the store.
func (*FlushResponse) CloneMessageVT ¶
func (m *FlushResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FlushResponse) CloneVT ¶
func (m *FlushResponse) CloneVT() *FlushResponse
func (*FlushResponse) EqualMessageVT ¶
func (this *FlushResponse) EqualMessageVT(thatMsg any) bool
func (*FlushResponse) EqualVT ¶
func (this *FlushResponse) EqualVT(that *FlushResponse) bool
func (*FlushResponse) GetError ¶
func (x *FlushResponse) GetError() string
func (*FlushResponse) MarshalJSON ¶
func (x *FlushResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the FlushResponse to JSON.
func (*FlushResponse) MarshalProtoJSON ¶
func (x *FlushResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the FlushResponse message to JSON.
func (*FlushResponse) MarshalProtoText ¶
func (x *FlushResponse) MarshalProtoText() string
func (*FlushResponse) MarshalToSizedBufferVT ¶
func (m *FlushResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FlushResponse) MarshalToVT ¶
func (m *FlushResponse) MarshalToVT(dAtA []byte) (int, error)
func (*FlushResponse) MarshalVT ¶
func (m *FlushResponse) MarshalVT() (dAtA []byte, err error)
func (*FlushResponse) ProtoMessage ¶
func (*FlushResponse) ProtoMessage()
func (*FlushResponse) Reset ¶
func (x *FlushResponse) Reset()
func (*FlushResponse) SizeVT ¶
func (m *FlushResponse) SizeVT() (n int)
func (*FlushResponse) String ¶
func (x *FlushResponse) String() string
func (*FlushResponse) UnmarshalJSON ¶
func (x *FlushResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the FlushResponse from JSON.
func (*FlushResponse) UnmarshalProtoJSON ¶
func (x *FlushResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the FlushResponse message from JSON.
func (*FlushResponse) UnmarshalVT ¶
func (m *FlushResponse) UnmarshalVT(dAtA []byte) error
type GetBlockExistsBatchRequest ¶
type GetBlockExistsBatchRequest struct {
// Refs are the references to check.
Refs []*block.BlockRef `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"`
// contains filtered or unexported fields
}
GetBlockExistsBatchRequest requests to check if blocks exist in the store.
func (*GetBlockExistsBatchRequest) CloneMessageVT ¶
func (m *GetBlockExistsBatchRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetBlockExistsBatchRequest) CloneVT ¶
func (m *GetBlockExistsBatchRequest) CloneVT() *GetBlockExistsBatchRequest
func (*GetBlockExistsBatchRequest) EqualMessageVT ¶
func (this *GetBlockExistsBatchRequest) EqualMessageVT(thatMsg any) bool
func (*GetBlockExistsBatchRequest) EqualVT ¶
func (this *GetBlockExistsBatchRequest) EqualVT(that *GetBlockExistsBatchRequest) bool
func (*GetBlockExistsBatchRequest) GetRefs ¶
func (x *GetBlockExistsBatchRequest) GetRefs() []*block.BlockRef
func (*GetBlockExistsBatchRequest) MarshalJSON ¶
func (x *GetBlockExistsBatchRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetBlockExistsBatchRequest to JSON.
func (*GetBlockExistsBatchRequest) MarshalProtoJSON ¶
func (x *GetBlockExistsBatchRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetBlockExistsBatchRequest message to JSON.
func (*GetBlockExistsBatchRequest) MarshalProtoText ¶
func (x *GetBlockExistsBatchRequest) MarshalProtoText() string
func (*GetBlockExistsBatchRequest) MarshalToSizedBufferVT ¶
func (m *GetBlockExistsBatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetBlockExistsBatchRequest) MarshalToVT ¶
func (m *GetBlockExistsBatchRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetBlockExistsBatchRequest) MarshalVT ¶
func (m *GetBlockExistsBatchRequest) MarshalVT() (dAtA []byte, err error)
func (*GetBlockExistsBatchRequest) ProtoMessage ¶
func (*GetBlockExistsBatchRequest) ProtoMessage()
func (*GetBlockExistsBatchRequest) Reset ¶
func (x *GetBlockExistsBatchRequest) Reset()
func (*GetBlockExistsBatchRequest) SizeVT ¶
func (m *GetBlockExistsBatchRequest) SizeVT() (n int)
func (*GetBlockExistsBatchRequest) String ¶
func (x *GetBlockExistsBatchRequest) String() string
func (*GetBlockExistsBatchRequest) UnmarshalJSON ¶
func (x *GetBlockExistsBatchRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetBlockExistsBatchRequest from JSON.
func (*GetBlockExistsBatchRequest) UnmarshalProtoJSON ¶
func (x *GetBlockExistsBatchRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetBlockExistsBatchRequest message from JSON.
func (*GetBlockExistsBatchRequest) UnmarshalVT ¶
func (m *GetBlockExistsBatchRequest) UnmarshalVT(dAtA []byte) error
type GetBlockExistsBatchResponse ¶
type GetBlockExistsBatchResponse struct {
// Exists indicates existence for each requested ref.
Exists []bool `protobuf:"varint,1,rep,packed,name=exists,proto3" json:"exists,omitempty"`
// Error is any error checking blocks in the store.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GetBlockExistsBatchResponse is the response to checking if blocks are in the store.
func (*GetBlockExistsBatchResponse) CloneMessageVT ¶
func (m *GetBlockExistsBatchResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetBlockExistsBatchResponse) CloneVT ¶
func (m *GetBlockExistsBatchResponse) CloneVT() *GetBlockExistsBatchResponse
func (*GetBlockExistsBatchResponse) EqualMessageVT ¶
func (this *GetBlockExistsBatchResponse) EqualMessageVT(thatMsg any) bool
func (*GetBlockExistsBatchResponse) EqualVT ¶
func (this *GetBlockExistsBatchResponse) EqualVT(that *GetBlockExistsBatchResponse) bool
func (*GetBlockExistsBatchResponse) GetError ¶
func (x *GetBlockExistsBatchResponse) GetError() string
func (*GetBlockExistsBatchResponse) GetExists ¶
func (x *GetBlockExistsBatchResponse) GetExists() []bool
func (*GetBlockExistsBatchResponse) MarshalJSON ¶
func (x *GetBlockExistsBatchResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetBlockExistsBatchResponse to JSON.
func (*GetBlockExistsBatchResponse) MarshalProtoJSON ¶
func (x *GetBlockExistsBatchResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetBlockExistsBatchResponse message to JSON.
func (*GetBlockExistsBatchResponse) MarshalProtoText ¶
func (x *GetBlockExistsBatchResponse) MarshalProtoText() string
func (*GetBlockExistsBatchResponse) MarshalToSizedBufferVT ¶
func (m *GetBlockExistsBatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetBlockExistsBatchResponse) MarshalToVT ¶
func (m *GetBlockExistsBatchResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetBlockExistsBatchResponse) MarshalVT ¶
func (m *GetBlockExistsBatchResponse) MarshalVT() (dAtA []byte, err error)
func (*GetBlockExistsBatchResponse) ProtoMessage ¶
func (*GetBlockExistsBatchResponse) ProtoMessage()
func (*GetBlockExistsBatchResponse) Reset ¶
func (x *GetBlockExistsBatchResponse) Reset()
func (*GetBlockExistsBatchResponse) SizeVT ¶
func (m *GetBlockExistsBatchResponse) SizeVT() (n int)
func (*GetBlockExistsBatchResponse) String ¶
func (x *GetBlockExistsBatchResponse) String() string
func (*GetBlockExistsBatchResponse) UnmarshalJSON ¶
func (x *GetBlockExistsBatchResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetBlockExistsBatchResponse from JSON.
func (*GetBlockExistsBatchResponse) UnmarshalProtoJSON ¶
func (x *GetBlockExistsBatchResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetBlockExistsBatchResponse message from JSON.
func (*GetBlockExistsBatchResponse) UnmarshalVT ¶
func (m *GetBlockExistsBatchResponse) UnmarshalVT(dAtA []byte) error
type GetBlockExistsRequest ¶
type GetBlockExistsRequest struct {
// Ref is the reference to the block to check.
Ref *block.BlockRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
// contains filtered or unexported fields
}
GetBlockExistsRequest requests to check if a block exists in the store.
func (*GetBlockExistsRequest) CloneMessageVT ¶
func (m *GetBlockExistsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetBlockExistsRequest) CloneVT ¶
func (m *GetBlockExistsRequest) CloneVT() *GetBlockExistsRequest
func (*GetBlockExistsRequest) EqualMessageVT ¶
func (this *GetBlockExistsRequest) EqualMessageVT(thatMsg any) bool
func (*GetBlockExistsRequest) EqualVT ¶
func (this *GetBlockExistsRequest) EqualVT(that *GetBlockExistsRequest) bool
func (*GetBlockExistsRequest) GetRef ¶
func (x *GetBlockExistsRequest) GetRef() *block.BlockRef
func (*GetBlockExistsRequest) MarshalJSON ¶
func (x *GetBlockExistsRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetBlockExistsRequest to JSON.
func (*GetBlockExistsRequest) MarshalProtoJSON ¶
func (x *GetBlockExistsRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetBlockExistsRequest message to JSON.
func (*GetBlockExistsRequest) MarshalProtoText ¶
func (x *GetBlockExistsRequest) MarshalProtoText() string
func (*GetBlockExistsRequest) MarshalToSizedBufferVT ¶
func (m *GetBlockExistsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetBlockExistsRequest) MarshalToVT ¶
func (m *GetBlockExistsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetBlockExistsRequest) MarshalVT ¶
func (m *GetBlockExistsRequest) MarshalVT() (dAtA []byte, err error)
func (*GetBlockExistsRequest) ProtoMessage ¶
func (*GetBlockExistsRequest) ProtoMessage()
func (*GetBlockExistsRequest) Reset ¶
func (x *GetBlockExistsRequest) Reset()
func (*GetBlockExistsRequest) SizeVT ¶
func (m *GetBlockExistsRequest) SizeVT() (n int)
func (*GetBlockExistsRequest) String ¶
func (x *GetBlockExistsRequest) String() string
func (*GetBlockExistsRequest) UnmarshalJSON ¶
func (x *GetBlockExistsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetBlockExistsRequest from JSON.
func (*GetBlockExistsRequest) UnmarshalProtoJSON ¶
func (x *GetBlockExistsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetBlockExistsRequest message from JSON.
func (*GetBlockExistsRequest) UnmarshalVT ¶
func (m *GetBlockExistsRequest) UnmarshalVT(dAtA []byte) error
type GetBlockExistsResponse ¶
type GetBlockExistsResponse struct {
// Exists indicates if the block exists or not.
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
// Error is any error checking the block in the store.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GetBlockExistsResponse is the response to checking if a block is in the store.
func (*GetBlockExistsResponse) CloneMessageVT ¶
func (m *GetBlockExistsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetBlockExistsResponse) CloneVT ¶
func (m *GetBlockExistsResponse) CloneVT() *GetBlockExistsResponse
func (*GetBlockExistsResponse) EqualMessageVT ¶
func (this *GetBlockExistsResponse) EqualMessageVT(thatMsg any) bool
func (*GetBlockExistsResponse) EqualVT ¶
func (this *GetBlockExistsResponse) EqualVT(that *GetBlockExistsResponse) bool
func (*GetBlockExistsResponse) GetError ¶
func (x *GetBlockExistsResponse) GetError() string
func (*GetBlockExistsResponse) GetExists ¶
func (x *GetBlockExistsResponse) GetExists() bool
func (*GetBlockExistsResponse) MarshalJSON ¶
func (x *GetBlockExistsResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetBlockExistsResponse to JSON.
func (*GetBlockExistsResponse) MarshalProtoJSON ¶
func (x *GetBlockExistsResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetBlockExistsResponse message to JSON.
func (*GetBlockExistsResponse) MarshalProtoText ¶
func (x *GetBlockExistsResponse) MarshalProtoText() string
func (*GetBlockExistsResponse) MarshalToSizedBufferVT ¶
func (m *GetBlockExistsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetBlockExistsResponse) MarshalToVT ¶
func (m *GetBlockExistsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetBlockExistsResponse) MarshalVT ¶
func (m *GetBlockExistsResponse) MarshalVT() (dAtA []byte, err error)
func (*GetBlockExistsResponse) ProtoMessage ¶
func (*GetBlockExistsResponse) ProtoMessage()
func (*GetBlockExistsResponse) Reset ¶
func (x *GetBlockExistsResponse) Reset()
func (*GetBlockExistsResponse) SizeVT ¶
func (m *GetBlockExistsResponse) SizeVT() (n int)
func (*GetBlockExistsResponse) String ¶
func (x *GetBlockExistsResponse) String() string
func (*GetBlockExistsResponse) UnmarshalJSON ¶
func (x *GetBlockExistsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetBlockExistsResponse from JSON.
func (*GetBlockExistsResponse) UnmarshalProtoJSON ¶
func (x *GetBlockExistsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetBlockExistsResponse message from JSON.
func (*GetBlockExistsResponse) UnmarshalVT ¶
func (m *GetBlockExistsResponse) UnmarshalVT(dAtA []byte) error
type GetBlockRequest ¶
type GetBlockRequest struct {
// Ref is the reference to the block to fetch.
Ref *block.BlockRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
// contains filtered or unexported fields
}
GetBlockRequest requests to get a block from the store.
func (*GetBlockRequest) CloneMessageVT ¶
func (m *GetBlockRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetBlockRequest) CloneVT ¶
func (m *GetBlockRequest) CloneVT() *GetBlockRequest
func (*GetBlockRequest) EqualMessageVT ¶
func (this *GetBlockRequest) EqualMessageVT(thatMsg any) bool
func (*GetBlockRequest) EqualVT ¶
func (this *GetBlockRequest) EqualVT(that *GetBlockRequest) bool
func (*GetBlockRequest) GetRef ¶
func (x *GetBlockRequest) GetRef() *block.BlockRef
func (*GetBlockRequest) MarshalJSON ¶
func (x *GetBlockRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetBlockRequest to JSON.
func (*GetBlockRequest) MarshalProtoJSON ¶
func (x *GetBlockRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetBlockRequest message to JSON.
func (*GetBlockRequest) MarshalProtoText ¶
func (x *GetBlockRequest) MarshalProtoText() string
func (*GetBlockRequest) MarshalToSizedBufferVT ¶
func (m *GetBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetBlockRequest) MarshalToVT ¶
func (m *GetBlockRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetBlockRequest) MarshalVT ¶
func (m *GetBlockRequest) MarshalVT() (dAtA []byte, err error)
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) Reset ¶
func (x *GetBlockRequest) Reset()
func (*GetBlockRequest) SizeVT ¶
func (m *GetBlockRequest) SizeVT() (n int)
func (*GetBlockRequest) String ¶
func (x *GetBlockRequest) String() string
func (*GetBlockRequest) UnmarshalJSON ¶
func (x *GetBlockRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetBlockRequest from JSON.
func (*GetBlockRequest) UnmarshalProtoJSON ¶
func (x *GetBlockRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetBlockRequest message from JSON.
func (*GetBlockRequest) UnmarshalVT ¶
func (m *GetBlockRequest) UnmarshalVT(dAtA []byte) error
type GetBlockResponse ¶
type GetBlockResponse struct {
// Exists indicates if the block exists or not.
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
// Data is the data, if exists.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// Error is any error getting the block from the store.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GetBlockResponse is the response to looking up a block in the store.
func (*GetBlockResponse) CloneMessageVT ¶
func (m *GetBlockResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetBlockResponse) CloneVT ¶
func (m *GetBlockResponse) CloneVT() *GetBlockResponse
func (*GetBlockResponse) EqualMessageVT ¶
func (this *GetBlockResponse) EqualMessageVT(thatMsg any) bool
func (*GetBlockResponse) EqualVT ¶
func (this *GetBlockResponse) EqualVT(that *GetBlockResponse) bool
func (*GetBlockResponse) GetData ¶
func (x *GetBlockResponse) GetData() []byte
func (*GetBlockResponse) GetError ¶
func (x *GetBlockResponse) GetError() string
func (*GetBlockResponse) GetExists ¶
func (x *GetBlockResponse) GetExists() bool
func (*GetBlockResponse) MarshalJSON ¶
func (x *GetBlockResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetBlockResponse to JSON.
func (*GetBlockResponse) MarshalProtoJSON ¶
func (x *GetBlockResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetBlockResponse message to JSON.
func (*GetBlockResponse) MarshalProtoText ¶
func (x *GetBlockResponse) MarshalProtoText() string
func (*GetBlockResponse) MarshalToSizedBufferVT ¶
func (m *GetBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetBlockResponse) MarshalToVT ¶
func (m *GetBlockResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetBlockResponse) MarshalVT ¶
func (m *GetBlockResponse) MarshalVT() (dAtA []byte, err error)
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) Reset ¶
func (x *GetBlockResponse) Reset()
func (*GetBlockResponse) SizeVT ¶
func (m *GetBlockResponse) SizeVT() (n int)
func (*GetBlockResponse) String ¶
func (x *GetBlockResponse) String() string
func (*GetBlockResponse) UnmarshalJSON ¶
func (x *GetBlockResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetBlockResponse from JSON.
func (*GetBlockResponse) UnmarshalProtoJSON ¶
func (x *GetBlockResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetBlockResponse message from JSON.
func (*GetBlockResponse) UnmarshalVT ¶
func (m *GetBlockResponse) UnmarshalVT(dAtA []byte) error
type GetHashTypeRequest ¶
type GetHashTypeRequest struct {
// contains filtered or unexported fields
}
GetHashTypeRequest requests the preferred hash type for the store.
func (*GetHashTypeRequest) CloneMessageVT ¶
func (m *GetHashTypeRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetHashTypeRequest) CloneVT ¶
func (m *GetHashTypeRequest) CloneVT() *GetHashTypeRequest
func (*GetHashTypeRequest) EqualMessageVT ¶
func (this *GetHashTypeRequest) EqualMessageVT(thatMsg any) bool
func (*GetHashTypeRequest) EqualVT ¶
func (this *GetHashTypeRequest) EqualVT(that *GetHashTypeRequest) bool
func (*GetHashTypeRequest) MarshalJSON ¶
func (x *GetHashTypeRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetHashTypeRequest to JSON.
func (*GetHashTypeRequest) MarshalProtoJSON ¶
func (x *GetHashTypeRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetHashTypeRequest message to JSON.
func (*GetHashTypeRequest) MarshalProtoText ¶
func (x *GetHashTypeRequest) MarshalProtoText() string
func (*GetHashTypeRequest) MarshalToSizedBufferVT ¶
func (m *GetHashTypeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetHashTypeRequest) MarshalToVT ¶
func (m *GetHashTypeRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetHashTypeRequest) MarshalVT ¶
func (m *GetHashTypeRequest) MarshalVT() (dAtA []byte, err error)
func (*GetHashTypeRequest) ProtoMessage ¶
func (*GetHashTypeRequest) ProtoMessage()
func (*GetHashTypeRequest) Reset ¶
func (x *GetHashTypeRequest) Reset()
func (*GetHashTypeRequest) SizeVT ¶
func (m *GetHashTypeRequest) SizeVT() (n int)
func (*GetHashTypeRequest) String ¶
func (x *GetHashTypeRequest) String() string
func (*GetHashTypeRequest) UnmarshalJSON ¶
func (x *GetHashTypeRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetHashTypeRequest from JSON.
func (*GetHashTypeRequest) UnmarshalProtoJSON ¶
func (x *GetHashTypeRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetHashTypeRequest message from JSON.
func (*GetHashTypeRequest) UnmarshalVT ¶
func (m *GetHashTypeRequest) UnmarshalVT(dAtA []byte) error
type GetHashTypeResponse ¶
type GetHashTypeResponse struct {
// HashType is the store's preferred hash type.
HashType hash.HashType `protobuf:"varint,1,opt,name=hash_type,json=hashType,proto3" json:"hashType,omitempty"`
// contains filtered or unexported fields
}
GetHashTypeResponse is the response to requesting the preferred hash type.
func (*GetHashTypeResponse) CloneMessageVT ¶
func (m *GetHashTypeResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetHashTypeResponse) CloneVT ¶
func (m *GetHashTypeResponse) CloneVT() *GetHashTypeResponse
func (*GetHashTypeResponse) EqualMessageVT ¶
func (this *GetHashTypeResponse) EqualMessageVT(thatMsg any) bool
func (*GetHashTypeResponse) EqualVT ¶
func (this *GetHashTypeResponse) EqualVT(that *GetHashTypeResponse) bool
func (*GetHashTypeResponse) GetHashType ¶
func (x *GetHashTypeResponse) GetHashType() hash.HashType
func (*GetHashTypeResponse) MarshalJSON ¶
func (x *GetHashTypeResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetHashTypeResponse to JSON.
func (*GetHashTypeResponse) MarshalProtoJSON ¶
func (x *GetHashTypeResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetHashTypeResponse message to JSON.
func (*GetHashTypeResponse) MarshalProtoText ¶
func (x *GetHashTypeResponse) MarshalProtoText() string
func (*GetHashTypeResponse) MarshalToSizedBufferVT ¶
func (m *GetHashTypeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetHashTypeResponse) MarshalToVT ¶
func (m *GetHashTypeResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetHashTypeResponse) MarshalVT ¶
func (m *GetHashTypeResponse) MarshalVT() (dAtA []byte, err error)
func (*GetHashTypeResponse) ProtoMessage ¶
func (*GetHashTypeResponse) ProtoMessage()
func (*GetHashTypeResponse) Reset ¶
func (x *GetHashTypeResponse) Reset()
func (*GetHashTypeResponse) SizeVT ¶
func (m *GetHashTypeResponse) SizeVT() (n int)
func (*GetHashTypeResponse) String ¶
func (x *GetHashTypeResponse) String() string
func (*GetHashTypeResponse) UnmarshalJSON ¶
func (x *GetHashTypeResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetHashTypeResponse from JSON.
func (*GetHashTypeResponse) UnmarshalProtoJSON ¶
func (x *GetHashTypeResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetHashTypeResponse message from JSON.
func (*GetHashTypeResponse) UnmarshalVT ¶
func (m *GetHashTypeResponse) UnmarshalVT(dAtA []byte) error
type GetSupportedFeaturesRequest ¶
type GetSupportedFeaturesRequest struct {
// contains filtered or unexported fields
}
GetSupportedFeaturesRequest requests the native feature bitmask for the store.
func (*GetSupportedFeaturesRequest) CloneMessageVT ¶
func (m *GetSupportedFeaturesRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetSupportedFeaturesRequest) CloneVT ¶
func (m *GetSupportedFeaturesRequest) CloneVT() *GetSupportedFeaturesRequest
func (*GetSupportedFeaturesRequest) EqualMessageVT ¶
func (this *GetSupportedFeaturesRequest) EqualMessageVT(thatMsg any) bool
func (*GetSupportedFeaturesRequest) EqualVT ¶
func (this *GetSupportedFeaturesRequest) EqualVT(that *GetSupportedFeaturesRequest) bool
func (*GetSupportedFeaturesRequest) MarshalJSON ¶
func (x *GetSupportedFeaturesRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetSupportedFeaturesRequest to JSON.
func (*GetSupportedFeaturesRequest) MarshalProtoJSON ¶
func (x *GetSupportedFeaturesRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetSupportedFeaturesRequest message to JSON.
func (*GetSupportedFeaturesRequest) MarshalProtoText ¶
func (x *GetSupportedFeaturesRequest) MarshalProtoText() string
func (*GetSupportedFeaturesRequest) MarshalToSizedBufferVT ¶
func (m *GetSupportedFeaturesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSupportedFeaturesRequest) MarshalToVT ¶
func (m *GetSupportedFeaturesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetSupportedFeaturesRequest) MarshalVT ¶
func (m *GetSupportedFeaturesRequest) MarshalVT() (dAtA []byte, err error)
func (*GetSupportedFeaturesRequest) ProtoMessage ¶
func (*GetSupportedFeaturesRequest) ProtoMessage()
func (*GetSupportedFeaturesRequest) Reset ¶
func (x *GetSupportedFeaturesRequest) Reset()
func (*GetSupportedFeaturesRequest) SizeVT ¶
func (m *GetSupportedFeaturesRequest) SizeVT() (n int)
func (*GetSupportedFeaturesRequest) String ¶
func (x *GetSupportedFeaturesRequest) String() string
func (*GetSupportedFeaturesRequest) UnmarshalJSON ¶
func (x *GetSupportedFeaturesRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetSupportedFeaturesRequest from JSON.
func (*GetSupportedFeaturesRequest) UnmarshalProtoJSON ¶
func (x *GetSupportedFeaturesRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetSupportedFeaturesRequest message from JSON.
func (*GetSupportedFeaturesRequest) UnmarshalVT ¶
func (m *GetSupportedFeaturesRequest) UnmarshalVT(dAtA []byte) error
type GetSupportedFeaturesResponse ¶
type GetSupportedFeaturesResponse struct {
// Features is the native feature bitmask.
Features block.StoreFeature `protobuf:"varint,1,opt,name=features,proto3" json:"features,omitempty"`
// contains filtered or unexported fields
}
GetSupportedFeaturesResponse is the response to requesting native features.
func (*GetSupportedFeaturesResponse) CloneMessageVT ¶
func (m *GetSupportedFeaturesResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetSupportedFeaturesResponse) CloneVT ¶
func (m *GetSupportedFeaturesResponse) CloneVT() *GetSupportedFeaturesResponse
func (*GetSupportedFeaturesResponse) EqualMessageVT ¶
func (this *GetSupportedFeaturesResponse) EqualMessageVT(thatMsg any) bool
func (*GetSupportedFeaturesResponse) EqualVT ¶
func (this *GetSupportedFeaturesResponse) EqualVT(that *GetSupportedFeaturesResponse) bool
func (*GetSupportedFeaturesResponse) GetFeatures ¶
func (x *GetSupportedFeaturesResponse) GetFeatures() block.StoreFeature
func (*GetSupportedFeaturesResponse) MarshalJSON ¶
func (x *GetSupportedFeaturesResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetSupportedFeaturesResponse to JSON.
func (*GetSupportedFeaturesResponse) MarshalProtoJSON ¶
func (x *GetSupportedFeaturesResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetSupportedFeaturesResponse message to JSON.
func (*GetSupportedFeaturesResponse) MarshalProtoText ¶
func (x *GetSupportedFeaturesResponse) MarshalProtoText() string
func (*GetSupportedFeaturesResponse) MarshalToSizedBufferVT ¶
func (m *GetSupportedFeaturesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSupportedFeaturesResponse) MarshalToVT ¶
func (m *GetSupportedFeaturesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetSupportedFeaturesResponse) MarshalVT ¶
func (m *GetSupportedFeaturesResponse) MarshalVT() (dAtA []byte, err error)
func (*GetSupportedFeaturesResponse) ProtoMessage ¶
func (*GetSupportedFeaturesResponse) ProtoMessage()
func (*GetSupportedFeaturesResponse) Reset ¶
func (x *GetSupportedFeaturesResponse) Reset()
func (*GetSupportedFeaturesResponse) SizeVT ¶
func (m *GetSupportedFeaturesResponse) SizeVT() (n int)
func (*GetSupportedFeaturesResponse) String ¶
func (x *GetSupportedFeaturesResponse) String() string
func (*GetSupportedFeaturesResponse) UnmarshalJSON ¶
func (x *GetSupportedFeaturesResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetSupportedFeaturesResponse from JSON.
func (*GetSupportedFeaturesResponse) UnmarshalProtoJSON ¶
func (x *GetSupportedFeaturesResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetSupportedFeaturesResponse message from JSON.
func (*GetSupportedFeaturesResponse) UnmarshalVT ¶
func (m *GetSupportedFeaturesResponse) UnmarshalVT(dAtA []byte) error
type PutBlockBackgroundRequest ¶
type PutBlockBackgroundRequest struct {
// Data is the data to put into the store.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// PutOpts are any options when putting the block into the store.
PutOpts *block.PutOpts `protobuf:"bytes,2,opt,name=put_opts,json=putOpts,proto3" json:"putOpts,omitempty"`
// contains filtered or unexported fields
}
PutBlockBackgroundRequest requests to put a block in the background.
func (*PutBlockBackgroundRequest) CloneMessageVT ¶
func (m *PutBlockBackgroundRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PutBlockBackgroundRequest) CloneVT ¶
func (m *PutBlockBackgroundRequest) CloneVT() *PutBlockBackgroundRequest
func (*PutBlockBackgroundRequest) EqualMessageVT ¶
func (this *PutBlockBackgroundRequest) EqualMessageVT(thatMsg any) bool
func (*PutBlockBackgroundRequest) EqualVT ¶
func (this *PutBlockBackgroundRequest) EqualVT(that *PutBlockBackgroundRequest) bool
func (*PutBlockBackgroundRequest) GetData ¶
func (x *PutBlockBackgroundRequest) GetData() []byte
func (*PutBlockBackgroundRequest) GetPutOpts ¶
func (x *PutBlockBackgroundRequest) GetPutOpts() *block.PutOpts
func (*PutBlockBackgroundRequest) MarshalJSON ¶
func (x *PutBlockBackgroundRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PutBlockBackgroundRequest to JSON.
func (*PutBlockBackgroundRequest) MarshalProtoJSON ¶
func (x *PutBlockBackgroundRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PutBlockBackgroundRequest message to JSON.
func (*PutBlockBackgroundRequest) MarshalProtoText ¶
func (x *PutBlockBackgroundRequest) MarshalProtoText() string
func (*PutBlockBackgroundRequest) MarshalToSizedBufferVT ¶
func (m *PutBlockBackgroundRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PutBlockBackgroundRequest) MarshalToVT ¶
func (m *PutBlockBackgroundRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PutBlockBackgroundRequest) MarshalVT ¶
func (m *PutBlockBackgroundRequest) MarshalVT() (dAtA []byte, err error)
func (*PutBlockBackgroundRequest) ProtoMessage ¶
func (*PutBlockBackgroundRequest) ProtoMessage()
func (*PutBlockBackgroundRequest) Reset ¶
func (x *PutBlockBackgroundRequest) Reset()
func (*PutBlockBackgroundRequest) SizeVT ¶
func (m *PutBlockBackgroundRequest) SizeVT() (n int)
func (*PutBlockBackgroundRequest) String ¶
func (x *PutBlockBackgroundRequest) String() string
func (*PutBlockBackgroundRequest) UnmarshalJSON ¶
func (x *PutBlockBackgroundRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PutBlockBackgroundRequest from JSON.
func (*PutBlockBackgroundRequest) UnmarshalProtoJSON ¶
func (x *PutBlockBackgroundRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PutBlockBackgroundRequest message from JSON.
func (*PutBlockBackgroundRequest) UnmarshalVT ¶
func (m *PutBlockBackgroundRequest) UnmarshalVT(dAtA []byte) error
type PutBlockBackgroundResponse ¶
type PutBlockBackgroundResponse struct {
// Ref is the reference of the added block.
Ref *block.BlockRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
// Existed indicates the block already existed.
Existed bool `protobuf:"varint,2,opt,name=existed,proto3" json:"existed,omitempty"`
// Error is any error adding the block to the store.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
PutBlockBackgroundResponse is the response to a background put.
func (*PutBlockBackgroundResponse) CloneMessageVT ¶
func (m *PutBlockBackgroundResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PutBlockBackgroundResponse) CloneVT ¶
func (m *PutBlockBackgroundResponse) CloneVT() *PutBlockBackgroundResponse
func (*PutBlockBackgroundResponse) EqualMessageVT ¶
func (this *PutBlockBackgroundResponse) EqualMessageVT(thatMsg any) bool
func (*PutBlockBackgroundResponse) EqualVT ¶
func (this *PutBlockBackgroundResponse) EqualVT(that *PutBlockBackgroundResponse) bool
func (*PutBlockBackgroundResponse) GetError ¶
func (x *PutBlockBackgroundResponse) GetError() string
func (*PutBlockBackgroundResponse) GetExisted ¶
func (x *PutBlockBackgroundResponse) GetExisted() bool
func (*PutBlockBackgroundResponse) GetRef ¶
func (x *PutBlockBackgroundResponse) GetRef() *block.BlockRef
func (*PutBlockBackgroundResponse) MarshalJSON ¶
func (x *PutBlockBackgroundResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PutBlockBackgroundResponse to JSON.
func (*PutBlockBackgroundResponse) MarshalProtoJSON ¶
func (x *PutBlockBackgroundResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PutBlockBackgroundResponse message to JSON.
func (*PutBlockBackgroundResponse) MarshalProtoText ¶
func (x *PutBlockBackgroundResponse) MarshalProtoText() string
func (*PutBlockBackgroundResponse) MarshalToSizedBufferVT ¶
func (m *PutBlockBackgroundResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PutBlockBackgroundResponse) MarshalToVT ¶
func (m *PutBlockBackgroundResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PutBlockBackgroundResponse) MarshalVT ¶
func (m *PutBlockBackgroundResponse) MarshalVT() (dAtA []byte, err error)
func (*PutBlockBackgroundResponse) ProtoMessage ¶
func (*PutBlockBackgroundResponse) ProtoMessage()
func (*PutBlockBackgroundResponse) Reset ¶
func (x *PutBlockBackgroundResponse) Reset()
func (*PutBlockBackgroundResponse) SizeVT ¶
func (m *PutBlockBackgroundResponse) SizeVT() (n int)
func (*PutBlockBackgroundResponse) String ¶
func (x *PutBlockBackgroundResponse) String() string
func (*PutBlockBackgroundResponse) UnmarshalJSON ¶
func (x *PutBlockBackgroundResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PutBlockBackgroundResponse from JSON.
func (*PutBlockBackgroundResponse) UnmarshalProtoJSON ¶
func (x *PutBlockBackgroundResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PutBlockBackgroundResponse message from JSON.
func (*PutBlockBackgroundResponse) UnmarshalVT ¶
func (m *PutBlockBackgroundResponse) UnmarshalVT(dAtA []byte) error
type PutBlockBatchEntry ¶
type PutBlockBatchEntry struct {
// Ref is the expected content-addressed block reference.
Ref *block.BlockRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
// Data is the encoded block payload.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// Refs are outgoing refs for GC bookkeeping.
Refs []*block.BlockRef `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"`
// Tombstone marks the block ref as deleted.
Tombstone bool `protobuf:"varint,4,opt,name=tombstone,proto3" json:"tombstone,omitempty"`
// contains filtered or unexported fields
}
PutBlockBatchEntry is one block write in a batch request.
func (*PutBlockBatchEntry) CloneMessageVT ¶
func (m *PutBlockBatchEntry) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PutBlockBatchEntry) CloneVT ¶
func (m *PutBlockBatchEntry) CloneVT() *PutBlockBatchEntry
func (*PutBlockBatchEntry) EqualMessageVT ¶
func (this *PutBlockBatchEntry) EqualMessageVT(thatMsg any) bool
func (*PutBlockBatchEntry) EqualVT ¶
func (this *PutBlockBatchEntry) EqualVT(that *PutBlockBatchEntry) bool
func (*PutBlockBatchEntry) GetData ¶
func (x *PutBlockBatchEntry) GetData() []byte
func (*PutBlockBatchEntry) GetRef ¶
func (x *PutBlockBatchEntry) GetRef() *block.BlockRef
func (*PutBlockBatchEntry) GetRefs ¶
func (x *PutBlockBatchEntry) GetRefs() []*block.BlockRef
func (*PutBlockBatchEntry) GetTombstone ¶
func (x *PutBlockBatchEntry) GetTombstone() bool
func (*PutBlockBatchEntry) MarshalJSON ¶
func (x *PutBlockBatchEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PutBlockBatchEntry to JSON.
func (*PutBlockBatchEntry) MarshalProtoJSON ¶
func (x *PutBlockBatchEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PutBlockBatchEntry message to JSON.
func (*PutBlockBatchEntry) MarshalProtoText ¶
func (x *PutBlockBatchEntry) MarshalProtoText() string
func (*PutBlockBatchEntry) MarshalToSizedBufferVT ¶
func (m *PutBlockBatchEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PutBlockBatchEntry) MarshalToVT ¶
func (m *PutBlockBatchEntry) MarshalToVT(dAtA []byte) (int, error)
func (*PutBlockBatchEntry) MarshalVT ¶
func (m *PutBlockBatchEntry) MarshalVT() (dAtA []byte, err error)
func (*PutBlockBatchEntry) ProtoMessage ¶
func (*PutBlockBatchEntry) ProtoMessage()
func (*PutBlockBatchEntry) Reset ¶
func (x *PutBlockBatchEntry) Reset()
func (*PutBlockBatchEntry) SizeVT ¶
func (m *PutBlockBatchEntry) SizeVT() (n int)
func (*PutBlockBatchEntry) String ¶
func (x *PutBlockBatchEntry) String() string
func (*PutBlockBatchEntry) UnmarshalJSON ¶
func (x *PutBlockBatchEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PutBlockBatchEntry from JSON.
func (*PutBlockBatchEntry) UnmarshalProtoJSON ¶
func (x *PutBlockBatchEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PutBlockBatchEntry message from JSON.
func (*PutBlockBatchEntry) UnmarshalVT ¶
func (m *PutBlockBatchEntry) UnmarshalVT(dAtA []byte) error
type PutBlockBatchRequest ¶
type PutBlockBatchRequest struct {
// Entries are the batch write entries.
Entries []*PutBlockBatchEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
// contains filtered or unexported fields
}
PutBlockBatchRequest requests to put blocks into the store as a batch.
func (*PutBlockBatchRequest) CloneMessageVT ¶
func (m *PutBlockBatchRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PutBlockBatchRequest) CloneVT ¶
func (m *PutBlockBatchRequest) CloneVT() *PutBlockBatchRequest
func (*PutBlockBatchRequest) EqualMessageVT ¶
func (this *PutBlockBatchRequest) EqualMessageVT(thatMsg any) bool
func (*PutBlockBatchRequest) EqualVT ¶
func (this *PutBlockBatchRequest) EqualVT(that *PutBlockBatchRequest) bool
func (*PutBlockBatchRequest) GetEntries ¶
func (x *PutBlockBatchRequest) GetEntries() []*PutBlockBatchEntry
func (*PutBlockBatchRequest) MarshalJSON ¶
func (x *PutBlockBatchRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PutBlockBatchRequest to JSON.
func (*PutBlockBatchRequest) MarshalProtoJSON ¶
func (x *PutBlockBatchRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PutBlockBatchRequest message to JSON.
func (*PutBlockBatchRequest) MarshalProtoText ¶
func (x *PutBlockBatchRequest) MarshalProtoText() string
func (*PutBlockBatchRequest) MarshalToSizedBufferVT ¶
func (m *PutBlockBatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PutBlockBatchRequest) MarshalToVT ¶
func (m *PutBlockBatchRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PutBlockBatchRequest) MarshalVT ¶
func (m *PutBlockBatchRequest) MarshalVT() (dAtA []byte, err error)
func (*PutBlockBatchRequest) ProtoMessage ¶
func (*PutBlockBatchRequest) ProtoMessage()
func (*PutBlockBatchRequest) Reset ¶
func (x *PutBlockBatchRequest) Reset()
func (*PutBlockBatchRequest) SizeVT ¶
func (m *PutBlockBatchRequest) SizeVT() (n int)
func (*PutBlockBatchRequest) String ¶
func (x *PutBlockBatchRequest) String() string
func (*PutBlockBatchRequest) UnmarshalJSON ¶
func (x *PutBlockBatchRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PutBlockBatchRequest from JSON.
func (*PutBlockBatchRequest) UnmarshalProtoJSON ¶
func (x *PutBlockBatchRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PutBlockBatchRequest message from JSON.
func (*PutBlockBatchRequest) UnmarshalVT ¶
func (m *PutBlockBatchRequest) UnmarshalVT(dAtA []byte) error
type PutBlockBatchResponse ¶
type PutBlockBatchResponse struct {
// Error is any error adding blocks to the store.
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
PutBlockBatchResponse is the response to putting blocks as a batch.
func (*PutBlockBatchResponse) CloneMessageVT ¶
func (m *PutBlockBatchResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PutBlockBatchResponse) CloneVT ¶
func (m *PutBlockBatchResponse) CloneVT() *PutBlockBatchResponse
func (*PutBlockBatchResponse) EqualMessageVT ¶
func (this *PutBlockBatchResponse) EqualMessageVT(thatMsg any) bool
func (*PutBlockBatchResponse) EqualVT ¶
func (this *PutBlockBatchResponse) EqualVT(that *PutBlockBatchResponse) bool
func (*PutBlockBatchResponse) GetError ¶
func (x *PutBlockBatchResponse) GetError() string
func (*PutBlockBatchResponse) MarshalJSON ¶
func (x *PutBlockBatchResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PutBlockBatchResponse to JSON.
func (*PutBlockBatchResponse) MarshalProtoJSON ¶
func (x *PutBlockBatchResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PutBlockBatchResponse message to JSON.
func (*PutBlockBatchResponse) MarshalProtoText ¶
func (x *PutBlockBatchResponse) MarshalProtoText() string
func (*PutBlockBatchResponse) MarshalToSizedBufferVT ¶
func (m *PutBlockBatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PutBlockBatchResponse) MarshalToVT ¶
func (m *PutBlockBatchResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PutBlockBatchResponse) MarshalVT ¶
func (m *PutBlockBatchResponse) MarshalVT() (dAtA []byte, err error)
func (*PutBlockBatchResponse) ProtoMessage ¶
func (*PutBlockBatchResponse) ProtoMessage()
func (*PutBlockBatchResponse) Reset ¶
func (x *PutBlockBatchResponse) Reset()
func (*PutBlockBatchResponse) SizeVT ¶
func (m *PutBlockBatchResponse) SizeVT() (n int)
func (*PutBlockBatchResponse) String ¶
func (x *PutBlockBatchResponse) String() string
func (*PutBlockBatchResponse) UnmarshalJSON ¶
func (x *PutBlockBatchResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PutBlockBatchResponse from JSON.
func (*PutBlockBatchResponse) UnmarshalProtoJSON ¶
func (x *PutBlockBatchResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PutBlockBatchResponse message from JSON.
func (*PutBlockBatchResponse) UnmarshalVT ¶
func (m *PutBlockBatchResponse) UnmarshalVT(dAtA []byte) error
type PutBlockRequest ¶
type PutBlockRequest struct {
// Data is the data to put into the store.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// PutOpts are any options when putting the block into the store.
PutOpts *block.PutOpts `protobuf:"bytes,2,opt,name=put_opts,json=putOpts,proto3" json:"putOpts,omitempty"`
// contains filtered or unexported fields
}
PutBlockRequest requests to put a block into the store.
func (*PutBlockRequest) CloneMessageVT ¶
func (m *PutBlockRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PutBlockRequest) CloneVT ¶
func (m *PutBlockRequest) CloneVT() *PutBlockRequest
func (*PutBlockRequest) EqualMessageVT ¶
func (this *PutBlockRequest) EqualMessageVT(thatMsg any) bool
func (*PutBlockRequest) EqualVT ¶
func (this *PutBlockRequest) EqualVT(that *PutBlockRequest) bool
func (*PutBlockRequest) GetData ¶
func (x *PutBlockRequest) GetData() []byte
func (*PutBlockRequest) GetPutOpts ¶
func (x *PutBlockRequest) GetPutOpts() *block.PutOpts
func (*PutBlockRequest) MarshalJSON ¶
func (x *PutBlockRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PutBlockRequest to JSON.
func (*PutBlockRequest) MarshalProtoJSON ¶
func (x *PutBlockRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PutBlockRequest message to JSON.
func (*PutBlockRequest) MarshalProtoText ¶
func (x *PutBlockRequest) MarshalProtoText() string
func (*PutBlockRequest) MarshalToSizedBufferVT ¶
func (m *PutBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PutBlockRequest) MarshalToVT ¶
func (m *PutBlockRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PutBlockRequest) MarshalVT ¶
func (m *PutBlockRequest) MarshalVT() (dAtA []byte, err error)
func (*PutBlockRequest) ProtoMessage ¶
func (*PutBlockRequest) ProtoMessage()
func (*PutBlockRequest) Reset ¶
func (x *PutBlockRequest) Reset()
func (*PutBlockRequest) SizeVT ¶
func (m *PutBlockRequest) SizeVT() (n int)
func (*PutBlockRequest) String ¶
func (x *PutBlockRequest) String() string
func (*PutBlockRequest) UnmarshalJSON ¶
func (x *PutBlockRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PutBlockRequest from JSON.
func (*PutBlockRequest) UnmarshalProtoJSON ¶
func (x *PutBlockRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PutBlockRequest message from JSON.
func (*PutBlockRequest) UnmarshalVT ¶
func (m *PutBlockRequest) UnmarshalVT(dAtA []byte) error
type PutBlockResponse ¶
type PutBlockResponse struct {
// Ref is the reference of the added block.
Ref *block.BlockRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
// Existed indicates the block already existed.
Existed bool `protobuf:"varint,2,opt,name=existed,proto3" json:"existed,omitempty"`
// Error is any error adding the block to the store.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
PutBlockResponse is the response to putting a block in the store.
func (*PutBlockResponse) CloneMessageVT ¶
func (m *PutBlockResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PutBlockResponse) CloneVT ¶
func (m *PutBlockResponse) CloneVT() *PutBlockResponse
func (*PutBlockResponse) EqualMessageVT ¶
func (this *PutBlockResponse) EqualMessageVT(thatMsg any) bool
func (*PutBlockResponse) EqualVT ¶
func (this *PutBlockResponse) EqualVT(that *PutBlockResponse) bool
func (*PutBlockResponse) GetError ¶
func (x *PutBlockResponse) GetError() string
func (*PutBlockResponse) GetExisted ¶
func (x *PutBlockResponse) GetExisted() bool
func (*PutBlockResponse) GetRef ¶
func (x *PutBlockResponse) GetRef() *block.BlockRef
func (*PutBlockResponse) MarshalJSON ¶
func (x *PutBlockResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PutBlockResponse to JSON.
func (*PutBlockResponse) MarshalProtoJSON ¶
func (x *PutBlockResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PutBlockResponse message to JSON.
func (*PutBlockResponse) MarshalProtoText ¶
func (x *PutBlockResponse) MarshalProtoText() string
func (*PutBlockResponse) MarshalToSizedBufferVT ¶
func (m *PutBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PutBlockResponse) MarshalToVT ¶
func (m *PutBlockResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PutBlockResponse) MarshalVT ¶
func (m *PutBlockResponse) MarshalVT() (dAtA []byte, err error)
func (*PutBlockResponse) ProtoMessage ¶
func (*PutBlockResponse) ProtoMessage()
func (*PutBlockResponse) Reset ¶
func (x *PutBlockResponse) Reset()
func (*PutBlockResponse) SizeVT ¶
func (m *PutBlockResponse) SizeVT() (n int)
func (*PutBlockResponse) String ¶
func (x *PutBlockResponse) String() string
func (*PutBlockResponse) UnmarshalJSON ¶
func (x *PutBlockResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PutBlockResponse from JSON.
func (*PutBlockResponse) UnmarshalProtoJSON ¶
func (x *PutBlockResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PutBlockResponse message from JSON.
func (*PutBlockResponse) UnmarshalVT ¶
func (m *PutBlockResponse) UnmarshalVT(dAtA []byte) error
type RmBlockRequest ¶
type RmBlockRequest struct {
// Ref is the reference to the block to remove.
Ref *block.BlockRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
// contains filtered or unexported fields
}
RmBlockRequest requests to remove a block from the store.
func (*RmBlockRequest) CloneMessageVT ¶
func (m *RmBlockRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RmBlockRequest) CloneVT ¶
func (m *RmBlockRequest) CloneVT() *RmBlockRequest
func (*RmBlockRequest) EqualMessageVT ¶
func (this *RmBlockRequest) EqualMessageVT(thatMsg any) bool
func (*RmBlockRequest) EqualVT ¶
func (this *RmBlockRequest) EqualVT(that *RmBlockRequest) bool
func (*RmBlockRequest) GetRef ¶
func (x *RmBlockRequest) GetRef() *block.BlockRef
func (*RmBlockRequest) MarshalJSON ¶
func (x *RmBlockRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RmBlockRequest to JSON.
func (*RmBlockRequest) MarshalProtoJSON ¶
func (x *RmBlockRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RmBlockRequest message to JSON.
func (*RmBlockRequest) MarshalProtoText ¶
func (x *RmBlockRequest) MarshalProtoText() string
func (*RmBlockRequest) MarshalToSizedBufferVT ¶
func (m *RmBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RmBlockRequest) MarshalToVT ¶
func (m *RmBlockRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RmBlockRequest) MarshalVT ¶
func (m *RmBlockRequest) MarshalVT() (dAtA []byte, err error)
func (*RmBlockRequest) ProtoMessage ¶
func (*RmBlockRequest) ProtoMessage()
func (*RmBlockRequest) Reset ¶
func (x *RmBlockRequest) Reset()
func (*RmBlockRequest) SizeVT ¶
func (m *RmBlockRequest) SizeVT() (n int)
func (*RmBlockRequest) String ¶
func (x *RmBlockRequest) String() string
func (*RmBlockRequest) UnmarshalJSON ¶
func (x *RmBlockRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RmBlockRequest from JSON.
func (*RmBlockRequest) UnmarshalProtoJSON ¶
func (x *RmBlockRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RmBlockRequest message from JSON.
func (*RmBlockRequest) UnmarshalVT ¶
func (m *RmBlockRequest) UnmarshalVT(dAtA []byte) error
type RmBlockResponse ¶
type RmBlockResponse struct {
// Error is any error removing the block in the store.
// Will be empty if the block did not exist.
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
RmBlockResponse is the response to removing a block from the store.
func (*RmBlockResponse) CloneMessageVT ¶
func (m *RmBlockResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RmBlockResponse) CloneVT ¶
func (m *RmBlockResponse) CloneVT() *RmBlockResponse
func (*RmBlockResponse) EqualMessageVT ¶
func (this *RmBlockResponse) EqualMessageVT(thatMsg any) bool
func (*RmBlockResponse) EqualVT ¶
func (this *RmBlockResponse) EqualVT(that *RmBlockResponse) bool
func (*RmBlockResponse) GetError ¶
func (x *RmBlockResponse) GetError() string
func (*RmBlockResponse) MarshalJSON ¶
func (x *RmBlockResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RmBlockResponse to JSON.
func (*RmBlockResponse) MarshalProtoJSON ¶
func (x *RmBlockResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RmBlockResponse message to JSON.
func (*RmBlockResponse) MarshalProtoText ¶
func (x *RmBlockResponse) MarshalProtoText() string
func (*RmBlockResponse) MarshalToSizedBufferVT ¶
func (m *RmBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RmBlockResponse) MarshalToVT ¶
func (m *RmBlockResponse) MarshalToVT(dAtA []byte) (int, error)
func (*RmBlockResponse) MarshalVT ¶
func (m *RmBlockResponse) MarshalVT() (dAtA []byte, err error)
func (*RmBlockResponse) ProtoMessage ¶
func (*RmBlockResponse) ProtoMessage()
func (*RmBlockResponse) Reset ¶
func (x *RmBlockResponse) Reset()
func (*RmBlockResponse) SizeVT ¶
func (m *RmBlockResponse) SizeVT() (n int)
func (*RmBlockResponse) String ¶
func (x *RmBlockResponse) String() string
func (*RmBlockResponse) UnmarshalJSON ¶
func (x *RmBlockResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RmBlockResponse from JSON.
func (*RmBlockResponse) UnmarshalProtoJSON ¶
func (x *RmBlockResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RmBlockResponse message from JSON.
func (*RmBlockResponse) UnmarshalVT ¶
func (m *RmBlockResponse) UnmarshalVT(dAtA []byte) error
type SRPCBlockStoreClient ¶
type SRPCBlockStoreClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
// GetHashType requests the preferred hash type for the store.
GetHashType(ctx context.Context, in *GetHashTypeRequest) (*GetHashTypeResponse, error)
// GetSupportedFeatures requests the native feature bitmask for the store.
GetSupportedFeatures(ctx context.Context, in *GetSupportedFeaturesRequest) (*GetSupportedFeaturesResponse, error)
// PutBlock requests to put a block into the store.
PutBlock(ctx context.Context, in *PutBlockRequest) (*PutBlockResponse, error)
// PutBlockBatch requests to put blocks into the store as a batch.
PutBlockBatch(ctx context.Context, in *PutBlockBatchRequest) (*PutBlockBatchResponse, error)
// PutBlockBackground requests to put a block in the background.
PutBlockBackground(ctx context.Context, in *PutBlockBackgroundRequest) (*PutBlockBackgroundResponse, error)
// GetBlock requests to lookup a block from the store.
GetBlock(ctx context.Context, in *GetBlockRequest) (*GetBlockResponse, error)
// GetBlockExists requests to check if a block exists in the store.
GetBlockExists(ctx context.Context, in *GetBlockExistsRequest) (*GetBlockExistsResponse, error)
// GetBlockExistsBatch requests to check if blocks exist in the store.
GetBlockExistsBatch(ctx context.Context, in *GetBlockExistsBatchRequest) (*GetBlockExistsBatchResponse, error)
// RmBlock requests to remove a block from the store.
// Does not return an error if the block was not present.
// In some cases, will return before confirming delete.
RmBlock(ctx context.Context, in *RmBlockRequest) (*RmBlockResponse, error)
// StatBlock requests block metadata without reading block data.
StatBlock(ctx context.Context, in *StatBlockRequest) (*StatBlockResponse, error)
// Flush requests that buffered writes are published.
Flush(ctx context.Context, in *FlushRequest) (*FlushResponse, error)
// BeginDeferFlush opens a defer-flush scope.
BeginDeferFlush(ctx context.Context, in *BeginDeferFlushRequest) (*BeginDeferFlushResponse, error)
// EndDeferFlush closes a defer-flush scope.
EndDeferFlush(ctx context.Context, in *EndDeferFlushRequest) (*EndDeferFlushResponse, error)
}
func NewSRPCBlockStoreClient ¶
func NewSRPCBlockStoreClient(cc srpc.Client) SRPCBlockStoreClient
func NewSRPCBlockStoreClientWithServiceID ¶
func NewSRPCBlockStoreClientWithServiceID(cc srpc.Client, serviceID string) SRPCBlockStoreClient
type SRPCBlockStoreHandler ¶
type SRPCBlockStoreHandler struct {
// contains filtered or unexported fields
}
func (SRPCBlockStoreHandler) GetMethodIDs ¶
func (SRPCBlockStoreHandler) GetMethodIDs() []string
func (*SRPCBlockStoreHandler) GetServiceID ¶
func (d *SRPCBlockStoreHandler) GetServiceID() string
func (*SRPCBlockStoreHandler) InvokeMethod ¶
func (SRPCBlockStoreHandler) InvokeMethod_BeginDeferFlush ¶
func (SRPCBlockStoreHandler) InvokeMethod_BeginDeferFlush(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_EndDeferFlush ¶
func (SRPCBlockStoreHandler) InvokeMethod_EndDeferFlush(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_Flush ¶
func (SRPCBlockStoreHandler) InvokeMethod_Flush(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_GetBlock ¶
func (SRPCBlockStoreHandler) InvokeMethod_GetBlock(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_GetBlockExists ¶
func (SRPCBlockStoreHandler) InvokeMethod_GetBlockExists(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_GetBlockExistsBatch ¶
func (SRPCBlockStoreHandler) InvokeMethod_GetBlockExistsBatch(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_GetHashType ¶
func (SRPCBlockStoreHandler) InvokeMethod_GetHashType(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_GetSupportedFeatures ¶
func (SRPCBlockStoreHandler) InvokeMethod_GetSupportedFeatures(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_PutBlock ¶
func (SRPCBlockStoreHandler) InvokeMethod_PutBlock(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_PutBlockBackground ¶
func (SRPCBlockStoreHandler) InvokeMethod_PutBlockBackground(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_PutBlockBatch ¶
func (SRPCBlockStoreHandler) InvokeMethod_PutBlockBatch(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_RmBlock ¶
func (SRPCBlockStoreHandler) InvokeMethod_RmBlock(impl SRPCBlockStoreServer, strm srpc.Stream) error
func (SRPCBlockStoreHandler) InvokeMethod_StatBlock ¶
func (SRPCBlockStoreHandler) InvokeMethod_StatBlock(impl SRPCBlockStoreServer, strm srpc.Stream) error
type SRPCBlockStoreServer ¶
type SRPCBlockStoreServer interface {
// GetHashType requests the preferred hash type for the store.
GetHashType(context.Context, *GetHashTypeRequest) (*GetHashTypeResponse, error)
// GetSupportedFeatures requests the native feature bitmask for the store.
GetSupportedFeatures(context.Context, *GetSupportedFeaturesRequest) (*GetSupportedFeaturesResponse, error)
// PutBlock requests to put a block into the store.
PutBlock(context.Context, *PutBlockRequest) (*PutBlockResponse, error)
// PutBlockBatch requests to put blocks into the store as a batch.
PutBlockBatch(context.Context, *PutBlockBatchRequest) (*PutBlockBatchResponse, error)
// PutBlockBackground requests to put a block in the background.
PutBlockBackground(context.Context, *PutBlockBackgroundRequest) (*PutBlockBackgroundResponse, error)
// GetBlock requests to lookup a block from the store.
GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
// GetBlockExists requests to check if a block exists in the store.
GetBlockExists(context.Context, *GetBlockExistsRequest) (*GetBlockExistsResponse, error)
// GetBlockExistsBatch requests to check if blocks exist in the store.
GetBlockExistsBatch(context.Context, *GetBlockExistsBatchRequest) (*GetBlockExistsBatchResponse, error)
// RmBlock requests to remove a block from the store.
// Does not return an error if the block was not present.
// In some cases, will return before confirming delete.
RmBlock(context.Context, *RmBlockRequest) (*RmBlockResponse, error)
// StatBlock requests block metadata without reading block data.
StatBlock(context.Context, *StatBlockRequest) (*StatBlockResponse, error)
// Flush requests that buffered writes are published.
Flush(context.Context, *FlushRequest) (*FlushResponse, error)
// BeginDeferFlush opens a defer-flush scope.
BeginDeferFlush(context.Context, *BeginDeferFlushRequest) (*BeginDeferFlushResponse, error)
// EndDeferFlush closes a defer-flush scope.
EndDeferFlush(context.Context, *EndDeferFlushRequest) (*EndDeferFlushResponse, error)
}
type StatBlockRequest ¶
type StatBlockRequest struct {
// Ref is the reference to the block to stat.
Ref *block.BlockRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
// contains filtered or unexported fields
}
StatBlockRequest requests metadata about a block.
func (*StatBlockRequest) CloneMessageVT ¶
func (m *StatBlockRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StatBlockRequest) CloneVT ¶
func (m *StatBlockRequest) CloneVT() *StatBlockRequest
func (*StatBlockRequest) EqualMessageVT ¶
func (this *StatBlockRequest) EqualMessageVT(thatMsg any) bool
func (*StatBlockRequest) EqualVT ¶
func (this *StatBlockRequest) EqualVT(that *StatBlockRequest) bool
func (*StatBlockRequest) GetRef ¶
func (x *StatBlockRequest) GetRef() *block.BlockRef
func (*StatBlockRequest) MarshalJSON ¶
func (x *StatBlockRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StatBlockRequest to JSON.
func (*StatBlockRequest) MarshalProtoJSON ¶
func (x *StatBlockRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StatBlockRequest message to JSON.
func (*StatBlockRequest) MarshalProtoText ¶
func (x *StatBlockRequest) MarshalProtoText() string
func (*StatBlockRequest) MarshalToSizedBufferVT ¶
func (m *StatBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StatBlockRequest) MarshalToVT ¶
func (m *StatBlockRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StatBlockRequest) MarshalVT ¶
func (m *StatBlockRequest) MarshalVT() (dAtA []byte, err error)
func (*StatBlockRequest) ProtoMessage ¶
func (*StatBlockRequest) ProtoMessage()
func (*StatBlockRequest) Reset ¶
func (x *StatBlockRequest) Reset()
func (*StatBlockRequest) SizeVT ¶
func (m *StatBlockRequest) SizeVT() (n int)
func (*StatBlockRequest) String ¶
func (x *StatBlockRequest) String() string
func (*StatBlockRequest) UnmarshalJSON ¶
func (x *StatBlockRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StatBlockRequest from JSON.
func (*StatBlockRequest) UnmarshalProtoJSON ¶
func (x *StatBlockRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StatBlockRequest message from JSON.
func (*StatBlockRequest) UnmarshalVT ¶
func (m *StatBlockRequest) UnmarshalVT(dAtA []byte) error
type StatBlockResponse ¶
type StatBlockResponse struct {
// Ref is the block reference.
Ref *block.BlockRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
// Size is the block data size in bytes, or -1 if unknown.
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// Exists indicates if the block exists.
Exists bool `protobuf:"varint,3,opt,name=exists,proto3" json:"exists,omitempty"`
// Error is any error statting the block.
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
StatBlockResponse is the response to statting a block.
func (*StatBlockResponse) CloneMessageVT ¶
func (m *StatBlockResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StatBlockResponse) CloneVT ¶
func (m *StatBlockResponse) CloneVT() *StatBlockResponse
func (*StatBlockResponse) EqualMessageVT ¶
func (this *StatBlockResponse) EqualMessageVT(thatMsg any) bool
func (*StatBlockResponse) EqualVT ¶
func (this *StatBlockResponse) EqualVT(that *StatBlockResponse) bool
func (*StatBlockResponse) GetError ¶
func (x *StatBlockResponse) GetError() string
func (*StatBlockResponse) GetExists ¶
func (x *StatBlockResponse) GetExists() bool
func (*StatBlockResponse) GetRef ¶
func (x *StatBlockResponse) GetRef() *block.BlockRef
func (*StatBlockResponse) GetSize ¶
func (x *StatBlockResponse) GetSize() int64
func (*StatBlockResponse) MarshalJSON ¶
func (x *StatBlockResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StatBlockResponse to JSON.
func (*StatBlockResponse) MarshalProtoJSON ¶
func (x *StatBlockResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StatBlockResponse message to JSON.
func (*StatBlockResponse) MarshalProtoText ¶
func (x *StatBlockResponse) MarshalProtoText() string
func (*StatBlockResponse) MarshalToSizedBufferVT ¶
func (m *StatBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StatBlockResponse) MarshalToVT ¶
func (m *StatBlockResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StatBlockResponse) MarshalVT ¶
func (m *StatBlockResponse) MarshalVT() (dAtA []byte, err error)
func (*StatBlockResponse) ProtoMessage ¶
func (*StatBlockResponse) ProtoMessage()
func (*StatBlockResponse) Reset ¶
func (x *StatBlockResponse) Reset()
func (*StatBlockResponse) SizeVT ¶
func (m *StatBlockResponse) SizeVT() (n int)
func (*StatBlockResponse) String ¶
func (x *StatBlockResponse) String() string
func (*StatBlockResponse) UnmarshalJSON ¶
func (x *StatBlockResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StatBlockResponse from JSON.
func (*StatBlockResponse) UnmarshalProtoJSON ¶
func (x *StatBlockResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StatBlockResponse message from JSON.
func (*StatBlockResponse) UnmarshalVT ¶
func (m *StatBlockResponse) UnmarshalVT(dAtA []byte) error