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) GetCompletedBytes() int64
- func (x *AddItemsResponse) GetCompletedFiles() int64
- func (x *AddItemsResponse) GetResult() *AddItemResult
- func (x *AddItemsResponse) GetTotalBytes() int64
- func (x *AddItemsResponse) GetTotalFiles() int64
- func (*AddItemsResponse) ProtoMessage()
- func (x *AddItemsResponse) ProtoReflect() protoreflect.Message
- func (x *AddItemsResponse) Reset()
- func (x *AddItemsResponse) String() string
- type BackupKeysByPassphraseRequest
- func (*BackupKeysByPassphraseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupKeysByPassphraseRequest) GetPassphrase() string
- func (*BackupKeysByPassphraseRequest) ProtoMessage()
- func (x *BackupKeysByPassphraseRequest) ProtoReflect() protoreflect.Message
- func (x *BackupKeysByPassphraseRequest) Reset()
- func (x *BackupKeysByPassphraseRequest) String() string
- type BackupKeysByPassphraseResponse
- func (*BackupKeysByPassphraseResponse) Descriptor() ([]byte, []int)deprecated
- func (*BackupKeysByPassphraseResponse) ProtoMessage()
- func (x *BackupKeysByPassphraseResponse) ProtoReflect() protoreflect.Message
- func (x *BackupKeysByPassphraseResponse) Reset()
- func (x *BackupKeysByPassphraseResponse) String() string
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetCreatedAt() int64
- func (x *Bucket) GetKey() string
- func (x *Bucket) GetName() string
- func (x *Bucket) GetPath() string
- func (x *Bucket) GetUpdatedAt() int64
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) 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 CreateBucketRequest
- func (*CreateBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBucketRequest) GetSlug() string
- func (*CreateBucketRequest) ProtoMessage()
- func (x *CreateBucketRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBucketRequest) Reset()
- func (x *CreateBucketRequest) String() string
- type CreateBucketResponse
- func (*CreateBucketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBucketResponse) GetBucket() *Bucket
- func (*CreateBucketResponse) ProtoMessage()
- func (x *CreateBucketResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBucketResponse) Reset()
- func (x *CreateBucketResponse) 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 CreateUsernameAndEmailRequest
- func (*CreateUsernameAndEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUsernameAndEmailRequest) GetEmail() string
- func (x *CreateUsernameAndEmailRequest) GetUsername() string
- func (*CreateUsernameAndEmailRequest) ProtoMessage()
- func (x *CreateUsernameAndEmailRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUsernameAndEmailRequest) Reset()
- func (x *CreateUsernameAndEmailRequest) String() string
- type CreateUsernameAndEmailResponse
- func (*CreateUsernameAndEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateUsernameAndEmailResponse) ProtoMessage()
- func (x *CreateUsernameAndEmailResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUsernameAndEmailResponse) Reset()
- func (x *CreateUsernameAndEmailResponse) String() string
- 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 FuseDriveResponse
- func (*FuseDriveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FuseDriveResponse) GetFuseDriveMounted() bool
- func (*FuseDriveResponse) ProtoMessage()
- func (x *FuseDriveResponse) ProtoReflect() protoreflect.Message
- func (x *FuseDriveResponse) Reset()
- func (x *FuseDriveResponse) String() string
- type GenerateFileShareLinkRequest
- func (*GenerateFileShareLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateFileShareLinkRequest) GetBucket() string
- func (x *GenerateFileShareLinkRequest) GetFilePath() string
- func (*GenerateFileShareLinkRequest) ProtoMessage()
- func (x *GenerateFileShareLinkRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateFileShareLinkRequest) Reset()
- func (x *GenerateFileShareLinkRequest) String() string
- type GenerateFileShareLinkResponse
- func (*GenerateFileShareLinkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateFileShareLinkResponse) GetLink() string
- func (*GenerateFileShareLinkResponse) ProtoMessage()
- func (x *GenerateFileShareLinkResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateFileShareLinkResponse) Reset()
- func (x *GenerateFileShareLinkResponse) 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 GetIdentityByUsernameRequest
- func (*GetIdentityByUsernameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityByUsernameRequest) GetUsername() string
- func (*GetIdentityByUsernameRequest) ProtoMessage()
- func (x *GetIdentityByUsernameRequest) ProtoReflect() protoreflect.Message
- func (x *GetIdentityByUsernameRequest) Reset()
- func (x *GetIdentityByUsernameRequest) String() string
- type GetIdentityByUsernameResponse
- func (*GetIdentityByUsernameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityByUsernameResponse) GetIdentity() *Identity
- func (*GetIdentityByUsernameResponse) ProtoMessage()
- func (x *GetIdentityByUsernameResponse) ProtoReflect() protoreflect.Message
- func (x *GetIdentityByUsernameResponse) Reset()
- func (x *GetIdentityByUsernameResponse) String() string
- type Identity
- func (*Identity) Descriptor() ([]byte, []int)deprecated
- func (x *Identity) GetAddress() string
- func (x *Identity) GetPublicKey() string
- func (x *Identity) GetUsername() string
- func (*Identity) ProtoMessage()
- func (x *Identity) ProtoReflect() protoreflect.Message
- func (x *Identity) Reset()
- func (x *Identity) String() string
- type IdentityType
- func (IdentityType) Descriptor() protoreflect.EnumDescriptor
- func (x IdentityType) Enum() *IdentityType
- func (IdentityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IdentityType) Number() protoreflect.EnumNumber
- func (x IdentityType) String() string
- func (IdentityType) Type() protoreflect.EnumType
- 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 RecoverKeysByPassphraseRequest
- func (*RecoverKeysByPassphraseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecoverKeysByPassphraseRequest) GetPassphrase() string
- func (*RecoverKeysByPassphraseRequest) ProtoMessage()
- func (x *RecoverKeysByPassphraseRequest) ProtoReflect() protoreflect.Message
- func (x *RecoverKeysByPassphraseRequest) Reset()
- func (x *RecoverKeysByPassphraseRequest) String() string
- type RecoverKeysByPassphraseResponse
- func (*RecoverKeysByPassphraseResponse) Descriptor() ([]byte, []int)deprecated
- func (*RecoverKeysByPassphraseResponse) ProtoMessage()
- func (x *RecoverKeysByPassphraseResponse) ProtoReflect() protoreflect.Message
- func (x *RecoverKeysByPassphraseResponse) Reset()
- func (x *RecoverKeysByPassphraseResponse) String() string
- type ShareBucketViaEmailRequest
- func (*ShareBucketViaEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShareBucketViaEmailRequest) GetBucket() string
- func (x *ShareBucketViaEmailRequest) GetEmail() string
- func (*ShareBucketViaEmailRequest) ProtoMessage()
- func (x *ShareBucketViaEmailRequest) ProtoReflect() protoreflect.Message
- func (x *ShareBucketViaEmailRequest) Reset()
- func (x *ShareBucketViaEmailRequest) String() string
- type ShareBucketViaEmailResponse
- type ShareBucketViaIdentityRequest
- func (*ShareBucketViaIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShareBucketViaIdentityRequest) GetBucket() string
- func (x *ShareBucketViaIdentityRequest) GetIdentityType() IdentityType
- func (x *ShareBucketViaIdentityRequest) GetIdentityValue() string
- func (*ShareBucketViaIdentityRequest) ProtoMessage()
- func (x *ShareBucketViaIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *ShareBucketViaIdentityRequest) Reset()
- func (x *ShareBucketViaIdentityRequest) String() string
- type ShareBucketViaIdentityResponse
- func (*ShareBucketViaIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (*ShareBucketViaIdentityResponse) ProtoMessage()
- func (x *ShareBucketViaIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *ShareBucketViaIdentityResponse) Reset()
- func (x *ShareBucketViaIdentityResponse) String() string
- 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 ToggleFuseRequest
- type UnimplementedSpaceApiServer
- func (*UnimplementedSpaceApiServer) AddItems(*AddItemsRequest, SpaceApi_AddItemsServer) error
- func (*UnimplementedSpaceApiServer) BackupKeysByPassphrase(context.Context, *BackupKeysByPassphraseRequest) (*BackupKeysByPassphraseResponse, error)
- func (*UnimplementedSpaceApiServer) CreateBucket(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error)
- func (*UnimplementedSpaceApiServer) CreateFolder(context.Context, *CreateFolderRequest) (*CreateFolderResponse, error)
- func (*UnimplementedSpaceApiServer) CreateUsernameAndEmail(context.Context, *CreateUsernameAndEmailRequest) (*CreateUsernameAndEmailResponse, error)
- func (*UnimplementedSpaceApiServer) GenerateFileShareLink(context.Context, *GenerateFileShareLinkRequest) (*GenerateFileShareLinkResponse, 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) GetFuseDriveStatus(context.Context, *empty.Empty) (*FuseDriveResponse, error)
- func (*UnimplementedSpaceApiServer) GetIdentityByUsername(context.Context, *GetIdentityByUsernameRequest) (*GetIdentityByUsernameResponse, error)
- func (*UnimplementedSpaceApiServer) ListDirectories(context.Context, *ListDirectoriesRequest) (*ListDirectoriesResponse, error)
- func (*UnimplementedSpaceApiServer) OpenFile(context.Context, *OpenFileRequest) (*OpenFileResponse, error)
- func (*UnimplementedSpaceApiServer) RecoverKeysByPassphrase(context.Context, *RecoverKeysByPassphraseRequest) (*RecoverKeysByPassphraseResponse, error)
- func (*UnimplementedSpaceApiServer) ShareBucketViaEmail(context.Context, *ShareBucketViaEmailRequest) (*ShareBucketViaEmailResponse, error)
- func (*UnimplementedSpaceApiServer) ShareBucketViaIdentity(context.Context, *ShareBucketViaIdentityRequest) (*ShareBucketViaIdentityResponse, error)
- func (*UnimplementedSpaceApiServer) Subscribe(*empty.Empty, SpaceApi_SubscribeServer) error
- func (*UnimplementedSpaceApiServer) ToggleFuseDrive(context.Context, *ToggleFuseRequest) (*FuseDriveResponse, 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 ( IdentityType_name = map[int32]string{ 0: "USERNAME", 1: "EMAIL", } IdentityType_value = map[string]int32{ "USERNAME": 0, "EMAIL": 1, } )
Enum value maps for IdentityType.
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"` TotalFiles int64 `protobuf:"varint,2,opt,name=totalFiles,proto3" json:"totalFiles,omitempty"` TotalBytes int64 `protobuf:"varint,3,opt,name=totalBytes,proto3" json:"totalBytes,omitempty"` CompletedFiles int64 `protobuf:"varint,4,opt,name=completedFiles,proto3" json:"completedFiles,omitempty"` CompletedBytes int64 `protobuf:"varint,5,opt,name=completedBytes,proto3" json:"completedBytes,omitempty"` // contains filtered or unexported fields }
func (*AddItemsResponse) Descriptor
deprecated
func (*AddItemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddItemsResponse.ProtoReflect.Descriptor instead.
func (*AddItemsResponse) GetCompletedBytes ¶ added in v0.0.4
func (x *AddItemsResponse) GetCompletedBytes() int64
func (*AddItemsResponse) GetCompletedFiles ¶ added in v0.0.4
func (x *AddItemsResponse) GetCompletedFiles() int64
func (*AddItemsResponse) GetResult ¶ added in v0.0.3
func (x *AddItemsResponse) GetResult() *AddItemResult
func (*AddItemsResponse) GetTotalBytes ¶ added in v0.0.4
func (x *AddItemsResponse) GetTotalBytes() int64
func (*AddItemsResponse) GetTotalFiles ¶ added in v0.0.4
func (x *AddItemsResponse) GetTotalFiles() int64
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 BackupKeysByPassphraseRequest ¶ added in v0.0.6
type BackupKeysByPassphraseRequest struct { Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` // contains filtered or unexported fields }
func (*BackupKeysByPassphraseRequest) Descriptor
deprecated
added in
v0.0.6
func (*BackupKeysByPassphraseRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupKeysByPassphraseRequest.ProtoReflect.Descriptor instead.
func (*BackupKeysByPassphraseRequest) GetPassphrase ¶ added in v0.0.6
func (x *BackupKeysByPassphraseRequest) GetPassphrase() string
func (*BackupKeysByPassphraseRequest) ProtoMessage ¶ added in v0.0.6
func (*BackupKeysByPassphraseRequest) ProtoMessage()
func (*BackupKeysByPassphraseRequest) ProtoReflect ¶ added in v0.0.6
func (x *BackupKeysByPassphraseRequest) ProtoReflect() protoreflect.Message
func (*BackupKeysByPassphraseRequest) Reset ¶ added in v0.0.6
func (x *BackupKeysByPassphraseRequest) Reset()
func (*BackupKeysByPassphraseRequest) String ¶ added in v0.0.6
func (x *BackupKeysByPassphraseRequest) String() string
type BackupKeysByPassphraseResponse ¶ added in v0.0.6
type BackupKeysByPassphraseResponse struct {
// contains filtered or unexported fields
}
func (*BackupKeysByPassphraseResponse) Descriptor
deprecated
added in
v0.0.6
func (*BackupKeysByPassphraseResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackupKeysByPassphraseResponse.ProtoReflect.Descriptor instead.
func (*BackupKeysByPassphraseResponse) ProtoMessage ¶ added in v0.0.6
func (*BackupKeysByPassphraseResponse) ProtoMessage()
func (*BackupKeysByPassphraseResponse) ProtoReflect ¶ added in v0.0.6
func (x *BackupKeysByPassphraseResponse) ProtoReflect() protoreflect.Message
func (*BackupKeysByPassphraseResponse) Reset ¶ added in v0.0.6
func (x *BackupKeysByPassphraseResponse) Reset()
func (*BackupKeysByPassphraseResponse) String ¶ added in v0.0.6
func (x *BackupKeysByPassphraseResponse) String() string
type Bucket ¶ added in v0.0.6
type Bucket struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
TODO: import from textile instead
func (*Bucket) Descriptor
deprecated
added in
v0.0.6
func (*Bucket) GetCreatedAt ¶ added in v0.0.6
func (*Bucket) GetUpdatedAt ¶ added in v0.0.6
func (*Bucket) ProtoMessage ¶ added in v0.0.6
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶ added in v0.0.6
func (x *Bucket) ProtoReflect() protoreflect.Message
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 CreateBucketRequest ¶ added in v0.0.6
type CreateBucketRequest struct { Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"` // contains filtered or unexported fields }
func (*CreateBucketRequest) Descriptor
deprecated
added in
v0.0.6
func (*CreateBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBucketRequest.ProtoReflect.Descriptor instead.
func (*CreateBucketRequest) GetSlug ¶ added in v0.0.6
func (x *CreateBucketRequest) GetSlug() string
func (*CreateBucketRequest) ProtoMessage ¶ added in v0.0.6
func (*CreateBucketRequest) ProtoMessage()
func (*CreateBucketRequest) ProtoReflect ¶ added in v0.0.6
func (x *CreateBucketRequest) ProtoReflect() protoreflect.Message
func (*CreateBucketRequest) Reset ¶ added in v0.0.6
func (x *CreateBucketRequest) Reset()
func (*CreateBucketRequest) String ¶ added in v0.0.6
func (x *CreateBucketRequest) String() string
type CreateBucketResponse ¶ added in v0.0.6
type CreateBucketResponse struct { Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*CreateBucketResponse) Descriptor
deprecated
added in
v0.0.6
func (*CreateBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBucketResponse.ProtoReflect.Descriptor instead.
func (*CreateBucketResponse) GetBucket ¶ added in v0.0.6
func (x *CreateBucketResponse) GetBucket() *Bucket
func (*CreateBucketResponse) ProtoMessage ¶ added in v0.0.6
func (*CreateBucketResponse) ProtoMessage()
func (*CreateBucketResponse) ProtoReflect ¶ added in v0.0.6
func (x *CreateBucketResponse) ProtoReflect() protoreflect.Message
func (*CreateBucketResponse) Reset ¶ added in v0.0.6
func (x *CreateBucketResponse) Reset()
func (*CreateBucketResponse) String ¶ added in v0.0.6
func (x *CreateBucketResponse) 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 CreateUsernameAndEmailRequest ¶ added in v0.0.6
type CreateUsernameAndEmailRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // Optional. Send "" to skip. // contains filtered or unexported fields }
func (*CreateUsernameAndEmailRequest) Descriptor
deprecated
added in
v0.0.6
func (*CreateUsernameAndEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUsernameAndEmailRequest.ProtoReflect.Descriptor instead.
func (*CreateUsernameAndEmailRequest) GetEmail ¶ added in v0.0.6
func (x *CreateUsernameAndEmailRequest) GetEmail() string
func (*CreateUsernameAndEmailRequest) GetUsername ¶ added in v0.0.6
func (x *CreateUsernameAndEmailRequest) GetUsername() string
func (*CreateUsernameAndEmailRequest) ProtoMessage ¶ added in v0.0.6
func (*CreateUsernameAndEmailRequest) ProtoMessage()
func (*CreateUsernameAndEmailRequest) ProtoReflect ¶ added in v0.0.6
func (x *CreateUsernameAndEmailRequest) ProtoReflect() protoreflect.Message
func (*CreateUsernameAndEmailRequest) Reset ¶ added in v0.0.6
func (x *CreateUsernameAndEmailRequest) Reset()
func (*CreateUsernameAndEmailRequest) String ¶ added in v0.0.6
func (x *CreateUsernameAndEmailRequest) String() string
type CreateUsernameAndEmailResponse ¶ added in v0.0.6
type CreateUsernameAndEmailResponse struct {
// contains filtered or unexported fields
}
func (*CreateUsernameAndEmailResponse) Descriptor
deprecated
added in
v0.0.6
func (*CreateUsernameAndEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUsernameAndEmailResponse.ProtoReflect.Descriptor instead.
func (*CreateUsernameAndEmailResponse) ProtoMessage ¶ added in v0.0.6
func (*CreateUsernameAndEmailResponse) ProtoMessage()
func (*CreateUsernameAndEmailResponse) ProtoReflect ¶ added in v0.0.6
func (x *CreateUsernameAndEmailResponse) ProtoReflect() protoreflect.Message
func (*CreateUsernameAndEmailResponse) Reset ¶ added in v0.0.6
func (x *CreateUsernameAndEmailResponse) Reset()
func (*CreateUsernameAndEmailResponse) String ¶ added in v0.0.6
func (x *CreateUsernameAndEmailResponse) 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 FuseDriveResponse ¶ added in v0.0.4
type FuseDriveResponse struct { FuseDriveMounted bool `protobuf:"varint,1,opt,name=fuseDriveMounted,proto3" json:"fuseDriveMounted,omitempty"` // contains filtered or unexported fields }
func (*FuseDriveResponse) Descriptor
deprecated
added in
v0.0.4
func (*FuseDriveResponse) Descriptor() ([]byte, []int)
Deprecated: Use FuseDriveResponse.ProtoReflect.Descriptor instead.
func (*FuseDriveResponse) GetFuseDriveMounted ¶ added in v0.0.4
func (x *FuseDriveResponse) GetFuseDriveMounted() bool
func (*FuseDriveResponse) ProtoMessage ¶ added in v0.0.4
func (*FuseDriveResponse) ProtoMessage()
func (*FuseDriveResponse) ProtoReflect ¶ added in v0.0.4
func (x *FuseDriveResponse) ProtoReflect() protoreflect.Message
func (*FuseDriveResponse) Reset ¶ added in v0.0.4
func (x *FuseDriveResponse) Reset()
func (*FuseDriveResponse) String ¶ added in v0.0.4
func (x *FuseDriveResponse) String() string
type GenerateFileShareLinkRequest ¶ added in v0.0.6
type GenerateFileShareLinkRequest struct { // contains filtered or unexported fields }
func (*GenerateFileShareLinkRequest) Descriptor
deprecated
added in
v0.0.6
func (*GenerateFileShareLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateFileShareLinkRequest.ProtoReflect.Descriptor instead.
func (*GenerateFileShareLinkRequest) GetBucket ¶ added in v0.0.6
func (x *GenerateFileShareLinkRequest) GetBucket() string
func (*GenerateFileShareLinkRequest) GetFilePath ¶ added in v0.0.6
func (x *GenerateFileShareLinkRequest) GetFilePath() string
func (*GenerateFileShareLinkRequest) ProtoMessage ¶ added in v0.0.6
func (*GenerateFileShareLinkRequest) ProtoMessage()
func (*GenerateFileShareLinkRequest) ProtoReflect ¶ added in v0.0.6
func (x *GenerateFileShareLinkRequest) ProtoReflect() protoreflect.Message
func (*GenerateFileShareLinkRequest) Reset ¶ added in v0.0.6
func (x *GenerateFileShareLinkRequest) Reset()
func (*GenerateFileShareLinkRequest) String ¶ added in v0.0.6
func (x *GenerateFileShareLinkRequest) String() string
type GenerateFileShareLinkResponse ¶ added in v0.0.6
type GenerateFileShareLinkResponse struct { // contains filtered or unexported fields }
func (*GenerateFileShareLinkResponse) Descriptor
deprecated
added in
v0.0.6
func (*GenerateFileShareLinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateFileShareLinkResponse.ProtoReflect.Descriptor instead.
func (*GenerateFileShareLinkResponse) GetLink ¶ added in v0.0.6
func (x *GenerateFileShareLinkResponse) GetLink() string
func (*GenerateFileShareLinkResponse) ProtoMessage ¶ added in v0.0.6
func (*GenerateFileShareLinkResponse) ProtoMessage()
func (*GenerateFileShareLinkResponse) ProtoReflect ¶ added in v0.0.6
func (x *GenerateFileShareLinkResponse) ProtoReflect() protoreflect.Message
func (*GenerateFileShareLinkResponse) Reset ¶ added in v0.0.6
func (x *GenerateFileShareLinkResponse) Reset()
func (*GenerateFileShareLinkResponse) String ¶ added in v0.0.6
func (x *GenerateFileShareLinkResponse) 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 GetIdentityByUsernameRequest ¶ added in v0.0.6
type GetIdentityByUsernameRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityByUsernameRequest) Descriptor
deprecated
added in
v0.0.6
func (*GetIdentityByUsernameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityByUsernameRequest.ProtoReflect.Descriptor instead.
func (*GetIdentityByUsernameRequest) GetUsername ¶ added in v0.0.6
func (x *GetIdentityByUsernameRequest) GetUsername() string
func (*GetIdentityByUsernameRequest) ProtoMessage ¶ added in v0.0.6
func (*GetIdentityByUsernameRequest) ProtoMessage()
func (*GetIdentityByUsernameRequest) ProtoReflect ¶ added in v0.0.6
func (x *GetIdentityByUsernameRequest) ProtoReflect() protoreflect.Message
func (*GetIdentityByUsernameRequest) Reset ¶ added in v0.0.6
func (x *GetIdentityByUsernameRequest) Reset()
func (*GetIdentityByUsernameRequest) String ¶ added in v0.0.6
func (x *GetIdentityByUsernameRequest) String() string
type GetIdentityByUsernameResponse ¶ added in v0.0.6
type GetIdentityByUsernameResponse struct { Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityByUsernameResponse) Descriptor
deprecated
added in
v0.0.6
func (*GetIdentityByUsernameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityByUsernameResponse.ProtoReflect.Descriptor instead.
func (*GetIdentityByUsernameResponse) GetIdentity ¶ added in v0.0.6
func (x *GetIdentityByUsernameResponse) GetIdentity() *Identity
func (*GetIdentityByUsernameResponse) ProtoMessage ¶ added in v0.0.6
func (*GetIdentityByUsernameResponse) ProtoMessage()
func (*GetIdentityByUsernameResponse) ProtoReflect ¶ added in v0.0.6
func (x *GetIdentityByUsernameResponse) ProtoReflect() protoreflect.Message
func (*GetIdentityByUsernameResponse) Reset ¶ added in v0.0.6
func (x *GetIdentityByUsernameResponse) Reset()
func (*GetIdentityByUsernameResponse) String ¶ added in v0.0.6
func (x *GetIdentityByUsernameResponse) String() string
type Identity ¶ added in v0.0.6
type Identity struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*Identity) Descriptor
deprecated
added in
v0.0.6
func (*Identity) GetAddress ¶ added in v0.0.6
func (*Identity) GetPublicKey ¶ added in v0.0.6
func (*Identity) GetUsername ¶ added in v0.0.6
func (*Identity) ProtoMessage ¶ added in v0.0.6
func (*Identity) ProtoMessage()
func (*Identity) ProtoReflect ¶ added in v0.0.6
func (x *Identity) ProtoReflect() protoreflect.Message
type IdentityType ¶ added in v0.0.6
type IdentityType int32
const ( IdentityType_USERNAME IdentityType = 0 IdentityType_EMAIL IdentityType = 1 )
func (IdentityType) Descriptor ¶ added in v0.0.6
func (IdentityType) Descriptor() protoreflect.EnumDescriptor
func (IdentityType) Enum ¶ added in v0.0.6
func (x IdentityType) Enum() *IdentityType
func (IdentityType) EnumDescriptor
deprecated
added in
v0.0.6
func (IdentityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IdentityType.Descriptor instead.
func (IdentityType) Number ¶ added in v0.0.6
func (x IdentityType) Number() protoreflect.EnumNumber
func (IdentityType) String ¶ added in v0.0.6
func (x IdentityType) String() string
func (IdentityType) Type ¶ added in v0.0.6
func (IdentityType) Type() protoreflect.EnumType
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 RecoverKeysByPassphraseRequest ¶ added in v0.0.6
type RecoverKeysByPassphraseRequest struct { Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` // contains filtered or unexported fields }
func (*RecoverKeysByPassphraseRequest) Descriptor
deprecated
added in
v0.0.6
func (*RecoverKeysByPassphraseRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecoverKeysByPassphraseRequest.ProtoReflect.Descriptor instead.
func (*RecoverKeysByPassphraseRequest) GetPassphrase ¶ added in v0.0.6
func (x *RecoverKeysByPassphraseRequest) GetPassphrase() string
func (*RecoverKeysByPassphraseRequest) ProtoMessage ¶ added in v0.0.6
func (*RecoverKeysByPassphraseRequest) ProtoMessage()
func (*RecoverKeysByPassphraseRequest) ProtoReflect ¶ added in v0.0.6
func (x *RecoverKeysByPassphraseRequest) ProtoReflect() protoreflect.Message
func (*RecoverKeysByPassphraseRequest) Reset ¶ added in v0.0.6
func (x *RecoverKeysByPassphraseRequest) Reset()
func (*RecoverKeysByPassphraseRequest) String ¶ added in v0.0.6
func (x *RecoverKeysByPassphraseRequest) String() string
type RecoverKeysByPassphraseResponse ¶ added in v0.0.6
type RecoverKeysByPassphraseResponse struct {
// contains filtered or unexported fields
}
func (*RecoverKeysByPassphraseResponse) Descriptor
deprecated
added in
v0.0.6
func (*RecoverKeysByPassphraseResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecoverKeysByPassphraseResponse.ProtoReflect.Descriptor instead.
func (*RecoverKeysByPassphraseResponse) ProtoMessage ¶ added in v0.0.6
func (*RecoverKeysByPassphraseResponse) ProtoMessage()
func (*RecoverKeysByPassphraseResponse) ProtoReflect ¶ added in v0.0.6
func (x *RecoverKeysByPassphraseResponse) ProtoReflect() protoreflect.Message
func (*RecoverKeysByPassphraseResponse) Reset ¶ added in v0.0.6
func (x *RecoverKeysByPassphraseResponse) Reset()
func (*RecoverKeysByPassphraseResponse) String ¶ added in v0.0.6
func (x *RecoverKeysByPassphraseResponse) String() string
type ShareBucketViaEmailRequest ¶ added in v0.0.6
type ShareBucketViaEmailRequest struct { // contains filtered or unexported fields }
func (*ShareBucketViaEmailRequest) Descriptor
deprecated
added in
v0.0.6
func (*ShareBucketViaEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShareBucketViaEmailRequest.ProtoReflect.Descriptor instead.
func (*ShareBucketViaEmailRequest) GetBucket ¶ added in v0.0.6
func (x *ShareBucketViaEmailRequest) GetBucket() string
func (*ShareBucketViaEmailRequest) GetEmail ¶ added in v0.0.6
func (x *ShareBucketViaEmailRequest) GetEmail() string
func (*ShareBucketViaEmailRequest) ProtoMessage ¶ added in v0.0.6
func (*ShareBucketViaEmailRequest) ProtoMessage()
func (*ShareBucketViaEmailRequest) ProtoReflect ¶ added in v0.0.6
func (x *ShareBucketViaEmailRequest) ProtoReflect() protoreflect.Message
func (*ShareBucketViaEmailRequest) Reset ¶ added in v0.0.6
func (x *ShareBucketViaEmailRequest) Reset()
func (*ShareBucketViaEmailRequest) String ¶ added in v0.0.6
func (x *ShareBucketViaEmailRequest) String() string
type ShareBucketViaEmailResponse ¶ added in v0.0.6
type ShareBucketViaEmailResponse struct {
// contains filtered or unexported fields
}
func (*ShareBucketViaEmailResponse) Descriptor
deprecated
added in
v0.0.6
func (*ShareBucketViaEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShareBucketViaEmailResponse.ProtoReflect.Descriptor instead.
func (*ShareBucketViaEmailResponse) ProtoMessage ¶ added in v0.0.6
func (*ShareBucketViaEmailResponse) ProtoMessage()
func (*ShareBucketViaEmailResponse) ProtoReflect ¶ added in v0.0.6
func (x *ShareBucketViaEmailResponse) ProtoReflect() protoreflect.Message
func (*ShareBucketViaEmailResponse) Reset ¶ added in v0.0.6
func (x *ShareBucketViaEmailResponse) Reset()
func (*ShareBucketViaEmailResponse) String ¶ added in v0.0.6
func (x *ShareBucketViaEmailResponse) String() string
type ShareBucketViaIdentityRequest ¶ added in v0.0.6
type ShareBucketViaIdentityRequest struct { // contains filtered or unexported fields }
func (*ShareBucketViaIdentityRequest) Descriptor
deprecated
added in
v0.0.6
func (*ShareBucketViaIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShareBucketViaIdentityRequest.ProtoReflect.Descriptor instead.
func (*ShareBucketViaIdentityRequest) GetBucket ¶ added in v0.0.6
func (x *ShareBucketViaIdentityRequest) GetBucket() string
func (*ShareBucketViaIdentityRequest) GetIdentityType ¶ added in v0.0.6
func (x *ShareBucketViaIdentityRequest) GetIdentityType() IdentityType
func (*ShareBucketViaIdentityRequest) GetIdentityValue ¶ added in v0.0.6
func (x *ShareBucketViaIdentityRequest) GetIdentityValue() string
func (*ShareBucketViaIdentityRequest) ProtoMessage ¶ added in v0.0.6
func (*ShareBucketViaIdentityRequest) ProtoMessage()
func (*ShareBucketViaIdentityRequest) ProtoReflect ¶ added in v0.0.6
func (x *ShareBucketViaIdentityRequest) ProtoReflect() protoreflect.Message
func (*ShareBucketViaIdentityRequest) Reset ¶ added in v0.0.6
func (x *ShareBucketViaIdentityRequest) Reset()
func (*ShareBucketViaIdentityRequest) String ¶ added in v0.0.6
func (x *ShareBucketViaIdentityRequest) String() string
type ShareBucketViaIdentityResponse ¶ added in v0.0.6
type ShareBucketViaIdentityResponse struct {
// contains filtered or unexported fields
}
func (*ShareBucketViaIdentityResponse) Descriptor
deprecated
added in
v0.0.6
func (*ShareBucketViaIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShareBucketViaIdentityResponse.ProtoReflect.Descriptor instead.
func (*ShareBucketViaIdentityResponse) ProtoMessage ¶ added in v0.0.6
func (*ShareBucketViaIdentityResponse) ProtoMessage()
func (*ShareBucketViaIdentityResponse) ProtoReflect ¶ added in v0.0.6
func (x *ShareBucketViaIdentityResponse) ProtoReflect() protoreflect.Message
func (*ShareBucketViaIdentityResponse) Reset ¶ added in v0.0.6
func (x *ShareBucketViaIdentityResponse) Reset()
func (*ShareBucketViaIdentityResponse) String ¶ added in v0.0.6
func (x *ShareBucketViaIdentityResponse) 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) ToggleFuseDrive(ctx context.Context, in *ToggleFuseRequest, opts ...grpc.CallOption) (*FuseDriveResponse, error) GetFuseDriveStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*FuseDriveResponse, error) CreateBucket(ctx context.Context, in *CreateBucketRequest, opts ...grpc.CallOption) (*CreateBucketResponse, error) // Identities GetIdentityByUsername(ctx context.Context, in *GetIdentityByUsernameRequest, opts ...grpc.CallOption) (*GetIdentityByUsernameResponse, error) CreateUsernameAndEmail(ctx context.Context, in *CreateUsernameAndEmailRequest, opts ...grpc.CallOption) (*CreateUsernameAndEmailResponse, error) // Vault BackupKeysByPassphrase(ctx context.Context, in *BackupKeysByPassphraseRequest, opts ...grpc.CallOption) (*BackupKeysByPassphraseResponse, error) RecoverKeysByPassphrase(ctx context.Context, in *RecoverKeysByPassphraseRequest, opts ...grpc.CallOption) (*RecoverKeysByPassphraseResponse, error) // Sharing }
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) ToggleFuseDrive(context.Context, *ToggleFuseRequest) (*FuseDriveResponse, error) GetFuseDriveStatus(context.Context, *empty.Empty) (*FuseDriveResponse, error) CreateBucket(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error) // Identities GetIdentityByUsername(context.Context, *GetIdentityByUsernameRequest) (*GetIdentityByUsernameResponse, error) CreateUsernameAndEmail(context.Context, *CreateUsernameAndEmailRequest) (*CreateUsernameAndEmailResponse, error) // Vault BackupKeysByPassphrase(context.Context, *BackupKeysByPassphraseRequest) (*BackupKeysByPassphraseResponse, error) RecoverKeysByPassphrase(context.Context, *RecoverKeysByPassphraseRequest) (*RecoverKeysByPassphraseResponse, error) // Sharing }
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 ToggleFuseRequest ¶ added in v0.0.4
type ToggleFuseRequest struct { MountDrive bool `protobuf:"varint,1,opt,name=mountDrive,proto3" json:"mountDrive,omitempty"` // contains filtered or unexported fields }
func (*ToggleFuseRequest) Descriptor
deprecated
added in
v0.0.4
func (*ToggleFuseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleFuseRequest.ProtoReflect.Descriptor instead.
func (*ToggleFuseRequest) GetMountDrive ¶ added in v0.0.4
func (x *ToggleFuseRequest) GetMountDrive() bool
func (*ToggleFuseRequest) ProtoMessage ¶ added in v0.0.4
func (*ToggleFuseRequest) ProtoMessage()
func (*ToggleFuseRequest) ProtoReflect ¶ added in v0.0.4
func (x *ToggleFuseRequest) ProtoReflect() protoreflect.Message
func (*ToggleFuseRequest) Reset ¶ added in v0.0.4
func (x *ToggleFuseRequest) Reset()
func (*ToggleFuseRequest) String ¶ added in v0.0.4
func (x *ToggleFuseRequest) 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) BackupKeysByPassphrase ¶ added in v0.0.6
func (*UnimplementedSpaceApiServer) BackupKeysByPassphrase(context.Context, *BackupKeysByPassphraseRequest) (*BackupKeysByPassphraseResponse, error)
func (*UnimplementedSpaceApiServer) CreateBucket ¶ added in v0.0.6
func (*UnimplementedSpaceApiServer) CreateBucket(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error)
func (*UnimplementedSpaceApiServer) CreateFolder ¶
func (*UnimplementedSpaceApiServer) CreateFolder(context.Context, *CreateFolderRequest) (*CreateFolderResponse, error)
func (*UnimplementedSpaceApiServer) CreateUsernameAndEmail ¶ added in v0.0.6
func (*UnimplementedSpaceApiServer) CreateUsernameAndEmail(context.Context, *CreateUsernameAndEmailRequest) (*CreateUsernameAndEmailResponse, error)
func (*UnimplementedSpaceApiServer) GenerateFileShareLink ¶ added in v0.0.6
func (*UnimplementedSpaceApiServer) GenerateFileShareLink(context.Context, *GenerateFileShareLinkRequest) (*GenerateFileShareLinkResponse, 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) GetFuseDriveStatus ¶ added in v0.0.4
func (*UnimplementedSpaceApiServer) GetFuseDriveStatus(context.Context, *empty.Empty) (*FuseDriveResponse, error)
func (*UnimplementedSpaceApiServer) GetIdentityByUsername ¶ added in v0.0.6
func (*UnimplementedSpaceApiServer) GetIdentityByUsername(context.Context, *GetIdentityByUsernameRequest) (*GetIdentityByUsernameResponse, 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) RecoverKeysByPassphrase ¶ added in v0.0.6
func (*UnimplementedSpaceApiServer) RecoverKeysByPassphrase(context.Context, *RecoverKeysByPassphraseRequest) (*RecoverKeysByPassphraseResponse, error)
func (*UnimplementedSpaceApiServer) ShareBucketViaEmail ¶ added in v0.0.6
func (*UnimplementedSpaceApiServer) ShareBucketViaEmail(context.Context, *ShareBucketViaEmailRequest) (*ShareBucketViaEmailResponse, error)
func (*UnimplementedSpaceApiServer) ShareBucketViaIdentity ¶ added in v0.0.6
func (*UnimplementedSpaceApiServer) ShareBucketViaIdentity(context.Context, *ShareBucketViaIdentityRequest) (*ShareBucketViaIdentityResponse, error)
func (*UnimplementedSpaceApiServer) Subscribe ¶
func (*UnimplementedSpaceApiServer) Subscribe(*empty.Empty, SpaceApi_SubscribeServer) error
func (*UnimplementedSpaceApiServer) ToggleFuseDrive ¶ added in v0.0.4
func (*UnimplementedSpaceApiServer) ToggleFuseDrive(context.Context, *ToggleFuseRequest) (*FuseDriveResponse, error)
func (*UnimplementedSpaceApiServer) TxlSubscribe ¶ added in v0.0.3
func (*UnimplementedSpaceApiServer) TxlSubscribe(*empty.Empty, SpaceApi_TxlSubscribeServer) error