C# 클래스 ElmcityUtils.BlobStorage

파일 보기 프로젝트 열기: judell/elmcity 1 사용 예제들

공개 메소드들

메소드 설명
AcquireLease ( string containername, string blobname ) : ElmcityUtils.HttpResponse
BlobStorage ( string azure_storage_account, string azure_blob_host, string azure_b64_secret ) : System
CompletedIfContainerIsGone ( BlobStorageResponse response, object o ) : bool
CompletedIfContainerIsNotBeingDeleted ( BlobStorageResponse response, Object o ) : bool
CreateContainer ( string containername, bool is_public, Hashtable headers ) : BlobStorageResponse
DeleteBlob ( string containername, string blobname ) : BlobStorageResponse
DeleteContainer ( string containername ) : BlobStorageResponse
DeserializeObjectFromBytes ( byte buffer ) : object
DeserializeObjectFromUri ( Uri uri ) : object
DictsFromBlobStorageResponse ( ElmcityUtils.HttpResponse response, string xpath, string elements, string &next_marker ) : string>>.List
DoBlobStoreRequest ( string containername, string blobname, string method, Hashtable headers, byte data, string content_type, string query_string ) : ElmcityUtils.HttpResponse
ExistsBlob ( Uri uri ) : bool
ExistsBlob ( string containername, string blobname ) : bool
ExistsContainer ( string containername ) : bool
GetAzureBlobAsString ( string container, string name ) : string
GetAzureBlobAsString ( string container, string name, bool use_cdn ) : string
GetBlob ( string containername, string blobname ) : BlobStorageResponse
GetBlobProperties ( string containername, string blobname ) : BlobStorageResponse
LegalizeContainerName ( string containername ) : string
ListBlobs ( string containername ) : BlobStorageResponse
ListBlobs ( string containername, string prefix ) : BlobStorageResponse
ListContainers ( ) : BlobStorageResponse
ListContainers ( string path ) : BlobStorageResponse
MakeAzureBlobUri ( string container, string name ) : Uri
MakeAzureBlobUri ( string container, string name, bool use_cdn ) : Uri
MakeDefaultBlobStorage ( ) : BlobStorage
MakeSafeBlobnameFromUrl ( string url ) : string
MaybeCreateContainer ( string containername, bool is_public, Hashtable headers ) : BlobStorageResponse
MaybeDeleteContainer ( string containername ) : BlobStorageResponse
PurgeBlobs ( string container, System.TimeSpan keep ) : void
PutBlob ( string containername, string blobname, Hashtable headers, byte data, string content_type ) : BlobStorageResponse
PutBlob ( string containername, string blobname, byte data ) : BlobStorageResponse
PutBlob ( string containername, string blobname, byte data, string content_type ) : BlobStorageResponse
PutBlob ( string containername, string blobname, string data ) : BlobStorageResponse
PutBlob ( string containername, string blobname, string data, string content_type ) : BlobStorageResponse
PutBlobWithLease ( string container, string blobname, Hashtable headers, byte data, string content_type ) : BlobStorageResponse
PutBlobWithLease ( string container, string blobname, Hashtable headers, string utf_string, string content_type ) : BlobStorageResponse
RetryAcquireLease ( string containername, string blobname ) : ElmcityUtils.HttpResponse
SerializeObjectToAzureBlob ( object o, string container, string blobname ) : BlobStorageResponse
WriteToAzureBlob ( BlobStorage bs, string containername, string blobname, string content_type, byte bytes ) : BlobStorageResponse

메소드 상세

AcquireLease() 공개 메소드

public AcquireLease ( string containername, string blobname ) : ElmcityUtils.HttpResponse
containername string
blobname string
리턴 ElmcityUtils.HttpResponse

BlobStorage() 공개 메소드

public BlobStorage ( string azure_storage_account, string azure_blob_host, string azure_b64_secret ) : System
azure_storage_account string
azure_blob_host string
azure_b64_secret string
리턴 System

CompletedIfContainerIsGone() 공개 정적인 메소드

public static CompletedIfContainerIsGone ( BlobStorageResponse response, object o ) : bool
response BlobStorageResponse
o object
리턴 bool

CompletedIfContainerIsNotBeingDeleted() 공개 정적인 메소드

public static CompletedIfContainerIsNotBeingDeleted ( BlobStorageResponse response, Object o ) : bool
response BlobStorageResponse
o Object
리턴 bool

CreateContainer() 공개 메소드

public CreateContainer ( string containername, bool is_public, Hashtable headers ) : BlobStorageResponse
containername string
is_public bool
headers System.Collections.Hashtable
리턴 BlobStorageResponse

DeleteBlob() 공개 메소드

public DeleteBlob ( string containername, string blobname ) : BlobStorageResponse
containername string
blobname string
리턴 BlobStorageResponse

DeleteContainer() 공개 메소드

public DeleteContainer ( string containername ) : BlobStorageResponse
containername string
리턴 BlobStorageResponse

DeserializeObjectFromBytes() 공개 정적인 메소드

public static DeserializeObjectFromBytes ( byte buffer ) : object
buffer byte
리턴 object

DeserializeObjectFromUri() 공개 정적인 메소드

public static DeserializeObjectFromUri ( Uri uri ) : object
uri System.Uri
리턴 object

DictsFromBlobStorageResponse() 공개 메소드

public DictsFromBlobStorageResponse ( ElmcityUtils.HttpResponse response, string xpath, string elements, string &next_marker ) : string>>.List
response ElmcityUtils.HttpResponse
xpath string
elements string
next_marker string
리턴 string>>.List

DoBlobStoreRequest() 공개 메소드

public DoBlobStoreRequest ( string containername, string blobname, string method, Hashtable headers, byte data, string content_type, string query_string ) : ElmcityUtils.HttpResponse
containername string
blobname string
method string
headers System.Collections.Hashtable
data byte
content_type string
query_string string
리턴 ElmcityUtils.HttpResponse

ExistsBlob() 공개 정적인 메소드

public static ExistsBlob ( Uri uri ) : bool
uri System.Uri
리턴 bool

ExistsBlob() 공개 정적인 메소드

public static ExistsBlob ( string containername, string blobname ) : bool
containername string
blobname string
리턴 bool

ExistsContainer() 공개 정적인 메소드

public static ExistsContainer ( string containername ) : bool
containername string
리턴 bool

GetAzureBlobAsString() 공개 정적인 메소드

public static GetAzureBlobAsString ( string container, string name ) : string
container string
name string
리턴 string

GetAzureBlobAsString() 공개 정적인 메소드

public static GetAzureBlobAsString ( string container, string name, bool use_cdn ) : string
container string
name string
use_cdn bool
리턴 string

GetBlob() 공개 메소드

public GetBlob ( string containername, string blobname ) : BlobStorageResponse
containername string
blobname string
리턴 BlobStorageResponse

GetBlobProperties() 공개 메소드

public GetBlobProperties ( string containername, string blobname ) : BlobStorageResponse
containername string
blobname string
리턴 BlobStorageResponse

LegalizeContainerName() 공개 정적인 메소드

public static LegalizeContainerName ( string containername ) : string
containername string
리턴 string

ListBlobs() 공개 메소드

public ListBlobs ( string containername ) : BlobStorageResponse
containername string
리턴 BlobStorageResponse

ListBlobs() 공개 메소드

public ListBlobs ( string containername, string prefix ) : BlobStorageResponse
containername string
prefix string
리턴 BlobStorageResponse

ListContainers() 공개 메소드

public ListContainers ( ) : BlobStorageResponse
리턴 BlobStorageResponse

ListContainers() 공개 메소드

public ListContainers ( string path ) : BlobStorageResponse
path string
리턴 BlobStorageResponse

MakeAzureBlobUri() 공개 정적인 메소드

public static MakeAzureBlobUri ( string container, string name ) : Uri
container string
name string
리턴 System.Uri

MakeAzureBlobUri() 공개 정적인 메소드

public static MakeAzureBlobUri ( string container, string name, bool use_cdn ) : Uri
container string
name string
use_cdn bool
리턴 System.Uri

MakeDefaultBlobStorage() 공개 정적인 메소드

public static MakeDefaultBlobStorage ( ) : BlobStorage
리턴 BlobStorage

MakeSafeBlobnameFromUrl() 공개 정적인 메소드

public static MakeSafeBlobnameFromUrl ( string url ) : string
url string
리턴 string

MaybeCreateContainer() 공개 메소드

public MaybeCreateContainer ( string containername, bool is_public, Hashtable headers ) : BlobStorageResponse
containername string
is_public bool
headers System.Collections.Hashtable
리턴 BlobStorageResponse

MaybeDeleteContainer() 공개 메소드

public MaybeDeleteContainer ( string containername ) : BlobStorageResponse
containername string
리턴 BlobStorageResponse

PurgeBlobs() 공개 메소드

public PurgeBlobs ( string container, System.TimeSpan keep ) : void
container string
keep System.TimeSpan
리턴 void

PutBlob() 공개 메소드

public PutBlob ( string containername, string blobname, Hashtable headers, byte data, string content_type ) : BlobStorageResponse
containername string
blobname string
headers System.Collections.Hashtable
data byte
content_type string
리턴 BlobStorageResponse

PutBlob() 공개 메소드

public PutBlob ( string containername, string blobname, byte data ) : BlobStorageResponse
containername string
blobname string
data byte
리턴 BlobStorageResponse

PutBlob() 공개 메소드

public PutBlob ( string containername, string blobname, byte data, string content_type ) : BlobStorageResponse
containername string
blobname string
data byte
content_type string
리턴 BlobStorageResponse

PutBlob() 공개 메소드

public PutBlob ( string containername, string blobname, string data ) : BlobStorageResponse
containername string
blobname string
data string
리턴 BlobStorageResponse

PutBlob() 공개 메소드

public PutBlob ( string containername, string blobname, string data, string content_type ) : BlobStorageResponse
containername string
blobname string
data string
content_type string
리턴 BlobStorageResponse

PutBlobWithLease() 공개 메소드

public PutBlobWithLease ( string container, string blobname, Hashtable headers, byte data, string content_type ) : BlobStorageResponse
container string
blobname string
headers System.Collections.Hashtable
data byte
content_type string
리턴 BlobStorageResponse

PutBlobWithLease() 공개 메소드

public PutBlobWithLease ( string container, string blobname, Hashtable headers, string utf_string, string content_type ) : BlobStorageResponse
container string
blobname string
headers System.Collections.Hashtable
utf_string string
content_type string
리턴 BlobStorageResponse

RetryAcquireLease() 공개 메소드

public RetryAcquireLease ( string containername, string blobname ) : ElmcityUtils.HttpResponse
containername string
blobname string
리턴 ElmcityUtils.HttpResponse

SerializeObjectToAzureBlob() 공개 메소드

public SerializeObjectToAzureBlob ( object o, string container, string blobname ) : BlobStorageResponse
o object
container string
blobname string
리턴 BlobStorageResponse

WriteToAzureBlob() 공개 정적인 메소드

public static WriteToAzureBlob ( BlobStorage bs, string containername, string blobname, string content_type, byte bytes ) : BlobStorageResponse
bs BlobStorage
containername string
blobname string
content_type string
bytes byte
리턴 BlobStorageResponse