Documentation ¶
Index ¶
- Variables
- func DRPCRegisterNodeApi(mux drpc.Mux, impl DRPCNodeApiServer) error
- type AllSpacesRequest
- func (*AllSpacesRequest) Descriptor() ([]byte, []int)
- func (m *AllSpacesRequest) Marshal() (dAtA []byte, err error)
- func (m *AllSpacesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AllSpacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AllSpacesRequest) ProtoMessage()
- func (m *AllSpacesRequest) Reset()
- func (m *AllSpacesRequest) Size() (n int)
- func (m *AllSpacesRequest) String() string
- func (m *AllSpacesRequest) Unmarshal(dAtA []byte) error
- func (m *AllSpacesRequest) XXX_DiscardUnknown()
- func (m *AllSpacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllSpacesRequest) XXX_Merge(src proto.Message)
- func (m *AllSpacesRequest) XXX_Size() int
- func (m *AllSpacesRequest) XXX_Unmarshal(b []byte) error
- type AllSpacesResponse
- func (*AllSpacesResponse) Descriptor() ([]byte, []int)
- func (m *AllSpacesResponse) GetSpaceIds() []string
- func (m *AllSpacesResponse) Marshal() (dAtA []byte, err error)
- func (m *AllSpacesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AllSpacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AllSpacesResponse) ProtoMessage()
- func (m *AllSpacesResponse) Reset()
- func (m *AllSpacesResponse) Size() (n int)
- func (m *AllSpacesResponse) String() string
- func (m *AllSpacesResponse) Unmarshal(dAtA []byte) error
- func (m *AllSpacesResponse) XXX_DiscardUnknown()
- func (m *AllSpacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllSpacesResponse) XXX_Merge(src proto.Message)
- func (m *AllSpacesResponse) XXX_Size() int
- func (m *AllSpacesResponse) XXX_Unmarshal(b []byte) error
- type AllTreesRequest
- func (*AllTreesRequest) Descriptor() ([]byte, []int)
- func (m *AllTreesRequest) GetSpaceId() string
- func (m *AllTreesRequest) Marshal() (dAtA []byte, err error)
- func (m *AllTreesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AllTreesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AllTreesRequest) ProtoMessage()
- func (m *AllTreesRequest) Reset()
- func (m *AllTreesRequest) Size() (n int)
- func (m *AllTreesRequest) String() string
- func (m *AllTreesRequest) Unmarshal(dAtA []byte) error
- func (m *AllTreesRequest) XXX_DiscardUnknown()
- func (m *AllTreesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllTreesRequest) XXX_Merge(src proto.Message)
- func (m *AllTreesRequest) XXX_Size() int
- func (m *AllTreesRequest) XXX_Unmarshal(b []byte) error
- type AllTreesResponse
- func (*AllTreesResponse) Descriptor() ([]byte, []int)
- func (m *AllTreesResponse) GetTrees() []*Tree
- func (m *AllTreesResponse) Marshal() (dAtA []byte, err error)
- func (m *AllTreesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AllTreesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AllTreesResponse) ProtoMessage()
- func (m *AllTreesResponse) Reset()
- func (m *AllTreesResponse) Size() (n int)
- func (m *AllTreesResponse) String() string
- func (m *AllTreesResponse) Unmarshal(dAtA []byte) error
- func (m *AllTreesResponse) XXX_DiscardUnknown()
- func (m *AllTreesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllTreesResponse) XXX_Merge(src proto.Message)
- func (m *AllTreesResponse) XXX_Size() int
- func (m *AllTreesResponse) XXX_Unmarshal(b []byte) error
- type DRPCNodeApiClient
- type DRPCNodeApiDescription
- type DRPCNodeApiServer
- type DRPCNodeApiUnimplementedServer
- func (s *DRPCNodeApiUnimplementedServer) AllSpaces(context.Context, *AllSpacesRequest) (*AllSpacesResponse, error)
- func (s *DRPCNodeApiUnimplementedServer) AllTrees(context.Context, *AllTreesRequest) (*AllTreesResponse, error)
- func (s *DRPCNodeApiUnimplementedServer) DumpTree(context.Context, *DumpTreeRequest) (*DumpTreeResponse, error)
- func (s *DRPCNodeApiUnimplementedServer) ForceNodeSync(context.Context, *ForceNodeSyncRequest) (*ForceNodeSyncResponse, error)
- func (s *DRPCNodeApiUnimplementedServer) NodesAddressesBySpace(context.Context, *NodesAddressesBySpaceRequest) (*NodesAddressesBySpaceResponse, error)
- func (s *DRPCNodeApiUnimplementedServer) TreeParams(context.Context, *TreeParamsRequest) (*TreeParamsResponse, error)
- type DRPCNodeApi_AllSpacesStream
- type DRPCNodeApi_AllTreesStream
- type DRPCNodeApi_DumpTreeStream
- type DRPCNodeApi_ForceNodeSyncStream
- type DRPCNodeApi_NodesAddressesBySpaceStream
- type DRPCNodeApi_TreeParamsStream
- type DumpTreeRequest
- func (*DumpTreeRequest) Descriptor() ([]byte, []int)
- func (m *DumpTreeRequest) GetDocumentId() string
- func (m *DumpTreeRequest) GetSpaceId() string
- func (m *DumpTreeRequest) Marshal() (dAtA []byte, err error)
- func (m *DumpTreeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DumpTreeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DumpTreeRequest) ProtoMessage()
- func (m *DumpTreeRequest) Reset()
- func (m *DumpTreeRequest) Size() (n int)
- func (m *DumpTreeRequest) String() string
- func (m *DumpTreeRequest) Unmarshal(dAtA []byte) error
- func (m *DumpTreeRequest) XXX_DiscardUnknown()
- func (m *DumpTreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DumpTreeRequest) XXX_Merge(src proto.Message)
- func (m *DumpTreeRequest) XXX_Size() int
- func (m *DumpTreeRequest) XXX_Unmarshal(b []byte) error
- type DumpTreeResponse
- func (*DumpTreeResponse) Descriptor() ([]byte, []int)
- func (m *DumpTreeResponse) GetDump() string
- func (m *DumpTreeResponse) Marshal() (dAtA []byte, err error)
- func (m *DumpTreeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DumpTreeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DumpTreeResponse) ProtoMessage()
- func (m *DumpTreeResponse) Reset()
- func (m *DumpTreeResponse) Size() (n int)
- func (m *DumpTreeResponse) String() string
- func (m *DumpTreeResponse) Unmarshal(dAtA []byte) error
- func (m *DumpTreeResponse) XXX_DiscardUnknown()
- func (m *DumpTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DumpTreeResponse) XXX_Merge(src proto.Message)
- func (m *DumpTreeResponse) XXX_Size() int
- func (m *DumpTreeResponse) XXX_Unmarshal(b []byte) error
- type ForceNodeSyncRequest
- func (*ForceNodeSyncRequest) Descriptor() ([]byte, []int)
- func (m *ForceNodeSyncRequest) Marshal() (dAtA []byte, err error)
- func (m *ForceNodeSyncRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ForceNodeSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ForceNodeSyncRequest) ProtoMessage()
- func (m *ForceNodeSyncRequest) Reset()
- func (m *ForceNodeSyncRequest) Size() (n int)
- func (m *ForceNodeSyncRequest) String() string
- func (m *ForceNodeSyncRequest) Unmarshal(dAtA []byte) error
- func (m *ForceNodeSyncRequest) XXX_DiscardUnknown()
- func (m *ForceNodeSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForceNodeSyncRequest) XXX_Merge(src proto.Message)
- func (m *ForceNodeSyncRequest) XXX_Size() int
- func (m *ForceNodeSyncRequest) XXX_Unmarshal(b []byte) error
- type ForceNodeSyncResponse
- func (*ForceNodeSyncResponse) Descriptor() ([]byte, []int)
- func (m *ForceNodeSyncResponse) Marshal() (dAtA []byte, err error)
- func (m *ForceNodeSyncResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ForceNodeSyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ForceNodeSyncResponse) ProtoMessage()
- func (m *ForceNodeSyncResponse) Reset()
- func (m *ForceNodeSyncResponse) Size() (n int)
- func (m *ForceNodeSyncResponse) String() string
- func (m *ForceNodeSyncResponse) Unmarshal(dAtA []byte) error
- func (m *ForceNodeSyncResponse) XXX_DiscardUnknown()
- func (m *ForceNodeSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForceNodeSyncResponse) XXX_Merge(src proto.Message)
- func (m *ForceNodeSyncResponse) XXX_Size() int
- func (m *ForceNodeSyncResponse) XXX_Unmarshal(b []byte) error
- type NodesAddressesBySpaceRequest
- func (*NodesAddressesBySpaceRequest) Descriptor() ([]byte, []int)
- func (m *NodesAddressesBySpaceRequest) GetSpaceId() string
- func (m *NodesAddressesBySpaceRequest) Marshal() (dAtA []byte, err error)
- func (m *NodesAddressesBySpaceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *NodesAddressesBySpaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NodesAddressesBySpaceRequest) ProtoMessage()
- func (m *NodesAddressesBySpaceRequest) Reset()
- func (m *NodesAddressesBySpaceRequest) Size() (n int)
- func (m *NodesAddressesBySpaceRequest) String() string
- func (m *NodesAddressesBySpaceRequest) Unmarshal(dAtA []byte) error
- func (m *NodesAddressesBySpaceRequest) XXX_DiscardUnknown()
- func (m *NodesAddressesBySpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodesAddressesBySpaceRequest) XXX_Merge(src proto.Message)
- func (m *NodesAddressesBySpaceRequest) XXX_Size() int
- func (m *NodesAddressesBySpaceRequest) XXX_Unmarshal(b []byte) error
- type NodesAddressesBySpaceResponse
- func (*NodesAddressesBySpaceResponse) Descriptor() ([]byte, []int)
- func (m *NodesAddressesBySpaceResponse) GetNodeAddresses() []string
- func (m *NodesAddressesBySpaceResponse) Marshal() (dAtA []byte, err error)
- func (m *NodesAddressesBySpaceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *NodesAddressesBySpaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NodesAddressesBySpaceResponse) ProtoMessage()
- func (m *NodesAddressesBySpaceResponse) Reset()
- func (m *NodesAddressesBySpaceResponse) Size() (n int)
- func (m *NodesAddressesBySpaceResponse) String() string
- func (m *NodesAddressesBySpaceResponse) Unmarshal(dAtA []byte) error
- func (m *NodesAddressesBySpaceResponse) XXX_DiscardUnknown()
- func (m *NodesAddressesBySpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodesAddressesBySpaceResponse) XXX_Merge(src proto.Message)
- func (m *NodesAddressesBySpaceResponse) XXX_Size() int
- func (m *NodesAddressesBySpaceResponse) XXX_Unmarshal(b []byte) error
- type Tree
- func (*Tree) Descriptor() ([]byte, []int)
- func (m *Tree) GetHeads() []string
- func (m *Tree) GetId() string
- func (m *Tree) Marshal() (dAtA []byte, err error)
- func (m *Tree) MarshalTo(dAtA []byte) (int, error)
- func (m *Tree) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tree) ProtoMessage()
- func (m *Tree) Reset()
- func (m *Tree) Size() (n int)
- func (m *Tree) String() string
- func (m *Tree) Unmarshal(dAtA []byte) error
- func (m *Tree) XXX_DiscardUnknown()
- func (m *Tree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tree) XXX_Merge(src proto.Message)
- func (m *Tree) XXX_Size() int
- func (m *Tree) XXX_Unmarshal(b []byte) error
- type TreeParamsRequest
- func (*TreeParamsRequest) Descriptor() ([]byte, []int)
- func (m *TreeParamsRequest) GetDocumentId() string
- func (m *TreeParamsRequest) GetSpaceId() string
- func (m *TreeParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *TreeParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeParamsRequest) ProtoMessage()
- func (m *TreeParamsRequest) Reset()
- func (m *TreeParamsRequest) Size() (n int)
- func (m *TreeParamsRequest) String() string
- func (m *TreeParamsRequest) Unmarshal(dAtA []byte) error
- func (m *TreeParamsRequest) XXX_DiscardUnknown()
- func (m *TreeParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeParamsRequest) XXX_Merge(src proto.Message)
- func (m *TreeParamsRequest) XXX_Size() int
- func (m *TreeParamsRequest) XXX_Unmarshal(b []byte) error
- type TreeParamsResponse
- func (*TreeParamsResponse) Descriptor() ([]byte, []int)
- func (m *TreeParamsResponse) GetHeadIds() []string
- func (m *TreeParamsResponse) GetRootId() string
- func (m *TreeParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *TreeParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeParamsResponse) ProtoMessage()
- func (m *TreeParamsResponse) Reset()
- func (m *TreeParamsResponse) Size() (n int)
- func (m *TreeParamsResponse) String() string
- func (m *TreeParamsResponse) Unmarshal(dAtA []byte) error
- func (m *TreeParamsResponse) XXX_DiscardUnknown()
- func (m *TreeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeParamsResponse) XXX_Merge(src proto.Message)
- func (m *TreeParamsResponse) XXX_Size() int
- func (m *TreeParamsResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DRPCRegisterNodeApi ¶
func DRPCRegisterNodeApi(mux drpc.Mux, impl DRPCNodeApiServer) error
Types ¶
type AllSpacesRequest ¶
type AllSpacesRequest struct { }
func (*AllSpacesRequest) Descriptor ¶
func (*AllSpacesRequest) Descriptor() ([]byte, []int)
func (*AllSpacesRequest) Marshal ¶
func (m *AllSpacesRequest) Marshal() (dAtA []byte, err error)
func (*AllSpacesRequest) MarshalToSizedBuffer ¶
func (m *AllSpacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllSpacesRequest) ProtoMessage ¶
func (*AllSpacesRequest) ProtoMessage()
func (*AllSpacesRequest) Reset ¶
func (m *AllSpacesRequest) Reset()
func (*AllSpacesRequest) Size ¶
func (m *AllSpacesRequest) Size() (n int)
func (*AllSpacesRequest) String ¶
func (m *AllSpacesRequest) String() string
func (*AllSpacesRequest) Unmarshal ¶
func (m *AllSpacesRequest) Unmarshal(dAtA []byte) error
func (*AllSpacesRequest) XXX_DiscardUnknown ¶
func (m *AllSpacesRequest) XXX_DiscardUnknown()
func (*AllSpacesRequest) XXX_Marshal ¶
func (m *AllSpacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllSpacesRequest) XXX_Merge ¶
func (m *AllSpacesRequest) XXX_Merge(src proto.Message)
func (*AllSpacesRequest) XXX_Size ¶
func (m *AllSpacesRequest) XXX_Size() int
func (*AllSpacesRequest) XXX_Unmarshal ¶
func (m *AllSpacesRequest) XXX_Unmarshal(b []byte) error
type AllSpacesResponse ¶
type AllSpacesResponse struct {
SpaceIds []string `protobuf:"bytes,1,rep,name=spaceIds,proto3" json:"spaceIds,omitempty"`
}
func (*AllSpacesResponse) Descriptor ¶
func (*AllSpacesResponse) Descriptor() ([]byte, []int)
func (*AllSpacesResponse) GetSpaceIds ¶
func (m *AllSpacesResponse) GetSpaceIds() []string
func (*AllSpacesResponse) Marshal ¶
func (m *AllSpacesResponse) Marshal() (dAtA []byte, err error)
func (*AllSpacesResponse) MarshalTo ¶
func (m *AllSpacesResponse) MarshalTo(dAtA []byte) (int, error)
func (*AllSpacesResponse) MarshalToSizedBuffer ¶
func (m *AllSpacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllSpacesResponse) ProtoMessage ¶
func (*AllSpacesResponse) ProtoMessage()
func (*AllSpacesResponse) Reset ¶
func (m *AllSpacesResponse) Reset()
func (*AllSpacesResponse) Size ¶
func (m *AllSpacesResponse) Size() (n int)
func (*AllSpacesResponse) String ¶
func (m *AllSpacesResponse) String() string
func (*AllSpacesResponse) Unmarshal ¶
func (m *AllSpacesResponse) Unmarshal(dAtA []byte) error
func (*AllSpacesResponse) XXX_DiscardUnknown ¶
func (m *AllSpacesResponse) XXX_DiscardUnknown()
func (*AllSpacesResponse) XXX_Marshal ¶
func (m *AllSpacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllSpacesResponse) XXX_Merge ¶
func (m *AllSpacesResponse) XXX_Merge(src proto.Message)
func (*AllSpacesResponse) XXX_Size ¶
func (m *AllSpacesResponse) XXX_Size() int
func (*AllSpacesResponse) XXX_Unmarshal ¶
func (m *AllSpacesResponse) XXX_Unmarshal(b []byte) error
type AllTreesRequest ¶
type AllTreesRequest struct {
SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
}
func (*AllTreesRequest) Descriptor ¶
func (*AllTreesRequest) Descriptor() ([]byte, []int)
func (*AllTreesRequest) GetSpaceId ¶
func (m *AllTreesRequest) GetSpaceId() string
func (*AllTreesRequest) Marshal ¶
func (m *AllTreesRequest) Marshal() (dAtA []byte, err error)
func (*AllTreesRequest) MarshalToSizedBuffer ¶
func (m *AllTreesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllTreesRequest) ProtoMessage ¶
func (*AllTreesRequest) ProtoMessage()
func (*AllTreesRequest) Reset ¶
func (m *AllTreesRequest) Reset()
func (*AllTreesRequest) Size ¶
func (m *AllTreesRequest) Size() (n int)
func (*AllTreesRequest) String ¶
func (m *AllTreesRequest) String() string
func (*AllTreesRequest) Unmarshal ¶
func (m *AllTreesRequest) Unmarshal(dAtA []byte) error
func (*AllTreesRequest) XXX_DiscardUnknown ¶
func (m *AllTreesRequest) XXX_DiscardUnknown()
func (*AllTreesRequest) XXX_Marshal ¶
func (m *AllTreesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllTreesRequest) XXX_Merge ¶
func (m *AllTreesRequest) XXX_Merge(src proto.Message)
func (*AllTreesRequest) XXX_Size ¶
func (m *AllTreesRequest) XXX_Size() int
func (*AllTreesRequest) XXX_Unmarshal ¶
func (m *AllTreesRequest) XXX_Unmarshal(b []byte) error
type AllTreesResponse ¶
type AllTreesResponse struct {
Trees []*Tree `protobuf:"bytes,1,rep,name=trees,proto3" json:"trees,omitempty"`
}
func (*AllTreesResponse) Descriptor ¶
func (*AllTreesResponse) Descriptor() ([]byte, []int)
func (*AllTreesResponse) GetTrees ¶
func (m *AllTreesResponse) GetTrees() []*Tree
func (*AllTreesResponse) Marshal ¶
func (m *AllTreesResponse) Marshal() (dAtA []byte, err error)
func (*AllTreesResponse) MarshalToSizedBuffer ¶
func (m *AllTreesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllTreesResponse) ProtoMessage ¶
func (*AllTreesResponse) ProtoMessage()
func (*AllTreesResponse) Reset ¶
func (m *AllTreesResponse) Reset()
func (*AllTreesResponse) Size ¶
func (m *AllTreesResponse) Size() (n int)
func (*AllTreesResponse) String ¶
func (m *AllTreesResponse) String() string
func (*AllTreesResponse) Unmarshal ¶
func (m *AllTreesResponse) Unmarshal(dAtA []byte) error
func (*AllTreesResponse) XXX_DiscardUnknown ¶
func (m *AllTreesResponse) XXX_DiscardUnknown()
func (*AllTreesResponse) XXX_Marshal ¶
func (m *AllTreesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllTreesResponse) XXX_Merge ¶
func (m *AllTreesResponse) XXX_Merge(src proto.Message)
func (*AllTreesResponse) XXX_Size ¶
func (m *AllTreesResponse) XXX_Size() int
func (*AllTreesResponse) XXX_Unmarshal ¶
func (m *AllTreesResponse) XXX_Unmarshal(b []byte) error
type DRPCNodeApiClient ¶
type DRPCNodeApiClient interface { DRPCConn() drpc.Conn DumpTree(ctx context.Context, in *DumpTreeRequest) (*DumpTreeResponse, error) TreeParams(ctx context.Context, in *TreeParamsRequest) (*TreeParamsResponse, error) AllTrees(ctx context.Context, in *AllTreesRequest) (*AllTreesResponse, error) AllSpaces(ctx context.Context, in *AllSpacesRequest) (*AllSpacesResponse, error) ForceNodeSync(ctx context.Context, in *ForceNodeSyncRequest) (*ForceNodeSyncResponse, error) NodesAddressesBySpace(ctx context.Context, in *NodesAddressesBySpaceRequest) (*NodesAddressesBySpaceResponse, error) }
func NewDRPCNodeApiClient ¶
func NewDRPCNodeApiClient(cc drpc.Conn) DRPCNodeApiClient
type DRPCNodeApiDescription ¶
type DRPCNodeApiDescription struct{}
func (DRPCNodeApiDescription) NumMethods ¶
func (DRPCNodeApiDescription) NumMethods() int
type DRPCNodeApiServer ¶
type DRPCNodeApiServer interface { DumpTree(context.Context, *DumpTreeRequest) (*DumpTreeResponse, error) TreeParams(context.Context, *TreeParamsRequest) (*TreeParamsResponse, error) AllTrees(context.Context, *AllTreesRequest) (*AllTreesResponse, error) AllSpaces(context.Context, *AllSpacesRequest) (*AllSpacesResponse, error) ForceNodeSync(context.Context, *ForceNodeSyncRequest) (*ForceNodeSyncResponse, error) NodesAddressesBySpace(context.Context, *NodesAddressesBySpaceRequest) (*NodesAddressesBySpaceResponse, error) }
type DRPCNodeApiUnimplementedServer ¶
type DRPCNodeApiUnimplementedServer struct{}
func (*DRPCNodeApiUnimplementedServer) AllSpaces ¶
func (s *DRPCNodeApiUnimplementedServer) AllSpaces(context.Context, *AllSpacesRequest) (*AllSpacesResponse, error)
func (*DRPCNodeApiUnimplementedServer) AllTrees ¶
func (s *DRPCNodeApiUnimplementedServer) AllTrees(context.Context, *AllTreesRequest) (*AllTreesResponse, error)
func (*DRPCNodeApiUnimplementedServer) DumpTree ¶
func (s *DRPCNodeApiUnimplementedServer) DumpTree(context.Context, *DumpTreeRequest) (*DumpTreeResponse, error)
func (*DRPCNodeApiUnimplementedServer) ForceNodeSync ¶
func (s *DRPCNodeApiUnimplementedServer) ForceNodeSync(context.Context, *ForceNodeSyncRequest) (*ForceNodeSyncResponse, error)
func (*DRPCNodeApiUnimplementedServer) NodesAddressesBySpace ¶
func (s *DRPCNodeApiUnimplementedServer) NodesAddressesBySpace(context.Context, *NodesAddressesBySpaceRequest) (*NodesAddressesBySpaceResponse, error)
func (*DRPCNodeApiUnimplementedServer) TreeParams ¶
func (s *DRPCNodeApiUnimplementedServer) TreeParams(context.Context, *TreeParamsRequest) (*TreeParamsResponse, error)
type DRPCNodeApi_AllSpacesStream ¶
type DRPCNodeApi_AllSpacesStream interface { drpc.Stream SendAndClose(*AllSpacesResponse) error }
type DRPCNodeApi_AllTreesStream ¶
type DRPCNodeApi_AllTreesStream interface { drpc.Stream SendAndClose(*AllTreesResponse) error }
type DRPCNodeApi_DumpTreeStream ¶
type DRPCNodeApi_DumpTreeStream interface { drpc.Stream SendAndClose(*DumpTreeResponse) error }
type DRPCNodeApi_ForceNodeSyncStream ¶
type DRPCNodeApi_ForceNodeSyncStream interface { drpc.Stream SendAndClose(*ForceNodeSyncResponse) error }
type DRPCNodeApi_NodesAddressesBySpaceStream ¶
type DRPCNodeApi_NodesAddressesBySpaceStream interface { drpc.Stream SendAndClose(*NodesAddressesBySpaceResponse) error }
type DRPCNodeApi_TreeParamsStream ¶
type DRPCNodeApi_TreeParamsStream interface { drpc.Stream SendAndClose(*TreeParamsResponse) error }
type DumpTreeRequest ¶
type DumpTreeRequest struct { SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=documentId,proto3" json:"documentId,omitempty"` }
func (*DumpTreeRequest) Descriptor ¶
func (*DumpTreeRequest) Descriptor() ([]byte, []int)
func (*DumpTreeRequest) GetDocumentId ¶
func (m *DumpTreeRequest) GetDocumentId() string
func (*DumpTreeRequest) GetSpaceId ¶
func (m *DumpTreeRequest) GetSpaceId() string
func (*DumpTreeRequest) Marshal ¶
func (m *DumpTreeRequest) Marshal() (dAtA []byte, err error)
func (*DumpTreeRequest) MarshalToSizedBuffer ¶
func (m *DumpTreeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DumpTreeRequest) ProtoMessage ¶
func (*DumpTreeRequest) ProtoMessage()
func (*DumpTreeRequest) Reset ¶
func (m *DumpTreeRequest) Reset()
func (*DumpTreeRequest) Size ¶
func (m *DumpTreeRequest) Size() (n int)
func (*DumpTreeRequest) String ¶
func (m *DumpTreeRequest) String() string
func (*DumpTreeRequest) Unmarshal ¶
func (m *DumpTreeRequest) Unmarshal(dAtA []byte) error
func (*DumpTreeRequest) XXX_DiscardUnknown ¶
func (m *DumpTreeRequest) XXX_DiscardUnknown()
func (*DumpTreeRequest) XXX_Marshal ¶
func (m *DumpTreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DumpTreeRequest) XXX_Merge ¶
func (m *DumpTreeRequest) XXX_Merge(src proto.Message)
func (*DumpTreeRequest) XXX_Size ¶
func (m *DumpTreeRequest) XXX_Size() int
func (*DumpTreeRequest) XXX_Unmarshal ¶
func (m *DumpTreeRequest) XXX_Unmarshal(b []byte) error
type DumpTreeResponse ¶
type DumpTreeResponse struct {
Dump string `protobuf:"bytes,1,opt,name=dump,proto3" json:"dump,omitempty"`
}
func (*DumpTreeResponse) Descriptor ¶
func (*DumpTreeResponse) Descriptor() ([]byte, []int)
func (*DumpTreeResponse) GetDump ¶
func (m *DumpTreeResponse) GetDump() string
func (*DumpTreeResponse) Marshal ¶
func (m *DumpTreeResponse) Marshal() (dAtA []byte, err error)
func (*DumpTreeResponse) MarshalToSizedBuffer ¶
func (m *DumpTreeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DumpTreeResponse) ProtoMessage ¶
func (*DumpTreeResponse) ProtoMessage()
func (*DumpTreeResponse) Reset ¶
func (m *DumpTreeResponse) Reset()
func (*DumpTreeResponse) Size ¶
func (m *DumpTreeResponse) Size() (n int)
func (*DumpTreeResponse) String ¶
func (m *DumpTreeResponse) String() string
func (*DumpTreeResponse) Unmarshal ¶
func (m *DumpTreeResponse) Unmarshal(dAtA []byte) error
func (*DumpTreeResponse) XXX_DiscardUnknown ¶
func (m *DumpTreeResponse) XXX_DiscardUnknown()
func (*DumpTreeResponse) XXX_Marshal ¶
func (m *DumpTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DumpTreeResponse) XXX_Merge ¶
func (m *DumpTreeResponse) XXX_Merge(src proto.Message)
func (*DumpTreeResponse) XXX_Size ¶
func (m *DumpTreeResponse) XXX_Size() int
func (*DumpTreeResponse) XXX_Unmarshal ¶
func (m *DumpTreeResponse) XXX_Unmarshal(b []byte) error
type ForceNodeSyncRequest ¶
type ForceNodeSyncRequest struct { }
func (*ForceNodeSyncRequest) Descriptor ¶
func (*ForceNodeSyncRequest) Descriptor() ([]byte, []int)
func (*ForceNodeSyncRequest) Marshal ¶
func (m *ForceNodeSyncRequest) Marshal() (dAtA []byte, err error)
func (*ForceNodeSyncRequest) MarshalTo ¶
func (m *ForceNodeSyncRequest) MarshalTo(dAtA []byte) (int, error)
func (*ForceNodeSyncRequest) MarshalToSizedBuffer ¶
func (m *ForceNodeSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ForceNodeSyncRequest) ProtoMessage ¶
func (*ForceNodeSyncRequest) ProtoMessage()
func (*ForceNodeSyncRequest) Reset ¶
func (m *ForceNodeSyncRequest) Reset()
func (*ForceNodeSyncRequest) Size ¶
func (m *ForceNodeSyncRequest) Size() (n int)
func (*ForceNodeSyncRequest) String ¶
func (m *ForceNodeSyncRequest) String() string
func (*ForceNodeSyncRequest) Unmarshal ¶
func (m *ForceNodeSyncRequest) Unmarshal(dAtA []byte) error
func (*ForceNodeSyncRequest) XXX_DiscardUnknown ¶
func (m *ForceNodeSyncRequest) XXX_DiscardUnknown()
func (*ForceNodeSyncRequest) XXX_Marshal ¶
func (m *ForceNodeSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ForceNodeSyncRequest) XXX_Merge ¶
func (m *ForceNodeSyncRequest) XXX_Merge(src proto.Message)
func (*ForceNodeSyncRequest) XXX_Size ¶
func (m *ForceNodeSyncRequest) XXX_Size() int
func (*ForceNodeSyncRequest) XXX_Unmarshal ¶
func (m *ForceNodeSyncRequest) XXX_Unmarshal(b []byte) error
type ForceNodeSyncResponse ¶
type ForceNodeSyncResponse struct { }
func (*ForceNodeSyncResponse) Descriptor ¶
func (*ForceNodeSyncResponse) Descriptor() ([]byte, []int)
func (*ForceNodeSyncResponse) Marshal ¶
func (m *ForceNodeSyncResponse) Marshal() (dAtA []byte, err error)
func (*ForceNodeSyncResponse) MarshalTo ¶
func (m *ForceNodeSyncResponse) MarshalTo(dAtA []byte) (int, error)
func (*ForceNodeSyncResponse) MarshalToSizedBuffer ¶
func (m *ForceNodeSyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ForceNodeSyncResponse) ProtoMessage ¶
func (*ForceNodeSyncResponse) ProtoMessage()
func (*ForceNodeSyncResponse) Reset ¶
func (m *ForceNodeSyncResponse) Reset()
func (*ForceNodeSyncResponse) Size ¶
func (m *ForceNodeSyncResponse) Size() (n int)
func (*ForceNodeSyncResponse) String ¶
func (m *ForceNodeSyncResponse) String() string
func (*ForceNodeSyncResponse) Unmarshal ¶
func (m *ForceNodeSyncResponse) Unmarshal(dAtA []byte) error
func (*ForceNodeSyncResponse) XXX_DiscardUnknown ¶
func (m *ForceNodeSyncResponse) XXX_DiscardUnknown()
func (*ForceNodeSyncResponse) XXX_Marshal ¶
func (m *ForceNodeSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ForceNodeSyncResponse) XXX_Merge ¶
func (m *ForceNodeSyncResponse) XXX_Merge(src proto.Message)
func (*ForceNodeSyncResponse) XXX_Size ¶
func (m *ForceNodeSyncResponse) XXX_Size() int
func (*ForceNodeSyncResponse) XXX_Unmarshal ¶
func (m *ForceNodeSyncResponse) XXX_Unmarshal(b []byte) error
type NodesAddressesBySpaceRequest ¶
type NodesAddressesBySpaceRequest struct {
SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
}
func (*NodesAddressesBySpaceRequest) Descriptor ¶
func (*NodesAddressesBySpaceRequest) Descriptor() ([]byte, []int)
func (*NodesAddressesBySpaceRequest) GetSpaceId ¶
func (m *NodesAddressesBySpaceRequest) GetSpaceId() string
func (*NodesAddressesBySpaceRequest) Marshal ¶
func (m *NodesAddressesBySpaceRequest) Marshal() (dAtA []byte, err error)
func (*NodesAddressesBySpaceRequest) MarshalTo ¶
func (m *NodesAddressesBySpaceRequest) MarshalTo(dAtA []byte) (int, error)
func (*NodesAddressesBySpaceRequest) MarshalToSizedBuffer ¶
func (m *NodesAddressesBySpaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NodesAddressesBySpaceRequest) ProtoMessage ¶
func (*NodesAddressesBySpaceRequest) ProtoMessage()
func (*NodesAddressesBySpaceRequest) Reset ¶
func (m *NodesAddressesBySpaceRequest) Reset()
func (*NodesAddressesBySpaceRequest) Size ¶
func (m *NodesAddressesBySpaceRequest) Size() (n int)
func (*NodesAddressesBySpaceRequest) String ¶
func (m *NodesAddressesBySpaceRequest) String() string
func (*NodesAddressesBySpaceRequest) Unmarshal ¶
func (m *NodesAddressesBySpaceRequest) Unmarshal(dAtA []byte) error
func (*NodesAddressesBySpaceRequest) XXX_DiscardUnknown ¶
func (m *NodesAddressesBySpaceRequest) XXX_DiscardUnknown()
func (*NodesAddressesBySpaceRequest) XXX_Marshal ¶
func (m *NodesAddressesBySpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodesAddressesBySpaceRequest) XXX_Merge ¶
func (m *NodesAddressesBySpaceRequest) XXX_Merge(src proto.Message)
func (*NodesAddressesBySpaceRequest) XXX_Size ¶
func (m *NodesAddressesBySpaceRequest) XXX_Size() int
func (*NodesAddressesBySpaceRequest) XXX_Unmarshal ¶
func (m *NodesAddressesBySpaceRequest) XXX_Unmarshal(b []byte) error
type NodesAddressesBySpaceResponse ¶
type NodesAddressesBySpaceResponse struct {
NodeAddresses []string `protobuf:"bytes,1,rep,name=nodeAddresses,proto3" json:"nodeAddresses,omitempty"`
}
func (*NodesAddressesBySpaceResponse) Descriptor ¶
func (*NodesAddressesBySpaceResponse) Descriptor() ([]byte, []int)
func (*NodesAddressesBySpaceResponse) GetNodeAddresses ¶
func (m *NodesAddressesBySpaceResponse) GetNodeAddresses() []string
func (*NodesAddressesBySpaceResponse) Marshal ¶
func (m *NodesAddressesBySpaceResponse) Marshal() (dAtA []byte, err error)
func (*NodesAddressesBySpaceResponse) MarshalTo ¶
func (m *NodesAddressesBySpaceResponse) MarshalTo(dAtA []byte) (int, error)
func (*NodesAddressesBySpaceResponse) MarshalToSizedBuffer ¶
func (m *NodesAddressesBySpaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NodesAddressesBySpaceResponse) ProtoMessage ¶
func (*NodesAddressesBySpaceResponse) ProtoMessage()
func (*NodesAddressesBySpaceResponse) Reset ¶
func (m *NodesAddressesBySpaceResponse) Reset()
func (*NodesAddressesBySpaceResponse) Size ¶
func (m *NodesAddressesBySpaceResponse) Size() (n int)
func (*NodesAddressesBySpaceResponse) String ¶
func (m *NodesAddressesBySpaceResponse) String() string
func (*NodesAddressesBySpaceResponse) Unmarshal ¶
func (m *NodesAddressesBySpaceResponse) Unmarshal(dAtA []byte) error
func (*NodesAddressesBySpaceResponse) XXX_DiscardUnknown ¶
func (m *NodesAddressesBySpaceResponse) XXX_DiscardUnknown()
func (*NodesAddressesBySpaceResponse) XXX_Marshal ¶
func (m *NodesAddressesBySpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodesAddressesBySpaceResponse) XXX_Merge ¶
func (m *NodesAddressesBySpaceResponse) XXX_Merge(src proto.Message)
func (*NodesAddressesBySpaceResponse) XXX_Size ¶
func (m *NodesAddressesBySpaceResponse) XXX_Size() int
func (*NodesAddressesBySpaceResponse) XXX_Unmarshal ¶
func (m *NodesAddressesBySpaceResponse) XXX_Unmarshal(b []byte) error
type Tree ¶
type Tree struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Heads []string `protobuf:"bytes,2,rep,name=heads,proto3" json:"heads,omitempty"` }
func (*Tree) Descriptor ¶
func (*Tree) ProtoMessage ¶
func (*Tree) ProtoMessage()
func (*Tree) XXX_DiscardUnknown ¶
func (m *Tree) XXX_DiscardUnknown()
func (*Tree) XXX_Unmarshal ¶
type TreeParamsRequest ¶
type TreeParamsRequest struct { SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=documentId,proto3" json:"documentId,omitempty"` }
func (*TreeParamsRequest) Descriptor ¶
func (*TreeParamsRequest) Descriptor() ([]byte, []int)
func (*TreeParamsRequest) GetDocumentId ¶
func (m *TreeParamsRequest) GetDocumentId() string
func (*TreeParamsRequest) GetSpaceId ¶
func (m *TreeParamsRequest) GetSpaceId() string
func (*TreeParamsRequest) Marshal ¶
func (m *TreeParamsRequest) Marshal() (dAtA []byte, err error)
func (*TreeParamsRequest) MarshalTo ¶
func (m *TreeParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*TreeParamsRequest) MarshalToSizedBuffer ¶
func (m *TreeParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeParamsRequest) ProtoMessage ¶
func (*TreeParamsRequest) ProtoMessage()
func (*TreeParamsRequest) Reset ¶
func (m *TreeParamsRequest) Reset()
func (*TreeParamsRequest) Size ¶
func (m *TreeParamsRequest) Size() (n int)
func (*TreeParamsRequest) String ¶
func (m *TreeParamsRequest) String() string
func (*TreeParamsRequest) Unmarshal ¶
func (m *TreeParamsRequest) Unmarshal(dAtA []byte) error
func (*TreeParamsRequest) XXX_DiscardUnknown ¶
func (m *TreeParamsRequest) XXX_DiscardUnknown()
func (*TreeParamsRequest) XXX_Marshal ¶
func (m *TreeParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeParamsRequest) XXX_Merge ¶
func (m *TreeParamsRequest) XXX_Merge(src proto.Message)
func (*TreeParamsRequest) XXX_Size ¶
func (m *TreeParamsRequest) XXX_Size() int
func (*TreeParamsRequest) XXX_Unmarshal ¶
func (m *TreeParamsRequest) XXX_Unmarshal(b []byte) error
type TreeParamsResponse ¶
type TreeParamsResponse struct { RootId string `protobuf:"bytes,1,opt,name=rootId,proto3" json:"rootId,omitempty"` HeadIds []string `protobuf:"bytes,2,rep,name=headIds,proto3" json:"headIds,omitempty"` }
func (*TreeParamsResponse) Descriptor ¶
func (*TreeParamsResponse) Descriptor() ([]byte, []int)
func (*TreeParamsResponse) GetHeadIds ¶
func (m *TreeParamsResponse) GetHeadIds() []string
func (*TreeParamsResponse) GetRootId ¶
func (m *TreeParamsResponse) GetRootId() string
func (*TreeParamsResponse) Marshal ¶
func (m *TreeParamsResponse) Marshal() (dAtA []byte, err error)
func (*TreeParamsResponse) MarshalTo ¶
func (m *TreeParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*TreeParamsResponse) MarshalToSizedBuffer ¶
func (m *TreeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeParamsResponse) ProtoMessage ¶
func (*TreeParamsResponse) ProtoMessage()
func (*TreeParamsResponse) Reset ¶
func (m *TreeParamsResponse) Reset()
func (*TreeParamsResponse) Size ¶
func (m *TreeParamsResponse) Size() (n int)
func (*TreeParamsResponse) String ¶
func (m *TreeParamsResponse) String() string
func (*TreeParamsResponse) Unmarshal ¶
func (m *TreeParamsResponse) Unmarshal(dAtA []byte) error
func (*TreeParamsResponse) XXX_DiscardUnknown ¶
func (m *TreeParamsResponse) XXX_DiscardUnknown()
func (*TreeParamsResponse) XXX_Marshal ¶
func (m *TreeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeParamsResponse) XXX_Merge ¶
func (m *TreeParamsResponse) XXX_Merge(src proto.Message)
func (*TreeParamsResponse) XXX_Size ¶
func (m *TreeParamsResponse) XXX_Size() int
func (*TreeParamsResponse) XXX_Unmarshal ¶
func (m *TreeParamsResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.