Documentation ¶
Index ¶
- Variables
- func RegisterSpaceApiServer(s *grpc.Server, srv SpaceApiServer)
- type AddItemResult
- func (*AddItemResult) Descriptor() ([]byte, []int)deprecated
- func (x *AddItemResult) GetBucketPath() string
- func (x *AddItemResult) GetError() string
- func (x *AddItemResult) GetSourcePath() string
- func (*AddItemResult) ProtoMessage()
- func (x *AddItemResult) ProtoReflect() protoreflect.Message
- func (x *AddItemResult) Reset()
- func (x *AddItemResult) String() string
- type AddItemsRequest
- func (*AddItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddItemsRequest) GetSourcePaths() []string
- func (x *AddItemsRequest) GetTargetPath() string
- func (*AddItemsRequest) ProtoMessage()
- func (x *AddItemsRequest) ProtoReflect() protoreflect.Message
- func (x *AddItemsRequest) Reset()
- func (x *AddItemsRequest) String() string
- type AddItemsResponse
- func (*AddItemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddItemsResponse) GetProgress() uint32
- func (x *AddItemsResponse) GetResult() *AddItemResult
- func (*AddItemsResponse) ProtoMessage()
- func (x *AddItemsResponse) ProtoReflect() protoreflect.Message
- func (x *AddItemsResponse) Reset()
- func (x *AddItemsResponse) String() string
- type ConfigInfoResponse
- func (*ConfigInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigInfoResponse) GetAppPath() string
- func (x *ConfigInfoResponse) GetPort() string
- func (*ConfigInfoResponse) ProtoMessage()
- func (x *ConfigInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigInfoResponse) Reset()
- func (x *ConfigInfoResponse) String() string
- type CreateFolderRequest
- func (*CreateFolderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFolderRequest) GetPath() string
- func (*CreateFolderRequest) ProtoMessage()
- func (x *CreateFolderRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFolderRequest) Reset()
- func (x *CreateFolderRequest) String() string
- type CreateFolderResponse
- type EventType
- type FileEventResponse
- func (*FileEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileEventResponse) GetEntry() *ListDirectoryEntry
- func (x *FileEventResponse) GetType() EventType
- func (*FileEventResponse) ProtoMessage()
- func (x *FileEventResponse) ProtoReflect() protoreflect.Message
- func (x *FileEventResponse) Reset()
- func (x *FileEventResponse) String() string
- type GenerateKeyPairRequest
- type GenerateKeyPairResponse
- func (*GenerateKeyPairResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateKeyPairResponse) GetPrivateKey() string
- func (x *GenerateKeyPairResponse) GetPublicKey() string
- func (*GenerateKeyPairResponse) ProtoMessage()
- func (x *GenerateKeyPairResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateKeyPairResponse) Reset()
- func (x *GenerateKeyPairResponse) String() string
- type ListDirectoriesRequest
- type ListDirectoriesResponse
- func (*ListDirectoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDirectoriesResponse) GetEntries() []*ListDirectoryEntry
- func (*ListDirectoriesResponse) ProtoMessage()
- func (x *ListDirectoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDirectoriesResponse) Reset()
- func (x *ListDirectoriesResponse) String() string
- type ListDirectoryEntry
- func (*ListDirectoryEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ListDirectoryEntry) GetCreated() string
- func (x *ListDirectoryEntry) GetFileExtension() string
- func (x *ListDirectoryEntry) GetIpfsHash() string
- func (x *ListDirectoryEntry) GetIsDir() bool
- func (x *ListDirectoryEntry) GetName() string
- func (x *ListDirectoryEntry) GetPath() string
- func (x *ListDirectoryEntry) GetSizeInBytes() string
- func (x *ListDirectoryEntry) GetUpdated() string
- func (*ListDirectoryEntry) ProtoMessage()
- func (x *ListDirectoryEntry) ProtoReflect() protoreflect.Message
- func (x *ListDirectoryEntry) Reset()
- func (x *ListDirectoryEntry) String() string
- type OpenFileRequest
- type OpenFileResponse
- type SpaceApiClient
- type SpaceApiServer
- type SpaceApi_AddItemsClient
- type SpaceApi_AddItemsServer
- type SpaceApi_SubscribeClient
- type SpaceApi_SubscribeServer
- type SpaceApi_TxlSubscribeClient
- type SpaceApi_TxlSubscribeServer
- type TextileEventResponse
- func (*TextileEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TextileEventResponse) GetBucket() string
- func (*TextileEventResponse) ProtoMessage()
- func (x *TextileEventResponse) ProtoReflect() protoreflect.Message
- func (x *TextileEventResponse) Reset()
- func (x *TextileEventResponse) String() string
- type UnimplementedSpaceApiServer
- func (*UnimplementedSpaceApiServer) AddItems(*AddItemsRequest, SpaceApi_AddItemsServer) error
- func (*UnimplementedSpaceApiServer) CreateFolder(context.Context, *CreateFolderRequest) (*CreateFolderResponse, error)
- func (*UnimplementedSpaceApiServer) GenerateKeyPair(context.Context, *GenerateKeyPairRequest) (*GenerateKeyPairResponse, error)
- func (*UnimplementedSpaceApiServer) GenerateKeyPairWithForce(context.Context, *GenerateKeyPairRequest) (*GenerateKeyPairResponse, error)
- func (*UnimplementedSpaceApiServer) GetConfigInfo(context.Context, *empty.Empty) (*ConfigInfoResponse, error)
- func (*UnimplementedSpaceApiServer) ListDirectories(context.Context, *ListDirectoriesRequest) (*ListDirectoriesResponse, error)
- func (*UnimplementedSpaceApiServer) OpenFile(context.Context, *OpenFileRequest) (*OpenFileResponse, error)
- func (*UnimplementedSpaceApiServer) Subscribe(*empty.Empty, SpaceApi_SubscribeServer) error
- func (*UnimplementedSpaceApiServer) TxlSubscribe(*empty.Empty, SpaceApi_TxlSubscribeServer) error
Constants ¶
This section is empty.
Variables ¶
var ( EventType_name = map[int32]string{ 0: "ENTRY_ADDED", 1: "ENTRY_DELETED", 2: "ENTRY_UPDATED", } EventType_value = map[string]int32{ "ENTRY_ADDED": 0, "ENTRY_DELETED": 1, "ENTRY_UPDATED": 2, } )
Enum value maps for EventType.
var File_space_proto protoreflect.FileDescriptor
Functions ¶
func RegisterSpaceApiServer ¶
func RegisterSpaceApiServer(s *grpc.Server, srv SpaceApiServer)
Types ¶
type AddItemResult ¶ added in v0.0.3
type AddItemResult struct { SourcePath string `protobuf:"bytes,1,opt,name=sourcePath,proto3" json:"sourcePath,omitempty"` BucketPath string `protobuf:"bytes,2,opt,name=bucketPath,proto3" json:"bucketPath,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*AddItemResult) Descriptor
deprecated
added in
v0.0.3
func (*AddItemResult) Descriptor() ([]byte, []int)
Deprecated: Use AddItemResult.ProtoReflect.Descriptor instead.
func (*AddItemResult) GetBucketPath ¶ added in v0.0.3
func (x *AddItemResult) GetBucketPath() string
func (*AddItemResult) GetError ¶ added in v0.0.3
func (x *AddItemResult) GetError() string
func (*AddItemResult) GetSourcePath ¶ added in v0.0.3
func (x *AddItemResult) GetSourcePath() string
func (*AddItemResult) ProtoMessage ¶ added in v0.0.3
func (*AddItemResult) ProtoMessage()
func (*AddItemResult) ProtoReflect ¶ added in v0.0.3
func (x *AddItemResult) ProtoReflect() protoreflect.Message
func (*AddItemResult) Reset ¶ added in v0.0.3
func (x *AddItemResult) Reset()
func (*AddItemResult) String ¶ added in v0.0.3
func (x *AddItemResult) String() string
type AddItemsRequest ¶
type AddItemsRequest struct { SourcePaths []string `protobuf:"bytes,1,rep,name=sourcePaths,proto3" json:"sourcePaths,omitempty"` // full paths to file or Folder on FS. Needs to be a location available to the daemon TargetPath string `protobuf:"bytes,2,opt,name=targetPath,proto3" json:"targetPath,omitempty"` // target path in bucket. // contains filtered or unexported fields }
func (*AddItemsRequest) Descriptor
deprecated
func (*AddItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddItemsRequest.ProtoReflect.Descriptor instead.
func (*AddItemsRequest) GetSourcePaths ¶
func (x *AddItemsRequest) GetSourcePaths() []string
func (*AddItemsRequest) GetTargetPath ¶
func (x *AddItemsRequest) GetTargetPath() string
func (*AddItemsRequest) ProtoMessage ¶
func (*AddItemsRequest) ProtoMessage()
func (*AddItemsRequest) ProtoReflect ¶
func (x *AddItemsRequest) ProtoReflect() protoreflect.Message
func (*AddItemsRequest) Reset ¶
func (x *AddItemsRequest) Reset()
func (*AddItemsRequest) String ¶
func (x *AddItemsRequest) String() string
type AddItemsResponse ¶
type AddItemsResponse struct { Result *AddItemResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Progress uint32 `protobuf:"varint,2,opt,name=progress,proto3" json:"progress,omitempty"` // contains filtered or unexported fields }
func (*AddItemsResponse) Descriptor
deprecated
func (*AddItemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddItemsResponse.ProtoReflect.Descriptor instead.
func (*AddItemsResponse) GetProgress ¶ added in v0.0.3
func (x *AddItemsResponse) GetProgress() uint32
func (*AddItemsResponse) GetResult ¶ added in v0.0.3
func (x *AddItemsResponse) GetResult() *AddItemResult
func (*AddItemsResponse) ProtoMessage ¶
func (*AddItemsResponse) ProtoMessage()
func (*AddItemsResponse) ProtoReflect ¶
func (x *AddItemsResponse) ProtoReflect() protoreflect.Message
func (*AddItemsResponse) Reset ¶
func (x *AddItemsResponse) Reset()
func (*AddItemsResponse) String ¶
func (x *AddItemsResponse) String() string
type ConfigInfoResponse ¶
type ConfigInfoResponse struct { Port string `protobuf:"bytes,1,opt,name=port,proto3" json:"port,omitempty"` AppPath string `protobuf:"bytes,2,opt,name=appPath,proto3" json:"appPath,omitempty"` // contains filtered or unexported fields }
func (*ConfigInfoResponse) Descriptor
deprecated
func (*ConfigInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigInfoResponse.ProtoReflect.Descriptor instead.
func (*ConfigInfoResponse) GetAppPath ¶
func (x *ConfigInfoResponse) GetAppPath() string
func (*ConfigInfoResponse) GetPort ¶
func (x *ConfigInfoResponse) GetPort() string
func (*ConfigInfoResponse) ProtoMessage ¶
func (*ConfigInfoResponse) ProtoMessage()
func (*ConfigInfoResponse) ProtoReflect ¶
func (x *ConfigInfoResponse) ProtoReflect() protoreflect.Message
func (*ConfigInfoResponse) Reset ¶
func (x *ConfigInfoResponse) Reset()
func (*ConfigInfoResponse) String ¶
func (x *ConfigInfoResponse) String() string
type CreateFolderRequest ¶
type CreateFolderRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // target path in bucket to add new empty folder // contains filtered or unexported fields }
func (*CreateFolderRequest) Descriptor
deprecated
func (*CreateFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFolderRequest.ProtoReflect.Descriptor instead.
func (*CreateFolderRequest) GetPath ¶
func (x *CreateFolderRequest) GetPath() string
func (*CreateFolderRequest) ProtoMessage ¶
func (*CreateFolderRequest) ProtoMessage()
func (*CreateFolderRequest) ProtoReflect ¶
func (x *CreateFolderRequest) ProtoReflect() protoreflect.Message
func (*CreateFolderRequest) Reset ¶
func (x *CreateFolderRequest) Reset()
func (*CreateFolderRequest) String ¶
func (x *CreateFolderRequest) String() string
type CreateFolderResponse ¶
type CreateFolderResponse struct {
// contains filtered or unexported fields
}
not sure we need to return anything other than an error if we failed
func (*CreateFolderResponse) Descriptor
deprecated
func (*CreateFolderResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateFolderResponse.ProtoReflect.Descriptor instead.
func (*CreateFolderResponse) ProtoMessage ¶
func (*CreateFolderResponse) ProtoMessage()
func (*CreateFolderResponse) ProtoReflect ¶
func (x *CreateFolderResponse) ProtoReflect() protoreflect.Message
func (*CreateFolderResponse) Reset ¶
func (x *CreateFolderResponse) Reset()
func (*CreateFolderResponse) String ¶
func (x *CreateFolderResponse) String() string
type EventType ¶
type EventType int32
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
type FileEventResponse ¶
type FileEventResponse struct { Type EventType `protobuf:"varint,1,opt,name=type,proto3,enum=space.EventType" json:"type,omitempty"` Entry *ListDirectoryEntry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
func (*FileEventResponse) Descriptor
deprecated
func (*FileEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileEventResponse.ProtoReflect.Descriptor instead.
func (*FileEventResponse) GetEntry ¶
func (x *FileEventResponse) GetEntry() *ListDirectoryEntry
func (*FileEventResponse) GetType ¶
func (x *FileEventResponse) GetType() EventType
func (*FileEventResponse) ProtoMessage ¶
func (*FileEventResponse) ProtoMessage()
func (*FileEventResponse) ProtoReflect ¶
func (x *FileEventResponse) ProtoReflect() protoreflect.Message
func (*FileEventResponse) Reset ¶
func (x *FileEventResponse) Reset()
func (*FileEventResponse) String ¶
func (x *FileEventResponse) String() string
type GenerateKeyPairRequest ¶
type GenerateKeyPairRequest struct {
// contains filtered or unexported fields
}
func (*GenerateKeyPairRequest) Descriptor
deprecated
func (*GenerateKeyPairRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateKeyPairRequest.ProtoReflect.Descriptor instead.
func (*GenerateKeyPairRequest) ProtoMessage ¶
func (*GenerateKeyPairRequest) ProtoMessage()
func (*GenerateKeyPairRequest) ProtoReflect ¶
func (x *GenerateKeyPairRequest) ProtoReflect() protoreflect.Message
func (*GenerateKeyPairRequest) Reset ¶
func (x *GenerateKeyPairRequest) Reset()
func (*GenerateKeyPairRequest) String ¶
func (x *GenerateKeyPairRequest) String() string
type GenerateKeyPairResponse ¶
type GenerateKeyPairResponse struct { PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"` PrivateKey string `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` // contains filtered or unexported fields }
func (*GenerateKeyPairResponse) Descriptor
deprecated
func (*GenerateKeyPairResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateKeyPairResponse.ProtoReflect.Descriptor instead.
func (*GenerateKeyPairResponse) GetPrivateKey ¶
func (x *GenerateKeyPairResponse) GetPrivateKey() string
func (*GenerateKeyPairResponse) GetPublicKey ¶
func (x *GenerateKeyPairResponse) GetPublicKey() string
func (*GenerateKeyPairResponse) ProtoMessage ¶
func (*GenerateKeyPairResponse) ProtoMessage()
func (*GenerateKeyPairResponse) ProtoReflect ¶
func (x *GenerateKeyPairResponse) ProtoReflect() protoreflect.Message
func (*GenerateKeyPairResponse) Reset ¶
func (x *GenerateKeyPairResponse) Reset()
func (*GenerateKeyPairResponse) String ¶
func (x *GenerateKeyPairResponse) String() string
type ListDirectoriesRequest ¶
type ListDirectoriesRequest struct {
// contains filtered or unexported fields
}
func (*ListDirectoriesRequest) Descriptor
deprecated
func (*ListDirectoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDirectoriesRequest.ProtoReflect.Descriptor instead.
func (*ListDirectoriesRequest) ProtoMessage ¶
func (*ListDirectoriesRequest) ProtoMessage()
func (*ListDirectoriesRequest) ProtoReflect ¶
func (x *ListDirectoriesRequest) ProtoReflect() protoreflect.Message
func (*ListDirectoriesRequest) Reset ¶
func (x *ListDirectoriesRequest) Reset()
func (*ListDirectoriesRequest) String ¶
func (x *ListDirectoriesRequest) String() string
type ListDirectoriesResponse ¶
type ListDirectoriesResponse struct { Entries []*ListDirectoryEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*ListDirectoriesResponse) Descriptor
deprecated
func (*ListDirectoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDirectoriesResponse.ProtoReflect.Descriptor instead.
func (*ListDirectoriesResponse) GetEntries ¶
func (x *ListDirectoriesResponse) GetEntries() []*ListDirectoryEntry
func (*ListDirectoriesResponse) ProtoMessage ¶
func (*ListDirectoriesResponse) ProtoMessage()
func (*ListDirectoriesResponse) ProtoReflect ¶
func (x *ListDirectoriesResponse) ProtoReflect() protoreflect.Message
func (*ListDirectoriesResponse) Reset ¶
func (x *ListDirectoriesResponse) Reset()
func (*ListDirectoriesResponse) String ¶
func (x *ListDirectoriesResponse) String() string
type ListDirectoryEntry ¶
type ListDirectoryEntry struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` IsDir bool `protobuf:"varint,2,opt,name=isDir,proto3" json:"isDir,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` SizeInBytes string `protobuf:"bytes,4,opt,name=sizeInBytes,proto3" json:"sizeInBytes,omitempty"` Created string `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"` Updated string `protobuf:"bytes,6,opt,name=updated,proto3" json:"updated,omitempty"` FileExtension string `protobuf:"bytes,7,opt,name=fileExtension,proto3" json:"fileExtension,omitempty"` IpfsHash string `protobuf:"bytes,8,opt,name=ipfsHash,proto3" json:"ipfsHash,omitempty"` // contains filtered or unexported fields }
func (*ListDirectoryEntry) Descriptor
deprecated
func (*ListDirectoryEntry) Descriptor() ([]byte, []int)
Deprecated: Use ListDirectoryEntry.ProtoReflect.Descriptor instead.
func (*ListDirectoryEntry) GetCreated ¶
func (x *ListDirectoryEntry) GetCreated() string
func (*ListDirectoryEntry) GetFileExtension ¶
func (x *ListDirectoryEntry) GetFileExtension() string
func (*ListDirectoryEntry) GetIpfsHash ¶
func (x *ListDirectoryEntry) GetIpfsHash() string
func (*ListDirectoryEntry) GetIsDir ¶
func (x *ListDirectoryEntry) GetIsDir() bool
func (*ListDirectoryEntry) GetName ¶
func (x *ListDirectoryEntry) GetName() string
func (*ListDirectoryEntry) GetPath ¶
func (x *ListDirectoryEntry) GetPath() string
func (*ListDirectoryEntry) GetSizeInBytes ¶
func (x *ListDirectoryEntry) GetSizeInBytes() string
func (*ListDirectoryEntry) GetUpdated ¶
func (x *ListDirectoryEntry) GetUpdated() string
func (*ListDirectoryEntry) ProtoMessage ¶
func (*ListDirectoryEntry) ProtoMessage()
func (*ListDirectoryEntry) ProtoReflect ¶
func (x *ListDirectoryEntry) ProtoReflect() protoreflect.Message
func (*ListDirectoryEntry) Reset ¶
func (x *ListDirectoryEntry) Reset()
func (*ListDirectoryEntry) String ¶
func (x *ListDirectoryEntry) String() string
type OpenFileRequest ¶
type OpenFileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*OpenFileRequest) Descriptor
deprecated
func (*OpenFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenFileRequest.ProtoReflect.Descriptor instead.
func (*OpenFileRequest) GetPath ¶
func (x *OpenFileRequest) GetPath() string
func (*OpenFileRequest) ProtoMessage ¶
func (*OpenFileRequest) ProtoMessage()
func (*OpenFileRequest) ProtoReflect ¶
func (x *OpenFileRequest) ProtoReflect() protoreflect.Message
func (*OpenFileRequest) Reset ¶
func (x *OpenFileRequest) Reset()
func (*OpenFileRequest) String ¶
func (x *OpenFileRequest) String() string
type OpenFileResponse ¶
type OpenFileResponse struct { Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*OpenFileResponse) Descriptor
deprecated
func (*OpenFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use OpenFileResponse.ProtoReflect.Descriptor instead.
func (*OpenFileResponse) GetLocation ¶
func (x *OpenFileResponse) GetLocation() string
func (*OpenFileResponse) ProtoMessage ¶
func (*OpenFileResponse) ProtoMessage()
func (*OpenFileResponse) ProtoReflect ¶
func (x *OpenFileResponse) ProtoReflect() protoreflect.Message
func (*OpenFileResponse) Reset ¶
func (x *OpenFileResponse) Reset()
func (*OpenFileResponse) String ¶
func (x *OpenFileResponse) String() string
type SpaceApiClient ¶
type SpaceApiClient interface { ListDirectories(ctx context.Context, in *ListDirectoriesRequest, opts ...grpc.CallOption) (*ListDirectoriesResponse, error) GetConfigInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ConfigInfoResponse, error) GenerateKeyPair(ctx context.Context, in *GenerateKeyPairRequest, opts ...grpc.CallOption) (*GenerateKeyPairResponse, error) GenerateKeyPairWithForce(ctx context.Context, in *GenerateKeyPairRequest, opts ...grpc.CallOption) (*GenerateKeyPairResponse, error) Subscribe(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (SpaceApi_SubscribeClient, error) TxlSubscribe(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (SpaceApi_TxlSubscribeClient, error) OpenFile(ctx context.Context, in *OpenFileRequest, opts ...grpc.CallOption) (*OpenFileResponse, error) AddItems(ctx context.Context, in *AddItemsRequest, opts ...grpc.CallOption) (SpaceApi_AddItemsClient, error) CreateFolder(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*CreateFolderResponse, error) }
SpaceApiClient is the client API for SpaceApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSpaceApiClient ¶
func NewSpaceApiClient(cc grpc.ClientConnInterface) SpaceApiClient
type SpaceApiServer ¶
type SpaceApiServer interface { ListDirectories(context.Context, *ListDirectoriesRequest) (*ListDirectoriesResponse, error) GetConfigInfo(context.Context, *empty.Empty) (*ConfigInfoResponse, error) GenerateKeyPair(context.Context, *GenerateKeyPairRequest) (*GenerateKeyPairResponse, error) GenerateKeyPairWithForce(context.Context, *GenerateKeyPairRequest) (*GenerateKeyPairResponse, error) Subscribe(*empty.Empty, SpaceApi_SubscribeServer) error TxlSubscribe(*empty.Empty, SpaceApi_TxlSubscribeServer) error OpenFile(context.Context, *OpenFileRequest) (*OpenFileResponse, error) AddItems(*AddItemsRequest, SpaceApi_AddItemsServer) error CreateFolder(context.Context, *CreateFolderRequest) (*CreateFolderResponse, error) }
SpaceApiServer is the server API for SpaceApi service.
type SpaceApi_AddItemsClient ¶ added in v0.0.3
type SpaceApi_AddItemsClient interface { Recv() (*AddItemsResponse, error) grpc.ClientStream }
type SpaceApi_AddItemsServer ¶ added in v0.0.3
type SpaceApi_AddItemsServer interface { Send(*AddItemsResponse) error grpc.ServerStream }
type SpaceApi_SubscribeClient ¶
type SpaceApi_SubscribeClient interface { Recv() (*FileEventResponse, error) grpc.ClientStream }
type SpaceApi_SubscribeServer ¶
type SpaceApi_SubscribeServer interface { Send(*FileEventResponse) error grpc.ServerStream }
type SpaceApi_TxlSubscribeClient ¶ added in v0.0.3
type SpaceApi_TxlSubscribeClient interface { Recv() (*TextileEventResponse, error) grpc.ClientStream }
type SpaceApi_TxlSubscribeServer ¶ added in v0.0.3
type SpaceApi_TxlSubscribeServer interface { Send(*TextileEventResponse) error grpc.ServerStream }
type TextileEventResponse ¶ added in v0.0.3
type TextileEventResponse struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*TextileEventResponse) Descriptor
deprecated
added in
v0.0.3
func (*TextileEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use TextileEventResponse.ProtoReflect.Descriptor instead.
func (*TextileEventResponse) GetBucket ¶ added in v0.0.3
func (x *TextileEventResponse) GetBucket() string
func (*TextileEventResponse) ProtoMessage ¶ added in v0.0.3
func (*TextileEventResponse) ProtoMessage()
func (*TextileEventResponse) ProtoReflect ¶ added in v0.0.3
func (x *TextileEventResponse) ProtoReflect() protoreflect.Message
func (*TextileEventResponse) Reset ¶ added in v0.0.3
func (x *TextileEventResponse) Reset()
func (*TextileEventResponse) String ¶ added in v0.0.3
func (x *TextileEventResponse) String() string
type UnimplementedSpaceApiServer ¶
type UnimplementedSpaceApiServer struct { }
UnimplementedSpaceApiServer can be embedded to have forward compatible implementations.
func (*UnimplementedSpaceApiServer) AddItems ¶
func (*UnimplementedSpaceApiServer) AddItems(*AddItemsRequest, SpaceApi_AddItemsServer) error
func (*UnimplementedSpaceApiServer) CreateFolder ¶
func (*UnimplementedSpaceApiServer) CreateFolder(context.Context, *CreateFolderRequest) (*CreateFolderResponse, error)
func (*UnimplementedSpaceApiServer) GenerateKeyPair ¶
func (*UnimplementedSpaceApiServer) GenerateKeyPair(context.Context, *GenerateKeyPairRequest) (*GenerateKeyPairResponse, error)
func (*UnimplementedSpaceApiServer) GenerateKeyPairWithForce ¶
func (*UnimplementedSpaceApiServer) GenerateKeyPairWithForce(context.Context, *GenerateKeyPairRequest) (*GenerateKeyPairResponse, error)
func (*UnimplementedSpaceApiServer) GetConfigInfo ¶
func (*UnimplementedSpaceApiServer) GetConfigInfo(context.Context, *empty.Empty) (*ConfigInfoResponse, error)
func (*UnimplementedSpaceApiServer) ListDirectories ¶
func (*UnimplementedSpaceApiServer) ListDirectories(context.Context, *ListDirectoriesRequest) (*ListDirectoriesResponse, error)
func (*UnimplementedSpaceApiServer) OpenFile ¶
func (*UnimplementedSpaceApiServer) OpenFile(context.Context, *OpenFileRequest) (*OpenFileResponse, error)
func (*UnimplementedSpaceApiServer) Subscribe ¶
func (*UnimplementedSpaceApiServer) Subscribe(*empty.Empty, SpaceApi_SubscribeServer) error
func (*UnimplementedSpaceApiServer) TxlSubscribe ¶ added in v0.0.3
func (*UnimplementedSpaceApiServer) TxlSubscribe(*empty.Empty, SpaceApi_TxlSubscribeServer) error