-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Ayush Srivastava edited this page Jun 17, 2020
·
1 revision
* function requests satellite for a new access grant using a passhprase
* pre-requisites: None
* inputs: Satellite Address, API Key and Encryptionphassphrase
* output: AccessResult
* function to parses serialized access grant string
* pre-requisites: None
* inputs: StringKey
* output: AccessResult
* function requests satellite for a new access grant using a passhprase and config.
* pre-requisites: None
* inputs: Config ,Satellite Address, API Key and Encryptionphassphrase
* output: AccessResult
* function to serializes access grant into a string.
* pre-requisites: None
* inputs: Access
* output: StringResult
* function frees memory associated with the AccessResult.
* pre-requisites: None
* inputs: AccessResult
* output: None
access_Share(inout UnsafeMutablePointer<AccessResult>, inout Permission, inout UnsafeMutablePointer<SharePrefix>, Int)
* function creates share access of specified bucket and paths.
* pre-requisites: config_Request_Access_With_Passphrase or config_Request_Access_With_Passphrase
* inputs: UnsafeMutablePointer<AccessResult>,Permission ,UnsafeMutablePointer<[SharePrefix]>,Int
* output: AccessResult
* function to free memory associated with the StringResult
* pre-requisites: None
* inputs: StringResult
* output: None
* function frees memory associated with the BucketResult.
* pre-requisites: None
* inputs: BucketResult
* output: None
* function frees memory associated with the Bucket.
* pre-requisites: None
* inputs: UnsafeMutablePointer<Bucket>
* output: None
* function frees memory associated with the BucketIterator.
* pre-requisites: None
* inputs: UnsafeMutablePointer<BucketIterator>
* output: None
* function bucket_iterator_err returns error, if one happened during iteration.
* pre-requisites: None
* inputs: UnsafeMutablePointer<BucketIterator>
* output: UnsafeMutablePointer<Error>? or nil
* function to returns the current bucket in the iterator.
* pre-requisites: None
* inputs: UnsafeMutablePointer<BucketIterator>
* output: UnsafeMutablePointer<Bucket>? or nil
* function prepares next Bucket for reading.
* pre-requisites: None
* inputs: UnsafeMutablePointer<BucketIterator>
* output: Bool
* function to lists buckets
* pre-requisites: open_Project function has been already called
* inputs: UnsafeMutablePointer<Project> and List Bucket Options
* output: UnsafeMutablePointer<BucketIterator>? or nil
* function to delete empty bucket on storj V3
* pre-requisites: open_Project function has been already called
* inputs: UnsafeMutablePointer<Project> and Bucket Name
* output: BucketResult
* function to creates a new bucket and ignores the error when it already exists
* pre-requisites: open_Project function has been already called
* inputs: UnsafeMutablePointer<Project> and Bucket Name
* output: BucketResult
* function to create bucket on storj V3
* pre-requisites: open_Project function has been already called
* inputs: UnsafeMutablePointer<Project> and Bucket Name
* output: BucketResult
* function returns information about a bucket.
* pre-requisites: None
* inputs: UnsafeMutablePointer<Project> and Bucket Name
* output: BucketResult
* function frees memory associated with the DownloadResult.
* pre-requisites: None
* inputs: DownloadResult
* output: None
* function frees memory associated with the ReadResult.
* pre-requisites: None
* inputs: ReadResult
* output: None
* function returns metadata of downloading object
* pre-requisites: download_Object function has been already called
* inputs: UnsafeMutablePointer<Download>
* output: ObjectResult
* function closes download
* pre-requisites: download_Object function has been already called
* inputs: UnsafeMutablePointer<Download>
* output: UnsafeMutablePointer<Error>? or nil
* function reads byte stream from storj V3
* pre-requisites: download_Object function has been already called
* inputs: UnsafeMutablePointer<Download> ,Pointer to array buffer, Size of Buffer
* output: ReadResult
download_Object(inout UnsafeMutablePointer<Project>, NSString, NSString, UnsafeMutablePointer<DownloadOptions>)
* function for dowloading object
* pre-requisites: open_Project function has been already called
* inputs: UnsafeMutablePointer<Project> ,Object Name on storj V3 and UnsafeMutablePointer<DownloadOptions>
* output: DownloadResult
* function frees memory associated with the Error.
* pre-requisites: None
* inputs: inout UnsafeMutablePointer<Error>
* output: None
* function frees memory associated with the Object.
* pre-requisites: None
* inputs: UnsafeMutablePointer<Object>
* output: None
* function frees memory associated with the ObjectResult.
* pre-requisites: None
* inputs: ObjectResult
* output: None
* function frees memory associated with the ObjectIterator.
* pre-requisites: None
* inputs: UnsafeMutablePointer<ObjectIterator>
* output: None
* function information about an object at the specific key.
* pre-requisites: open_project function has been already called
* inputs: UnsafeMutablePointer<Project> , Bucket Name and Object Name
* output: ObjectResult
* function delete object from storj V3
* pre-requisites: open_Project function has been already called
* inputs: UnsafeMutablePointer<Project> , Bucket Name and Object Name
* output: ObjectResult
* function returns error, if one happened during iteration.
* pre-requisites: list_Objects function has been already called
* inputs: UnsafeMutablePointer<ObjectIterator>
* output: UnsafeMutablePointer<Error>? or nil
* function returns the current object in the iterator.
* pre-requisites: list_Objects function has been already called
* inputs: UnsafeMutablePointer<ObjectIterator>
* output: UnsafeMutablePointer<Object>? or nil
* function prepares next Object for reading.
* pre-requisites: list_Objects function has been already called
* inputs: UnsafeMutablePointer<ObjectIterator>
* output: Bool
* function lists objects
* pre-requisites: open_Project function has been already called
* inputs: UnsafeMutablePointer<Project> ,Bucket Name and ListObjectsOptions
* output: UnsafeMutablePointer<ObjectIterator>? or nil
* function frees memory associated with the ProjectResult.
* pre-requisites: None
* inputs: ProjectResult
* output: None
* function close the project.
* pre-requisites: open_Project function has been already called
* inputs: UnsafeMutablePointer<Project>
* output: UnsafeMutablePointer<Error>? or nil
* function to open project using access grant and config
* pre-requisites: request_Access_With_Passphrase or parse_Access function has been already called
* inputs: Config and UnsafeMutablePointer<Access>
* output: ProjectResult
* function to open project using access grant.
* pre-requisites: request_Access_With_Passphrase or parse_Access function has been already called
* inputs: UnsafeMutablePointer<Access>
* output: ProjectResult
* function frees memory associated with the UploadResult.
* pre-requisites: None
* inputs: UploadResult
* output: None
* function frees memory associated with the WriteResult.
* pre-requisites: None
* inputs: WriteResult
* output: None
* function return metadata of uploading object
* pre-requisites: upload_Object function has been already called
* inputs: UnsafeMutablePointer<Upload>
* output: ObjectResult
* function to set custom metadata on storj V3 object
* pre-requisites: upload_Object function has been already called
* inputs: UnsafeMutablePointer<Upload> ,CustomMetadata
* output: UnsafeMutablePointer<Error>? or nil
* function to abort current upload
* pre-requisites: upload_Object function has been already called
* inputs: UnsafeMutablePointer<Upload>
* output: UnsafeMutablePointer<Error>? or nil
* function to commits the uploaded data.
* pre-requisites: upload_Object function has been already called
* inputs: UnsafeMutablePointer<Upload>
* output: UnsafeMutablePointer<Error>? or nil
* function to upload len(p) bytes from p to the object's data stream.
* pre-requisites: upload_Object function has been already called
* inputs: UnsafeMutablePointer<Upload> ,Pointer to buffer array , Len of buffer
* output: WriteResult
* function to start an upload to the specified key.
* pre-requisites: open_Project function has been already called
* inputs: UnsafeMutablePointer<Project>, Object name and UnsafeMutablePointer<UploadOptions>
* output: UploadResult
- The project has been tested on the following operating system:
* macOS Catalina
* Version: 10.15.4
* Processor: 2.5 GHz Dual-Core Intel Core i5
* Node version : 13.6.0