Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTreeServiceServer(s grpc.ServiceRegistrar, srv TreeServiceServer)
- type AddByPathRequest
- func (*AddByPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddByPathRequest) GetBody() *AddByPathRequest_Body
- func (x *AddByPathRequest) GetSignature() *Signature
- func (*AddByPathRequest) ProtoMessage()
- func (x *AddByPathRequest) ProtoReflect() protoreflect.Message
- func (x *AddByPathRequest) Reset()
- func (x *AddByPathRequest) String() string
- type AddByPathRequest_Body
- func (*AddByPathRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *AddByPathRequest_Body) GetBearerToken() []byte
- func (x *AddByPathRequest_Body) GetContainerId() []byte
- func (x *AddByPathRequest_Body) GetMeta() []*KeyValue
- func (x *AddByPathRequest_Body) GetPath() []string
- func (x *AddByPathRequest_Body) GetPathAttribute() string
- func (x *AddByPathRequest_Body) GetTreeId() string
- func (*AddByPathRequest_Body) ProtoMessage()
- func (x *AddByPathRequest_Body) ProtoReflect() protoreflect.Message
- func (x *AddByPathRequest_Body) Reset()
- func (x *AddByPathRequest_Body) String() string
- type AddByPathResponse
- func (*AddByPathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddByPathResponse) GetBody() *AddByPathResponse_Body
- func (x *AddByPathResponse) GetSignature() *Signature
- func (*AddByPathResponse) ProtoMessage()
- func (x *AddByPathResponse) ProtoReflect() protoreflect.Message
- func (x *AddByPathResponse) Reset()
- func (x *AddByPathResponse) String() string
- type AddByPathResponse_Body
- func (*AddByPathResponse_Body) Descriptor() ([]byte, []int)deprecated
- func (x *AddByPathResponse_Body) GetNodes() []uint64
- func (x *AddByPathResponse_Body) GetParentId() uint64
- func (*AddByPathResponse_Body) ProtoMessage()
- func (x *AddByPathResponse_Body) ProtoReflect() protoreflect.Message
- func (x *AddByPathResponse_Body) Reset()
- func (x *AddByPathResponse_Body) String() string
- type AddRequest
- func (*AddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRequest) GetBody() *AddRequest_Body
- func (x *AddRequest) GetSignature() *Signature
- func (*AddRequest) ProtoMessage()
- func (x *AddRequest) ProtoReflect() protoreflect.Message
- func (x *AddRequest) Reset()
- func (x *AddRequest) String() string
- type AddRequest_Body
- func (*AddRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *AddRequest_Body) GetBearerToken() []byte
- func (x *AddRequest_Body) GetContainerId() []byte
- func (x *AddRequest_Body) GetMeta() []*KeyValue
- func (x *AddRequest_Body) GetParentId() uint64
- func (x *AddRequest_Body) GetTreeId() string
- func (*AddRequest_Body) ProtoMessage()
- func (x *AddRequest_Body) ProtoReflect() protoreflect.Message
- func (x *AddRequest_Body) Reset()
- func (x *AddRequest_Body) String() string
- type AddResponse
- func (*AddResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddResponse) GetBody() *AddResponse_Body
- func (x *AddResponse) GetSignature() *Signature
- func (*AddResponse) ProtoMessage()
- func (x *AddResponse) ProtoReflect() protoreflect.Message
- func (x *AddResponse) Reset()
- func (x *AddResponse) String() string
- type AddResponse_Body
- type ApplyRequest
- func (*ApplyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyRequest) GetBody() *ApplyRequest_Body
- func (x *ApplyRequest) GetSignature() *Signature
- func (*ApplyRequest) ProtoMessage()
- func (x *ApplyRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyRequest) Reset()
- func (x *ApplyRequest) String() string
- type ApplyRequest_Body
- func (*ApplyRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyRequest_Body) GetContainerId() []byte
- func (x *ApplyRequest_Body) GetOperation() *LogMove
- func (x *ApplyRequest_Body) GetTreeId() string
- func (*ApplyRequest_Body) ProtoMessage()
- func (x *ApplyRequest_Body) ProtoReflect() protoreflect.Message
- func (x *ApplyRequest_Body) Reset()
- func (x *ApplyRequest_Body) String() string
- type ApplyResponse
- func (*ApplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyResponse) GetBody() *ApplyResponse_Body
- func (x *ApplyResponse) GetSignature() *Signature
- func (*ApplyResponse) ProtoMessage()
- func (x *ApplyResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyResponse) Reset()
- func (x *ApplyResponse) String() string
- type ApplyResponse_Body
- type GetNodeByPathRequest
- func (*GetNodeByPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeByPathRequest) GetBody() *GetNodeByPathRequest_Body
- func (x *GetNodeByPathRequest) GetSignature() *Signature
- func (*GetNodeByPathRequest) ProtoMessage()
- func (x *GetNodeByPathRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodeByPathRequest) Reset()
- func (x *GetNodeByPathRequest) String() string
- type GetNodeByPathRequest_Body
- func (*GetNodeByPathRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeByPathRequest_Body) GetAllAttributes() bool
- func (x *GetNodeByPathRequest_Body) GetAttributes() []string
- func (x *GetNodeByPathRequest_Body) GetBearerToken() []byte
- func (x *GetNodeByPathRequest_Body) GetContainerId() []byte
- func (x *GetNodeByPathRequest_Body) GetLatestOnly() bool
- func (x *GetNodeByPathRequest_Body) GetPath() []string
- func (x *GetNodeByPathRequest_Body) GetPathAttribute() string
- func (x *GetNodeByPathRequest_Body) GetTreeId() string
- func (*GetNodeByPathRequest_Body) ProtoMessage()
- func (x *GetNodeByPathRequest_Body) ProtoReflect() protoreflect.Message
- func (x *GetNodeByPathRequest_Body) Reset()
- func (x *GetNodeByPathRequest_Body) String() string
- type GetNodeByPathResponse
- func (*GetNodeByPathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeByPathResponse) GetBody() *GetNodeByPathResponse_Body
- func (x *GetNodeByPathResponse) GetSignature() *Signature
- func (*GetNodeByPathResponse) ProtoMessage()
- func (x *GetNodeByPathResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodeByPathResponse) Reset()
- func (x *GetNodeByPathResponse) String() string
- type GetNodeByPathResponse_Body
- func (*GetNodeByPathResponse_Body) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeByPathResponse_Body) GetNodes() []*GetNodeByPathResponse_Info
- func (*GetNodeByPathResponse_Body) ProtoMessage()
- func (x *GetNodeByPathResponse_Body) ProtoReflect() protoreflect.Message
- func (x *GetNodeByPathResponse_Body) Reset()
- func (x *GetNodeByPathResponse_Body) String() string
- type GetNodeByPathResponse_Info
- func (*GetNodeByPathResponse_Info) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeByPathResponse_Info) GetMeta() []*KeyValue
- func (x *GetNodeByPathResponse_Info) GetNodeId() uint64
- func (x *GetNodeByPathResponse_Info) GetParentId() uint64
- func (x *GetNodeByPathResponse_Info) GetTimestamp() uint64
- func (*GetNodeByPathResponse_Info) ProtoMessage()
- func (x *GetNodeByPathResponse_Info) ProtoReflect() protoreflect.Message
- func (x *GetNodeByPathResponse_Info) Reset()
- func (x *GetNodeByPathResponse_Info) String() string
- type GetOpLogRequest
- func (*GetOpLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOpLogRequest) GetBody() *GetOpLogRequest_Body
- func (x *GetOpLogRequest) GetSignature() *Signature
- func (*GetOpLogRequest) ProtoMessage()
- func (x *GetOpLogRequest) ProtoReflect() protoreflect.Message
- func (x *GetOpLogRequest) Reset()
- func (x *GetOpLogRequest) String() string
- type GetOpLogRequest_Body
- func (*GetOpLogRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *GetOpLogRequest_Body) GetContainerId() []byte
- func (x *GetOpLogRequest_Body) GetCount() uint64
- func (x *GetOpLogRequest_Body) GetHeight() uint64
- func (x *GetOpLogRequest_Body) GetTreeId() string
- func (*GetOpLogRequest_Body) ProtoMessage()
- func (x *GetOpLogRequest_Body) ProtoReflect() protoreflect.Message
- func (x *GetOpLogRequest_Body) Reset()
- func (x *GetOpLogRequest_Body) String() string
- type GetOpLogResponse
- func (*GetOpLogResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOpLogResponse) GetBody() *GetOpLogResponse_Body
- func (x *GetOpLogResponse) GetSignature() *Signature
- func (*GetOpLogResponse) ProtoMessage()
- func (x *GetOpLogResponse) ProtoReflect() protoreflect.Message
- func (x *GetOpLogResponse) Reset()
- func (x *GetOpLogResponse) String() string
- type GetOpLogResponse_Body
- func (*GetOpLogResponse_Body) Descriptor() ([]byte, []int)deprecated
- func (x *GetOpLogResponse_Body) GetOperation() *LogMove
- func (*GetOpLogResponse_Body) ProtoMessage()
- func (x *GetOpLogResponse_Body) ProtoReflect() protoreflect.Message
- func (x *GetOpLogResponse_Body) Reset()
- func (x *GetOpLogResponse_Body) String() string
- type GetSubTreeRequest
- func (*GetSubTreeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubTreeRequest) GetBody() *GetSubTreeRequest_Body
- func (x *GetSubTreeRequest) GetSignature() *Signature
- func (*GetSubTreeRequest) ProtoMessage()
- func (x *GetSubTreeRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubTreeRequest) Reset()
- func (x *GetSubTreeRequest) String() string
- type GetSubTreeRequest_Body
- func (*GetSubTreeRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubTreeRequest_Body) GetBearerToken() []byte
- func (x *GetSubTreeRequest_Body) GetContainerId() []byte
- func (x *GetSubTreeRequest_Body) GetDepth() uint32
- func (x *GetSubTreeRequest_Body) GetOrderBy() *GetSubTreeRequest_Body_Order
- func (x *GetSubTreeRequest_Body) GetRootId() uint64
- func (x *GetSubTreeRequest_Body) GetTreeId() string
- func (*GetSubTreeRequest_Body) ProtoMessage()
- func (x *GetSubTreeRequest_Body) ProtoReflect() protoreflect.Message
- func (x *GetSubTreeRequest_Body) Reset()
- func (x *GetSubTreeRequest_Body) String() string
- type GetSubTreeRequest_Body_Order
- func (*GetSubTreeRequest_Body_Order) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubTreeRequest_Body_Order) GetDirection() GetSubTreeRequest_Body_Order_Direction
- func (*GetSubTreeRequest_Body_Order) ProtoMessage()
- func (x *GetSubTreeRequest_Body_Order) ProtoReflect() protoreflect.Message
- func (x *GetSubTreeRequest_Body_Order) Reset()
- func (x *GetSubTreeRequest_Body_Order) String() string
- type GetSubTreeRequest_Body_Order_Direction
- func (GetSubTreeRequest_Body_Order_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x GetSubTreeRequest_Body_Order_Direction) Enum() *GetSubTreeRequest_Body_Order_Direction
- func (GetSubTreeRequest_Body_Order_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetSubTreeRequest_Body_Order_Direction) Number() protoreflect.EnumNumber
- func (x GetSubTreeRequest_Body_Order_Direction) String() string
- func (GetSubTreeRequest_Body_Order_Direction) Type() protoreflect.EnumType
- type GetSubTreeResponse
- func (*GetSubTreeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubTreeResponse) GetBody() *GetSubTreeResponse_Body
- func (x *GetSubTreeResponse) GetSignature() *Signature
- func (*GetSubTreeResponse) ProtoMessage()
- func (x *GetSubTreeResponse) ProtoReflect() protoreflect.Message
- func (x *GetSubTreeResponse) Reset()
- func (x *GetSubTreeResponse) String() string
- type GetSubTreeResponse_Body
- func (*GetSubTreeResponse_Body) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubTreeResponse_Body) GetMeta() []*KeyValue
- func (x *GetSubTreeResponse_Body) GetNodeId() uint64
- func (x *GetSubTreeResponse_Body) GetParentId() uint64
- func (x *GetSubTreeResponse_Body) GetTimestamp() uint64
- func (*GetSubTreeResponse_Body) ProtoMessage()
- func (x *GetSubTreeResponse_Body) ProtoReflect() protoreflect.Message
- func (x *GetSubTreeResponse_Body) Reset()
- func (x *GetSubTreeResponse_Body) String() string
- type HealthcheckRequest
- func (*HealthcheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HealthcheckRequest) GetBody() *HealthcheckRequest_Body
- func (x *HealthcheckRequest) GetSignature() *Signature
- func (*HealthcheckRequest) ProtoMessage()
- func (x *HealthcheckRequest) ProtoReflect() protoreflect.Message
- func (x *HealthcheckRequest) Reset()
- func (x *HealthcheckRequest) String() string
- type HealthcheckRequest_Body
- type HealthcheckResponse
- func (*HealthcheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthcheckResponse) GetBody() *HealthcheckResponse_Body
- func (x *HealthcheckResponse) GetSignature() *Signature
- func (*HealthcheckResponse) ProtoMessage()
- func (x *HealthcheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthcheckResponse) Reset()
- func (x *HealthcheckResponse) String() string
- type HealthcheckResponse_Body
- type KeyValue
- type LogMove
- func (*LogMove) Descriptor() ([]byte, []int)deprecated
- func (x *LogMove) GetChildId() uint64
- func (x *LogMove) GetMeta() []byte
- func (x *LogMove) GetParentId() uint64
- func (*LogMove) ProtoMessage()
- func (x *LogMove) ProtoReflect() protoreflect.Message
- func (x *LogMove) Reset()
- func (x *LogMove) String() string
- type MoveRequest
- func (*MoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveRequest) GetBody() *MoveRequest_Body
- func (x *MoveRequest) GetSignature() *Signature
- func (*MoveRequest) ProtoMessage()
- func (x *MoveRequest) ProtoReflect() protoreflect.Message
- func (x *MoveRequest) Reset()
- func (x *MoveRequest) String() string
- type MoveRequest_Body
- func (*MoveRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *MoveRequest_Body) GetBearerToken() []byte
- func (x *MoveRequest_Body) GetContainerId() []byte
- func (x *MoveRequest_Body) GetMeta() []*KeyValue
- func (x *MoveRequest_Body) GetNodeId() uint64
- func (x *MoveRequest_Body) GetParentId() uint64
- func (x *MoveRequest_Body) GetTreeId() string
- func (*MoveRequest_Body) ProtoMessage()
- func (x *MoveRequest_Body) ProtoReflect() protoreflect.Message
- func (x *MoveRequest_Body) Reset()
- func (x *MoveRequest_Body) String() string
- type MoveResponse
- func (*MoveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MoveResponse) GetBody() *MoveResponse_Body
- func (x *MoveResponse) GetSignature() *Signature
- func (*MoveResponse) ProtoMessage()
- func (x *MoveResponse) ProtoReflect() protoreflect.Message
- func (x *MoveResponse) Reset()
- func (x *MoveResponse) String() string
- type MoveResponse_Body
- type RemoveRequest
- func (*RemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequest) GetBody() *RemoveRequest_Body
- func (x *RemoveRequest) GetSignature() *Signature
- func (*RemoveRequest) ProtoMessage()
- func (x *RemoveRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRequest) Reset()
- func (x *RemoveRequest) String() string
- type RemoveRequest_Body
- func (*RemoveRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequest_Body) GetBearerToken() []byte
- func (x *RemoveRequest_Body) GetContainerId() []byte
- func (x *RemoveRequest_Body) GetNodeId() uint64
- func (x *RemoveRequest_Body) GetTreeId() string
- func (*RemoveRequest_Body) ProtoMessage()
- func (x *RemoveRequest_Body) ProtoReflect() protoreflect.Message
- func (x *RemoveRequest_Body) Reset()
- func (x *RemoveRequest_Body) String() string
- type RemoveResponse
- func (*RemoveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveResponse) GetBody() *RemoveResponse_Body
- func (x *RemoveResponse) GetSignature() *Signature
- func (*RemoveResponse) ProtoMessage()
- func (x *RemoveResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveResponse) Reset()
- func (x *RemoveResponse) String() string
- type RemoveResponse_Body
- type Signature
- type TreeListRequest
- func (*TreeListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TreeListRequest) GetBody() *TreeListRequest_Body
- func (x *TreeListRequest) GetSignature() *Signature
- func (*TreeListRequest) ProtoMessage()
- func (x *TreeListRequest) ProtoReflect() protoreflect.Message
- func (x *TreeListRequest) Reset()
- func (x *TreeListRequest) String() string
- type TreeListRequest_Body
- func (*TreeListRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *TreeListRequest_Body) GetContainerId() []byte
- func (*TreeListRequest_Body) ProtoMessage()
- func (x *TreeListRequest_Body) ProtoReflect() protoreflect.Message
- func (x *TreeListRequest_Body) Reset()
- func (x *TreeListRequest_Body) String() string
- type TreeListResponse
- func (*TreeListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TreeListResponse) GetBody() *TreeListResponse_Body
- func (x *TreeListResponse) GetSignature() *Signature
- func (*TreeListResponse) ProtoMessage()
- func (x *TreeListResponse) ProtoReflect() protoreflect.Message
- func (x *TreeListResponse) Reset()
- func (x *TreeListResponse) String() string
- type TreeListResponse_Body
- func (*TreeListResponse_Body) Descriptor() ([]byte, []int)deprecated
- func (x *TreeListResponse_Body) GetIds() []string
- func (*TreeListResponse_Body) ProtoMessage()
- func (x *TreeListResponse_Body) ProtoReflect() protoreflect.Message
- func (x *TreeListResponse_Body) Reset()
- func (x *TreeListResponse_Body) String() string
- type TreeServiceClient
- type TreeServiceServer
- type TreeService_GetOpLogClient
- type TreeService_GetOpLogServer
- type TreeService_GetSubTreeClient
- type TreeService_GetSubTreeServer
- type UnimplementedTreeServiceServer
- func (UnimplementedTreeServiceServer) Add(context.Context, *AddRequest) (*AddResponse, error)
- func (UnimplementedTreeServiceServer) AddByPath(context.Context, *AddByPathRequest) (*AddByPathResponse, error)
- func (UnimplementedTreeServiceServer) Apply(context.Context, *ApplyRequest) (*ApplyResponse, error)
- func (UnimplementedTreeServiceServer) GetNodeByPath(context.Context, *GetNodeByPathRequest) (*GetNodeByPathResponse, error)
- func (UnimplementedTreeServiceServer) GetOpLog(*GetOpLogRequest, TreeService_GetOpLogServer) error
- func (UnimplementedTreeServiceServer) GetSubTree(*GetSubTreeRequest, TreeService_GetSubTreeServer) error
- func (UnimplementedTreeServiceServer) Healthcheck(context.Context, *HealthcheckRequest) (*HealthcheckResponse, error)
- func (UnimplementedTreeServiceServer) Move(context.Context, *MoveRequest) (*MoveResponse, error)
- func (UnimplementedTreeServiceServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
- func (UnimplementedTreeServiceServer) TreeList(context.Context, *TreeListRequest) (*TreeListResponse, error)
- type UnsafeTreeServiceServer
Constants ¶
const ( TreeService_Add_FullMethodName = "/tree.TreeService/Add" TreeService_AddByPath_FullMethodName = "/tree.TreeService/AddByPath" TreeService_Remove_FullMethodName = "/tree.TreeService/Remove" TreeService_Move_FullMethodName = "/tree.TreeService/Move" TreeService_GetNodeByPath_FullMethodName = "/tree.TreeService/GetNodeByPath" TreeService_GetSubTree_FullMethodName = "/tree.TreeService/GetSubTree" TreeService_TreeList_FullMethodName = "/tree.TreeService/TreeList" TreeService_Apply_FullMethodName = "/tree.TreeService/Apply" TreeService_GetOpLog_FullMethodName = "/tree.TreeService/GetOpLog" TreeService_Healthcheck_FullMethodName = "/tree.TreeService/Healthcheck" )
Variables ¶
var ( GetSubTreeRequest_Body_Order_Direction_name = map[int32]string{ 0: "None", 1: "Asc", } GetSubTreeRequest_Body_Order_Direction_value = map[string]int32{ "None": 0, "Asc": 1, } )
Enum value maps for GetSubTreeRequest_Body_Order_Direction.
var File_pkg_services_tree_service_proto protoreflect.FileDescriptor
var File_pkg_services_tree_types_proto protoreflect.FileDescriptor
var TreeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tree.TreeService", HandlerType: (*TreeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Add", Handler: _TreeService_Add_Handler, }, { MethodName: "AddByPath", Handler: _TreeService_AddByPath_Handler, }, { MethodName: "Remove", Handler: _TreeService_Remove_Handler, }, { MethodName: "Move", Handler: _TreeService_Move_Handler, }, { MethodName: "GetNodeByPath", Handler: _TreeService_GetNodeByPath_Handler, }, { MethodName: "TreeList", Handler: _TreeService_TreeList_Handler, }, { MethodName: "Apply", Handler: _TreeService_Apply_Handler, }, { MethodName: "Healthcheck", Handler: _TreeService_Healthcheck_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetSubTree", Handler: _TreeService_GetSubTree_Handler, ServerStreams: true, }, { StreamName: "GetOpLog", Handler: _TreeService_GetOpLog_Handler, ServerStreams: true, }, }, Metadata: "pkg/services/tree/service.proto", }
TreeService_ServiceDesc is the grpc.ServiceDesc for TreeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTreeServiceServer ¶
func RegisterTreeServiceServer(s grpc.ServiceRegistrar, srv TreeServiceServer)
Types ¶
type AddByPathRequest ¶
type AddByPathRequest struct { // Request body. Body *AddByPathRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Request signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*AddByPathRequest) Descriptor
deprecated
func (*AddByPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddByPathRequest.ProtoReflect.Descriptor instead.
func (*AddByPathRequest) GetBody ¶
func (x *AddByPathRequest) GetBody() *AddByPathRequest_Body
func (*AddByPathRequest) GetSignature ¶
func (x *AddByPathRequest) GetSignature() *Signature
func (*AddByPathRequest) ProtoMessage ¶
func (*AddByPathRequest) ProtoMessage()
func (*AddByPathRequest) ProtoReflect ¶
func (x *AddByPathRequest) ProtoReflect() protoreflect.Message
func (*AddByPathRequest) Reset ¶
func (x *AddByPathRequest) Reset()
func (*AddByPathRequest) String ¶
func (x *AddByPathRequest) String() string
type AddByPathRequest_Body ¶
type AddByPathRequest_Body struct { // Container ID in V2 format. ContainerId []byte `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // The name of the tree. TreeId string `protobuf:"bytes,2,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` // Attribute to build path with. Default: "FileName". PathAttribute string `protobuf:"bytes,3,opt,name=path_attribute,json=pathAttribute,proto3" json:"path_attribute,omitempty"` // List of path components. Path []string `protobuf:"bytes,4,rep,name=path,proto3" json:"path,omitempty"` // Node meta-information. Meta []*KeyValue `protobuf:"bytes,5,rep,name=meta,proto3" json:"meta,omitempty"` // Bearer token in V2 format. BearerToken []byte `protobuf:"bytes,6,opt,name=bearer_token,json=bearerToken,proto3" json:"bearer_token,omitempty"` // contains filtered or unexported fields }
func (*AddByPathRequest_Body) Descriptor
deprecated
func (*AddByPathRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use AddByPathRequest_Body.ProtoReflect.Descriptor instead.
func (*AddByPathRequest_Body) GetBearerToken ¶
func (x *AddByPathRequest_Body) GetBearerToken() []byte
func (*AddByPathRequest_Body) GetContainerId ¶
func (x *AddByPathRequest_Body) GetContainerId() []byte
func (*AddByPathRequest_Body) GetMeta ¶
func (x *AddByPathRequest_Body) GetMeta() []*KeyValue
func (*AddByPathRequest_Body) GetPath ¶
func (x *AddByPathRequest_Body) GetPath() []string
func (*AddByPathRequest_Body) GetPathAttribute ¶
func (x *AddByPathRequest_Body) GetPathAttribute() string
func (*AddByPathRequest_Body) GetTreeId ¶
func (x *AddByPathRequest_Body) GetTreeId() string
func (*AddByPathRequest_Body) ProtoMessage ¶
func (*AddByPathRequest_Body) ProtoMessage()
func (*AddByPathRequest_Body) ProtoReflect ¶
func (x *AddByPathRequest_Body) ProtoReflect() protoreflect.Message
func (*AddByPathRequest_Body) Reset ¶
func (x *AddByPathRequest_Body) Reset()
func (*AddByPathRequest_Body) String ¶
func (x *AddByPathRequest_Body) String() string
type AddByPathResponse ¶
type AddByPathResponse struct { // Response body. Body *AddByPathResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Response signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*AddByPathResponse) Descriptor
deprecated
func (*AddByPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddByPathResponse.ProtoReflect.Descriptor instead.
func (*AddByPathResponse) GetBody ¶
func (x *AddByPathResponse) GetBody() *AddByPathResponse_Body
func (*AddByPathResponse) GetSignature ¶
func (x *AddByPathResponse) GetSignature() *Signature
func (*AddByPathResponse) ProtoMessage ¶
func (*AddByPathResponse) ProtoMessage()
func (*AddByPathResponse) ProtoReflect ¶
func (x *AddByPathResponse) ProtoReflect() protoreflect.Message
func (*AddByPathResponse) Reset ¶
func (x *AddByPathResponse) Reset()
func (*AddByPathResponse) String ¶
func (x *AddByPathResponse) String() string
type AddByPathResponse_Body ¶
type AddByPathResponse_Body struct { // List of all created nodes. The first one is the leaf. Nodes []uint64 `protobuf:"varint,1,rep,packed,name=nodes,proto3" json:"nodes,omitempty"` // ID of the parent node where new nodes were attached. ParentId uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // contains filtered or unexported fields }
func (*AddByPathResponse_Body) Descriptor
deprecated
func (*AddByPathResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use AddByPathResponse_Body.ProtoReflect.Descriptor instead.
func (*AddByPathResponse_Body) GetNodes ¶
func (x *AddByPathResponse_Body) GetNodes() []uint64
func (*AddByPathResponse_Body) GetParentId ¶
func (x *AddByPathResponse_Body) GetParentId() uint64
func (*AddByPathResponse_Body) ProtoMessage ¶
func (*AddByPathResponse_Body) ProtoMessage()
func (*AddByPathResponse_Body) ProtoReflect ¶
func (x *AddByPathResponse_Body) ProtoReflect() protoreflect.Message
func (*AddByPathResponse_Body) Reset ¶
func (x *AddByPathResponse_Body) Reset()
func (*AddByPathResponse_Body) String ¶
func (x *AddByPathResponse_Body) String() string
type AddRequest ¶
type AddRequest struct { // Request body. Body *AddRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Request signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*AddRequest) Descriptor
deprecated
func (*AddRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRequest.ProtoReflect.Descriptor instead.
func (*AddRequest) GetBody ¶
func (x *AddRequest) GetBody() *AddRequest_Body
func (*AddRequest) GetSignature ¶
func (x *AddRequest) GetSignature() *Signature
func (*AddRequest) ProtoMessage ¶
func (*AddRequest) ProtoMessage()
func (*AddRequest) ProtoReflect ¶
func (x *AddRequest) ProtoReflect() protoreflect.Message
func (*AddRequest) Reset ¶
func (x *AddRequest) Reset()
func (*AddRequest) String ¶
func (x *AddRequest) String() string
type AddRequest_Body ¶
type AddRequest_Body struct { // Container ID in V2 format. ContainerId []byte `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // The name of the tree. TreeId string `protobuf:"bytes,2,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` // ID of the parent to attach node to. ParentId uint64 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // Key-Value pairs with meta information. Meta []*KeyValue `protobuf:"bytes,4,rep,name=meta,proto3" json:"meta,omitempty"` // Bearer token in V2 format. BearerToken []byte `protobuf:"bytes,5,opt,name=bearer_token,json=bearerToken,proto3" json:"bearer_token,omitempty"` // contains filtered or unexported fields }
func (*AddRequest_Body) Descriptor
deprecated
func (*AddRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use AddRequest_Body.ProtoReflect.Descriptor instead.
func (*AddRequest_Body) GetBearerToken ¶
func (x *AddRequest_Body) GetBearerToken() []byte
func (*AddRequest_Body) GetContainerId ¶
func (x *AddRequest_Body) GetContainerId() []byte
func (*AddRequest_Body) GetMeta ¶
func (x *AddRequest_Body) GetMeta() []*KeyValue
func (*AddRequest_Body) GetParentId ¶
func (x *AddRequest_Body) GetParentId() uint64
func (*AddRequest_Body) GetTreeId ¶
func (x *AddRequest_Body) GetTreeId() string
func (*AddRequest_Body) ProtoMessage ¶
func (*AddRequest_Body) ProtoMessage()
func (*AddRequest_Body) ProtoReflect ¶
func (x *AddRequest_Body) ProtoReflect() protoreflect.Message
func (*AddRequest_Body) Reset ¶
func (x *AddRequest_Body) Reset()
func (*AddRequest_Body) String ¶
func (x *AddRequest_Body) String() string
type AddResponse ¶
type AddResponse struct { // Response body. Body *AddResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Response signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*AddResponse) Descriptor
deprecated
func (*AddResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddResponse.ProtoReflect.Descriptor instead.
func (*AddResponse) GetBody ¶
func (x *AddResponse) GetBody() *AddResponse_Body
func (*AddResponse) GetSignature ¶
func (x *AddResponse) GetSignature() *Signature
func (*AddResponse) ProtoMessage ¶
func (*AddResponse) ProtoMessage()
func (*AddResponse) ProtoReflect ¶
func (x *AddResponse) ProtoReflect() protoreflect.Message
func (*AddResponse) Reset ¶
func (x *AddResponse) Reset()
func (*AddResponse) String ¶
func (x *AddResponse) String() string
type AddResponse_Body ¶
type AddResponse_Body struct { // ID of the created node. NodeId uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // contains filtered or unexported fields }
func (*AddResponse_Body) Descriptor
deprecated
func (*AddResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use AddResponse_Body.ProtoReflect.Descriptor instead.
func (*AddResponse_Body) GetNodeId ¶
func (x *AddResponse_Body) GetNodeId() uint64
func (*AddResponse_Body) ProtoMessage ¶
func (*AddResponse_Body) ProtoMessage()
func (*AddResponse_Body) ProtoReflect ¶
func (x *AddResponse_Body) ProtoReflect() protoreflect.Message
func (*AddResponse_Body) Reset ¶
func (x *AddResponse_Body) Reset()
func (*AddResponse_Body) String ¶
func (x *AddResponse_Body) String() string
type ApplyRequest ¶
type ApplyRequest struct { // Request body. Body *ApplyRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Request signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*ApplyRequest) Descriptor
deprecated
func (*ApplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyRequest.ProtoReflect.Descriptor instead.
func (*ApplyRequest) GetBody ¶
func (x *ApplyRequest) GetBody() *ApplyRequest_Body
func (*ApplyRequest) GetSignature ¶
func (x *ApplyRequest) GetSignature() *Signature
func (*ApplyRequest) ProtoMessage ¶
func (*ApplyRequest) ProtoMessage()
func (*ApplyRequest) ProtoReflect ¶
func (x *ApplyRequest) ProtoReflect() protoreflect.Message
func (*ApplyRequest) Reset ¶
func (x *ApplyRequest) Reset()
func (*ApplyRequest) String ¶
func (x *ApplyRequest) String() string
type ApplyRequest_Body ¶
type ApplyRequest_Body struct { // Container ID in V2 format. ContainerId []byte `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // The name of the tree. TreeId string `protobuf:"bytes,2,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` // Operation to be applied. Operation *LogMove `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*ApplyRequest_Body) Descriptor
deprecated
func (*ApplyRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use ApplyRequest_Body.ProtoReflect.Descriptor instead.
func (*ApplyRequest_Body) GetContainerId ¶
func (x *ApplyRequest_Body) GetContainerId() []byte
func (*ApplyRequest_Body) GetOperation ¶
func (x *ApplyRequest_Body) GetOperation() *LogMove
func (*ApplyRequest_Body) GetTreeId ¶
func (x *ApplyRequest_Body) GetTreeId() string
func (*ApplyRequest_Body) ProtoMessage ¶
func (*ApplyRequest_Body) ProtoMessage()
func (*ApplyRequest_Body) ProtoReflect ¶
func (x *ApplyRequest_Body) ProtoReflect() protoreflect.Message
func (*ApplyRequest_Body) Reset ¶
func (x *ApplyRequest_Body) Reset()
func (*ApplyRequest_Body) String ¶
func (x *ApplyRequest_Body) String() string
type ApplyResponse ¶
type ApplyResponse struct { // Response body. Body *ApplyResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Response signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*ApplyResponse) Descriptor
deprecated
func (*ApplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyResponse.ProtoReflect.Descriptor instead.
func (*ApplyResponse) GetBody ¶
func (x *ApplyResponse) GetBody() *ApplyResponse_Body
func (*ApplyResponse) GetSignature ¶
func (x *ApplyResponse) GetSignature() *Signature
func (*ApplyResponse) ProtoMessage ¶
func (*ApplyResponse) ProtoMessage()
func (*ApplyResponse) ProtoReflect ¶
func (x *ApplyResponse) ProtoReflect() protoreflect.Message
func (*ApplyResponse) Reset ¶
func (x *ApplyResponse) Reset()
func (*ApplyResponse) String ¶
func (x *ApplyResponse) String() string
type ApplyResponse_Body ¶
type ApplyResponse_Body struct {
// contains filtered or unexported fields
}
func (*ApplyResponse_Body) Descriptor
deprecated
func (*ApplyResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use ApplyResponse_Body.ProtoReflect.Descriptor instead.
func (*ApplyResponse_Body) ProtoMessage ¶
func (*ApplyResponse_Body) ProtoMessage()
func (*ApplyResponse_Body) ProtoReflect ¶
func (x *ApplyResponse_Body) ProtoReflect() protoreflect.Message
func (*ApplyResponse_Body) Reset ¶
func (x *ApplyResponse_Body) Reset()
func (*ApplyResponse_Body) String ¶
func (x *ApplyResponse_Body) String() string
type GetNodeByPathRequest ¶
type GetNodeByPathRequest struct { // Request body. Body *GetNodeByPathRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Request signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*GetNodeByPathRequest) Descriptor
deprecated
func (*GetNodeByPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByPathRequest.ProtoReflect.Descriptor instead.
func (*GetNodeByPathRequest) GetBody ¶
func (x *GetNodeByPathRequest) GetBody() *GetNodeByPathRequest_Body
func (*GetNodeByPathRequest) GetSignature ¶
func (x *GetNodeByPathRequest) GetSignature() *Signature
func (*GetNodeByPathRequest) ProtoMessage ¶
func (*GetNodeByPathRequest) ProtoMessage()
func (*GetNodeByPathRequest) ProtoReflect ¶
func (x *GetNodeByPathRequest) ProtoReflect() protoreflect.Message
func (*GetNodeByPathRequest) Reset ¶
func (x *GetNodeByPathRequest) Reset()
func (*GetNodeByPathRequest) String ¶
func (x *GetNodeByPathRequest) String() string
type GetNodeByPathRequest_Body ¶
type GetNodeByPathRequest_Body struct { // Container ID in V2 format. ContainerId []byte `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // The name of the tree. TreeId string `protobuf:"bytes,2,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` // Attribute to build path with. Default: "FileName". PathAttribute string `protobuf:"bytes,3,opt,name=path_attribute,json=pathAttribute,proto3" json:"path_attribute,omitempty"` // List of path components. Path []string `protobuf:"bytes,4,rep,name=path,proto3" json:"path,omitempty"` // List of attributes to include in response. Attributes []string `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes,omitempty"` // Flag to return only the latest version of node. LatestOnly bool `protobuf:"varint,6,opt,name=latest_only,json=latestOnly,proto3" json:"latest_only,omitempty"` // Flag to return all stored attributes. AllAttributes bool `protobuf:"varint,7,opt,name=all_attributes,json=allAttributes,proto3" json:"all_attributes,omitempty"` // Bearer token in V2 format. BearerToken []byte `protobuf:"bytes,8,opt,name=bearer_token,json=bearerToken,proto3" json:"bearer_token,omitempty"` // contains filtered or unexported fields }
func (*GetNodeByPathRequest_Body) Descriptor
deprecated
func (*GetNodeByPathRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByPathRequest_Body.ProtoReflect.Descriptor instead.
func (*GetNodeByPathRequest_Body) GetAllAttributes ¶
func (x *GetNodeByPathRequest_Body) GetAllAttributes() bool
func (*GetNodeByPathRequest_Body) GetAttributes ¶
func (x *GetNodeByPathRequest_Body) GetAttributes() []string
func (*GetNodeByPathRequest_Body) GetBearerToken ¶
func (x *GetNodeByPathRequest_Body) GetBearerToken() []byte
func (*GetNodeByPathRequest_Body) GetContainerId ¶
func (x *GetNodeByPathRequest_Body) GetContainerId() []byte
func (*GetNodeByPathRequest_Body) GetLatestOnly ¶
func (x *GetNodeByPathRequest_Body) GetLatestOnly() bool
func (*GetNodeByPathRequest_Body) GetPath ¶
func (x *GetNodeByPathRequest_Body) GetPath() []string
func (*GetNodeByPathRequest_Body) GetPathAttribute ¶
func (x *GetNodeByPathRequest_Body) GetPathAttribute() string
func (*GetNodeByPathRequest_Body) GetTreeId ¶
func (x *GetNodeByPathRequest_Body) GetTreeId() string
func (*GetNodeByPathRequest_Body) ProtoMessage ¶
func (*GetNodeByPathRequest_Body) ProtoMessage()
func (*GetNodeByPathRequest_Body) ProtoReflect ¶
func (x *GetNodeByPathRequest_Body) ProtoReflect() protoreflect.Message
func (*GetNodeByPathRequest_Body) Reset ¶
func (x *GetNodeByPathRequest_Body) Reset()
func (*GetNodeByPathRequest_Body) String ¶
func (x *GetNodeByPathRequest_Body) String() string
type GetNodeByPathResponse ¶
type GetNodeByPathResponse struct { // Response body. Body *GetNodeByPathResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Response signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*GetNodeByPathResponse) Descriptor
deprecated
func (*GetNodeByPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByPathResponse.ProtoReflect.Descriptor instead.
func (*GetNodeByPathResponse) GetBody ¶
func (x *GetNodeByPathResponse) GetBody() *GetNodeByPathResponse_Body
func (*GetNodeByPathResponse) GetSignature ¶
func (x *GetNodeByPathResponse) GetSignature() *Signature
func (*GetNodeByPathResponse) ProtoMessage ¶
func (*GetNodeByPathResponse) ProtoMessage()
func (*GetNodeByPathResponse) ProtoReflect ¶
func (x *GetNodeByPathResponse) ProtoReflect() protoreflect.Message
func (*GetNodeByPathResponse) Reset ¶
func (x *GetNodeByPathResponse) Reset()
func (*GetNodeByPathResponse) String ¶
func (x *GetNodeByPathResponse) String() string
type GetNodeByPathResponse_Body ¶
type GetNodeByPathResponse_Body struct { // List of nodes stored by path. Nodes []*GetNodeByPathResponse_Info `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*GetNodeByPathResponse_Body) Descriptor
deprecated
func (*GetNodeByPathResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByPathResponse_Body.ProtoReflect.Descriptor instead.
func (*GetNodeByPathResponse_Body) GetNodes ¶
func (x *GetNodeByPathResponse_Body) GetNodes() []*GetNodeByPathResponse_Info
func (*GetNodeByPathResponse_Body) ProtoMessage ¶
func (*GetNodeByPathResponse_Body) ProtoMessage()
func (*GetNodeByPathResponse_Body) ProtoReflect ¶
func (x *GetNodeByPathResponse_Body) ProtoReflect() protoreflect.Message
func (*GetNodeByPathResponse_Body) Reset ¶
func (x *GetNodeByPathResponse_Body) Reset()
func (*GetNodeByPathResponse_Body) String ¶
func (x *GetNodeByPathResponse_Body) String() string
type GetNodeByPathResponse_Info ¶
type GetNodeByPathResponse_Info struct { // Node ID. NodeId uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Timestamp of the last operation with the node. Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Node meta-information. Meta []*KeyValue `protobuf:"bytes,3,rep,name=meta,proto3" json:"meta,omitempty"` // Parent ID. ParentId uint64 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // contains filtered or unexported fields }
Information about a single tree node.
func (*GetNodeByPathResponse_Info) Descriptor
deprecated
func (*GetNodeByPathResponse_Info) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByPathResponse_Info.ProtoReflect.Descriptor instead.
func (*GetNodeByPathResponse_Info) GetMeta ¶
func (x *GetNodeByPathResponse_Info) GetMeta() []*KeyValue
func (*GetNodeByPathResponse_Info) GetNodeId ¶
func (x *GetNodeByPathResponse_Info) GetNodeId() uint64
func (*GetNodeByPathResponse_Info) GetParentId ¶
func (x *GetNodeByPathResponse_Info) GetParentId() uint64
func (*GetNodeByPathResponse_Info) GetTimestamp ¶
func (x *GetNodeByPathResponse_Info) GetTimestamp() uint64
func (*GetNodeByPathResponse_Info) ProtoMessage ¶
func (*GetNodeByPathResponse_Info) ProtoMessage()
func (*GetNodeByPathResponse_Info) ProtoReflect ¶
func (x *GetNodeByPathResponse_Info) ProtoReflect() protoreflect.Message
func (*GetNodeByPathResponse_Info) Reset ¶
func (x *GetNodeByPathResponse_Info) Reset()
func (*GetNodeByPathResponse_Info) String ¶
func (x *GetNodeByPathResponse_Info) String() string
type GetOpLogRequest ¶
type GetOpLogRequest struct { // Request body. Body *GetOpLogRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Request signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*GetOpLogRequest) Descriptor
deprecated
func (*GetOpLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOpLogRequest.ProtoReflect.Descriptor instead.
func (*GetOpLogRequest) GetBody ¶
func (x *GetOpLogRequest) GetBody() *GetOpLogRequest_Body
func (*GetOpLogRequest) GetSignature ¶
func (x *GetOpLogRequest) GetSignature() *Signature
func (*GetOpLogRequest) ProtoMessage ¶
func (*GetOpLogRequest) ProtoMessage()
func (*GetOpLogRequest) ProtoReflect ¶
func (x *GetOpLogRequest) ProtoReflect() protoreflect.Message
func (*GetOpLogRequest) Reset ¶
func (x *GetOpLogRequest) Reset()
func (*GetOpLogRequest) String ¶
func (x *GetOpLogRequest) String() string
type GetOpLogRequest_Body ¶
type GetOpLogRequest_Body struct { // Container ID in V2 format. ContainerId []byte `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // The name of the tree. TreeId string `protobuf:"bytes,2,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` // Starting height to return logs from. Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // Amount of operations to return. Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*GetOpLogRequest_Body) Descriptor
deprecated
func (*GetOpLogRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use GetOpLogRequest_Body.ProtoReflect.Descriptor instead.
func (*GetOpLogRequest_Body) GetContainerId ¶
func (x *GetOpLogRequest_Body) GetContainerId() []byte
func (*GetOpLogRequest_Body) GetCount ¶
func (x *GetOpLogRequest_Body) GetCount() uint64
func (*GetOpLogRequest_Body) GetHeight ¶
func (x *GetOpLogRequest_Body) GetHeight() uint64
func (*GetOpLogRequest_Body) GetTreeId ¶
func (x *GetOpLogRequest_Body) GetTreeId() string
func (*GetOpLogRequest_Body) ProtoMessage ¶
func (*GetOpLogRequest_Body) ProtoMessage()
func (*GetOpLogRequest_Body) ProtoReflect ¶
func (x *GetOpLogRequest_Body) ProtoReflect() protoreflect.Message
func (*GetOpLogRequest_Body) Reset ¶
func (x *GetOpLogRequest_Body) Reset()
func (*GetOpLogRequest_Body) String ¶
func (x *GetOpLogRequest_Body) String() string
type GetOpLogResponse ¶
type GetOpLogResponse struct { // Response body. Body *GetOpLogResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Response signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*GetOpLogResponse) Descriptor
deprecated
func (*GetOpLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOpLogResponse.ProtoReflect.Descriptor instead.
func (*GetOpLogResponse) GetBody ¶
func (x *GetOpLogResponse) GetBody() *GetOpLogResponse_Body
func (*GetOpLogResponse) GetSignature ¶
func (x *GetOpLogResponse) GetSignature() *Signature
func (*GetOpLogResponse) ProtoMessage ¶
func (*GetOpLogResponse) ProtoMessage()
func (*GetOpLogResponse) ProtoReflect ¶
func (x *GetOpLogResponse) ProtoReflect() protoreflect.Message
func (*GetOpLogResponse) Reset ¶
func (x *GetOpLogResponse) Reset()
func (*GetOpLogResponse) String ¶
func (x *GetOpLogResponse) String() string
type GetOpLogResponse_Body ¶
type GetOpLogResponse_Body struct { // Operation on a tree. Operation *LogMove `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*GetOpLogResponse_Body) Descriptor
deprecated
func (*GetOpLogResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use GetOpLogResponse_Body.ProtoReflect.Descriptor instead.
func (*GetOpLogResponse_Body) GetOperation ¶
func (x *GetOpLogResponse_Body) GetOperation() *LogMove
func (*GetOpLogResponse_Body) ProtoMessage ¶
func (*GetOpLogResponse_Body) ProtoMessage()
func (*GetOpLogResponse_Body) ProtoReflect ¶
func (x *GetOpLogResponse_Body) ProtoReflect() protoreflect.Message
func (*GetOpLogResponse_Body) Reset ¶
func (x *GetOpLogResponse_Body) Reset()
func (*GetOpLogResponse_Body) String ¶
func (x *GetOpLogResponse_Body) String() string
type GetSubTreeRequest ¶
type GetSubTreeRequest struct { // Request body. Body *GetSubTreeRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Request signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*GetSubTreeRequest) Descriptor
deprecated
func (*GetSubTreeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubTreeRequest.ProtoReflect.Descriptor instead.
func (*GetSubTreeRequest) GetBody ¶
func (x *GetSubTreeRequest) GetBody() *GetSubTreeRequest_Body
func (*GetSubTreeRequest) GetSignature ¶
func (x *GetSubTreeRequest) GetSignature() *Signature
func (*GetSubTreeRequest) ProtoMessage ¶
func (*GetSubTreeRequest) ProtoMessage()
func (*GetSubTreeRequest) ProtoReflect ¶
func (x *GetSubTreeRequest) ProtoReflect() protoreflect.Message
func (*GetSubTreeRequest) Reset ¶
func (x *GetSubTreeRequest) Reset()
func (*GetSubTreeRequest) String ¶
func (x *GetSubTreeRequest) String() string
type GetSubTreeRequest_Body ¶
type GetSubTreeRequest_Body struct { // Container ID in V2 format. ContainerId []byte `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // The name of the tree. TreeId string `protobuf:"bytes,2,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` // ID of the root node of a subtree. RootId uint64 `protobuf:"varint,3,opt,name=root_id,json=rootId,proto3" json:"root_id,omitempty"` // Optional depth of the traversal. Zero means return only root. // Maximum depth is 10. Depth uint32 `protobuf:"varint,4,opt,name=depth,proto3" json:"depth,omitempty"` // Bearer token in V2 format. BearerToken []byte `protobuf:"bytes,5,opt,name=bearer_token,json=bearerToken,proto3" json:"bearer_token,omitempty"` // Result ordering. OrderBy *GetSubTreeRequest_Body_Order `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*GetSubTreeRequest_Body) Descriptor
deprecated
func (*GetSubTreeRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use GetSubTreeRequest_Body.ProtoReflect.Descriptor instead.
func (*GetSubTreeRequest_Body) GetBearerToken ¶
func (x *GetSubTreeRequest_Body) GetBearerToken() []byte
func (*GetSubTreeRequest_Body) GetContainerId ¶
func (x *GetSubTreeRequest_Body) GetContainerId() []byte
func (*GetSubTreeRequest_Body) GetDepth ¶
func (x *GetSubTreeRequest_Body) GetDepth() uint32
func (*GetSubTreeRequest_Body) GetOrderBy ¶
func (x *GetSubTreeRequest_Body) GetOrderBy() *GetSubTreeRequest_Body_Order
func (*GetSubTreeRequest_Body) GetRootId ¶
func (x *GetSubTreeRequest_Body) GetRootId() uint64
func (*GetSubTreeRequest_Body) GetTreeId ¶
func (x *GetSubTreeRequest_Body) GetTreeId() string
func (*GetSubTreeRequest_Body) ProtoMessage ¶
func (*GetSubTreeRequest_Body) ProtoMessage()
func (*GetSubTreeRequest_Body) ProtoReflect ¶
func (x *GetSubTreeRequest_Body) ProtoReflect() protoreflect.Message
func (*GetSubTreeRequest_Body) Reset ¶
func (x *GetSubTreeRequest_Body) Reset()
func (*GetSubTreeRequest_Body) String ¶
func (x *GetSubTreeRequest_Body) String() string
type GetSubTreeRequest_Body_Order ¶
type GetSubTreeRequest_Body_Order struct { Direction GetSubTreeRequest_Body_Order_Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=tree.GetSubTreeRequest_Body_Order_Direction" json:"direction,omitempty"` // contains filtered or unexported fields }
func (*GetSubTreeRequest_Body_Order) Descriptor
deprecated
func (*GetSubTreeRequest_Body_Order) Descriptor() ([]byte, []int)
Deprecated: Use GetSubTreeRequest_Body_Order.ProtoReflect.Descriptor instead.
func (*GetSubTreeRequest_Body_Order) GetDirection ¶
func (x *GetSubTreeRequest_Body_Order) GetDirection() GetSubTreeRequest_Body_Order_Direction
func (*GetSubTreeRequest_Body_Order) ProtoMessage ¶
func (*GetSubTreeRequest_Body_Order) ProtoMessage()
func (*GetSubTreeRequest_Body_Order) ProtoReflect ¶
func (x *GetSubTreeRequest_Body_Order) ProtoReflect() protoreflect.Message
func (*GetSubTreeRequest_Body_Order) Reset ¶
func (x *GetSubTreeRequest_Body_Order) Reset()
func (*GetSubTreeRequest_Body_Order) String ¶
func (x *GetSubTreeRequest_Body_Order) String() string
type GetSubTreeRequest_Body_Order_Direction ¶
type GetSubTreeRequest_Body_Order_Direction int32
const ( GetSubTreeRequest_Body_Order_None GetSubTreeRequest_Body_Order_Direction = 0 GetSubTreeRequest_Body_Order_Asc GetSubTreeRequest_Body_Order_Direction = 1 )
func (GetSubTreeRequest_Body_Order_Direction) Descriptor ¶
func (GetSubTreeRequest_Body_Order_Direction) Descriptor() protoreflect.EnumDescriptor
func (GetSubTreeRequest_Body_Order_Direction) EnumDescriptor
deprecated
func (GetSubTreeRequest_Body_Order_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetSubTreeRequest_Body_Order_Direction.Descriptor instead.
func (GetSubTreeRequest_Body_Order_Direction) Number ¶
func (x GetSubTreeRequest_Body_Order_Direction) Number() protoreflect.EnumNumber
func (GetSubTreeRequest_Body_Order_Direction) String ¶
func (x GetSubTreeRequest_Body_Order_Direction) String() string
func (GetSubTreeRequest_Body_Order_Direction) Type ¶
func (GetSubTreeRequest_Body_Order_Direction) Type() protoreflect.EnumType
type GetSubTreeResponse ¶
type GetSubTreeResponse struct { // Response body. Body *GetSubTreeResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Response signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*GetSubTreeResponse) Descriptor
deprecated
func (*GetSubTreeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSubTreeResponse.ProtoReflect.Descriptor instead.
func (*GetSubTreeResponse) GetBody ¶
func (x *GetSubTreeResponse) GetBody() *GetSubTreeResponse_Body
func (*GetSubTreeResponse) GetSignature ¶
func (x *GetSubTreeResponse) GetSignature() *Signature
func (*GetSubTreeResponse) ProtoMessage ¶
func (*GetSubTreeResponse) ProtoMessage()
func (*GetSubTreeResponse) ProtoReflect ¶
func (x *GetSubTreeResponse) ProtoReflect() protoreflect.Message
func (*GetSubTreeResponse) Reset ¶
func (x *GetSubTreeResponse) Reset()
func (*GetSubTreeResponse) String ¶
func (x *GetSubTreeResponse) String() string
type GetSubTreeResponse_Body ¶
type GetSubTreeResponse_Body struct { // ID of the node. NodeId uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // ID of the parent. ParentId uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // Time node was first added to a tree. Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Node meta-information. Meta []*KeyValue `protobuf:"bytes,4,rep,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*GetSubTreeResponse_Body) Descriptor
deprecated
func (*GetSubTreeResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use GetSubTreeResponse_Body.ProtoReflect.Descriptor instead.
func (*GetSubTreeResponse_Body) GetMeta ¶
func (x *GetSubTreeResponse_Body) GetMeta() []*KeyValue
func (*GetSubTreeResponse_Body) GetNodeId ¶
func (x *GetSubTreeResponse_Body) GetNodeId() uint64
func (*GetSubTreeResponse_Body) GetParentId ¶
func (x *GetSubTreeResponse_Body) GetParentId() uint64
func (*GetSubTreeResponse_Body) GetTimestamp ¶
func (x *GetSubTreeResponse_Body) GetTimestamp() uint64
func (*GetSubTreeResponse_Body) ProtoMessage ¶
func (*GetSubTreeResponse_Body) ProtoMessage()
func (*GetSubTreeResponse_Body) ProtoReflect ¶
func (x *GetSubTreeResponse_Body) ProtoReflect() protoreflect.Message
func (*GetSubTreeResponse_Body) Reset ¶
func (x *GetSubTreeResponse_Body) Reset()
func (*GetSubTreeResponse_Body) String ¶
func (x *GetSubTreeResponse_Body) String() string
type HealthcheckRequest ¶
type HealthcheckRequest struct { // Request body. Body *HealthcheckRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Request signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*HealthcheckRequest) Descriptor
deprecated
func (*HealthcheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthcheckRequest.ProtoReflect.Descriptor instead.
func (*HealthcheckRequest) GetBody ¶
func (x *HealthcheckRequest) GetBody() *HealthcheckRequest_Body
func (*HealthcheckRequest) GetSignature ¶
func (x *HealthcheckRequest) GetSignature() *Signature
func (*HealthcheckRequest) ProtoMessage ¶
func (*HealthcheckRequest) ProtoMessage()
func (*HealthcheckRequest) ProtoReflect ¶
func (x *HealthcheckRequest) ProtoReflect() protoreflect.Message
func (*HealthcheckRequest) Reset ¶
func (x *HealthcheckRequest) Reset()
func (*HealthcheckRequest) String ¶
func (x *HealthcheckRequest) String() string
type HealthcheckRequest_Body ¶
type HealthcheckRequest_Body struct {
// contains filtered or unexported fields
}
func (*HealthcheckRequest_Body) Descriptor
deprecated
func (*HealthcheckRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use HealthcheckRequest_Body.ProtoReflect.Descriptor instead.
func (*HealthcheckRequest_Body) ProtoMessage ¶
func (*HealthcheckRequest_Body) ProtoMessage()
func (*HealthcheckRequest_Body) ProtoReflect ¶
func (x *HealthcheckRequest_Body) ProtoReflect() protoreflect.Message
func (*HealthcheckRequest_Body) Reset ¶
func (x *HealthcheckRequest_Body) Reset()
func (*HealthcheckRequest_Body) String ¶
func (x *HealthcheckRequest_Body) String() string
type HealthcheckResponse ¶
type HealthcheckResponse struct { // Response body. Body *HealthcheckResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Response signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*HealthcheckResponse) Descriptor
deprecated
func (*HealthcheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthcheckResponse.ProtoReflect.Descriptor instead.
func (*HealthcheckResponse) GetBody ¶
func (x *HealthcheckResponse) GetBody() *HealthcheckResponse_Body
func (*HealthcheckResponse) GetSignature ¶
func (x *HealthcheckResponse) GetSignature() *Signature
func (*HealthcheckResponse) ProtoMessage ¶
func (*HealthcheckResponse) ProtoMessage()
func (*HealthcheckResponse) ProtoReflect ¶
func (x *HealthcheckResponse) ProtoReflect() protoreflect.Message
func (*HealthcheckResponse) Reset ¶
func (x *HealthcheckResponse) Reset()
func (*HealthcheckResponse) String ¶
func (x *HealthcheckResponse) String() string
type HealthcheckResponse_Body ¶
type HealthcheckResponse_Body struct {
// contains filtered or unexported fields
}
func (*HealthcheckResponse_Body) Descriptor
deprecated
func (*HealthcheckResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use HealthcheckResponse_Body.ProtoReflect.Descriptor instead.
func (*HealthcheckResponse_Body) ProtoMessage ¶
func (*HealthcheckResponse_Body) ProtoMessage()
func (*HealthcheckResponse_Body) ProtoReflect ¶
func (x *HealthcheckResponse_Body) ProtoReflect() protoreflect.Message
func (*HealthcheckResponse_Body) Reset ¶
func (x *HealthcheckResponse_Body) Reset()
func (*HealthcheckResponse_Body) String ¶
func (x *HealthcheckResponse_Body) String() string
type KeyValue ¶
type KeyValue struct { // Attribute name. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Attribute value. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
KeyValue represents key-value pair attached to an object.
func (*KeyValue) Descriptor
deprecated
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶
func (x *KeyValue) ProtoReflect() protoreflect.Message
type LogMove ¶
type LogMove struct { // ID of the parent node. ParentId uint64 `protobuf:"varint,1,opt,name=parent_id,json=parentID,proto3" json:"parent_id,omitempty"` // Node meta information, including operation timestamp. Meta []byte `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // ID of the node to move. ChildId uint64 `protobuf:"varint,3,opt,name=child_id,json=childID,proto3" json:"child_id,omitempty"` // contains filtered or unexported fields }
LogMove represents log-entry for a single move operation.
func (*LogMove) Descriptor
deprecated
func (*LogMove) GetChildId ¶
func (*LogMove) GetParentId ¶
func (*LogMove) ProtoMessage ¶
func (*LogMove) ProtoMessage()
func (*LogMove) ProtoReflect ¶
func (x *LogMove) ProtoReflect() protoreflect.Message
type MoveRequest ¶
type MoveRequest struct { // Request body. Body *MoveRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Request signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*MoveRequest) Descriptor
deprecated
func (*MoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveRequest.ProtoReflect.Descriptor instead.
func (*MoveRequest) GetBody ¶
func (x *MoveRequest) GetBody() *MoveRequest_Body
func (*MoveRequest) GetSignature ¶
func (x *MoveRequest) GetSignature() *Signature
func (*MoveRequest) ProtoMessage ¶
func (*MoveRequest) ProtoMessage()
func (*MoveRequest) ProtoReflect ¶
func (x *MoveRequest) ProtoReflect() protoreflect.Message
func (*MoveRequest) Reset ¶
func (x *MoveRequest) Reset()
func (*MoveRequest) String ¶
func (x *MoveRequest) String() string
type MoveRequest_Body ¶
type MoveRequest_Body struct { // TODO import neo.fs.v2.refs.ContainerID directly. // Container ID in V2 format. ContainerId []byte `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // The name of the tree. TreeId string `protobuf:"bytes,2,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` // ID of the new parent. ParentId uint64 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // ID of the node to move. NodeId uint64 `protobuf:"varint,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Node meta-information. Meta []*KeyValue `protobuf:"bytes,5,rep,name=meta,proto3" json:"meta,omitempty"` // Bearer token in V2 format. BearerToken []byte `protobuf:"bytes,6,opt,name=bearer_token,json=bearerToken,proto3" json:"bearer_token,omitempty"` // contains filtered or unexported fields }
func (*MoveRequest_Body) Descriptor
deprecated
func (*MoveRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use MoveRequest_Body.ProtoReflect.Descriptor instead.
func (*MoveRequest_Body) GetBearerToken ¶
func (x *MoveRequest_Body) GetBearerToken() []byte
func (*MoveRequest_Body) GetContainerId ¶
func (x *MoveRequest_Body) GetContainerId() []byte
func (*MoveRequest_Body) GetMeta ¶
func (x *MoveRequest_Body) GetMeta() []*KeyValue
func (*MoveRequest_Body) GetNodeId ¶
func (x *MoveRequest_Body) GetNodeId() uint64
func (*MoveRequest_Body) GetParentId ¶
func (x *MoveRequest_Body) GetParentId() uint64
func (*MoveRequest_Body) GetTreeId ¶
func (x *MoveRequest_Body) GetTreeId() string
func (*MoveRequest_Body) ProtoMessage ¶
func (*MoveRequest_Body) ProtoMessage()
func (*MoveRequest_Body) ProtoReflect ¶
func (x *MoveRequest_Body) ProtoReflect() protoreflect.Message
func (*MoveRequest_Body) Reset ¶
func (x *MoveRequest_Body) Reset()
func (*MoveRequest_Body) String ¶
func (x *MoveRequest_Body) String() string
type MoveResponse ¶
type MoveResponse struct { // Response body. Body *MoveResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Response signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*MoveResponse) Descriptor
deprecated
func (*MoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveResponse.ProtoReflect.Descriptor instead.
func (*MoveResponse) GetBody ¶
func (x *MoveResponse) GetBody() *MoveResponse_Body
func (*MoveResponse) GetSignature ¶
func (x *MoveResponse) GetSignature() *Signature
func (*MoveResponse) ProtoMessage ¶
func (*MoveResponse) ProtoMessage()
func (*MoveResponse) ProtoReflect ¶
func (x *MoveResponse) ProtoReflect() protoreflect.Message
func (*MoveResponse) Reset ¶
func (x *MoveResponse) Reset()
func (*MoveResponse) String ¶
func (x *MoveResponse) String() string
type MoveResponse_Body ¶
type MoveResponse_Body struct {
// contains filtered or unexported fields
}
func (*MoveResponse_Body) Descriptor
deprecated
func (*MoveResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use MoveResponse_Body.ProtoReflect.Descriptor instead.
func (*MoveResponse_Body) ProtoMessage ¶
func (*MoveResponse_Body) ProtoMessage()
func (*MoveResponse_Body) ProtoReflect ¶
func (x *MoveResponse_Body) ProtoReflect() protoreflect.Message
func (*MoveResponse_Body) Reset ¶
func (x *MoveResponse_Body) Reset()
func (*MoveResponse_Body) String ¶
func (x *MoveResponse_Body) String() string
type RemoveRequest ¶
type RemoveRequest struct { // Request body. Body *RemoveRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Request signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequest) Descriptor
deprecated
func (*RemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequest) GetBody ¶
func (x *RemoveRequest) GetBody() *RemoveRequest_Body
func (*RemoveRequest) GetSignature ¶
func (x *RemoveRequest) GetSignature() *Signature
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) ProtoReflect ¶
func (x *RemoveRequest) ProtoReflect() protoreflect.Message
func (*RemoveRequest) Reset ¶
func (x *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (x *RemoveRequest) String() string
type RemoveRequest_Body ¶
type RemoveRequest_Body struct { // Container ID in V2 format. ContainerId []byte `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // The name of the tree. TreeId string `protobuf:"bytes,2,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` // ID of the node to remove. NodeId uint64 `protobuf:"varint,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Bearer token in V2 format. BearerToken []byte `protobuf:"bytes,4,opt,name=bearer_token,json=bearerToken,proto3" json:"bearer_token,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequest_Body) Descriptor
deprecated
func (*RemoveRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequest_Body.ProtoReflect.Descriptor instead.
func (*RemoveRequest_Body) GetBearerToken ¶
func (x *RemoveRequest_Body) GetBearerToken() []byte
func (*RemoveRequest_Body) GetContainerId ¶
func (x *RemoveRequest_Body) GetContainerId() []byte
func (*RemoveRequest_Body) GetNodeId ¶
func (x *RemoveRequest_Body) GetNodeId() uint64
func (*RemoveRequest_Body) GetTreeId ¶
func (x *RemoveRequest_Body) GetTreeId() string
func (*RemoveRequest_Body) ProtoMessage ¶
func (*RemoveRequest_Body) ProtoMessage()
func (*RemoveRequest_Body) ProtoReflect ¶
func (x *RemoveRequest_Body) ProtoReflect() protoreflect.Message
func (*RemoveRequest_Body) Reset ¶
func (x *RemoveRequest_Body) Reset()
func (*RemoveRequest_Body) String ¶
func (x *RemoveRequest_Body) String() string
type RemoveResponse ¶
type RemoveResponse struct { // Response body. Body *RemoveResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Response signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*RemoveResponse) Descriptor
deprecated
func (*RemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.
func (*RemoveResponse) GetBody ¶
func (x *RemoveResponse) GetBody() *RemoveResponse_Body
func (*RemoveResponse) GetSignature ¶
func (x *RemoveResponse) GetSignature() *Signature
func (*RemoveResponse) ProtoMessage ¶
func (*RemoveResponse) ProtoMessage()
func (*RemoveResponse) ProtoReflect ¶
func (x *RemoveResponse) ProtoReflect() protoreflect.Message
func (*RemoveResponse) Reset ¶
func (x *RemoveResponse) Reset()
func (*RemoveResponse) String ¶
func (x *RemoveResponse) String() string
type RemoveResponse_Body ¶
type RemoveResponse_Body struct {
// contains filtered or unexported fields
}
func (*RemoveResponse_Body) Descriptor
deprecated
func (*RemoveResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResponse_Body.ProtoReflect.Descriptor instead.
func (*RemoveResponse_Body) ProtoMessage ¶
func (*RemoveResponse_Body) ProtoMessage()
func (*RemoveResponse_Body) ProtoReflect ¶
func (x *RemoveResponse_Body) ProtoReflect() protoreflect.Message
func (*RemoveResponse_Body) Reset ¶
func (x *RemoveResponse_Body) Reset()
func (*RemoveResponse_Body) String ¶
func (x *RemoveResponse_Body) String() string
type Signature ¶
type Signature struct { // Serialized public key as defined in FrostFS API. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Signature of a message body. Sign []byte `protobuf:"bytes,2,opt,name=sign,json=signature,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
Signature of a message.
func (*Signature) Descriptor
deprecated
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type TreeListRequest ¶
type TreeListRequest struct { // Request body. Body *TreeListRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Request signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*TreeListRequest) Descriptor
deprecated
func (*TreeListRequest) Descriptor() ([]byte, []int)
Deprecated: Use TreeListRequest.ProtoReflect.Descriptor instead.
func (*TreeListRequest) GetBody ¶
func (x *TreeListRequest) GetBody() *TreeListRequest_Body
func (*TreeListRequest) GetSignature ¶
func (x *TreeListRequest) GetSignature() *Signature
func (*TreeListRequest) ProtoMessage ¶
func (*TreeListRequest) ProtoMessage()
func (*TreeListRequest) ProtoReflect ¶
func (x *TreeListRequest) ProtoReflect() protoreflect.Message
func (*TreeListRequest) Reset ¶
func (x *TreeListRequest) Reset()
func (*TreeListRequest) String ¶
func (x *TreeListRequest) String() string
type TreeListRequest_Body ¶
type TreeListRequest_Body struct { // Container ID in V2 format. ContainerId []byte `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*TreeListRequest_Body) Descriptor
deprecated
func (*TreeListRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use TreeListRequest_Body.ProtoReflect.Descriptor instead.
func (*TreeListRequest_Body) GetContainerId ¶
func (x *TreeListRequest_Body) GetContainerId() []byte
func (*TreeListRequest_Body) ProtoMessage ¶
func (*TreeListRequest_Body) ProtoMessage()
func (*TreeListRequest_Body) ProtoReflect ¶
func (x *TreeListRequest_Body) ProtoReflect() protoreflect.Message
func (*TreeListRequest_Body) Reset ¶
func (x *TreeListRequest_Body) Reset()
func (*TreeListRequest_Body) String ¶
func (x *TreeListRequest_Body) String() string
type TreeListResponse ¶
type TreeListResponse struct { // Response body. Body *TreeListResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*TreeListResponse) Descriptor
deprecated
func (*TreeListResponse) Descriptor() ([]byte, []int)
Deprecated: Use TreeListResponse.ProtoReflect.Descriptor instead.
func (*TreeListResponse) GetBody ¶
func (x *TreeListResponse) GetBody() *TreeListResponse_Body
func (*TreeListResponse) GetSignature ¶
func (x *TreeListResponse) GetSignature() *Signature
func (*TreeListResponse) ProtoMessage ¶
func (*TreeListResponse) ProtoMessage()
func (*TreeListResponse) ProtoReflect ¶
func (x *TreeListResponse) ProtoReflect() protoreflect.Message
func (*TreeListResponse) Reset ¶
func (x *TreeListResponse) Reset()
func (*TreeListResponse) String ¶
func (x *TreeListResponse) String() string
type TreeListResponse_Body ¶
type TreeListResponse_Body struct { // Tree IDs. Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*TreeListResponse_Body) Descriptor
deprecated
func (*TreeListResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use TreeListResponse_Body.ProtoReflect.Descriptor instead.
func (*TreeListResponse_Body) GetIds ¶
func (x *TreeListResponse_Body) GetIds() []string
func (*TreeListResponse_Body) ProtoMessage ¶
func (*TreeListResponse_Body) ProtoMessage()
func (*TreeListResponse_Body) ProtoReflect ¶
func (x *TreeListResponse_Body) ProtoReflect() protoreflect.Message
func (*TreeListResponse_Body) Reset ¶
func (x *TreeListResponse_Body) Reset()
func (*TreeListResponse_Body) String ¶
func (x *TreeListResponse_Body) String() string
type TreeServiceClient ¶
type TreeServiceClient interface { // Add adds new node to the tree. Invoked by a client. Add(ctx context.Context, in *AddRequest, opts ...grpc.CallOption) (*AddResponse, error) // AddByPath adds new node to the tree by path. Invoked by a client. AddByPath(ctx context.Context, in *AddByPathRequest, opts ...grpc.CallOption) (*AddByPathResponse, error) // Remove removes node from the tree. Invoked by a client. Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error) // Move moves node from one parent to another. Invoked by a client. Move(ctx context.Context, in *MoveRequest, opts ...grpc.CallOption) (*MoveResponse, error) // GetNodeByPath returns list of IDs corresponding to a specific filepath. GetNodeByPath(ctx context.Context, in *GetNodeByPathRequest, opts ...grpc.CallOption) (*GetNodeByPathResponse, error) // GetSubTree returns tree corresponding to a specific node. GetSubTree(ctx context.Context, in *GetSubTreeRequest, opts ...grpc.CallOption) (TreeService_GetSubTreeClient, error) // TreeList return list of the existing trees in the container. TreeList(ctx context.Context, in *TreeListRequest, opts ...grpc.CallOption) (*TreeListResponse, error) // Apply pushes log operation from another node to the current. // The request must be signed by a container node. Apply(ctx context.Context, in *ApplyRequest, opts ...grpc.CallOption) (*ApplyResponse, error) // GetOpLog returns a stream of logged operations starting from some height. GetOpLog(ctx context.Context, in *GetOpLogRequest, opts ...grpc.CallOption) (TreeService_GetOpLogClient, error) // Healthcheck is a dummy rpc to check service availability Healthcheck(ctx context.Context, in *HealthcheckRequest, opts ...grpc.CallOption) (*HealthcheckResponse, error) }
TreeServiceClient is the client API for TreeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTreeServiceClient ¶
func NewTreeServiceClient(cc grpc.ClientConnInterface) TreeServiceClient
type TreeServiceServer ¶
type TreeServiceServer interface { // Add adds new node to the tree. Invoked by a client. Add(context.Context, *AddRequest) (*AddResponse, error) // AddByPath adds new node to the tree by path. Invoked by a client. AddByPath(context.Context, *AddByPathRequest) (*AddByPathResponse, error) // Remove removes node from the tree. Invoked by a client. Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) // Move moves node from one parent to another. Invoked by a client. Move(context.Context, *MoveRequest) (*MoveResponse, error) // GetNodeByPath returns list of IDs corresponding to a specific filepath. GetNodeByPath(context.Context, *GetNodeByPathRequest) (*GetNodeByPathResponse, error) // GetSubTree returns tree corresponding to a specific node. GetSubTree(*GetSubTreeRequest, TreeService_GetSubTreeServer) error // TreeList return list of the existing trees in the container. TreeList(context.Context, *TreeListRequest) (*TreeListResponse, error) // Apply pushes log operation from another node to the current. // The request must be signed by a container node. Apply(context.Context, *ApplyRequest) (*ApplyResponse, error) // GetOpLog returns a stream of logged operations starting from some height. GetOpLog(*GetOpLogRequest, TreeService_GetOpLogServer) error // Healthcheck is a dummy rpc to check service availability Healthcheck(context.Context, *HealthcheckRequest) (*HealthcheckResponse, error) }
TreeServiceServer is the server API for TreeService service. All implementations should embed UnimplementedTreeServiceServer for forward compatibility
type TreeService_GetOpLogClient ¶
type TreeService_GetOpLogClient interface { Recv() (*GetOpLogResponse, error) grpc.ClientStream }
type TreeService_GetOpLogServer ¶
type TreeService_GetOpLogServer interface { Send(*GetOpLogResponse) error grpc.ServerStream }
type TreeService_GetSubTreeClient ¶
type TreeService_GetSubTreeClient interface { Recv() (*GetSubTreeResponse, error) grpc.ClientStream }
type TreeService_GetSubTreeServer ¶
type TreeService_GetSubTreeServer interface { Send(*GetSubTreeResponse) error grpc.ServerStream }
type UnimplementedTreeServiceServer ¶
type UnimplementedTreeServiceServer struct { }
UnimplementedTreeServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTreeServiceServer) Add ¶
func (UnimplementedTreeServiceServer) Add(context.Context, *AddRequest) (*AddResponse, error)
func (UnimplementedTreeServiceServer) AddByPath ¶
func (UnimplementedTreeServiceServer) AddByPath(context.Context, *AddByPathRequest) (*AddByPathResponse, error)
func (UnimplementedTreeServiceServer) Apply ¶
func (UnimplementedTreeServiceServer) Apply(context.Context, *ApplyRequest) (*ApplyResponse, error)
func (UnimplementedTreeServiceServer) GetNodeByPath ¶
func (UnimplementedTreeServiceServer) GetNodeByPath(context.Context, *GetNodeByPathRequest) (*GetNodeByPathResponse, error)
func (UnimplementedTreeServiceServer) GetOpLog ¶
func (UnimplementedTreeServiceServer) GetOpLog(*GetOpLogRequest, TreeService_GetOpLogServer) error
func (UnimplementedTreeServiceServer) GetSubTree ¶
func (UnimplementedTreeServiceServer) GetSubTree(*GetSubTreeRequest, TreeService_GetSubTreeServer) error
func (UnimplementedTreeServiceServer) Healthcheck ¶
func (UnimplementedTreeServiceServer) Healthcheck(context.Context, *HealthcheckRequest) (*HealthcheckResponse, error)
func (UnimplementedTreeServiceServer) Move ¶
func (UnimplementedTreeServiceServer) Move(context.Context, *MoveRequest) (*MoveResponse, error)
func (UnimplementedTreeServiceServer) Remove ¶
func (UnimplementedTreeServiceServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
func (UnimplementedTreeServiceServer) TreeList ¶
func (UnimplementedTreeServiceServer) TreeList(context.Context, *TreeListRequest) (*TreeListResponse, error)
type UnsafeTreeServiceServer ¶
type UnsafeTreeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTreeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TreeServiceServer will result in compilation errors.