UploadSigner::AzureStorage
Inherits UploadSigner::Storage < Reference < Object
Constants
Log = ::Log.for(self)
Constructors
new(account_name : String, account_key : String, endpoint : String | Nil = nil)
Sourcenew(connection_string : String)
SourceInstance methods
client
Sourcecommit_file(bucket : String, object_key : String, resumable_id : String, headers = {} of String => String)
Sourcedelete_file(bucket : String, object_key : String, resumable_id : String | Nil = nil)
Sourceget_object(bucket : String, filename : String, expires = 5 * 60)
Create a signed URL for access a private file
get_parts(bucket : String, object_key : String, size : Int64, resumable_id : String, headers = {} of String => String)
Returns the request to get the parts of a resumable upload
name
Sourceset_part(bucket : String, object_key : String, size : Int64, md5 : String | Nil, part : String, resumable_id : String, headers = {} of String => String)
Sourcesign_upload(bucket : String, object_key : String, size : Int64, md5 : String, mime = "binary/octet-stream", permissions = :public, expires = 5 * 60, headers = {} of String => String) : SignResp
Creates a new upload request (either single shot or multi-part)