Documentation ¶
Index ¶
- Variables
- func DRPCRegisterFile(mux drpc.Mux, impl DRPCFileServer) error
- type AccountInfoRequest
- func (*AccountInfoRequest) Descriptor() ([]byte, []int)
- func (m *AccountInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountInfoRequest) ProtoMessage()
- func (m *AccountInfoRequest) Reset()
- func (m *AccountInfoRequest) Size() (n int)
- func (m *AccountInfoRequest) String() string
- func (m *AccountInfoRequest) Unmarshal(dAtA []byte) error
- func (m *AccountInfoRequest) XXX_DiscardUnknown()
- func (m *AccountInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountInfoRequest) XXX_Merge(src proto.Message)
- func (m *AccountInfoRequest) XXX_Size() int
- func (m *AccountInfoRequest) XXX_Unmarshal(b []byte) error
- type AccountInfoResponse
- func (*AccountInfoResponse) Descriptor() ([]byte, []int)
- func (m *AccountInfoResponse) GetAccountLimitBytes() uint64
- func (m *AccountInfoResponse) GetLimitBytes() uint64
- func (m *AccountInfoResponse) GetSpaces() []*SpaceInfoResponse
- func (m *AccountInfoResponse) GetTotalCidsCount() uint64
- func (m *AccountInfoResponse) GetTotalUsageBytes() uint64
- func (m *AccountInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountInfoResponse) ProtoMessage()
- func (m *AccountInfoResponse) Reset()
- func (m *AccountInfoResponse) Size() (n int)
- func (m *AccountInfoResponse) String() string
- func (m *AccountInfoResponse) Unmarshal(dAtA []byte) error
- func (m *AccountInfoResponse) XXX_DiscardUnknown()
- func (m *AccountInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountInfoResponse) XXX_Merge(src proto.Message)
- func (m *AccountInfoResponse) XXX_Size() int
- func (m *AccountInfoResponse) XXX_Unmarshal(b []byte) error
- type AccountLimitSetRequest
- func (*AccountLimitSetRequest) Descriptor() ([]byte, []int)
- func (m *AccountLimitSetRequest) GetIdentity() string
- func (m *AccountLimitSetRequest) GetLimit() uint64
- func (m *AccountLimitSetRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountLimitSetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLimitSetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLimitSetRequest) ProtoMessage()
- func (m *AccountLimitSetRequest) Reset()
- func (m *AccountLimitSetRequest) Size() (n int)
- func (m *AccountLimitSetRequest) String() string
- func (m *AccountLimitSetRequest) Unmarshal(dAtA []byte) error
- func (m *AccountLimitSetRequest) XXX_DiscardUnknown()
- func (m *AccountLimitSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLimitSetRequest) XXX_Merge(src proto.Message)
- func (m *AccountLimitSetRequest) XXX_Size() int
- func (m *AccountLimitSetRequest) XXX_Unmarshal(b []byte) error
- type AvailabilityStatus
- type BlockAvailability
- func (*BlockAvailability) Descriptor() ([]byte, []int)
- func (m *BlockAvailability) GetCid() []byte
- func (m *BlockAvailability) GetStatus() AvailabilityStatus
- func (m *BlockAvailability) Marshal() (dAtA []byte, err error)
- func (m *BlockAvailability) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockAvailability) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockAvailability) ProtoMessage()
- func (m *BlockAvailability) Reset()
- func (m *BlockAvailability) Size() (n int)
- func (m *BlockAvailability) String() string
- func (m *BlockAvailability) Unmarshal(dAtA []byte) error
- func (m *BlockAvailability) XXX_DiscardUnknown()
- func (m *BlockAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockAvailability) XXX_Merge(src proto.Message)
- func (m *BlockAvailability) XXX_Size() int
- func (m *BlockAvailability) XXX_Unmarshal(b []byte) error
- type BlockGetRequest
- func (*BlockGetRequest) Descriptor() ([]byte, []int)
- func (m *BlockGetRequest) GetCid() []byte
- func (m *BlockGetRequest) GetSpaceId() string
- func (m *BlockGetRequest) GetWait() bool
- func (m *BlockGetRequest) Marshal() (dAtA []byte, err error)
- func (m *BlockGetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockGetRequest) ProtoMessage()
- func (m *BlockGetRequest) Reset()
- func (m *BlockGetRequest) Size() (n int)
- func (m *BlockGetRequest) String() string
- func (m *BlockGetRequest) Unmarshal(dAtA []byte) error
- func (m *BlockGetRequest) XXX_DiscardUnknown()
- func (m *BlockGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockGetRequest) XXX_Merge(src proto.Message)
- func (m *BlockGetRequest) XXX_Size() int
- func (m *BlockGetRequest) XXX_Unmarshal(b []byte) error
- type BlockGetResponse
- func (*BlockGetResponse) Descriptor() ([]byte, []int)
- func (m *BlockGetResponse) GetCid() []byte
- func (m *BlockGetResponse) GetData() []byte
- func (m *BlockGetResponse) Marshal() (dAtA []byte, err error)
- func (m *BlockGetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockGetResponse) ProtoMessage()
- func (m *BlockGetResponse) Reset()
- func (m *BlockGetResponse) Size() (n int)
- func (m *BlockGetResponse) String() string
- func (m *BlockGetResponse) Unmarshal(dAtA []byte) error
- func (m *BlockGetResponse) XXX_DiscardUnknown()
- func (m *BlockGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockGetResponse) XXX_Merge(src proto.Message)
- func (m *BlockGetResponse) XXX_Size() int
- func (m *BlockGetResponse) XXX_Unmarshal(b []byte) error
- type BlockPushRequest
- func (*BlockPushRequest) Descriptor() ([]byte, []int)
- func (m *BlockPushRequest) GetCid() []byte
- func (m *BlockPushRequest) GetData() []byte
- func (m *BlockPushRequest) GetFileId() string
- func (m *BlockPushRequest) GetSpaceId() string
- func (m *BlockPushRequest) Marshal() (dAtA []byte, err error)
- func (m *BlockPushRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockPushRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockPushRequest) ProtoMessage()
- func (m *BlockPushRequest) Reset()
- func (m *BlockPushRequest) Size() (n int)
- func (m *BlockPushRequest) String() string
- func (m *BlockPushRequest) Unmarshal(dAtA []byte) error
- func (m *BlockPushRequest) XXX_DiscardUnknown()
- func (m *BlockPushRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockPushRequest) XXX_Merge(src proto.Message)
- func (m *BlockPushRequest) XXX_Size() int
- func (m *BlockPushRequest) XXX_Unmarshal(b []byte) error
- type BlocksBindRequest
- func (*BlocksBindRequest) Descriptor() ([]byte, []int)
- func (m *BlocksBindRequest) GetCids() [][]byte
- func (m *BlocksBindRequest) GetFileId() string
- func (m *BlocksBindRequest) GetSpaceId() string
- func (m *BlocksBindRequest) Marshal() (dAtA []byte, err error)
- func (m *BlocksBindRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BlocksBindRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlocksBindRequest) ProtoMessage()
- func (m *BlocksBindRequest) Reset()
- func (m *BlocksBindRequest) Size() (n int)
- func (m *BlocksBindRequest) String() string
- func (m *BlocksBindRequest) Unmarshal(dAtA []byte) error
- func (m *BlocksBindRequest) XXX_DiscardUnknown()
- func (m *BlocksBindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlocksBindRequest) XXX_Merge(src proto.Message)
- func (m *BlocksBindRequest) XXX_Size() int
- func (m *BlocksBindRequest) XXX_Unmarshal(b []byte) error
- type BlocksCheckRequest
- func (*BlocksCheckRequest) Descriptor() ([]byte, []int)
- func (m *BlocksCheckRequest) GetCids() [][]byte
- func (m *BlocksCheckRequest) GetSpaceId() string
- func (m *BlocksCheckRequest) Marshal() (dAtA []byte, err error)
- func (m *BlocksCheckRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BlocksCheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlocksCheckRequest) ProtoMessage()
- func (m *BlocksCheckRequest) Reset()
- func (m *BlocksCheckRequest) Size() (n int)
- func (m *BlocksCheckRequest) String() string
- func (m *BlocksCheckRequest) Unmarshal(dAtA []byte) error
- func (m *BlocksCheckRequest) XXX_DiscardUnknown()
- func (m *BlocksCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlocksCheckRequest) XXX_Merge(src proto.Message)
- func (m *BlocksCheckRequest) XXX_Size() int
- func (m *BlocksCheckRequest) XXX_Unmarshal(b []byte) error
- type BlocksCheckResponse
- func (*BlocksCheckResponse) Descriptor() ([]byte, []int)
- func (m *BlocksCheckResponse) GetBlocksAvailability() []*BlockAvailability
- func (m *BlocksCheckResponse) Marshal() (dAtA []byte, err error)
- func (m *BlocksCheckResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BlocksCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlocksCheckResponse) ProtoMessage()
- func (m *BlocksCheckResponse) Reset()
- func (m *BlocksCheckResponse) Size() (n int)
- func (m *BlocksCheckResponse) String() string
- func (m *BlocksCheckResponse) Unmarshal(dAtA []byte) error
- func (m *BlocksCheckResponse) XXX_DiscardUnknown()
- func (m *BlocksCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlocksCheckResponse) XXX_Merge(src proto.Message)
- func (m *BlocksCheckResponse) XXX_Size() int
- func (m *BlocksCheckResponse) XXX_Unmarshal(b []byte) error
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)
- func (m *CheckRequest) Marshal() (dAtA []byte, err error)
- func (m *CheckRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckRequest) ProtoMessage()
- func (m *CheckRequest) Reset()
- func (m *CheckRequest) Size() (n int)
- func (m *CheckRequest) String() string
- func (m *CheckRequest) Unmarshal(dAtA []byte) error
- func (m *CheckRequest) XXX_DiscardUnknown()
- func (m *CheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckRequest) XXX_Merge(src proto.Message)
- func (m *CheckRequest) XXX_Size() int
- func (m *CheckRequest) XXX_Unmarshal(b []byte) error
- type CheckResponse
- func (*CheckResponse) Descriptor() ([]byte, []int)
- func (m *CheckResponse) GetAllowWrite() bool
- func (m *CheckResponse) GetSpaceIds() []string
- func (m *CheckResponse) Marshal() (dAtA []byte, err error)
- func (m *CheckResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckResponse) ProtoMessage()
- func (m *CheckResponse) Reset()
- func (m *CheckResponse) Size() (n int)
- func (m *CheckResponse) String() string
- func (m *CheckResponse) Unmarshal(dAtA []byte) error
- func (m *CheckResponse) XXX_DiscardUnknown()
- func (m *CheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckResponse) XXX_Merge(src proto.Message)
- func (m *CheckResponse) XXX_Size() int
- func (m *CheckResponse) XXX_Unmarshal(b []byte) error
- type DRPCFileClient
- type DRPCFileDescription
- type DRPCFileServer
- type DRPCFileUnimplementedServer
- func (s *DRPCFileUnimplementedServer) AccountInfo(context.Context, *AccountInfoRequest) (*AccountInfoResponse, error)
- func (s *DRPCFileUnimplementedServer) AccountLimitSet(context.Context, *AccountLimitSetRequest) (*Ok, error)
- func (s *DRPCFileUnimplementedServer) BlockGet(context.Context, *BlockGetRequest) (*BlockGetResponse, error)
- func (s *DRPCFileUnimplementedServer) BlockPush(context.Context, *BlockPushRequest) (*Ok, error)
- func (s *DRPCFileUnimplementedServer) BlocksBind(context.Context, *BlocksBindRequest) (*Ok, error)
- func (s *DRPCFileUnimplementedServer) BlocksCheck(context.Context, *BlocksCheckRequest) (*BlocksCheckResponse, error)
- func (s *DRPCFileUnimplementedServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
- func (s *DRPCFileUnimplementedServer) FilesDelete(context.Context, *FilesDeleteRequest) (*FilesDeleteResponse, error)
- func (s *DRPCFileUnimplementedServer) FilesGet(*FilesGetRequest, DRPCFile_FilesGetStream) error
- func (s *DRPCFileUnimplementedServer) FilesInfo(context.Context, *FilesInfoRequest) (*FilesInfoResponse, error)
- func (s *DRPCFileUnimplementedServer) SpaceInfo(context.Context, *SpaceInfoRequest) (*SpaceInfoResponse, error)
- func (s *DRPCFileUnimplementedServer) SpaceLimitSet(context.Context, *SpaceLimitSetRequest) (*Ok, error)
- type DRPCFile_AccountInfoStream
- type DRPCFile_AccountLimitSetStream
- type DRPCFile_BlockGetStream
- type DRPCFile_BlockPushStream
- type DRPCFile_BlocksBindStream
- type DRPCFile_BlocksCheckStream
- type DRPCFile_CheckStream
- type DRPCFile_FilesDeleteStream
- type DRPCFile_FilesGetClient
- type DRPCFile_FilesGetStream
- type DRPCFile_FilesInfoStream
- type DRPCFile_SpaceInfoStream
- type DRPCFile_SpaceLimitSetStream
- type ErrCodes
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)
- func (m *FileInfo) GetCidsCount() uint32
- func (m *FileInfo) GetFileId() string
- func (m *FileInfo) GetUsageBytes() uint64
- func (m *FileInfo) Marshal() (dAtA []byte, err error)
- func (m *FileInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *FileInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileInfo) ProtoMessage()
- func (m *FileInfo) Reset()
- func (m *FileInfo) Size() (n int)
- func (m *FileInfo) String() string
- func (m *FileInfo) Unmarshal(dAtA []byte) error
- func (m *FileInfo) XXX_DiscardUnknown()
- func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileInfo) XXX_Merge(src proto.Message)
- func (m *FileInfo) XXX_Size() int
- func (m *FileInfo) XXX_Unmarshal(b []byte) error
- type FilesDeleteRequest
- func (*FilesDeleteRequest) Descriptor() ([]byte, []int)
- func (m *FilesDeleteRequest) GetFileIds() []string
- func (m *FilesDeleteRequest) GetSpaceId() string
- func (m *FilesDeleteRequest) Marshal() (dAtA []byte, err error)
- func (m *FilesDeleteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *FilesDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FilesDeleteRequest) ProtoMessage()
- func (m *FilesDeleteRequest) Reset()
- func (m *FilesDeleteRequest) Size() (n int)
- func (m *FilesDeleteRequest) String() string
- func (m *FilesDeleteRequest) Unmarshal(dAtA []byte) error
- func (m *FilesDeleteRequest) XXX_DiscardUnknown()
- func (m *FilesDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FilesDeleteRequest) XXX_Merge(src proto.Message)
- func (m *FilesDeleteRequest) XXX_Size() int
- func (m *FilesDeleteRequest) XXX_Unmarshal(b []byte) error
- type FilesDeleteResponse
- func (*FilesDeleteResponse) Descriptor() ([]byte, []int)
- func (m *FilesDeleteResponse) Marshal() (dAtA []byte, err error)
- func (m *FilesDeleteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *FilesDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FilesDeleteResponse) ProtoMessage()
- func (m *FilesDeleteResponse) Reset()
- func (m *FilesDeleteResponse) Size() (n int)
- func (m *FilesDeleteResponse) String() string
- func (m *FilesDeleteResponse) Unmarshal(dAtA []byte) error
- func (m *FilesDeleteResponse) XXX_DiscardUnknown()
- func (m *FilesDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FilesDeleteResponse) XXX_Merge(src proto.Message)
- func (m *FilesDeleteResponse) XXX_Size() int
- func (m *FilesDeleteResponse) XXX_Unmarshal(b []byte) error
- type FilesGetRequest
- func (*FilesGetRequest) Descriptor() ([]byte, []int)
- func (m *FilesGetRequest) GetSpaceId() string
- func (m *FilesGetRequest) Marshal() (dAtA []byte, err error)
- func (m *FilesGetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *FilesGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FilesGetRequest) ProtoMessage()
- func (m *FilesGetRequest) Reset()
- func (m *FilesGetRequest) Size() (n int)
- func (m *FilesGetRequest) String() string
- func (m *FilesGetRequest) Unmarshal(dAtA []byte) error
- func (m *FilesGetRequest) XXX_DiscardUnknown()
- func (m *FilesGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FilesGetRequest) XXX_Merge(src proto.Message)
- func (m *FilesGetRequest) XXX_Size() int
- func (m *FilesGetRequest) XXX_Unmarshal(b []byte) error
- type FilesGetResponse
- func (*FilesGetResponse) Descriptor() ([]byte, []int)
- func (m *FilesGetResponse) GetFileId() string
- func (m *FilesGetResponse) Marshal() (dAtA []byte, err error)
- func (m *FilesGetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *FilesGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FilesGetResponse) ProtoMessage()
- func (m *FilesGetResponse) Reset()
- func (m *FilesGetResponse) Size() (n int)
- func (m *FilesGetResponse) String() string
- func (m *FilesGetResponse) Unmarshal(dAtA []byte) error
- func (m *FilesGetResponse) XXX_DiscardUnknown()
- func (m *FilesGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FilesGetResponse) XXX_Merge(src proto.Message)
- func (m *FilesGetResponse) XXX_Size() int
- func (m *FilesGetResponse) XXX_Unmarshal(b []byte) error
- type FilesInfoRequest
- func (*FilesInfoRequest) Descriptor() ([]byte, []int)
- func (m *FilesInfoRequest) GetFileIds() []string
- func (m *FilesInfoRequest) GetSpaceId() string
- func (m *FilesInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *FilesInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *FilesInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FilesInfoRequest) ProtoMessage()
- func (m *FilesInfoRequest) Reset()
- func (m *FilesInfoRequest) Size() (n int)
- func (m *FilesInfoRequest) String() string
- func (m *FilesInfoRequest) Unmarshal(dAtA []byte) error
- func (m *FilesInfoRequest) XXX_DiscardUnknown()
- func (m *FilesInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FilesInfoRequest) XXX_Merge(src proto.Message)
- func (m *FilesInfoRequest) XXX_Size() int
- func (m *FilesInfoRequest) XXX_Unmarshal(b []byte) error
- type FilesInfoResponse
- func (*FilesInfoResponse) Descriptor() ([]byte, []int)
- func (m *FilesInfoResponse) GetFilesInfo() []*FileInfo
- func (m *FilesInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *FilesInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *FilesInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FilesInfoResponse) ProtoMessage()
- func (m *FilesInfoResponse) Reset()
- func (m *FilesInfoResponse) Size() (n int)
- func (m *FilesInfoResponse) String() string
- func (m *FilesInfoResponse) Unmarshal(dAtA []byte) error
- func (m *FilesInfoResponse) XXX_DiscardUnknown()
- func (m *FilesInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FilesInfoResponse) XXX_Merge(src proto.Message)
- func (m *FilesInfoResponse) XXX_Size() int
- func (m *FilesInfoResponse) XXX_Unmarshal(b []byte) error
- type Ok
- func (*Ok) Descriptor() ([]byte, []int)
- func (m *Ok) Marshal() (dAtA []byte, err error)
- func (m *Ok) MarshalTo(dAtA []byte) (int, error)
- func (m *Ok) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ok) ProtoMessage()
- func (m *Ok) Reset()
- func (m *Ok) Size() (n int)
- func (m *Ok) String() string
- func (m *Ok) Unmarshal(dAtA []byte) error
- func (m *Ok) XXX_DiscardUnknown()
- func (m *Ok) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ok) XXX_Merge(src proto.Message)
- func (m *Ok) XXX_Size() int
- func (m *Ok) XXX_Unmarshal(b []byte) error
- type SpaceInfoRequest
- func (*SpaceInfoRequest) Descriptor() ([]byte, []int)
- func (m *SpaceInfoRequest) GetSpaceId() string
- func (m *SpaceInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *SpaceInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SpaceInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpaceInfoRequest) ProtoMessage()
- func (m *SpaceInfoRequest) Reset()
- func (m *SpaceInfoRequest) Size() (n int)
- func (m *SpaceInfoRequest) String() string
- func (m *SpaceInfoRequest) Unmarshal(dAtA []byte) error
- func (m *SpaceInfoRequest) XXX_DiscardUnknown()
- func (m *SpaceInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpaceInfoRequest) XXX_Merge(src proto.Message)
- func (m *SpaceInfoRequest) XXX_Size() int
- func (m *SpaceInfoRequest) XXX_Unmarshal(b []byte) error
- type SpaceInfoResponse
- func (*SpaceInfoResponse) Descriptor() ([]byte, []int)
- func (m *SpaceInfoResponse) GetCidsCount() uint64
- func (m *SpaceInfoResponse) GetFilesCount() uint64
- func (m *SpaceInfoResponse) GetLimitBytes() uint64
- func (m *SpaceInfoResponse) GetSpaceId() string
- func (m *SpaceInfoResponse) GetSpaceUsageBytes() uint64
- func (m *SpaceInfoResponse) GetTotalUsageBytes() uint64
- func (m *SpaceInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *SpaceInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SpaceInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpaceInfoResponse) ProtoMessage()
- func (m *SpaceInfoResponse) Reset()
- func (m *SpaceInfoResponse) Size() (n int)
- func (m *SpaceInfoResponse) String() string
- func (m *SpaceInfoResponse) Unmarshal(dAtA []byte) error
- func (m *SpaceInfoResponse) XXX_DiscardUnknown()
- func (m *SpaceInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpaceInfoResponse) XXX_Merge(src proto.Message)
- func (m *SpaceInfoResponse) XXX_Size() int
- func (m *SpaceInfoResponse) XXX_Unmarshal(b []byte) error
- type SpaceLimitSetRequest
- func (*SpaceLimitSetRequest) Descriptor() ([]byte, []int)
- func (m *SpaceLimitSetRequest) GetLimit() uint64
- func (m *SpaceLimitSetRequest) GetSpaceId() string
- func (m *SpaceLimitSetRequest) Marshal() (dAtA []byte, err error)
- func (m *SpaceLimitSetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SpaceLimitSetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpaceLimitSetRequest) ProtoMessage()
- func (m *SpaceLimitSetRequest) Reset()
- func (m *SpaceLimitSetRequest) Size() (n int)
- func (m *SpaceLimitSetRequest) String() string
- func (m *SpaceLimitSetRequest) Unmarshal(dAtA []byte) error
- func (m *SpaceLimitSetRequest) XXX_DiscardUnknown()
- func (m *SpaceLimitSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpaceLimitSetRequest) XXX_Merge(src proto.Message)
- func (m *SpaceLimitSetRequest) XXX_Size() int
- func (m *SpaceLimitSetRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthFile = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFile = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFile = fmt.Errorf("proto: unexpected end of group") )
View Source
var AvailabilityStatus_name = map[int32]string{
0: "NotExists",
1: "Exists",
2: "ExistsInSpace",
}
View Source
var AvailabilityStatus_value = map[string]int32{
"NotExists": 0,
"Exists": 1,
"ExistsInSpace": 2,
}
View Source
var ErrCodes_name = map[int32]string{
0: "Unexpected",
1: "CIDNotFound",
2: "Forbidden",
3: "LimitExceeded",
4: "QuerySizeExceeded",
5: "WrongHash",
6: "NotEnoughSpace",
200: "ErrorOffset",
}
View Source
var ErrCodes_value = map[string]int32{
"Unexpected": 0,
"CIDNotFound": 1,
"Forbidden": 2,
"LimitExceeded": 3,
"QuerySizeExceeded": 4,
"WrongHash": 5,
"NotEnoughSpace": 6,
"ErrorOffset": 200,
}
Functions ¶
func DRPCRegisterFile ¶
func DRPCRegisterFile(mux drpc.Mux, impl DRPCFileServer) error
Types ¶
type AccountInfoRequest ¶ added in v0.3.5
type AccountInfoRequest struct { }
func (*AccountInfoRequest) Descriptor ¶ added in v0.3.5
func (*AccountInfoRequest) Descriptor() ([]byte, []int)
func (*AccountInfoRequest) Marshal ¶ added in v0.3.5
func (m *AccountInfoRequest) Marshal() (dAtA []byte, err error)
func (*AccountInfoRequest) MarshalTo ¶ added in v0.3.5
func (m *AccountInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountInfoRequest) MarshalToSizedBuffer ¶ added in v0.3.5
func (m *AccountInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountInfoRequest) ProtoMessage ¶ added in v0.3.5
func (*AccountInfoRequest) ProtoMessage()
func (*AccountInfoRequest) Reset ¶ added in v0.3.5
func (m *AccountInfoRequest) Reset()
func (*AccountInfoRequest) Size ¶ added in v0.3.5
func (m *AccountInfoRequest) Size() (n int)
func (*AccountInfoRequest) String ¶ added in v0.3.5
func (m *AccountInfoRequest) String() string
func (*AccountInfoRequest) Unmarshal ¶ added in v0.3.5
func (m *AccountInfoRequest) Unmarshal(dAtA []byte) error
func (*AccountInfoRequest) XXX_DiscardUnknown ¶ added in v0.3.5
func (m *AccountInfoRequest) XXX_DiscardUnknown()
func (*AccountInfoRequest) XXX_Marshal ¶ added in v0.3.5
func (m *AccountInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountInfoRequest) XXX_Merge ¶ added in v0.3.5
func (m *AccountInfoRequest) XXX_Merge(src proto.Message)
func (*AccountInfoRequest) XXX_Size ¶ added in v0.3.5
func (m *AccountInfoRequest) XXX_Size() int
func (*AccountInfoRequest) XXX_Unmarshal ¶ added in v0.3.5
func (m *AccountInfoRequest) XXX_Unmarshal(b []byte) error
type AccountInfoResponse ¶ added in v0.3.5
type AccountInfoResponse struct { // the shared limit excluding isolated spaces LimitBytes uint64 `protobuf:"varint,1,opt,name=limitBytes,proto3" json:"limitBytes,omitempty"` TotalUsageBytes uint64 `protobuf:"varint,2,opt,name=totalUsageBytes,proto3" json:"totalUsageBytes,omitempty"` TotalCidsCount uint64 `protobuf:"varint,3,opt,name=totalCidsCount,proto3" json:"totalCidsCount,omitempty"` Spaces []*SpaceInfoResponse `protobuf:"bytes,4,rep,name=spaces,proto3" json:"spaces,omitempty"` // the total limit including isolated spaces AccountLimitBytes uint64 `protobuf:"varint,5,opt,name=accountLimitBytes,proto3" json:"accountLimitBytes,omitempty"` }
func (*AccountInfoResponse) Descriptor ¶ added in v0.3.5
func (*AccountInfoResponse) Descriptor() ([]byte, []int)
func (*AccountInfoResponse) GetAccountLimitBytes ¶ added in v0.3.33
func (m *AccountInfoResponse) GetAccountLimitBytes() uint64
func (*AccountInfoResponse) GetLimitBytes ¶ added in v0.3.5
func (m *AccountInfoResponse) GetLimitBytes() uint64
func (*AccountInfoResponse) GetSpaces ¶ added in v0.3.5
func (m *AccountInfoResponse) GetSpaces() []*SpaceInfoResponse
func (*AccountInfoResponse) GetTotalCidsCount ¶ added in v0.3.5
func (m *AccountInfoResponse) GetTotalCidsCount() uint64
func (*AccountInfoResponse) GetTotalUsageBytes ¶ added in v0.3.5
func (m *AccountInfoResponse) GetTotalUsageBytes() uint64
func (*AccountInfoResponse) Marshal ¶ added in v0.3.5
func (m *AccountInfoResponse) Marshal() (dAtA []byte, err error)
func (*AccountInfoResponse) MarshalTo ¶ added in v0.3.5
func (m *AccountInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountInfoResponse) MarshalToSizedBuffer ¶ added in v0.3.5
func (m *AccountInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountInfoResponse) ProtoMessage ¶ added in v0.3.5
func (*AccountInfoResponse) ProtoMessage()
func (*AccountInfoResponse) Reset ¶ added in v0.3.5
func (m *AccountInfoResponse) Reset()
func (*AccountInfoResponse) Size ¶ added in v0.3.5
func (m *AccountInfoResponse) Size() (n int)
func (*AccountInfoResponse) String ¶ added in v0.3.5
func (m *AccountInfoResponse) String() string
func (*AccountInfoResponse) Unmarshal ¶ added in v0.3.5
func (m *AccountInfoResponse) Unmarshal(dAtA []byte) error
func (*AccountInfoResponse) XXX_DiscardUnknown ¶ added in v0.3.5
func (m *AccountInfoResponse) XXX_DiscardUnknown()
func (*AccountInfoResponse) XXX_Marshal ¶ added in v0.3.5
func (m *AccountInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountInfoResponse) XXX_Merge ¶ added in v0.3.5
func (m *AccountInfoResponse) XXX_Merge(src proto.Message)
func (*AccountInfoResponse) XXX_Size ¶ added in v0.3.5
func (m *AccountInfoResponse) XXX_Size() int
func (*AccountInfoResponse) XXX_Unmarshal ¶ added in v0.3.5
func (m *AccountInfoResponse) XXX_Unmarshal(b []byte) error
type AccountLimitSetRequest ¶ added in v0.3.33
type AccountLimitSetRequest struct { Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` }
func (*AccountLimitSetRequest) Descriptor ¶ added in v0.3.33
func (*AccountLimitSetRequest) Descriptor() ([]byte, []int)
func (*AccountLimitSetRequest) GetIdentity ¶ added in v0.3.33
func (m *AccountLimitSetRequest) GetIdentity() string
func (*AccountLimitSetRequest) GetLimit ¶ added in v0.3.33
func (m *AccountLimitSetRequest) GetLimit() uint64
func (*AccountLimitSetRequest) Marshal ¶ added in v0.3.33
func (m *AccountLimitSetRequest) Marshal() (dAtA []byte, err error)
func (*AccountLimitSetRequest) MarshalTo ¶ added in v0.3.33
func (m *AccountLimitSetRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountLimitSetRequest) MarshalToSizedBuffer ¶ added in v0.3.33
func (m *AccountLimitSetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLimitSetRequest) ProtoMessage ¶ added in v0.3.33
func (*AccountLimitSetRequest) ProtoMessage()
func (*AccountLimitSetRequest) Reset ¶ added in v0.3.33
func (m *AccountLimitSetRequest) Reset()
func (*AccountLimitSetRequest) Size ¶ added in v0.3.33
func (m *AccountLimitSetRequest) Size() (n int)
func (*AccountLimitSetRequest) String ¶ added in v0.3.33
func (m *AccountLimitSetRequest) String() string
func (*AccountLimitSetRequest) Unmarshal ¶ added in v0.3.33
func (m *AccountLimitSetRequest) Unmarshal(dAtA []byte) error
func (*AccountLimitSetRequest) XXX_DiscardUnknown ¶ added in v0.3.33
func (m *AccountLimitSetRequest) XXX_DiscardUnknown()
func (*AccountLimitSetRequest) XXX_Marshal ¶ added in v0.3.33
func (m *AccountLimitSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLimitSetRequest) XXX_Merge ¶ added in v0.3.33
func (m *AccountLimitSetRequest) XXX_Merge(src proto.Message)
func (*AccountLimitSetRequest) XXX_Size ¶ added in v0.3.33
func (m *AccountLimitSetRequest) XXX_Size() int
func (*AccountLimitSetRequest) XXX_Unmarshal ¶ added in v0.3.33
func (m *AccountLimitSetRequest) XXX_Unmarshal(b []byte) error
type AvailabilityStatus ¶
type AvailabilityStatus int32
const ( AvailabilityStatus_NotExists AvailabilityStatus = 0 AvailabilityStatus_Exists AvailabilityStatus = 1 AvailabilityStatus_ExistsInSpace AvailabilityStatus = 2 )
func (AvailabilityStatus) EnumDescriptor ¶
func (AvailabilityStatus) EnumDescriptor() ([]byte, []int)
func (AvailabilityStatus) String ¶
func (x AvailabilityStatus) String() string
type BlockAvailability ¶
type BlockAvailability struct { Cid []byte `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Status AvailabilityStatus `protobuf:"varint,2,opt,name=status,proto3,enum=filesync.AvailabilityStatus" json:"status,omitempty"` }
func (*BlockAvailability) Descriptor ¶
func (*BlockAvailability) Descriptor() ([]byte, []int)
func (*BlockAvailability) GetCid ¶
func (m *BlockAvailability) GetCid() []byte
func (*BlockAvailability) GetStatus ¶
func (m *BlockAvailability) GetStatus() AvailabilityStatus
func (*BlockAvailability) Marshal ¶
func (m *BlockAvailability) Marshal() (dAtA []byte, err error)
func (*BlockAvailability) MarshalTo ¶
func (m *BlockAvailability) MarshalTo(dAtA []byte) (int, error)
func (*BlockAvailability) MarshalToSizedBuffer ¶
func (m *BlockAvailability) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockAvailability) ProtoMessage ¶
func (*BlockAvailability) ProtoMessage()
func (*BlockAvailability) Reset ¶
func (m *BlockAvailability) Reset()
func (*BlockAvailability) Size ¶
func (m *BlockAvailability) Size() (n int)
func (*BlockAvailability) String ¶
func (m *BlockAvailability) String() string
func (*BlockAvailability) Unmarshal ¶
func (m *BlockAvailability) Unmarshal(dAtA []byte) error
func (*BlockAvailability) XXX_DiscardUnknown ¶
func (m *BlockAvailability) XXX_DiscardUnknown()
func (*BlockAvailability) XXX_Marshal ¶
func (m *BlockAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockAvailability) XXX_Merge ¶
func (m *BlockAvailability) XXX_Merge(src proto.Message)
func (*BlockAvailability) XXX_Size ¶
func (m *BlockAvailability) XXX_Size() int
func (*BlockAvailability) XXX_Unmarshal ¶
func (m *BlockAvailability) XXX_Unmarshal(b []byte) error
type BlockGetRequest ¶
type BlockGetRequest struct { SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"` Cid []byte `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` Wait bool `protobuf:"varint,3,opt,name=wait,proto3" json:"wait,omitempty"` }
func (*BlockGetRequest) Descriptor ¶
func (*BlockGetRequest) Descriptor() ([]byte, []int)
func (*BlockGetRequest) GetCid ¶
func (m *BlockGetRequest) GetCid() []byte
func (*BlockGetRequest) GetSpaceId ¶
func (m *BlockGetRequest) GetSpaceId() string
func (*BlockGetRequest) GetWait ¶ added in v0.3.33
func (m *BlockGetRequest) GetWait() bool
func (*BlockGetRequest) Marshal ¶
func (m *BlockGetRequest) Marshal() (dAtA []byte, err error)
func (*BlockGetRequest) MarshalToSizedBuffer ¶
func (m *BlockGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockGetRequest) ProtoMessage ¶
func (*BlockGetRequest) ProtoMessage()
func (*BlockGetRequest) Reset ¶
func (m *BlockGetRequest) Reset()
func (*BlockGetRequest) Size ¶
func (m *BlockGetRequest) Size() (n int)
func (*BlockGetRequest) String ¶
func (m *BlockGetRequest) String() string
func (*BlockGetRequest) Unmarshal ¶
func (m *BlockGetRequest) Unmarshal(dAtA []byte) error
func (*BlockGetRequest) XXX_DiscardUnknown ¶
func (m *BlockGetRequest) XXX_DiscardUnknown()
func (*BlockGetRequest) XXX_Marshal ¶
func (m *BlockGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockGetRequest) XXX_Merge ¶
func (m *BlockGetRequest) XXX_Merge(src proto.Message)
func (*BlockGetRequest) XXX_Size ¶
func (m *BlockGetRequest) XXX_Size() int
func (*BlockGetRequest) XXX_Unmarshal ¶
func (m *BlockGetRequest) XXX_Unmarshal(b []byte) error
type BlockGetResponse ¶
type BlockGetResponse struct { Cid []byte `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
func (*BlockGetResponse) Descriptor ¶
func (*BlockGetResponse) Descriptor() ([]byte, []int)
func (*BlockGetResponse) GetCid ¶
func (m *BlockGetResponse) GetCid() []byte
func (*BlockGetResponse) GetData ¶
func (m *BlockGetResponse) GetData() []byte
func (*BlockGetResponse) Marshal ¶
func (m *BlockGetResponse) Marshal() (dAtA []byte, err error)
func (*BlockGetResponse) MarshalToSizedBuffer ¶
func (m *BlockGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockGetResponse) ProtoMessage ¶
func (*BlockGetResponse) ProtoMessage()
func (*BlockGetResponse) Reset ¶
func (m *BlockGetResponse) Reset()
func (*BlockGetResponse) Size ¶
func (m *BlockGetResponse) Size() (n int)
func (*BlockGetResponse) String ¶
func (m *BlockGetResponse) String() string
func (*BlockGetResponse) Unmarshal ¶
func (m *BlockGetResponse) Unmarshal(dAtA []byte) error
func (*BlockGetResponse) XXX_DiscardUnknown ¶
func (m *BlockGetResponse) XXX_DiscardUnknown()
func (*BlockGetResponse) XXX_Marshal ¶
func (m *BlockGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockGetResponse) XXX_Merge ¶
func (m *BlockGetResponse) XXX_Merge(src proto.Message)
func (*BlockGetResponse) XXX_Size ¶
func (m *BlockGetResponse) XXX_Size() int
func (*BlockGetResponse) XXX_Unmarshal ¶
func (m *BlockGetResponse) XXX_Unmarshal(b []byte) error
type BlockPushRequest ¶
type BlockPushRequest struct { SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"` FileId string `protobuf:"bytes,2,opt,name=fileId,proto3" json:"fileId,omitempty"` Cid []byte `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` }
func (*BlockPushRequest) Descriptor ¶
func (*BlockPushRequest) Descriptor() ([]byte, []int)
func (*BlockPushRequest) GetCid ¶
func (m *BlockPushRequest) GetCid() []byte
func (*BlockPushRequest) GetData ¶
func (m *BlockPushRequest) GetData() []byte
func (*BlockPushRequest) GetFileId ¶
func (m *BlockPushRequest) GetFileId() string
func (*BlockPushRequest) GetSpaceId ¶
func (m *BlockPushRequest) GetSpaceId() string
func (*BlockPushRequest) Marshal ¶
func (m *BlockPushRequest) Marshal() (dAtA []byte, err error)
func (*BlockPushRequest) MarshalToSizedBuffer ¶
func (m *BlockPushRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockPushRequest) ProtoMessage ¶
func (*BlockPushRequest) ProtoMessage()
func (*BlockPushRequest) Reset ¶
func (m *BlockPushRequest) Reset()
func (*BlockPushRequest) Size ¶
func (m *BlockPushRequest) Size() (n int)
func (*BlockPushRequest) String ¶
func (m *BlockPushRequest) String() string
func (*BlockPushRequest) Unmarshal ¶
func (m *BlockPushRequest) Unmarshal(dAtA []byte) error
func (*BlockPushRequest) XXX_DiscardUnknown ¶
func (m *BlockPushRequest) XXX_DiscardUnknown()
func (*BlockPushRequest) XXX_Marshal ¶
func (m *BlockPushRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockPushRequest) XXX_Merge ¶
func (m *BlockPushRequest) XXX_Merge(src proto.Message)
func (*BlockPushRequest) XXX_Size ¶
func (m *BlockPushRequest) XXX_Size() int
func (*BlockPushRequest) XXX_Unmarshal ¶
func (m *BlockPushRequest) XXX_Unmarshal(b []byte) error
type BlocksBindRequest ¶
type BlocksBindRequest struct { SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"` FileId string `protobuf:"bytes,2,opt,name=fileId,proto3" json:"fileId,omitempty"` Cids [][]byte `protobuf:"bytes,3,rep,name=cids,proto3" json:"cids,omitempty"` }
func (*BlocksBindRequest) Descriptor ¶
func (*BlocksBindRequest) Descriptor() ([]byte, []int)
func (*BlocksBindRequest) GetCids ¶
func (m *BlocksBindRequest) GetCids() [][]byte
func (*BlocksBindRequest) GetFileId ¶
func (m *BlocksBindRequest) GetFileId() string
func (*BlocksBindRequest) GetSpaceId ¶
func (m *BlocksBindRequest) GetSpaceId() string
func (*BlocksBindRequest) Marshal ¶
func (m *BlocksBindRequest) Marshal() (dAtA []byte, err error)
func (*BlocksBindRequest) MarshalTo ¶
func (m *BlocksBindRequest) MarshalTo(dAtA []byte) (int, error)
func (*BlocksBindRequest) MarshalToSizedBuffer ¶
func (m *BlocksBindRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlocksBindRequest) ProtoMessage ¶
func (*BlocksBindRequest) ProtoMessage()
func (*BlocksBindRequest) Reset ¶
func (m *BlocksBindRequest) Reset()
func (*BlocksBindRequest) Size ¶
func (m *BlocksBindRequest) Size() (n int)
func (*BlocksBindRequest) String ¶
func (m *BlocksBindRequest) String() string
func (*BlocksBindRequest) Unmarshal ¶
func (m *BlocksBindRequest) Unmarshal(dAtA []byte) error
func (*BlocksBindRequest) XXX_DiscardUnknown ¶
func (m *BlocksBindRequest) XXX_DiscardUnknown()
func (*BlocksBindRequest) XXX_Marshal ¶
func (m *BlocksBindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlocksBindRequest) XXX_Merge ¶
func (m *BlocksBindRequest) XXX_Merge(src proto.Message)
func (*BlocksBindRequest) XXX_Size ¶
func (m *BlocksBindRequest) XXX_Size() int
func (*BlocksBindRequest) XXX_Unmarshal ¶
func (m *BlocksBindRequest) XXX_Unmarshal(b []byte) error
type BlocksCheckRequest ¶
type BlocksCheckRequest struct { SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"` Cids [][]byte `protobuf:"bytes,2,rep,name=cids,proto3" json:"cids,omitempty"` }
func (*BlocksCheckRequest) Descriptor ¶
func (*BlocksCheckRequest) Descriptor() ([]byte, []int)
func (*BlocksCheckRequest) GetCids ¶
func (m *BlocksCheckRequest) GetCids() [][]byte
func (*BlocksCheckRequest) GetSpaceId ¶
func (m *BlocksCheckRequest) GetSpaceId() string
func (*BlocksCheckRequest) Marshal ¶
func (m *BlocksCheckRequest) Marshal() (dAtA []byte, err error)
func (*BlocksCheckRequest) MarshalTo ¶
func (m *BlocksCheckRequest) MarshalTo(dAtA []byte) (int, error)
func (*BlocksCheckRequest) MarshalToSizedBuffer ¶
func (m *BlocksCheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlocksCheckRequest) ProtoMessage ¶
func (*BlocksCheckRequest) ProtoMessage()
func (*BlocksCheckRequest) Reset ¶
func (m *BlocksCheckRequest) Reset()
func (*BlocksCheckRequest) Size ¶
func (m *BlocksCheckRequest) Size() (n int)
func (*BlocksCheckRequest) String ¶
func (m *BlocksCheckRequest) String() string
func (*BlocksCheckRequest) Unmarshal ¶
func (m *BlocksCheckRequest) Unmarshal(dAtA []byte) error
func (*BlocksCheckRequest) XXX_DiscardUnknown ¶
func (m *BlocksCheckRequest) XXX_DiscardUnknown()
func (*BlocksCheckRequest) XXX_Marshal ¶
func (m *BlocksCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlocksCheckRequest) XXX_Merge ¶
func (m *BlocksCheckRequest) XXX_Merge(src proto.Message)
func (*BlocksCheckRequest) XXX_Size ¶
func (m *BlocksCheckRequest) XXX_Size() int
func (*BlocksCheckRequest) XXX_Unmarshal ¶
func (m *BlocksCheckRequest) XXX_Unmarshal(b []byte) error
type BlocksCheckResponse ¶
type BlocksCheckResponse struct {
BlocksAvailability []*BlockAvailability `protobuf:"bytes,1,rep,name=blocksAvailability,proto3" json:"blocksAvailability,omitempty"`
}
func (*BlocksCheckResponse) Descriptor ¶
func (*BlocksCheckResponse) Descriptor() ([]byte, []int)
func (*BlocksCheckResponse) GetBlocksAvailability ¶
func (m *BlocksCheckResponse) GetBlocksAvailability() []*BlockAvailability
func (*BlocksCheckResponse) Marshal ¶
func (m *BlocksCheckResponse) Marshal() (dAtA []byte, err error)
func (*BlocksCheckResponse) MarshalTo ¶
func (m *BlocksCheckResponse) MarshalTo(dAtA []byte) (int, error)
func (*BlocksCheckResponse) MarshalToSizedBuffer ¶
func (m *BlocksCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlocksCheckResponse) ProtoMessage ¶
func (*BlocksCheckResponse) ProtoMessage()
func (*BlocksCheckResponse) Reset ¶
func (m *BlocksCheckResponse) Reset()
func (*BlocksCheckResponse) Size ¶
func (m *BlocksCheckResponse) Size() (n int)
func (*BlocksCheckResponse) String ¶
func (m *BlocksCheckResponse) String() string
func (*BlocksCheckResponse) Unmarshal ¶
func (m *BlocksCheckResponse) Unmarshal(dAtA []byte) error
func (*BlocksCheckResponse) XXX_DiscardUnknown ¶
func (m *BlocksCheckResponse) XXX_DiscardUnknown()
func (*BlocksCheckResponse) XXX_Marshal ¶
func (m *BlocksCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlocksCheckResponse) XXX_Merge ¶
func (m *BlocksCheckResponse) XXX_Merge(src proto.Message)
func (*BlocksCheckResponse) XXX_Size ¶
func (m *BlocksCheckResponse) XXX_Size() int
func (*BlocksCheckResponse) XXX_Unmarshal ¶
func (m *BlocksCheckResponse) XXX_Unmarshal(b []byte) error
type CheckRequest ¶
type CheckRequest struct { }
func (*CheckRequest) Descriptor ¶
func (*CheckRequest) Descriptor() ([]byte, []int)
func (*CheckRequest) Marshal ¶
func (m *CheckRequest) Marshal() (dAtA []byte, err error)
func (*CheckRequest) MarshalToSizedBuffer ¶
func (m *CheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) Reset ¶
func (m *CheckRequest) Reset()
func (*CheckRequest) Size ¶
func (m *CheckRequest) Size() (n int)
func (*CheckRequest) String ¶
func (m *CheckRequest) String() string
func (*CheckRequest) Unmarshal ¶
func (m *CheckRequest) Unmarshal(dAtA []byte) error
func (*CheckRequest) XXX_DiscardUnknown ¶
func (m *CheckRequest) XXX_DiscardUnknown()
func (*CheckRequest) XXX_Marshal ¶
func (m *CheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckRequest) XXX_Merge ¶
func (m *CheckRequest) XXX_Merge(src proto.Message)
func (*CheckRequest) XXX_Size ¶
func (m *CheckRequest) XXX_Size() int
func (*CheckRequest) XXX_Unmarshal ¶
func (m *CheckRequest) XXX_Unmarshal(b []byte) error
type CheckResponse ¶
type CheckResponse struct { SpaceIds []string `protobuf:"bytes,1,rep,name=spaceIds,proto3" json:"spaceIds,omitempty"` AllowWrite bool `protobuf:"varint,2,opt,name=allowWrite,proto3" json:"allowWrite,omitempty"` }
func (*CheckResponse) Descriptor ¶
func (*CheckResponse) Descriptor() ([]byte, []int)
func (*CheckResponse) GetAllowWrite ¶
func (m *CheckResponse) GetAllowWrite() bool
func (*CheckResponse) GetSpaceIds ¶
func (m *CheckResponse) GetSpaceIds() []string
func (*CheckResponse) Marshal ¶
func (m *CheckResponse) Marshal() (dAtA []byte, err error)
func (*CheckResponse) MarshalToSizedBuffer ¶
func (m *CheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) Reset ¶
func (m *CheckResponse) Reset()
func (*CheckResponse) Size ¶
func (m *CheckResponse) Size() (n int)
func (*CheckResponse) String ¶
func (m *CheckResponse) String() string
func (*CheckResponse) Unmarshal ¶
func (m *CheckResponse) Unmarshal(dAtA []byte) error
func (*CheckResponse) XXX_DiscardUnknown ¶
func (m *CheckResponse) XXX_DiscardUnknown()
func (*CheckResponse) XXX_Marshal ¶
func (m *CheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckResponse) XXX_Merge ¶
func (m *CheckResponse) XXX_Merge(src proto.Message)
func (*CheckResponse) XXX_Size ¶
func (m *CheckResponse) XXX_Size() int
func (*CheckResponse) XXX_Unmarshal ¶
func (m *CheckResponse) XXX_Unmarshal(b []byte) error
type DRPCFileClient ¶
type DRPCFileClient interface { DRPCConn() drpc.Conn BlockGet(ctx context.Context, in *BlockGetRequest) (*BlockGetResponse, error) BlockPush(ctx context.Context, in *BlockPushRequest) (*Ok, error) BlocksCheck(ctx context.Context, in *BlocksCheckRequest) (*BlocksCheckResponse, error) BlocksBind(ctx context.Context, in *BlocksBindRequest) (*Ok, error) FilesDelete(ctx context.Context, in *FilesDeleteRequest) (*FilesDeleteResponse, error) FilesInfo(ctx context.Context, in *FilesInfoRequest) (*FilesInfoResponse, error) FilesGet(ctx context.Context, in *FilesGetRequest) (DRPCFile_FilesGetClient, error) Check(ctx context.Context, in *CheckRequest) (*CheckResponse, error) SpaceInfo(ctx context.Context, in *SpaceInfoRequest) (*SpaceInfoResponse, error) AccountInfo(ctx context.Context, in *AccountInfoRequest) (*AccountInfoResponse, error) AccountLimitSet(ctx context.Context, in *AccountLimitSetRequest) (*Ok, error) SpaceLimitSet(ctx context.Context, in *SpaceLimitSetRequest) (*Ok, error) }
func NewDRPCFileClient ¶
func NewDRPCFileClient(cc drpc.Conn) DRPCFileClient
type DRPCFileDescription ¶
type DRPCFileDescription struct{}
func (DRPCFileDescription) NumMethods ¶
func (DRPCFileDescription) NumMethods() int
type DRPCFileServer ¶
type DRPCFileServer interface { BlockGet(context.Context, *BlockGetRequest) (*BlockGetResponse, error) BlockPush(context.Context, *BlockPushRequest) (*Ok, error) BlocksCheck(context.Context, *BlocksCheckRequest) (*BlocksCheckResponse, error) BlocksBind(context.Context, *BlocksBindRequest) (*Ok, error) FilesDelete(context.Context, *FilesDeleteRequest) (*FilesDeleteResponse, error) FilesInfo(context.Context, *FilesInfoRequest) (*FilesInfoResponse, error) FilesGet(*FilesGetRequest, DRPCFile_FilesGetStream) error Check(context.Context, *CheckRequest) (*CheckResponse, error) SpaceInfo(context.Context, *SpaceInfoRequest) (*SpaceInfoResponse, error) AccountInfo(context.Context, *AccountInfoRequest) (*AccountInfoResponse, error) AccountLimitSet(context.Context, *AccountLimitSetRequest) (*Ok, error) SpaceLimitSet(context.Context, *SpaceLimitSetRequest) (*Ok, error) }
type DRPCFileUnimplementedServer ¶
type DRPCFileUnimplementedServer struct{}
func (*DRPCFileUnimplementedServer) AccountInfo ¶ added in v0.3.5
func (s *DRPCFileUnimplementedServer) AccountInfo(context.Context, *AccountInfoRequest) (*AccountInfoResponse, error)
func (*DRPCFileUnimplementedServer) AccountLimitSet ¶ added in v0.3.33
func (s *DRPCFileUnimplementedServer) AccountLimitSet(context.Context, *AccountLimitSetRequest) (*Ok, error)
func (*DRPCFileUnimplementedServer) BlockGet ¶
func (s *DRPCFileUnimplementedServer) BlockGet(context.Context, *BlockGetRequest) (*BlockGetResponse, error)
func (*DRPCFileUnimplementedServer) BlockPush ¶
func (s *DRPCFileUnimplementedServer) BlockPush(context.Context, *BlockPushRequest) (*Ok, error)
func (*DRPCFileUnimplementedServer) BlocksBind ¶
func (s *DRPCFileUnimplementedServer) BlocksBind(context.Context, *BlocksBindRequest) (*Ok, error)
func (*DRPCFileUnimplementedServer) BlocksCheck ¶
func (s *DRPCFileUnimplementedServer) BlocksCheck(context.Context, *BlocksCheckRequest) (*BlocksCheckResponse, error)
func (*DRPCFileUnimplementedServer) Check ¶
func (s *DRPCFileUnimplementedServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
func (*DRPCFileUnimplementedServer) FilesDelete ¶
func (s *DRPCFileUnimplementedServer) FilesDelete(context.Context, *FilesDeleteRequest) (*FilesDeleteResponse, error)
func (*DRPCFileUnimplementedServer) FilesGet ¶ added in v0.3.33
func (s *DRPCFileUnimplementedServer) FilesGet(*FilesGetRequest, DRPCFile_FilesGetStream) error
func (*DRPCFileUnimplementedServer) FilesInfo ¶
func (s *DRPCFileUnimplementedServer) FilesInfo(context.Context, *FilesInfoRequest) (*FilesInfoResponse, error)
func (*DRPCFileUnimplementedServer) SpaceInfo ¶
func (s *DRPCFileUnimplementedServer) SpaceInfo(context.Context, *SpaceInfoRequest) (*SpaceInfoResponse, error)
func (*DRPCFileUnimplementedServer) SpaceLimitSet ¶ added in v0.3.33
func (s *DRPCFileUnimplementedServer) SpaceLimitSet(context.Context, *SpaceLimitSetRequest) (*Ok, error)
type DRPCFile_AccountInfoStream ¶ added in v0.3.5
type DRPCFile_AccountInfoStream interface { drpc.Stream SendAndClose(*AccountInfoResponse) error }
type DRPCFile_AccountLimitSetStream ¶ added in v0.3.33
type DRPCFile_BlockGetStream ¶
type DRPCFile_BlockGetStream interface { drpc.Stream SendAndClose(*BlockGetResponse) error }
type DRPCFile_BlocksCheckStream ¶
type DRPCFile_BlocksCheckStream interface { drpc.Stream SendAndClose(*BlocksCheckResponse) error }
type DRPCFile_CheckStream ¶
type DRPCFile_CheckStream interface { drpc.Stream SendAndClose(*CheckResponse) error }
type DRPCFile_FilesDeleteStream ¶
type DRPCFile_FilesDeleteStream interface { drpc.Stream SendAndClose(*FilesDeleteResponse) error }
type DRPCFile_FilesGetClient ¶ added in v0.3.33
type DRPCFile_FilesGetClient interface { drpc.Stream Recv() (*FilesGetResponse, error) }
type DRPCFile_FilesGetStream ¶ added in v0.3.33
type DRPCFile_FilesGetStream interface { drpc.Stream Send(*FilesGetResponse) error }
type DRPCFile_FilesInfoStream ¶
type DRPCFile_FilesInfoStream interface { drpc.Stream SendAndClose(*FilesInfoResponse) error }
type DRPCFile_SpaceInfoStream ¶
type DRPCFile_SpaceInfoStream interface { drpc.Stream SendAndClose(*SpaceInfoResponse) error }
type DRPCFile_SpaceLimitSetStream ¶ added in v0.3.33
type FileInfo ¶
type FileInfo struct { FileId string `protobuf:"bytes,1,opt,name=fileId,proto3" json:"fileId,omitempty"` UsageBytes uint64 `protobuf:"varint,2,opt,name=usageBytes,proto3" json:"usageBytes,omitempty"` CidsCount uint32 `protobuf:"varint,3,opt,name=cidsCount,proto3" json:"cidsCount,omitempty"` }
func (*FileInfo) Descriptor ¶
func (*FileInfo) GetCidsCount ¶
func (*FileInfo) GetUsageBytes ¶
func (*FileInfo) MarshalToSizedBuffer ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) XXX_DiscardUnknown ¶
func (m *FileInfo) XXX_DiscardUnknown()
func (*FileInfo) XXX_Marshal ¶
func (*FileInfo) XXX_Unmarshal ¶
type FilesDeleteRequest ¶
type FilesDeleteRequest struct { SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"` FileIds []string `protobuf:"bytes,2,rep,name=fileIds,proto3" json:"fileIds,omitempty"` }
func (*FilesDeleteRequest) Descriptor ¶
func (*FilesDeleteRequest) Descriptor() ([]byte, []int)
func (*FilesDeleteRequest) GetFileIds ¶
func (m *FilesDeleteRequest) GetFileIds() []string
func (*FilesDeleteRequest) GetSpaceId ¶
func (m *FilesDeleteRequest) GetSpaceId() string
func (*FilesDeleteRequest) Marshal ¶
func (m *FilesDeleteRequest) Marshal() (dAtA []byte, err error)
func (*FilesDeleteRequest) MarshalTo ¶
func (m *FilesDeleteRequest) MarshalTo(dAtA []byte) (int, error)
func (*FilesDeleteRequest) MarshalToSizedBuffer ¶
func (m *FilesDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FilesDeleteRequest) ProtoMessage ¶
func (*FilesDeleteRequest) ProtoMessage()
func (*FilesDeleteRequest) Reset ¶
func (m *FilesDeleteRequest) Reset()
func (*FilesDeleteRequest) Size ¶
func (m *FilesDeleteRequest) Size() (n int)
func (*FilesDeleteRequest) String ¶
func (m *FilesDeleteRequest) String() string
func (*FilesDeleteRequest) Unmarshal ¶
func (m *FilesDeleteRequest) Unmarshal(dAtA []byte) error
func (*FilesDeleteRequest) XXX_DiscardUnknown ¶
func (m *FilesDeleteRequest) XXX_DiscardUnknown()
func (*FilesDeleteRequest) XXX_Marshal ¶
func (m *FilesDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilesDeleteRequest) XXX_Merge ¶
func (m *FilesDeleteRequest) XXX_Merge(src proto.Message)
func (*FilesDeleteRequest) XXX_Size ¶
func (m *FilesDeleteRequest) XXX_Size() int
func (*FilesDeleteRequest) XXX_Unmarshal ¶
func (m *FilesDeleteRequest) XXX_Unmarshal(b []byte) error
type FilesDeleteResponse ¶
type FilesDeleteResponse struct { }
func (*FilesDeleteResponse) Descriptor ¶
func (*FilesDeleteResponse) Descriptor() ([]byte, []int)
func (*FilesDeleteResponse) Marshal ¶
func (m *FilesDeleteResponse) Marshal() (dAtA []byte, err error)
func (*FilesDeleteResponse) MarshalTo ¶
func (m *FilesDeleteResponse) MarshalTo(dAtA []byte) (int, error)
func (*FilesDeleteResponse) MarshalToSizedBuffer ¶
func (m *FilesDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FilesDeleteResponse) ProtoMessage ¶
func (*FilesDeleteResponse) ProtoMessage()
func (*FilesDeleteResponse) Reset ¶
func (m *FilesDeleteResponse) Reset()
func (*FilesDeleteResponse) Size ¶
func (m *FilesDeleteResponse) Size() (n int)
func (*FilesDeleteResponse) String ¶
func (m *FilesDeleteResponse) String() string
func (*FilesDeleteResponse) Unmarshal ¶
func (m *FilesDeleteResponse) Unmarshal(dAtA []byte) error
func (*FilesDeleteResponse) XXX_DiscardUnknown ¶
func (m *FilesDeleteResponse) XXX_DiscardUnknown()
func (*FilesDeleteResponse) XXX_Marshal ¶
func (m *FilesDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilesDeleteResponse) XXX_Merge ¶
func (m *FilesDeleteResponse) XXX_Merge(src proto.Message)
func (*FilesDeleteResponse) XXX_Size ¶
func (m *FilesDeleteResponse) XXX_Size() int
func (*FilesDeleteResponse) XXX_Unmarshal ¶
func (m *FilesDeleteResponse) XXX_Unmarshal(b []byte) error
type FilesGetRequest ¶ added in v0.3.33
type FilesGetRequest struct {
SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
}
func (*FilesGetRequest) Descriptor ¶ added in v0.3.33
func (*FilesGetRequest) Descriptor() ([]byte, []int)
func (*FilesGetRequest) GetSpaceId ¶ added in v0.3.33
func (m *FilesGetRequest) GetSpaceId() string
func (*FilesGetRequest) Marshal ¶ added in v0.3.33
func (m *FilesGetRequest) Marshal() (dAtA []byte, err error)
func (*FilesGetRequest) MarshalTo ¶ added in v0.3.33
func (m *FilesGetRequest) MarshalTo(dAtA []byte) (int, error)
func (*FilesGetRequest) MarshalToSizedBuffer ¶ added in v0.3.33
func (m *FilesGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FilesGetRequest) ProtoMessage ¶ added in v0.3.33
func (*FilesGetRequest) ProtoMessage()
func (*FilesGetRequest) Reset ¶ added in v0.3.33
func (m *FilesGetRequest) Reset()
func (*FilesGetRequest) Size ¶ added in v0.3.33
func (m *FilesGetRequest) Size() (n int)
func (*FilesGetRequest) String ¶ added in v0.3.33
func (m *FilesGetRequest) String() string
func (*FilesGetRequest) Unmarshal ¶ added in v0.3.33
func (m *FilesGetRequest) Unmarshal(dAtA []byte) error
func (*FilesGetRequest) XXX_DiscardUnknown ¶ added in v0.3.33
func (m *FilesGetRequest) XXX_DiscardUnknown()
func (*FilesGetRequest) XXX_Marshal ¶ added in v0.3.33
func (m *FilesGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilesGetRequest) XXX_Merge ¶ added in v0.3.33
func (m *FilesGetRequest) XXX_Merge(src proto.Message)
func (*FilesGetRequest) XXX_Size ¶ added in v0.3.33
func (m *FilesGetRequest) XXX_Size() int
func (*FilesGetRequest) XXX_Unmarshal ¶ added in v0.3.33
func (m *FilesGetRequest) XXX_Unmarshal(b []byte) error
type FilesGetResponse ¶ added in v0.3.33
type FilesGetResponse struct {
FileId string `protobuf:"bytes,1,opt,name=fileId,proto3" json:"fileId,omitempty"`
}
func (*FilesGetResponse) Descriptor ¶ added in v0.3.33
func (*FilesGetResponse) Descriptor() ([]byte, []int)
func (*FilesGetResponse) GetFileId ¶ added in v0.3.33
func (m *FilesGetResponse) GetFileId() string
func (*FilesGetResponse) Marshal ¶ added in v0.3.33
func (m *FilesGetResponse) Marshal() (dAtA []byte, err error)
func (*FilesGetResponse) MarshalTo ¶ added in v0.3.33
func (m *FilesGetResponse) MarshalTo(dAtA []byte) (int, error)
func (*FilesGetResponse) MarshalToSizedBuffer ¶ added in v0.3.33
func (m *FilesGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FilesGetResponse) ProtoMessage ¶ added in v0.3.33
func (*FilesGetResponse) ProtoMessage()
func (*FilesGetResponse) Reset ¶ added in v0.3.33
func (m *FilesGetResponse) Reset()
func (*FilesGetResponse) Size ¶ added in v0.3.33
func (m *FilesGetResponse) Size() (n int)
func (*FilesGetResponse) String ¶ added in v0.3.33
func (m *FilesGetResponse) String() string
func (*FilesGetResponse) Unmarshal ¶ added in v0.3.33
func (m *FilesGetResponse) Unmarshal(dAtA []byte) error
func (*FilesGetResponse) XXX_DiscardUnknown ¶ added in v0.3.33
func (m *FilesGetResponse) XXX_DiscardUnknown()
func (*FilesGetResponse) XXX_Marshal ¶ added in v0.3.33
func (m *FilesGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilesGetResponse) XXX_Merge ¶ added in v0.3.33
func (m *FilesGetResponse) XXX_Merge(src proto.Message)
func (*FilesGetResponse) XXX_Size ¶ added in v0.3.33
func (m *FilesGetResponse) XXX_Size() int
func (*FilesGetResponse) XXX_Unmarshal ¶ added in v0.3.33
func (m *FilesGetResponse) XXX_Unmarshal(b []byte) error
type FilesInfoRequest ¶
type FilesInfoRequest struct { SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"` FileIds []string `protobuf:"bytes,2,rep,name=fileIds,proto3" json:"fileIds,omitempty"` }
func (*FilesInfoRequest) Descriptor ¶
func (*FilesInfoRequest) Descriptor() ([]byte, []int)
func (*FilesInfoRequest) GetFileIds ¶
func (m *FilesInfoRequest) GetFileIds() []string
func (*FilesInfoRequest) GetSpaceId ¶
func (m *FilesInfoRequest) GetSpaceId() string
func (*FilesInfoRequest) Marshal ¶
func (m *FilesInfoRequest) Marshal() (dAtA []byte, err error)
func (*FilesInfoRequest) MarshalToSizedBuffer ¶
func (m *FilesInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FilesInfoRequest) ProtoMessage ¶
func (*FilesInfoRequest) ProtoMessage()
func (*FilesInfoRequest) Reset ¶
func (m *FilesInfoRequest) Reset()
func (*FilesInfoRequest) Size ¶
func (m *FilesInfoRequest) Size() (n int)
func (*FilesInfoRequest) String ¶
func (m *FilesInfoRequest) String() string
func (*FilesInfoRequest) Unmarshal ¶
func (m *FilesInfoRequest) Unmarshal(dAtA []byte) error
func (*FilesInfoRequest) XXX_DiscardUnknown ¶
func (m *FilesInfoRequest) XXX_DiscardUnknown()
func (*FilesInfoRequest) XXX_Marshal ¶
func (m *FilesInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilesInfoRequest) XXX_Merge ¶
func (m *FilesInfoRequest) XXX_Merge(src proto.Message)
func (*FilesInfoRequest) XXX_Size ¶
func (m *FilesInfoRequest) XXX_Size() int
func (*FilesInfoRequest) XXX_Unmarshal ¶
func (m *FilesInfoRequest) XXX_Unmarshal(b []byte) error
type FilesInfoResponse ¶
type FilesInfoResponse struct {
FilesInfo []*FileInfo `protobuf:"bytes,1,rep,name=filesInfo,proto3" json:"filesInfo,omitempty"`
}
func (*FilesInfoResponse) Descriptor ¶
func (*FilesInfoResponse) Descriptor() ([]byte, []int)
func (*FilesInfoResponse) GetFilesInfo ¶
func (m *FilesInfoResponse) GetFilesInfo() []*FileInfo
func (*FilesInfoResponse) Marshal ¶
func (m *FilesInfoResponse) Marshal() (dAtA []byte, err error)
func (*FilesInfoResponse) MarshalTo ¶
func (m *FilesInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*FilesInfoResponse) MarshalToSizedBuffer ¶
func (m *FilesInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FilesInfoResponse) ProtoMessage ¶
func (*FilesInfoResponse) ProtoMessage()
func (*FilesInfoResponse) Reset ¶
func (m *FilesInfoResponse) Reset()
func (*FilesInfoResponse) Size ¶
func (m *FilesInfoResponse) Size() (n int)
func (*FilesInfoResponse) String ¶
func (m *FilesInfoResponse) String() string
func (*FilesInfoResponse) Unmarshal ¶
func (m *FilesInfoResponse) Unmarshal(dAtA []byte) error
func (*FilesInfoResponse) XXX_DiscardUnknown ¶
func (m *FilesInfoResponse) XXX_DiscardUnknown()
func (*FilesInfoResponse) XXX_Marshal ¶
func (m *FilesInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilesInfoResponse) XXX_Merge ¶
func (m *FilesInfoResponse) XXX_Merge(src proto.Message)
func (*FilesInfoResponse) XXX_Size ¶
func (m *FilesInfoResponse) XXX_Size() int
func (*FilesInfoResponse) XXX_Unmarshal ¶
func (m *FilesInfoResponse) XXX_Unmarshal(b []byte) error
type Ok ¶ added in v0.3.33
type Ok struct { }
func (*Ok) Descriptor ¶ added in v0.3.33
func (*Ok) MarshalToSizedBuffer ¶ added in v0.3.33
func (*Ok) ProtoMessage ¶ added in v0.3.33
func (*Ok) ProtoMessage()
func (*Ok) XXX_DiscardUnknown ¶ added in v0.3.33
func (m *Ok) XXX_DiscardUnknown()
func (*Ok) XXX_Marshal ¶ added in v0.3.33
func (*Ok) XXX_Unmarshal ¶ added in v0.3.33
type SpaceInfoRequest ¶
type SpaceInfoRequest struct {
SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
}
func (*SpaceInfoRequest) Descriptor ¶
func (*SpaceInfoRequest) Descriptor() ([]byte, []int)
func (*SpaceInfoRequest) GetSpaceId ¶
func (m *SpaceInfoRequest) GetSpaceId() string
func (*SpaceInfoRequest) Marshal ¶
func (m *SpaceInfoRequest) Marshal() (dAtA []byte, err error)
func (*SpaceInfoRequest) MarshalToSizedBuffer ¶
func (m *SpaceInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SpaceInfoRequest) ProtoMessage ¶
func (*SpaceInfoRequest) ProtoMessage()
func (*SpaceInfoRequest) Reset ¶
func (m *SpaceInfoRequest) Reset()
func (*SpaceInfoRequest) Size ¶
func (m *SpaceInfoRequest) Size() (n int)
func (*SpaceInfoRequest) String ¶
func (m *SpaceInfoRequest) String() string
func (*SpaceInfoRequest) Unmarshal ¶
func (m *SpaceInfoRequest) Unmarshal(dAtA []byte) error
func (*SpaceInfoRequest) XXX_DiscardUnknown ¶
func (m *SpaceInfoRequest) XXX_DiscardUnknown()
func (*SpaceInfoRequest) XXX_Marshal ¶
func (m *SpaceInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpaceInfoRequest) XXX_Merge ¶
func (m *SpaceInfoRequest) XXX_Merge(src proto.Message)
func (*SpaceInfoRequest) XXX_Size ¶
func (m *SpaceInfoRequest) XXX_Size() int
func (*SpaceInfoRequest) XXX_Unmarshal ¶
func (m *SpaceInfoRequest) XXX_Unmarshal(b []byte) error
type SpaceInfoResponse ¶
type SpaceInfoResponse struct { LimitBytes uint64 `protobuf:"varint,1,opt,name=limitBytes,proto3" json:"limitBytes,omitempty"` TotalUsageBytes uint64 `protobuf:"varint,2,opt,name=totalUsageBytes,proto3" json:"totalUsageBytes,omitempty"` CidsCount uint64 `protobuf:"varint,3,opt,name=cidsCount,proto3" json:"cidsCount,omitempty"` FilesCount uint64 `protobuf:"varint,4,opt,name=filesCount,proto3" json:"filesCount,omitempty"` SpaceUsageBytes uint64 `protobuf:"varint,5,opt,name=spaceUsageBytes,proto3" json:"spaceUsageBytes,omitempty"` SpaceId string `protobuf:"bytes,6,opt,name=spaceId,proto3" json:"spaceId,omitempty"` }
func (*SpaceInfoResponse) Descriptor ¶
func (*SpaceInfoResponse) Descriptor() ([]byte, []int)
func (*SpaceInfoResponse) GetCidsCount ¶
func (m *SpaceInfoResponse) GetCidsCount() uint64
func (*SpaceInfoResponse) GetFilesCount ¶
func (m *SpaceInfoResponse) GetFilesCount() uint64
func (*SpaceInfoResponse) GetLimitBytes ¶
func (m *SpaceInfoResponse) GetLimitBytes() uint64
func (*SpaceInfoResponse) GetSpaceId ¶ added in v0.3.5
func (m *SpaceInfoResponse) GetSpaceId() string
func (*SpaceInfoResponse) GetSpaceUsageBytes ¶ added in v0.3.5
func (m *SpaceInfoResponse) GetSpaceUsageBytes() uint64
func (*SpaceInfoResponse) GetTotalUsageBytes ¶ added in v0.3.5
func (m *SpaceInfoResponse) GetTotalUsageBytes() uint64
func (*SpaceInfoResponse) Marshal ¶
func (m *SpaceInfoResponse) Marshal() (dAtA []byte, err error)
func (*SpaceInfoResponse) MarshalTo ¶
func (m *SpaceInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*SpaceInfoResponse) MarshalToSizedBuffer ¶
func (m *SpaceInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SpaceInfoResponse) ProtoMessage ¶
func (*SpaceInfoResponse) ProtoMessage()
func (*SpaceInfoResponse) Reset ¶
func (m *SpaceInfoResponse) Reset()
func (*SpaceInfoResponse) Size ¶
func (m *SpaceInfoResponse) Size() (n int)
func (*SpaceInfoResponse) String ¶
func (m *SpaceInfoResponse) String() string
func (*SpaceInfoResponse) Unmarshal ¶
func (m *SpaceInfoResponse) Unmarshal(dAtA []byte) error
func (*SpaceInfoResponse) XXX_DiscardUnknown ¶
func (m *SpaceInfoResponse) XXX_DiscardUnknown()
func (*SpaceInfoResponse) XXX_Marshal ¶
func (m *SpaceInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpaceInfoResponse) XXX_Merge ¶
func (m *SpaceInfoResponse) XXX_Merge(src proto.Message)
func (*SpaceInfoResponse) XXX_Size ¶
func (m *SpaceInfoResponse) XXX_Size() int
func (*SpaceInfoResponse) XXX_Unmarshal ¶
func (m *SpaceInfoResponse) XXX_Unmarshal(b []byte) error
type SpaceLimitSetRequest ¶ added in v0.3.33
type SpaceLimitSetRequest struct { SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` }
func (*SpaceLimitSetRequest) Descriptor ¶ added in v0.3.33
func (*SpaceLimitSetRequest) Descriptor() ([]byte, []int)
func (*SpaceLimitSetRequest) GetLimit ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) GetLimit() uint64
func (*SpaceLimitSetRequest) GetSpaceId ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) GetSpaceId() string
func (*SpaceLimitSetRequest) Marshal ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) Marshal() (dAtA []byte, err error)
func (*SpaceLimitSetRequest) MarshalTo ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) MarshalTo(dAtA []byte) (int, error)
func (*SpaceLimitSetRequest) MarshalToSizedBuffer ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SpaceLimitSetRequest) ProtoMessage ¶ added in v0.3.33
func (*SpaceLimitSetRequest) ProtoMessage()
func (*SpaceLimitSetRequest) Reset ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) Reset()
func (*SpaceLimitSetRequest) Size ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) Size() (n int)
func (*SpaceLimitSetRequest) String ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) String() string
func (*SpaceLimitSetRequest) Unmarshal ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) Unmarshal(dAtA []byte) error
func (*SpaceLimitSetRequest) XXX_DiscardUnknown ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) XXX_DiscardUnknown()
func (*SpaceLimitSetRequest) XXX_Marshal ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpaceLimitSetRequest) XXX_Merge ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) XXX_Merge(src proto.Message)
func (*SpaceLimitSetRequest) XXX_Size ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) XXX_Size() int
func (*SpaceLimitSetRequest) XXX_Unmarshal ¶ added in v0.3.33
func (m *SpaceLimitSetRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.