pb

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var (
	NotificationType_name = map[int32]string{
		0: "INVITATION",
	}
	NotificationType_value = map[string]int32{
		"INVITATION": 0,
	}
)

Enum value maps for NotificationType.

View Source
var (
	InvitationStatus_name = map[int32]string{
		0: "PENDING",
		1: "ACCEPTED",
		2: "REJECTED",
	}
	InvitationStatus_value = map[string]int32{
		"PENDING":  0,
		"ACCEPTED": 1,
		"REJECTED": 2,
	}
)

Enum value maps for InvitationStatus.

View Source
var File_space_proto protoreflect.FileDescriptor

Functions

func RegisterSpaceApiHandler

func RegisterSpaceApiHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterSpaceApiHandler registers the http handlers for service SpaceApi to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterSpaceApiHandlerClient

func RegisterSpaceApiHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SpaceApiClient) error

RegisterSpaceApiHandlerClient registers the http handlers for service SpaceApi to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SpaceApiClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SpaceApiClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SpaceApiClient" to call the correct interceptors.

func RegisterSpaceApiHandlerFromEndpoint

func RegisterSpaceApiHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterSpaceApiHandlerFromEndpoint is same as RegisterSpaceApiHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterSpaceApiHandlerServer

func RegisterSpaceApiHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SpaceApiServer) error

RegisterSpaceApiHandlerServer registers the http handlers for service SpaceApi to "mux". UnaryRPC :call SpaceApiServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterSpaceApiHandlerFromEndpoint instead.

func RegisterSpaceApiServer

func RegisterSpaceApiServer(s *grpc.Server, srv SpaceApiServer)

Types

type AcceptBucketInvitationRequest added in v0.0.10

type AcceptBucketInvitationRequest struct {
	InvitationID string `protobuf:"bytes,1,opt,name=invitationID,proto3" json:"invitationID,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptBucketInvitationRequest) Descriptor deprecated added in v0.0.10

func (*AcceptBucketInvitationRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcceptBucketInvitationRequest.ProtoReflect.Descriptor instead.

func (*AcceptBucketInvitationRequest) GetInvitationID added in v0.0.10

func (x *AcceptBucketInvitationRequest) GetInvitationID() string

func (*AcceptBucketInvitationRequest) ProtoMessage added in v0.0.10

func (*AcceptBucketInvitationRequest) ProtoMessage()

func (*AcceptBucketInvitationRequest) ProtoReflect added in v0.0.10

func (*AcceptBucketInvitationRequest) Reset added in v0.0.10

func (x *AcceptBucketInvitationRequest) Reset()

func (*AcceptBucketInvitationRequest) String added in v0.0.10

type AcceptBucketInvitationResponse added in v0.0.10

type AcceptBucketInvitationResponse struct {
	// contains filtered or unexported fields
}

func (*AcceptBucketInvitationResponse) Descriptor deprecated added in v0.0.10

func (*AcceptBucketInvitationResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcceptBucketInvitationResponse.ProtoReflect.Descriptor instead.

func (*AcceptBucketInvitationResponse) ProtoMessage added in v0.0.10

func (*AcceptBucketInvitationResponse) ProtoMessage()

func (*AcceptBucketInvitationResponse) ProtoReflect added in v0.0.10

func (*AcceptBucketInvitationResponse) Reset added in v0.0.10

func (x *AcceptBucketInvitationResponse) Reset()

func (*AcceptBucketInvitationResponse) String added in v0.0.10

type AddItemResult

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

func (*AddItemResult) Descriptor() ([]byte, []int)

Deprecated: Use AddItemResult.ProtoReflect.Descriptor instead.

func (*AddItemResult) GetBucketPath

func (x *AddItemResult) GetBucketPath() string

func (*AddItemResult) GetError

func (x *AddItemResult) GetError() string

func (*AddItemResult) GetSourcePath

func (x *AddItemResult) GetSourcePath() string

func (*AddItemResult) ProtoMessage

func (*AddItemResult) ProtoMessage()

func (*AddItemResult) ProtoReflect

func (x *AddItemResult) ProtoReflect() protoreflect.Message

func (*AddItemResult) Reset

func (x *AddItemResult) Reset()

func (*AddItemResult) String

func (x *AddItemResult) String() string

type AddItemsRequest

type AddItemsRequest struct {

	// full paths to file or Folder on FS. Needs to be a location available to the daemon
	SourcePaths []string `protobuf:"bytes,1,rep,name=sourcePaths,proto3" json:"sourcePaths,omitempty"`
	// target path in bucket.
	TargetPath string `protobuf:"bytes,2,opt,name=targetPath,proto3" json:"targetPath,omitempty"`
	// The bucket in which to save the item
	Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*AddItemsRequest) Descriptor deprecated

func (*AddItemsRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddItemsRequest.ProtoReflect.Descriptor instead.

func (*AddItemsRequest) GetBucket added in v0.0.8

func (x *AddItemsRequest) GetBucket() string

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

func (x *AddItemsResponse) GetCompletedBytes() int64

func (*AddItemsResponse) GetCompletedFiles

func (x *AddItemsResponse) GetCompletedFiles() int64

func (*AddItemsResponse) GetResult

func (x *AddItemsResponse) GetResult() *AddItemResult

func (*AddItemsResponse) GetTotalBytes

func (x *AddItemsResponse) GetTotalBytes() int64

func (*AddItemsResponse) GetTotalFiles

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

type BackupKeysByPassphraseRequest struct {
	Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupKeysByPassphraseRequest) Descriptor deprecated

func (*BackupKeysByPassphraseRequest) Descriptor() ([]byte, []int)

Deprecated: Use BackupKeysByPassphraseRequest.ProtoReflect.Descriptor instead.

func (*BackupKeysByPassphraseRequest) GetPassphrase

func (x *BackupKeysByPassphraseRequest) GetPassphrase() string

func (*BackupKeysByPassphraseRequest) ProtoMessage

func (*BackupKeysByPassphraseRequest) ProtoMessage()

func (*BackupKeysByPassphraseRequest) ProtoReflect

func (*BackupKeysByPassphraseRequest) Reset

func (x *BackupKeysByPassphraseRequest) Reset()

func (*BackupKeysByPassphraseRequest) String

type BackupKeysByPassphraseResponse

type BackupKeysByPassphraseResponse struct {
	// contains filtered or unexported fields
}

func (*BackupKeysByPassphraseResponse) Descriptor deprecated

func (*BackupKeysByPassphraseResponse) Descriptor() ([]byte, []int)

Deprecated: Use BackupKeysByPassphraseResponse.ProtoReflect.Descriptor instead.

func (*BackupKeysByPassphraseResponse) ProtoMessage

func (*BackupKeysByPassphraseResponse) ProtoMessage()

func (*BackupKeysByPassphraseResponse) ProtoReflect

func (*BackupKeysByPassphraseResponse) Reset

func (x *BackupKeysByPassphraseResponse) Reset()

func (*BackupKeysByPassphraseResponse) String

type Bucket

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"`
	Members          []*BucketMember `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"`
	IsPersonalBucket bool            `protobuf:"varint,7,opt,name=isPersonalBucket,proto3" json:"isPersonalBucket,omitempty"`
	// contains filtered or unexported fields
}

func (*Bucket) Descriptor deprecated

func (*Bucket) Descriptor() ([]byte, []int)

Deprecated: Use Bucket.ProtoReflect.Descriptor instead.

func (*Bucket) GetCreatedAt

func (x *Bucket) GetCreatedAt() int64

func (*Bucket) GetIsPersonalBucket added in v0.0.10

func (x *Bucket) GetIsPersonalBucket() bool

func (*Bucket) GetKey

func (x *Bucket) GetKey() string

func (*Bucket) GetMembers added in v0.0.10

func (x *Bucket) GetMembers() []*BucketMember

func (*Bucket) GetName

func (x *Bucket) GetName() string

func (*Bucket) GetPath

func (x *Bucket) GetPath() string

func (*Bucket) GetUpdatedAt

func (x *Bucket) GetUpdatedAt() int64

func (*Bucket) ProtoMessage

func (*Bucket) ProtoMessage()

func (*Bucket) ProtoReflect

func (x *Bucket) ProtoReflect() protoreflect.Message

func (*Bucket) Reset

func (x *Bucket) Reset()

func (*Bucket) String

func (x *Bucket) String() string

type BucketMember added in v0.0.10

type BucketMember 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"`
	IsOwner   bool   `protobuf:"varint,3,opt,name=isOwner,proto3" json:"isOwner,omitempty"`
	HasJoined bool   `protobuf:"varint,4,opt,name=hasJoined,proto3" json:"hasJoined,omitempty"`
	// contains filtered or unexported fields
}

func (*BucketMember) Descriptor deprecated added in v0.0.10

func (*BucketMember) Descriptor() ([]byte, []int)

Deprecated: Use BucketMember.ProtoReflect.Descriptor instead.

func (*BucketMember) GetAddress added in v0.0.10

func (x *BucketMember) GetAddress() string

func (*BucketMember) GetHasJoined added in v0.0.10

func (x *BucketMember) GetHasJoined() bool

func (*BucketMember) GetIsOwner added in v0.0.10

func (x *BucketMember) GetIsOwner() bool

func (*BucketMember) GetPublicKey added in v0.0.10

func (x *BucketMember) GetPublicKey() string

func (*BucketMember) ProtoMessage added in v0.0.10

func (*BucketMember) ProtoMessage()

func (*BucketMember) ProtoReflect added in v0.0.10

func (x *BucketMember) ProtoReflect() protoreflect.Message

func (*BucketMember) Reset added in v0.0.10

func (x *BucketMember) Reset()

func (*BucketMember) String added in v0.0.10

func (x *BucketMember) String() string

type CopyAndShareFilesRequest added in v0.0.10

type CopyAndShareFilesRequest struct {
	Bucket        string   `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	ItemPaths     []string `protobuf:"bytes,2,rep,name=itemPaths,proto3" json:"itemPaths,omitempty"`
	PublicKeys    []string `protobuf:"bytes,3,rep,name=publicKeys,proto3" json:"publicKeys,omitempty"`
	CustomMessage string   `protobuf:"bytes,4,opt,name=customMessage,proto3" json:"customMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*CopyAndShareFilesRequest) Descriptor deprecated added in v0.0.10

func (*CopyAndShareFilesRequest) Descriptor() ([]byte, []int)

Deprecated: Use CopyAndShareFilesRequest.ProtoReflect.Descriptor instead.

func (*CopyAndShareFilesRequest) GetBucket added in v0.0.10

func (x *CopyAndShareFilesRequest) GetBucket() string

func (*CopyAndShareFilesRequest) GetCustomMessage added in v0.0.10

func (x *CopyAndShareFilesRequest) GetCustomMessage() string

func (*CopyAndShareFilesRequest) GetItemPaths added in v0.0.10

func (x *CopyAndShareFilesRequest) GetItemPaths() []string

func (*CopyAndShareFilesRequest) GetPublicKeys added in v0.0.10

func (x *CopyAndShareFilesRequest) GetPublicKeys() []string

func (*CopyAndShareFilesRequest) ProtoMessage added in v0.0.10

func (*CopyAndShareFilesRequest) ProtoMessage()

func (*CopyAndShareFilesRequest) ProtoReflect added in v0.0.10

func (x *CopyAndShareFilesRequest) ProtoReflect() protoreflect.Message

func (*CopyAndShareFilesRequest) Reset added in v0.0.10

func (x *CopyAndShareFilesRequest) Reset()

func (*CopyAndShareFilesRequest) String added in v0.0.10

func (x *CopyAndShareFilesRequest) String() string

type CopyAndShareFilesResponse added in v0.0.10

type CopyAndShareFilesResponse struct {
	// contains filtered or unexported fields
}

func (*CopyAndShareFilesResponse) Descriptor deprecated added in v0.0.10

func (*CopyAndShareFilesResponse) Descriptor() ([]byte, []int)

Deprecated: Use CopyAndShareFilesResponse.ProtoReflect.Descriptor instead.

func (*CopyAndShareFilesResponse) ProtoMessage added in v0.0.10

func (*CopyAndShareFilesResponse) ProtoMessage()

func (*CopyAndShareFilesResponse) ProtoReflect added in v0.0.10

func (*CopyAndShareFilesResponse) Reset added in v0.0.10

func (x *CopyAndShareFilesResponse) Reset()

func (*CopyAndShareFilesResponse) String added in v0.0.10

func (x *CopyAndShareFilesResponse) String() string

type CreateBucketRequest

type CreateBucketRequest struct {
	Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBucketRequest) Descriptor deprecated

func (*CreateBucketRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateBucketRequest.ProtoReflect.Descriptor instead.

func (*CreateBucketRequest) GetSlug

func (x *CreateBucketRequest) GetSlug() string

func (*CreateBucketRequest) ProtoMessage

func (*CreateBucketRequest) ProtoMessage()

func (*CreateBucketRequest) ProtoReflect

func (x *CreateBucketRequest) ProtoReflect() protoreflect.Message

func (*CreateBucketRequest) Reset

func (x *CreateBucketRequest) Reset()

func (*CreateBucketRequest) String

func (x *CreateBucketRequest) String() string

type CreateBucketResponse

type CreateBucketResponse struct {
	Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBucketResponse) Descriptor deprecated

func (*CreateBucketResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateBucketResponse.ProtoReflect.Descriptor instead.

func (*CreateBucketResponse) GetBucket

func (x *CreateBucketResponse) GetBucket() *Bucket

func (*CreateBucketResponse) ProtoMessage

func (*CreateBucketResponse) ProtoMessage()

func (*CreateBucketResponse) ProtoReflect

func (x *CreateBucketResponse) ProtoReflect() protoreflect.Message

func (*CreateBucketResponse) Reset

func (x *CreateBucketResponse) Reset()

func (*CreateBucketResponse) String

func (x *CreateBucketResponse) String() string

type CreateFolderRequest

type CreateFolderRequest struct {

	// target path in bucket to add new empty folder
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// The bucket in which to add the folder
	Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFolderRequest) Descriptor deprecated

func (*CreateFolderRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateFolderRequest.ProtoReflect.Descriptor instead.

func (*CreateFolderRequest) GetBucket added in v0.0.8

func (x *CreateFolderRequest) GetBucket() string

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 CreateLocalKeysBackupRequest added in v0.0.11

type CreateLocalKeysBackupRequest struct {

	// The path in which to save the backup
	PathToKeyBackup string `protobuf:"bytes,1,opt,name=pathToKeyBackup,proto3" json:"pathToKeyBackup,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLocalKeysBackupRequest) Descriptor deprecated added in v0.0.11

func (*CreateLocalKeysBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateLocalKeysBackupRequest.ProtoReflect.Descriptor instead.

func (*CreateLocalKeysBackupRequest) GetPathToKeyBackup added in v0.0.11

func (x *CreateLocalKeysBackupRequest) GetPathToKeyBackup() string

func (*CreateLocalKeysBackupRequest) ProtoMessage added in v0.0.11

func (*CreateLocalKeysBackupRequest) ProtoMessage()

func (*CreateLocalKeysBackupRequest) ProtoReflect added in v0.0.11

func (*CreateLocalKeysBackupRequest) Reset added in v0.0.11

func (x *CreateLocalKeysBackupRequest) Reset()

func (*CreateLocalKeysBackupRequest) String added in v0.0.11

type CreateLocalKeysBackupResponse added in v0.0.11

type CreateLocalKeysBackupResponse struct {
	// contains filtered or unexported fields
}

func (*CreateLocalKeysBackupResponse) Descriptor deprecated added in v0.0.11

func (*CreateLocalKeysBackupResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateLocalKeysBackupResponse.ProtoReflect.Descriptor instead.

func (*CreateLocalKeysBackupResponse) ProtoMessage added in v0.0.11

func (*CreateLocalKeysBackupResponse) ProtoMessage()

func (*CreateLocalKeysBackupResponse) ProtoReflect added in v0.0.11

func (*CreateLocalKeysBackupResponse) Reset added in v0.0.11

func (x *CreateLocalKeysBackupResponse) Reset()

func (*CreateLocalKeysBackupResponse) String added in v0.0.11

type DeleteAccountRequest added in v0.0.12

type DeleteAccountRequest struct {
	// contains filtered or unexported fields
}

func (*DeleteAccountRequest) Descriptor deprecated added in v0.0.12

func (*DeleteAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) ProtoMessage added in v0.0.12

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect added in v0.0.12

func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message

func (*DeleteAccountRequest) Reset added in v0.0.12

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String added in v0.0.12

func (x *DeleteAccountRequest) String() string

type DeleteAccountResponse added in v0.0.12

type DeleteAccountResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteAccountResponse) Descriptor deprecated added in v0.0.12

func (*DeleteAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead.

func (*DeleteAccountResponse) ProtoMessage added in v0.0.12

func (*DeleteAccountResponse) ProtoMessage()

func (*DeleteAccountResponse) ProtoReflect added in v0.0.12

func (x *DeleteAccountResponse) ProtoReflect() protoreflect.Message

func (*DeleteAccountResponse) Reset added in v0.0.12

func (x *DeleteAccountResponse) Reset()

func (*DeleteAccountResponse) String added in v0.0.12

func (x *DeleteAccountResponse) String() string

type DeleteKeyPairRequest added in v0.0.12

type DeleteKeyPairRequest struct {
	// contains filtered or unexported fields
}

func (*DeleteKeyPairRequest) Descriptor deprecated added in v0.0.12

func (*DeleteKeyPairRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteKeyPairRequest.ProtoReflect.Descriptor instead.

func (*DeleteKeyPairRequest) ProtoMessage added in v0.0.12

func (*DeleteKeyPairRequest) ProtoMessage()

func (*DeleteKeyPairRequest) ProtoReflect added in v0.0.12

func (x *DeleteKeyPairRequest) ProtoReflect() protoreflect.Message

func (*DeleteKeyPairRequest) Reset added in v0.0.12

func (x *DeleteKeyPairRequest) Reset()

func (*DeleteKeyPairRequest) String added in v0.0.12

func (x *DeleteKeyPairRequest) String() string

type DeleteKeyPairResponse added in v0.0.12

type DeleteKeyPairResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteKeyPairResponse) Descriptor deprecated added in v0.0.12

func (*DeleteKeyPairResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteKeyPairResponse.ProtoReflect.Descriptor instead.

func (*DeleteKeyPairResponse) ProtoMessage added in v0.0.12

func (*DeleteKeyPairResponse) ProtoMessage()

func (*DeleteKeyPairResponse) ProtoReflect added in v0.0.12

func (x *DeleteKeyPairResponse) ProtoReflect() protoreflect.Message

func (*DeleteKeyPairResponse) Reset added in v0.0.12

func (x *DeleteKeyPairResponse) Reset()

func (*DeleteKeyPairResponse) String added in v0.0.12

func (x *DeleteKeyPairResponse) String() string

type EventType

type EventType int32
const (
	EventType_ENTRY_ADDED   EventType = 0
	EventType_ENTRY_DELETED EventType = 1
	EventType_ENTRY_UPDATED EventType = 2
)

func (EventType) Descriptor

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

func (EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

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

type FuseDriveResponse struct {
	FuseDriveMounted bool `protobuf:"varint,1,opt,name=fuseDriveMounted,proto3" json:"fuseDriveMounted,omitempty"`
	// contains filtered or unexported fields
}

func (*FuseDriveResponse) Descriptor deprecated

func (*FuseDriveResponse) Descriptor() ([]byte, []int)

Deprecated: Use FuseDriveResponse.ProtoReflect.Descriptor instead.

func (*FuseDriveResponse) GetFuseDriveMounted

func (x *FuseDriveResponse) GetFuseDriveMounted() bool

func (*FuseDriveResponse) ProtoMessage

func (*FuseDriveResponse) ProtoMessage()

func (*FuseDriveResponse) ProtoReflect

func (x *FuseDriveResponse) ProtoReflect() protoreflect.Message

func (*FuseDriveResponse) Reset

func (x *FuseDriveResponse) Reset()

func (*FuseDriveResponse) String

func (x *FuseDriveResponse) 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 GeneratePublicFileLinkRequest added in v0.0.10

type GeneratePublicFileLinkRequest struct {
	Bucket    string   `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	ItemPaths []string `protobuf:"bytes,2,rep,name=itemPaths,proto3" json:"itemPaths,omitempty"`
	Password  string   `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneratePublicFileLinkRequest) Descriptor deprecated added in v0.0.10

func (*GeneratePublicFileLinkRequest) Descriptor() ([]byte, []int)

Deprecated: Use GeneratePublicFileLinkRequest.ProtoReflect.Descriptor instead.

func (*GeneratePublicFileLinkRequest) GetBucket added in v0.0.10

func (x *GeneratePublicFileLinkRequest) GetBucket() string

func (*GeneratePublicFileLinkRequest) GetItemPaths added in v0.0.10

func (x *GeneratePublicFileLinkRequest) GetItemPaths() []string

func (*GeneratePublicFileLinkRequest) GetPassword added in v0.0.10

func (x *GeneratePublicFileLinkRequest) GetPassword() string

func (*GeneratePublicFileLinkRequest) ProtoMessage added in v0.0.10

func (*GeneratePublicFileLinkRequest) ProtoMessage()

func (*GeneratePublicFileLinkRequest) ProtoReflect added in v0.0.10

func (*GeneratePublicFileLinkRequest) Reset added in v0.0.10

func (x *GeneratePublicFileLinkRequest) Reset()

func (*GeneratePublicFileLinkRequest) String added in v0.0.10

type GeneratePublicFileLinkResponse added in v0.0.10

type GeneratePublicFileLinkResponse struct {
	Link    string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
	FileCid string `protobuf:"bytes,2,opt,name=fileCid,proto3" json:"fileCid,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneratePublicFileLinkResponse) Descriptor deprecated added in v0.0.10

func (*GeneratePublicFileLinkResponse) Descriptor() ([]byte, []int)

Deprecated: Use GeneratePublicFileLinkResponse.ProtoReflect.Descriptor instead.

func (*GeneratePublicFileLinkResponse) GetFileCid added in v0.0.10

func (x *GeneratePublicFileLinkResponse) GetFileCid() string

func (*GeneratePublicFileLinkResponse) ProtoMessage added in v0.0.10

func (*GeneratePublicFileLinkResponse) ProtoMessage()

func (*GeneratePublicFileLinkResponse) ProtoReflect added in v0.0.10

func (*GeneratePublicFileLinkResponse) Reset added in v0.0.10

func (x *GeneratePublicFileLinkResponse) Reset()

func (*GeneratePublicFileLinkResponse) String added in v0.0.10

type GetNotificationsRequest added in v0.0.11

type GetNotificationsRequest struct {
	Seek  string `protobuf:"bytes,1,opt,name=seek,proto3" json:"seek,omitempty"`
	Limit int64  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotificationsRequest) Descriptor deprecated added in v0.0.11

func (*GetNotificationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNotificationsRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationsRequest) GetLimit added in v0.0.11

func (x *GetNotificationsRequest) GetLimit() int64

func (*GetNotificationsRequest) GetSeek added in v0.0.11

func (x *GetNotificationsRequest) GetSeek() string

func (*GetNotificationsRequest) ProtoMessage added in v0.0.11

func (*GetNotificationsRequest) ProtoMessage()

func (*GetNotificationsRequest) ProtoReflect added in v0.0.11

func (x *GetNotificationsRequest) ProtoReflect() protoreflect.Message

func (*GetNotificationsRequest) Reset added in v0.0.11

func (x *GetNotificationsRequest) Reset()

func (*GetNotificationsRequest) String added in v0.0.11

func (x *GetNotificationsRequest) String() string

type GetNotificationsResponse added in v0.0.11

type GetNotificationsResponse struct {
	Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
	NextOffset    int64           `protobuf:"varint,2,opt,name=nextOffset,proto3" json:"nextOffset,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotificationsResponse) Descriptor deprecated added in v0.0.11

func (*GetNotificationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetNotificationsResponse.ProtoReflect.Descriptor instead.

func (*GetNotificationsResponse) GetNextOffset added in v0.0.11

func (x *GetNotificationsResponse) GetNextOffset() int64

func (*GetNotificationsResponse) GetNotifications added in v0.0.11

func (x *GetNotificationsResponse) GetNotifications() []*Notification

func (*GetNotificationsResponse) ProtoMessage added in v0.0.11

func (*GetNotificationsResponse) ProtoMessage()

func (*GetNotificationsResponse) ProtoReflect added in v0.0.11

func (x *GetNotificationsResponse) ProtoReflect() protoreflect.Message

func (*GetNotificationsResponse) Reset added in v0.0.11

func (x *GetNotificationsResponse) Reset()

func (*GetNotificationsResponse) String added in v0.0.11

func (x *GetNotificationsResponse) String() string

type GetPublicKeyRequest added in v0.0.11

type GetPublicKeyRequest struct {
	// contains filtered or unexported fields
}

func (*GetPublicKeyRequest) Descriptor deprecated added in v0.0.11

func (*GetPublicKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPublicKeyRequest.ProtoReflect.Descriptor instead.

func (*GetPublicKeyRequest) ProtoMessage added in v0.0.11

func (*GetPublicKeyRequest) ProtoMessage()

func (*GetPublicKeyRequest) ProtoReflect added in v0.0.11

func (x *GetPublicKeyRequest) ProtoReflect() protoreflect.Message

func (*GetPublicKeyRequest) Reset added in v0.0.11

func (x *GetPublicKeyRequest) Reset()

func (*GetPublicKeyRequest) String added in v0.0.11

func (x *GetPublicKeyRequest) String() string

type GetPublicKeyResponse added in v0.0.11

type GetPublicKeyResponse struct {

	// Public key encoded in hex
	PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// Used to verify that the user has access to the private key
	HubAuthToken string `protobuf:"bytes,2,opt,name=hubAuthToken,proto3" json:"hubAuthToken,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPublicKeyResponse) Descriptor deprecated added in v0.0.11

func (*GetPublicKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPublicKeyResponse.ProtoReflect.Descriptor instead.

func (*GetPublicKeyResponse) GetHubAuthToken added in v0.0.12

func (x *GetPublicKeyResponse) GetHubAuthToken() string

func (*GetPublicKeyResponse) GetPublicKey added in v0.0.11

func (x *GetPublicKeyResponse) GetPublicKey() string

func (*GetPublicKeyResponse) ProtoMessage added in v0.0.11

func (*GetPublicKeyResponse) ProtoMessage()

func (*GetPublicKeyResponse) ProtoReflect added in v0.0.11

func (x *GetPublicKeyResponse) ProtoReflect() protoreflect.Message

func (*GetPublicKeyResponse) Reset added in v0.0.11

func (x *GetPublicKeyResponse) Reset()

func (*GetPublicKeyResponse) String added in v0.0.11

func (x *GetPublicKeyResponse) String() string

type Invitation added in v0.0.10

type Invitation struct {
	InviterPublicKey string           `protobuf:"bytes,1,opt,name=inviterPublicKey,proto3" json:"inviterPublicKey,omitempty"`
	InvitationID     string           `protobuf:"bytes,2,opt,name=invitationID,proto3" json:"invitationID,omitempty"`
	Status           InvitationStatus `protobuf:"varint,4,opt,name=status,proto3,enum=space.InvitationStatus" json:"status,omitempty"`
	ItemPaths        []string         `protobuf:"bytes,5,rep,name=itemPaths,proto3" json:"itemPaths,omitempty"`
	// contains filtered or unexported fields
}

func (*Invitation) Descriptor deprecated added in v0.0.10

func (*Invitation) Descriptor() ([]byte, []int)

Deprecated: Use Invitation.ProtoReflect.Descriptor instead.

func (*Invitation) GetInvitationID added in v0.0.10

func (x *Invitation) GetInvitationID() string

func (*Invitation) GetInviterPublicKey added in v0.0.10

func (x *Invitation) GetInviterPublicKey() string

func (*Invitation) GetItemPaths added in v0.0.11

func (x *Invitation) GetItemPaths() []string

func (*Invitation) GetStatus added in v0.0.11

func (x *Invitation) GetStatus() InvitationStatus

func (*Invitation) ProtoMessage added in v0.0.10

func (*Invitation) ProtoMessage()

func (*Invitation) ProtoReflect added in v0.0.10

func (x *Invitation) ProtoReflect() protoreflect.Message

func (*Invitation) Reset added in v0.0.10

func (x *Invitation) Reset()

func (*Invitation) String added in v0.0.10

func (x *Invitation) String() string

type InvitationStatus added in v0.0.11

type InvitationStatus int32
const (
	InvitationStatus_PENDING  InvitationStatus = 0
	InvitationStatus_ACCEPTED InvitationStatus = 1
	InvitationStatus_REJECTED InvitationStatus = 2
)

func (InvitationStatus) Descriptor added in v0.0.11

func (InvitationStatus) Enum added in v0.0.11

func (InvitationStatus) EnumDescriptor deprecated added in v0.0.11

func (InvitationStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use InvitationStatus.Descriptor instead.

func (InvitationStatus) Number added in v0.0.11

func (InvitationStatus) String added in v0.0.11

func (x InvitationStatus) String() string

func (InvitationStatus) Type added in v0.0.11

type JoinBucketRequest added in v0.0.8

type JoinBucketRequest struct {
	Threadinfo *ThreadInfo `protobuf:"bytes,1,opt,name=threadinfo,proto3" json:"threadinfo,omitempty"`
	Bucket     string      `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinBucketRequest) Descriptor deprecated added in v0.0.8

func (*JoinBucketRequest) Descriptor() ([]byte, []int)

Deprecated: Use JoinBucketRequest.ProtoReflect.Descriptor instead.

func (*JoinBucketRequest) GetBucket added in v0.0.8

func (x *JoinBucketRequest) GetBucket() string

func (*JoinBucketRequest) GetThreadinfo added in v0.0.8

func (x *JoinBucketRequest) GetThreadinfo() *ThreadInfo

func (*JoinBucketRequest) ProtoMessage added in v0.0.8

func (*JoinBucketRequest) ProtoMessage()

func (*JoinBucketRequest) ProtoReflect added in v0.0.8

func (x *JoinBucketRequest) ProtoReflect() protoreflect.Message

func (*JoinBucketRequest) Reset added in v0.0.8

func (x *JoinBucketRequest) Reset()

func (*JoinBucketRequest) String added in v0.0.8

func (x *JoinBucketRequest) String() string

type JoinBucketResponse added in v0.0.8

type JoinBucketResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinBucketResponse) Descriptor deprecated added in v0.0.8

func (*JoinBucketResponse) Descriptor() ([]byte, []int)

Deprecated: Use JoinBucketResponse.ProtoReflect.Descriptor instead.

func (*JoinBucketResponse) GetResult added in v0.0.8

func (x *JoinBucketResponse) GetResult() bool

func (*JoinBucketResponse) ProtoMessage added in v0.0.8

func (*JoinBucketResponse) ProtoMessage()

func (*JoinBucketResponse) ProtoReflect added in v0.0.8

func (x *JoinBucketResponse) ProtoReflect() protoreflect.Message

func (*JoinBucketResponse) Reset added in v0.0.8

func (x *JoinBucketResponse) Reset()

func (*JoinBucketResponse) String added in v0.0.8

func (x *JoinBucketResponse) String() string

type ListBucketsRequest added in v0.0.8

type ListBucketsRequest struct {
	// contains filtered or unexported fields
}

func (*ListBucketsRequest) Descriptor deprecated added in v0.0.8

func (*ListBucketsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListBucketsRequest.ProtoReflect.Descriptor instead.

func (*ListBucketsRequest) ProtoMessage added in v0.0.8

func (*ListBucketsRequest) ProtoMessage()

func (*ListBucketsRequest) ProtoReflect added in v0.0.8

func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message

func (*ListBucketsRequest) Reset added in v0.0.8

func (x *ListBucketsRequest) Reset()

func (*ListBucketsRequest) String added in v0.0.8

func (x *ListBucketsRequest) String() string

type ListBucketsResponse added in v0.0.8

type ListBucketsResponse struct {
	Buckets []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBucketsResponse) Descriptor deprecated added in v0.0.8

func (*ListBucketsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListBucketsResponse.ProtoReflect.Descriptor instead.

func (*ListBucketsResponse) GetBuckets added in v0.0.8

func (x *ListBucketsResponse) GetBuckets() []*Bucket

func (*ListBucketsResponse) ProtoMessage added in v0.0.8

func (*ListBucketsResponse) ProtoMessage()

func (*ListBucketsResponse) ProtoReflect added in v0.0.8

func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message

func (*ListBucketsResponse) Reset added in v0.0.8

func (x *ListBucketsResponse) Reset()

func (*ListBucketsResponse) String added in v0.0.8

func (x *ListBucketsResponse) String() string

type ListDirectoriesRequest

type ListDirectoriesRequest struct {
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDirectoriesRequest) Descriptor deprecated

func (*ListDirectoriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDirectoriesRequest.ProtoReflect.Descriptor instead.

func (*ListDirectoriesRequest) GetBucket added in v0.0.8

func (x *ListDirectoriesRequest) GetBucket() string

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 ListDirectoryRequest

type ListDirectoryRequest struct {
	Path   string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDirectoryRequest) Descriptor deprecated

func (*ListDirectoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDirectoryRequest.ProtoReflect.Descriptor instead.

func (*ListDirectoryRequest) GetBucket added in v0.0.8

func (x *ListDirectoryRequest) GetBucket() string

func (*ListDirectoryRequest) GetPath

func (x *ListDirectoryRequest) GetPath() string

func (*ListDirectoryRequest) ProtoMessage

func (*ListDirectoryRequest) ProtoMessage()

func (*ListDirectoryRequest) ProtoReflect

func (x *ListDirectoryRequest) ProtoReflect() protoreflect.Message

func (*ListDirectoryRequest) Reset

func (x *ListDirectoryRequest) Reset()

func (*ListDirectoryRequest) String

func (x *ListDirectoryRequest) String() string

type ListDirectoryResponse

type ListDirectoryResponse struct {
	Entries []*ListDirectoryEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDirectoryResponse) Descriptor deprecated

func (*ListDirectoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDirectoryResponse.ProtoReflect.Descriptor instead.

func (*ListDirectoryResponse) GetEntries

func (x *ListDirectoryResponse) GetEntries() []*ListDirectoryEntry

func (*ListDirectoryResponse) ProtoMessage

func (*ListDirectoryResponse) ProtoMessage()

func (*ListDirectoryResponse) ProtoReflect

func (x *ListDirectoryResponse) ProtoReflect() protoreflect.Message

func (*ListDirectoryResponse) Reset

func (x *ListDirectoryResponse) Reset()

func (*ListDirectoryResponse) String

func (x *ListDirectoryResponse) String() string

type Notification added in v0.0.11

type Notification struct {
	ID      string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // underlying message id from textile
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Body    string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	// Types that are assignable to RelatedObject:
	//	*Notification_InvitationValue
	RelatedObject isNotification_RelatedObject `protobuf_oneof:"relatedObject"`
	Type          NotificationType             `protobuf:"varint,5,opt,name=type,proto3,enum=space.NotificationType" json:"type,omitempty"`
	CreatedAt     int64                        `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	ReadAt        int64                        `protobuf:"varint,7,opt,name=readAt,proto3" json:"readAt,omitempty"`
	// contains filtered or unexported fields
}

func (*Notification) Descriptor deprecated added in v0.0.11

func (*Notification) Descriptor() ([]byte, []int)

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetBody added in v0.0.11

func (x *Notification) GetBody() string

func (*Notification) GetCreatedAt added in v0.0.11

func (x *Notification) GetCreatedAt() int64

func (*Notification) GetID added in v0.0.11

func (x *Notification) GetID() string

func (*Notification) GetInvitationValue added in v0.0.11

func (x *Notification) GetInvitationValue() *Invitation

func (*Notification) GetReadAt added in v0.0.11

func (x *Notification) GetReadAt() int64

func (*Notification) GetRelatedObject added in v0.0.11

func (m *Notification) GetRelatedObject() isNotification_RelatedObject

func (*Notification) GetSubject added in v0.0.11

func (x *Notification) GetSubject() string

func (*Notification) GetType added in v0.0.11

func (x *Notification) GetType() NotificationType

func (*Notification) ProtoMessage added in v0.0.11

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect added in v0.0.11

func (x *Notification) ProtoReflect() protoreflect.Message

func (*Notification) Reset added in v0.0.11

func (x *Notification) Reset()

func (*Notification) String added in v0.0.11

func (x *Notification) String() string

type NotificationEventResponse added in v0.0.11

type NotificationEventResponse struct {
	Notification *Notification `protobuf:"bytes,1,opt,name=notification,proto3" json:"notification,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventResponse) Descriptor deprecated added in v0.0.11

func (*NotificationEventResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotificationEventResponse.ProtoReflect.Descriptor instead.

func (*NotificationEventResponse) GetNotification added in v0.0.11

func (x *NotificationEventResponse) GetNotification() *Notification

func (*NotificationEventResponse) ProtoMessage added in v0.0.11

func (*NotificationEventResponse) ProtoMessage()

func (*NotificationEventResponse) ProtoReflect added in v0.0.11

func (*NotificationEventResponse) Reset added in v0.0.11

func (x *NotificationEventResponse) Reset()

func (*NotificationEventResponse) String added in v0.0.11

func (x *NotificationEventResponse) String() string

type NotificationType added in v0.0.11

type NotificationType int32
const (
	NotificationType_INVITATION NotificationType = 0
)

func (NotificationType) Descriptor added in v0.0.11

func (NotificationType) Enum added in v0.0.11

func (NotificationType) EnumDescriptor deprecated added in v0.0.11

func (NotificationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NotificationType.Descriptor instead.

func (NotificationType) Number added in v0.0.11

func (NotificationType) String added in v0.0.11

func (x NotificationType) String() string

func (NotificationType) Type added in v0.0.11

type Notification_InvitationValue added in v0.0.11

type Notification_InvitationValue struct {
	InvitationValue *Invitation `protobuf:"bytes,4,opt,name=invitationValue,proto3,oneof"` // later we can add other types here
}

type OpenFileRequest

type OpenFileRequest struct {
	Path   string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenFileRequest) Descriptor deprecated

func (*OpenFileRequest) Descriptor() ([]byte, []int)

Deprecated: Use OpenFileRequest.ProtoReflect.Descriptor instead.

func (*OpenFileRequest) GetBucket added in v0.0.8

func (x *OpenFileRequest) GetBucket() string

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 OpenPublicFileRequest added in v0.0.10

type OpenPublicFileRequest struct {
	FileCid  string `protobuf:"bytes,1,opt,name=fileCid,proto3" json:"fileCid,omitempty"`
	FileKey  string `protobuf:"bytes,2,opt,name=fileKey,proto3" json:"fileKey,omitempty"`
	Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenPublicFileRequest) Descriptor deprecated added in v0.0.10

func (*OpenPublicFileRequest) Descriptor() ([]byte, []int)

Deprecated: Use OpenPublicFileRequest.ProtoReflect.Descriptor instead.

func (*OpenPublicFileRequest) GetFileCid added in v0.0.10

func (x *OpenPublicFileRequest) GetFileCid() string

func (*OpenPublicFileRequest) GetFileKey added in v0.0.10

func (x *OpenPublicFileRequest) GetFileKey() string

func (*OpenPublicFileRequest) GetFilename added in v0.0.10

func (x *OpenPublicFileRequest) GetFilename() string

func (*OpenPublicFileRequest) ProtoMessage added in v0.0.10

func (*OpenPublicFileRequest) ProtoMessage()

func (*OpenPublicFileRequest) ProtoReflect added in v0.0.10

func (x *OpenPublicFileRequest) ProtoReflect() protoreflect.Message

func (*OpenPublicFileRequest) Reset added in v0.0.10

func (x *OpenPublicFileRequest) Reset()

func (*OpenPublicFileRequest) String added in v0.0.10

func (x *OpenPublicFileRequest) String() string

type OpenPublicFileResponse added in v0.0.10

type OpenPublicFileResponse struct {
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenPublicFileResponse) Descriptor deprecated added in v0.0.10

func (*OpenPublicFileResponse) Descriptor() ([]byte, []int)

Deprecated: Use OpenPublicFileResponse.ProtoReflect.Descriptor instead.

func (*OpenPublicFileResponse) GetLocation added in v0.0.10

func (x *OpenPublicFileResponse) GetLocation() string

func (*OpenPublicFileResponse) ProtoMessage added in v0.0.10

func (*OpenPublicFileResponse) ProtoMessage()

func (*OpenPublicFileResponse) ProtoReflect added in v0.0.10

func (x *OpenPublicFileResponse) ProtoReflect() protoreflect.Message

func (*OpenPublicFileResponse) Reset added in v0.0.10

func (x *OpenPublicFileResponse) Reset()

func (*OpenPublicFileResponse) String added in v0.0.10

func (x *OpenPublicFileResponse) String() string

type ReadNotificationRequest added in v0.0.11

type ReadNotificationRequest struct {
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadNotificationRequest) Descriptor deprecated added in v0.0.11

func (*ReadNotificationRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReadNotificationRequest.ProtoReflect.Descriptor instead.

func (*ReadNotificationRequest) GetID added in v0.0.11

func (x *ReadNotificationRequest) GetID() string

func (*ReadNotificationRequest) ProtoMessage added in v0.0.11

func (*ReadNotificationRequest) ProtoMessage()

func (*ReadNotificationRequest) ProtoReflect added in v0.0.11

func (x *ReadNotificationRequest) ProtoReflect() protoreflect.Message

func (*ReadNotificationRequest) Reset added in v0.0.11

func (x *ReadNotificationRequest) Reset()

func (*ReadNotificationRequest) String added in v0.0.11

func (x *ReadNotificationRequest) String() string

type ReadNotificationResponse added in v0.0.11

type ReadNotificationResponse struct {
	// contains filtered or unexported fields
}

func (*ReadNotificationResponse) Descriptor deprecated added in v0.0.11

func (*ReadNotificationResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReadNotificationResponse.ProtoReflect.Descriptor instead.

func (*ReadNotificationResponse) ProtoMessage added in v0.0.11

func (*ReadNotificationResponse) ProtoMessage()

func (*ReadNotificationResponse) ProtoReflect added in v0.0.11

func (x *ReadNotificationResponse) ProtoReflect() protoreflect.Message

func (*ReadNotificationResponse) Reset added in v0.0.11

func (x *ReadNotificationResponse) Reset()

func (*ReadNotificationResponse) String added in v0.0.11

func (x *ReadNotificationResponse) String() string

type RecoverKeysByLocalBackupRequest added in v0.0.11

type RecoverKeysByLocalBackupRequest struct {
	PathToKeyBackup string `protobuf:"bytes,1,opt,name=pathToKeyBackup,proto3" json:"pathToKeyBackup,omitempty"`
	// contains filtered or unexported fields
}

func (*RecoverKeysByLocalBackupRequest) Descriptor deprecated added in v0.0.11

func (*RecoverKeysByLocalBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use RecoverKeysByLocalBackupRequest.ProtoReflect.Descriptor instead.

func (*RecoverKeysByLocalBackupRequest) GetPathToKeyBackup added in v0.0.11

func (x *RecoverKeysByLocalBackupRequest) GetPathToKeyBackup() string

func (*RecoverKeysByLocalBackupRequest) ProtoMessage added in v0.0.11

func (*RecoverKeysByLocalBackupRequest) ProtoMessage()

func (*RecoverKeysByLocalBackupRequest) ProtoReflect added in v0.0.11

func (*RecoverKeysByLocalBackupRequest) Reset added in v0.0.11

func (*RecoverKeysByLocalBackupRequest) String added in v0.0.11

type RecoverKeysByLocalBackupResponse added in v0.0.11

type RecoverKeysByLocalBackupResponse struct {
	// contains filtered or unexported fields
}

func (*RecoverKeysByLocalBackupResponse) Descriptor deprecated added in v0.0.11

func (*RecoverKeysByLocalBackupResponse) Descriptor() ([]byte, []int)

Deprecated: Use RecoverKeysByLocalBackupResponse.ProtoReflect.Descriptor instead.

func (*RecoverKeysByLocalBackupResponse) ProtoMessage added in v0.0.11

func (*RecoverKeysByLocalBackupResponse) ProtoMessage()

func (*RecoverKeysByLocalBackupResponse) ProtoReflect added in v0.0.11

func (*RecoverKeysByLocalBackupResponse) Reset added in v0.0.11

func (*RecoverKeysByLocalBackupResponse) String added in v0.0.11

type RecoverKeysByPassphraseRequest

type RecoverKeysByPassphraseRequest struct {
	Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*RecoverKeysByPassphraseRequest) Descriptor deprecated

func (*RecoverKeysByPassphraseRequest) Descriptor() ([]byte, []int)

Deprecated: Use RecoverKeysByPassphraseRequest.ProtoReflect.Descriptor instead.

func (*RecoverKeysByPassphraseRequest) GetPassphrase

func (x *RecoverKeysByPassphraseRequest) GetPassphrase() string

func (*RecoverKeysByPassphraseRequest) ProtoMessage

func (*RecoverKeysByPassphraseRequest) ProtoMessage()

func (*RecoverKeysByPassphraseRequest) ProtoReflect

func (*RecoverKeysByPassphraseRequest) Reset

func (x *RecoverKeysByPassphraseRequest) Reset()

func (*RecoverKeysByPassphraseRequest) String

type RecoverKeysByPassphraseResponse

type RecoverKeysByPassphraseResponse struct {
	// contains filtered or unexported fields
}

func (*RecoverKeysByPassphraseResponse) Descriptor deprecated

func (*RecoverKeysByPassphraseResponse) Descriptor() ([]byte, []int)

Deprecated: Use RecoverKeysByPassphraseResponse.ProtoReflect.Descriptor instead.

func (*RecoverKeysByPassphraseResponse) ProtoMessage

func (*RecoverKeysByPassphraseResponse) ProtoMessage()

func (*RecoverKeysByPassphraseResponse) ProtoReflect

func (*RecoverKeysByPassphraseResponse) Reset

func (*RecoverKeysByPassphraseResponse) String

type RejectBucketInvitationRequest added in v0.0.11

type RejectBucketInvitationRequest struct {
	InvitationID string `protobuf:"bytes,1,opt,name=invitationID,proto3" json:"invitationID,omitempty"`
	// contains filtered or unexported fields
}

func (*RejectBucketInvitationRequest) Descriptor deprecated added in v0.0.11

func (*RejectBucketInvitationRequest) Descriptor() ([]byte, []int)

Deprecated: Use RejectBucketInvitationRequest.ProtoReflect.Descriptor instead.

func (*RejectBucketInvitationRequest) GetInvitationID added in v0.0.11

func (x *RejectBucketInvitationRequest) GetInvitationID() string

func (*RejectBucketInvitationRequest) ProtoMessage added in v0.0.11

func (*RejectBucketInvitationRequest) ProtoMessage()

func (*RejectBucketInvitationRequest) ProtoReflect added in v0.0.11

func (*RejectBucketInvitationRequest) Reset added in v0.0.11

func (x *RejectBucketInvitationRequest) Reset()

func (*RejectBucketInvitationRequest) String added in v0.0.11

type RejectBucketInvitationResponse added in v0.0.11

type RejectBucketInvitationResponse struct {
	// contains filtered or unexported fields
}

func (*RejectBucketInvitationResponse) Descriptor deprecated added in v0.0.11

func (*RejectBucketInvitationResponse) Descriptor() ([]byte, []int)

Deprecated: Use RejectBucketInvitationResponse.ProtoReflect.Descriptor instead.

func (*RejectBucketInvitationResponse) ProtoMessage added in v0.0.11

func (*RejectBucketInvitationResponse) ProtoMessage()

func (*RejectBucketInvitationResponse) ProtoReflect added in v0.0.11

func (*RejectBucketInvitationResponse) Reset added in v0.0.11

func (x *RejectBucketInvitationResponse) Reset()

func (*RejectBucketInvitationResponse) String added in v0.0.11

type ShareBucketRequest added in v0.0.8

type ShareBucketRequest struct {
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareBucketRequest) Descriptor deprecated added in v0.0.8

func (*ShareBucketRequest) Descriptor() ([]byte, []int)

Deprecated: Use ShareBucketRequest.ProtoReflect.Descriptor instead.

func (*ShareBucketRequest) GetBucket added in v0.0.8

func (x *ShareBucketRequest) GetBucket() string

func (*ShareBucketRequest) ProtoMessage added in v0.0.8

func (*ShareBucketRequest) ProtoMessage()

func (*ShareBucketRequest) ProtoReflect added in v0.0.8

func (x *ShareBucketRequest) ProtoReflect() protoreflect.Message

func (*ShareBucketRequest) Reset added in v0.0.8

func (x *ShareBucketRequest) Reset()

func (*ShareBucketRequest) String added in v0.0.8

func (x *ShareBucketRequest) String() string

type ShareBucketResponse added in v0.0.8

type ShareBucketResponse struct {
	Threadinfo *ThreadInfo `protobuf:"bytes,1,opt,name=threadinfo,proto3" json:"threadinfo,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareBucketResponse) Descriptor deprecated added in v0.0.8

func (*ShareBucketResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShareBucketResponse.ProtoReflect.Descriptor instead.

func (*ShareBucketResponse) GetThreadinfo added in v0.0.8

func (x *ShareBucketResponse) GetThreadinfo() *ThreadInfo

func (*ShareBucketResponse) ProtoMessage added in v0.0.8

func (*ShareBucketResponse) ProtoMessage()

func (*ShareBucketResponse) ProtoReflect added in v0.0.8

func (x *ShareBucketResponse) ProtoReflect() protoreflect.Message

func (*ShareBucketResponse) Reset added in v0.0.8

func (x *ShareBucketResponse) Reset()

func (*ShareBucketResponse) String added in v0.0.8

func (x *ShareBucketResponse) String() string

type ShareBucketViaPublicKeyRequest added in v0.0.10

type ShareBucketViaPublicKeyRequest struct {
	PublicKeys []string `protobuf:"bytes,1,rep,name=publicKeys,proto3" json:"publicKeys,omitempty"`
	Bucket     string   `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareBucketViaPublicKeyRequest) Descriptor deprecated added in v0.0.10

func (*ShareBucketViaPublicKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use ShareBucketViaPublicKeyRequest.ProtoReflect.Descriptor instead.

func (*ShareBucketViaPublicKeyRequest) GetBucket added in v0.0.10

func (x *ShareBucketViaPublicKeyRequest) GetBucket() string

func (*ShareBucketViaPublicKeyRequest) GetPublicKeys added in v0.0.10

func (x *ShareBucketViaPublicKeyRequest) GetPublicKeys() []string

func (*ShareBucketViaPublicKeyRequest) ProtoMessage added in v0.0.10

func (*ShareBucketViaPublicKeyRequest) ProtoMessage()

func (*ShareBucketViaPublicKeyRequest) ProtoReflect added in v0.0.10

func (*ShareBucketViaPublicKeyRequest) Reset added in v0.0.10

func (x *ShareBucketViaPublicKeyRequest) Reset()

func (*ShareBucketViaPublicKeyRequest) String added in v0.0.10

type ShareBucketViaPublicKeyResponse added in v0.0.10

type ShareBucketViaPublicKeyResponse struct {
	// contains filtered or unexported fields
}

func (*ShareBucketViaPublicKeyResponse) Descriptor deprecated added in v0.0.10

func (*ShareBucketViaPublicKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShareBucketViaPublicKeyResponse.ProtoReflect.Descriptor instead.

func (*ShareBucketViaPublicKeyResponse) ProtoMessage added in v0.0.10

func (*ShareBucketViaPublicKeyResponse) ProtoMessage()

func (*ShareBucketViaPublicKeyResponse) ProtoReflect added in v0.0.10

func (*ShareBucketViaPublicKeyResponse) Reset added in v0.0.10

func (*ShareBucketViaPublicKeyResponse) String added in v0.0.10

type SpaceApiClient

type SpaceApiClient interface {
	// Get all folder or files in the default bucket. It fetches all subdirectories too.
	ListDirectories(ctx context.Context, in *ListDirectoriesRequest, opts ...grpc.CallOption) (*ListDirectoriesResponse, error)
	// Get the folder or files in the path directory.
	// Unlike ListDirectories, this only returns immediate children at path.
	ListDirectory(ctx context.Context, in *ListDirectoryRequest, opts ...grpc.CallOption) (*ListDirectoryResponse, error)
	// Generate Key Pair for current account.
	// This will return error if daemon account already has keypairs
	GenerateKeyPair(ctx context.Context, in *GenerateKeyPairRequest, opts ...grpc.CallOption) (*GenerateKeyPairResponse, error)
	DeleteKeyPair(ctx context.Context, in *DeleteKeyPairRequest, opts ...grpc.CallOption) (*DeleteKeyPairResponse, error)
	// Force Generation of KeyPair. This will override existing keys stored in daemon.
	GenerateKeyPairWithForce(ctx context.Context, in *GenerateKeyPairRequest, opts ...grpc.CallOption) (*GenerateKeyPairResponse, error)
	GetPublicKey(ctx context.Context, in *GetPublicKeyRequest, opts ...grpc.CallOption) (*GetPublicKeyResponse, error)
	// Subscribe to file events. This streams responses to the caller
	Subscribe(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (SpaceApi_SubscribeClient, error)
	// Subscribe to textile events. This streams responses to the caller
	TxlSubscribe(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (SpaceApi_TxlSubscribeClient, error)
	// Open a file in the daemon.
	// Daemon keeps track of all open files and closes them if no activity is noticed after a while
	OpenFile(ctx context.Context, in *OpenFileRequest, opts ...grpc.CallOption) (*OpenFileResponse, error)
	// Generates a copy of the file that's accessible through IPFS gateways
	GeneratePublicFileLink(ctx context.Context, in *GeneratePublicFileLinkRequest, opts ...grpc.CallOption) (*GeneratePublicFileLinkResponse, error)
	// Open an encrypted public shared file in the daemon.
	// This requires the decryption key and file hash/cid to work
	OpenPublicFile(ctx context.Context, in *OpenPublicFileRequest, opts ...grpc.CallOption) (*OpenPublicFileResponse, error)
	// Adds items (files/folders) to be uploaded to the bucket.
	AddItems(ctx context.Context, in *AddItemsRequest, opts ...grpc.CallOption) (SpaceApi_AddItemsClient, error)
	// Creates a folder/directory at the specified path
	CreateFolder(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*CreateFolderResponse, error)
	// Toggle FUSE drive to be mounted or unmounted
	ToggleFuseDrive(ctx context.Context, in *ToggleFuseRequest, opts ...grpc.CallOption) (*FuseDriveResponse, error)
	// Get status of FUSE drive. If mounted or unmounted
	GetFuseDriveStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*FuseDriveResponse, error)
	// Create a new bucket owned by current user (aka keypair)
	CreateBucket(ctx context.Context, in *CreateBucketRequest, opts ...grpc.CallOption) (*CreateBucketResponse, error)
	// Backup Key by Passphrase
	BackupKeysByPassphrase(ctx context.Context, in *BackupKeysByPassphraseRequest, opts ...grpc.CallOption) (*BackupKeysByPassphraseResponse, error)
	// Recover Keys by Passphrase
	RecoverKeysByPassphrase(ctx context.Context, in *RecoverKeysByPassphraseRequest, opts ...grpc.CallOption) (*RecoverKeysByPassphraseResponse, error)
	CreateLocalKeysBackup(ctx context.Context, in *CreateLocalKeysBackupRequest, opts ...grpc.CallOption) (*CreateLocalKeysBackupResponse, error)
	RecoverKeysByLocalBackup(ctx context.Context, in *RecoverKeysByLocalBackupRequest, opts ...grpc.CallOption) (*RecoverKeysByLocalBackupResponse, error)
	// Share bucket
	ShareBucket(ctx context.Context, in *ShareBucketRequest, opts ...grpc.CallOption) (*ShareBucketResponse, error)
	// Join bucket
	JoinBucket(ctx context.Context, in *JoinBucketRequest, opts ...grpc.CallOption) (*JoinBucketResponse, error)
	// Share bucket via public key using Textile Hub inboxing
	ShareBucketViaPublicKey(ctx context.Context, in *ShareBucketViaPublicKeyRequest, opts ...grpc.CallOption) (*ShareBucketViaPublicKeyResponse, error)
	AcceptBucketInvitation(ctx context.Context, in *AcceptBucketInvitationRequest, opts ...grpc.CallOption) (*AcceptBucketInvitationResponse, error)
	RejectBucketInvitation(ctx context.Context, in *RejectBucketInvitationRequest, opts ...grpc.CallOption) (*RejectBucketInvitationResponse, error)
	NotificationSubscribe(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (SpaceApi_NotificationSubscribeClient, error)
	ListBuckets(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*ListBucketsResponse, error)
	// Copies a set of files in a new or existing bucket that's shared with a group of public keys
	// Auxiliary method that internally calls CreateBucket, ShareBucketViaPublicKey, AddFile.
	CopyAndShareFiles(ctx context.Context, in *CopyAndShareFilesRequest, opts ...grpc.CallOption) (*CopyAndShareFilesResponse, error)
	GetNotifications(ctx context.Context, in *GetNotificationsRequest, opts ...grpc.CallOption) (*GetNotificationsResponse, error)
	ReadNotification(ctx context.Context, in *ReadNotificationRequest, opts ...grpc.CallOption) (*ReadNotificationResponse, error)
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*DeleteAccountResponse, 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 {
	// Get all folder or files in the default bucket. It fetches all subdirectories too.
	ListDirectories(context.Context, *ListDirectoriesRequest) (*ListDirectoriesResponse, error)
	// Get the folder or files in the path directory.
	// Unlike ListDirectories, this only returns immediate children at path.
	ListDirectory(context.Context, *ListDirectoryRequest) (*ListDirectoryResponse, error)
	// Generate Key Pair for current account.
	// This will return error if daemon account already has keypairs
	GenerateKeyPair(context.Context, *GenerateKeyPairRequest) (*GenerateKeyPairResponse, error)
	DeleteKeyPair(context.Context, *DeleteKeyPairRequest) (*DeleteKeyPairResponse, error)
	// Force Generation of KeyPair. This will override existing keys stored in daemon.
	GenerateKeyPairWithForce(context.Context, *GenerateKeyPairRequest) (*GenerateKeyPairResponse, error)
	GetPublicKey(context.Context, *GetPublicKeyRequest) (*GetPublicKeyResponse, error)
	// Subscribe to file events. This streams responses to the caller
	Subscribe(*empty.Empty, SpaceApi_SubscribeServer) error
	// Subscribe to textile events. This streams responses to the caller
	TxlSubscribe(*empty.Empty, SpaceApi_TxlSubscribeServer) error
	// Open a file in the daemon.
	// Daemon keeps track of all open files and closes them if no activity is noticed after a while
	OpenFile(context.Context, *OpenFileRequest) (*OpenFileResponse, error)
	// Generates a copy of the file that's accessible through IPFS gateways
	GeneratePublicFileLink(context.Context, *GeneratePublicFileLinkRequest) (*GeneratePublicFileLinkResponse, error)
	// Open an encrypted public shared file in the daemon.
	// This requires the decryption key and file hash/cid to work
	OpenPublicFile(context.Context, *OpenPublicFileRequest) (*OpenPublicFileResponse, error)
	// Adds items (files/folders) to be uploaded to the bucket.
	AddItems(*AddItemsRequest, SpaceApi_AddItemsServer) error
	// Creates a folder/directory at the specified path
	CreateFolder(context.Context, *CreateFolderRequest) (*CreateFolderResponse, error)
	// Toggle FUSE drive to be mounted or unmounted
	ToggleFuseDrive(context.Context, *ToggleFuseRequest) (*FuseDriveResponse, error)
	// Get status of FUSE drive. If mounted or unmounted
	GetFuseDriveStatus(context.Context, *empty.Empty) (*FuseDriveResponse, error)
	// Create a new bucket owned by current user (aka keypair)
	CreateBucket(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error)
	// Backup Key by Passphrase
	BackupKeysByPassphrase(context.Context, *BackupKeysByPassphraseRequest) (*BackupKeysByPassphraseResponse, error)
	// Recover Keys by Passphrase
	RecoverKeysByPassphrase(context.Context, *RecoverKeysByPassphraseRequest) (*RecoverKeysByPassphraseResponse, error)
	CreateLocalKeysBackup(context.Context, *CreateLocalKeysBackupRequest) (*CreateLocalKeysBackupResponse, error)
	RecoverKeysByLocalBackup(context.Context, *RecoverKeysByLocalBackupRequest) (*RecoverKeysByLocalBackupResponse, error)
	// Share bucket
	ShareBucket(context.Context, *ShareBucketRequest) (*ShareBucketResponse, error)
	// Join bucket
	JoinBucket(context.Context, *JoinBucketRequest) (*JoinBucketResponse, error)
	// Share bucket via public key using Textile Hub inboxing
	ShareBucketViaPublicKey(context.Context, *ShareBucketViaPublicKeyRequest) (*ShareBucketViaPublicKeyResponse, error)
	AcceptBucketInvitation(context.Context, *AcceptBucketInvitationRequest) (*AcceptBucketInvitationResponse, error)
	RejectBucketInvitation(context.Context, *RejectBucketInvitationRequest) (*RejectBucketInvitationResponse, error)
	NotificationSubscribe(*empty.Empty, SpaceApi_NotificationSubscribeServer) error
	ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
	// Copies a set of files in a new or existing bucket that's shared with a group of public keys
	// Auxiliary method that internally calls CreateBucket, ShareBucketViaPublicKey, AddFile.
	CopyAndShareFiles(context.Context, *CopyAndShareFilesRequest) (*CopyAndShareFilesResponse, error)
	GetNotifications(context.Context, *GetNotificationsRequest) (*GetNotificationsResponse, error)
	ReadNotification(context.Context, *ReadNotificationRequest) (*ReadNotificationResponse, error)
	DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error)
}

SpaceApiServer is the server API for SpaceApi service.

type SpaceApi_AddItemsClient

type SpaceApi_AddItemsClient interface {
	Recv() (*AddItemsResponse, error)
	grpc.ClientStream
}

type SpaceApi_AddItemsServer

type SpaceApi_AddItemsServer interface {
	Send(*AddItemsResponse) error
	grpc.ServerStream
}

type SpaceApi_NotificationSubscribeClient added in v0.0.11

type SpaceApi_NotificationSubscribeClient interface {
	Recv() (*NotificationEventResponse, error)
	grpc.ClientStream
}

type SpaceApi_NotificationSubscribeServer added in v0.0.11

type SpaceApi_NotificationSubscribeServer interface {
	Send(*NotificationEventResponse) 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

type SpaceApi_TxlSubscribeClient interface {
	Recv() (*TextileEventResponse, error)
	grpc.ClientStream
}

type SpaceApi_TxlSubscribeServer

type SpaceApi_TxlSubscribeServer interface {
	Send(*TextileEventResponse) error
	grpc.ServerStream
}

type TextileEventResponse

type TextileEventResponse struct {
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*TextileEventResponse) Descriptor deprecated

func (*TextileEventResponse) Descriptor() ([]byte, []int)

Deprecated: Use TextileEventResponse.ProtoReflect.Descriptor instead.

func (*TextileEventResponse) GetBucket

func (x *TextileEventResponse) GetBucket() string

func (*TextileEventResponse) ProtoMessage

func (*TextileEventResponse) ProtoMessage()

func (*TextileEventResponse) ProtoReflect

func (x *TextileEventResponse) ProtoReflect() protoreflect.Message

func (*TextileEventResponse) Reset

func (x *TextileEventResponse) Reset()

func (*TextileEventResponse) String

func (x *TextileEventResponse) String() string

type ThreadInfo added in v0.0.8

type ThreadInfo struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	Key       string   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadInfo) Descriptor deprecated added in v0.0.8

func (*ThreadInfo) Descriptor() ([]byte, []int)

Deprecated: Use ThreadInfo.ProtoReflect.Descriptor instead.

func (*ThreadInfo) GetAddresses added in v0.0.8

func (x *ThreadInfo) GetAddresses() []string

func (*ThreadInfo) GetKey added in v0.0.8

func (x *ThreadInfo) GetKey() string

func (*ThreadInfo) ProtoMessage added in v0.0.8

func (*ThreadInfo) ProtoMessage()

func (*ThreadInfo) ProtoReflect added in v0.0.8

func (x *ThreadInfo) ProtoReflect() protoreflect.Message

func (*ThreadInfo) Reset added in v0.0.8

func (x *ThreadInfo) Reset()

func (*ThreadInfo) String added in v0.0.8

func (x *ThreadInfo) String() string

type ToggleFuseRequest

type ToggleFuseRequest struct {
	MountDrive bool `protobuf:"varint,1,opt,name=mountDrive,proto3" json:"mountDrive,omitempty"`
	// contains filtered or unexported fields
}

func (*ToggleFuseRequest) Descriptor deprecated

func (*ToggleFuseRequest) Descriptor() ([]byte, []int)

Deprecated: Use ToggleFuseRequest.ProtoReflect.Descriptor instead.

func (*ToggleFuseRequest) GetMountDrive

func (x *ToggleFuseRequest) GetMountDrive() bool

func (*ToggleFuseRequest) ProtoMessage

func (*ToggleFuseRequest) ProtoMessage()

func (*ToggleFuseRequest) ProtoReflect

func (x *ToggleFuseRequest) ProtoReflect() protoreflect.Message

func (*ToggleFuseRequest) Reset

func (x *ToggleFuseRequest) Reset()

func (*ToggleFuseRequest) String

func (x *ToggleFuseRequest) String() string

type UnimplementedSpaceApiServer

type UnimplementedSpaceApiServer struct {
}

UnimplementedSpaceApiServer can be embedded to have forward compatible implementations.

func (*UnimplementedSpaceApiServer) AcceptBucketInvitation added in v0.0.10

func (*UnimplementedSpaceApiServer) AddItems

func (*UnimplementedSpaceApiServer) CopyAndShareFiles added in v0.0.10

func (*UnimplementedSpaceApiServer) CreateBucket

func (*UnimplementedSpaceApiServer) CreateFolder

func (*UnimplementedSpaceApiServer) CreateLocalKeysBackup added in v0.0.11

func (*UnimplementedSpaceApiServer) DeleteAccount added in v0.0.12

func (*UnimplementedSpaceApiServer) DeleteKeyPair added in v0.0.12

func (*UnimplementedSpaceApiServer) GenerateKeyPair

func (*UnimplementedSpaceApiServer) GenerateKeyPairWithForce

func (*UnimplementedSpaceApiServer) GetFuseDriveStatus

func (*UnimplementedSpaceApiServer) GetNotifications added in v0.0.11

func (*UnimplementedSpaceApiServer) GetPublicKey added in v0.0.11

func (*UnimplementedSpaceApiServer) JoinBucket added in v0.0.8

func (*UnimplementedSpaceApiServer) ListBuckets added in v0.0.8

func (*UnimplementedSpaceApiServer) ListDirectories

func (*UnimplementedSpaceApiServer) ListDirectory

func (*UnimplementedSpaceApiServer) NotificationSubscribe added in v0.0.11

func (*UnimplementedSpaceApiServer) OpenFile

func (*UnimplementedSpaceApiServer) OpenPublicFile added in v0.0.10

func (*UnimplementedSpaceApiServer) ReadNotification added in v0.0.11

func (*UnimplementedSpaceApiServer) RecoverKeysByLocalBackup added in v0.0.11

func (*UnimplementedSpaceApiServer) RejectBucketInvitation added in v0.0.11

func (*UnimplementedSpaceApiServer) ShareBucket added in v0.0.8

func (*UnimplementedSpaceApiServer) ShareBucketViaPublicKey added in v0.0.10

func (*UnimplementedSpaceApiServer) Subscribe

func (*UnimplementedSpaceApiServer) ToggleFuseDrive

func (*UnimplementedSpaceApiServer) TxlSubscribe

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL