#include <OSSClient.hpp>
|
| OSSClient (const char *keyId, const char *keySecret) |
|
| OSSClient (const char *endPoint, const char *keyId, const char *keySecret) |
|
| ~OSSClient () |
|
const char * | getEndpoint () const |
|
const char * | getAccessKeyId () const |
|
const char * | getAccessKeySecret () const |
|
bool | createBucket (Bucket &bucket) |
|
bool | deleteBucket (const char *name) |
|
std::list< Bucket > | listBuckets () |
|
const char * | getBucketLocation (const char *name) |
|
bool | doesBucketExist (const char *name) |
|
OSSObject * | getObject (const char *bucket, const char *key) |
|
bool | deleteObject (const char *bucket, const char *key) |
|
bool | putObject (const char *bucket, const char *key, istream &in, ObjectMetadata &meta, PutObjectResult *result=NULL) |
|
bool | copyObject (const char *fromBucket, const char *fromKey, const char *toBucket, const char *toKey, CopyObjectResult *result=NULL) |
|
bool | getObjectMetadata (const char *bucket, const char *key, ObjectMetadata *result=NULL) |
|
bool | setBucketCORS (SetBucketCORSRequest &request) |
|
bool | deleteBucketCORSRules (const char *bucket) |
|
bool | optionsObject (OptionsRequest &request) |
|
bool | getBucketCORSRules (const char *bucket, std::list< CORSRule > *result) |
|
bool | abortMultipartUpload (AbortMultipartUploadRequest &request) |
|
bool | completeMultipartUpload (CompleteMultipartUploadRequest &request, CompleteMultipartUploadResult *result) |
|
bool | initiateMultipartUpload (InitiateMultipartUploadRequest &request, InitiateMultipartUploadResult *result) |
|
bool | listMultipartUploads (ListMultipartUploadsRequest &request, MultipartUploadListing *result) |
|
bool | listParts (ListPartsRequest &request, PartListing *result) |
|
bool | uploadPart (UploadPartRequest &request, UploadPartResult *result) |
|
bool | uploadPartCopy (UploadPartCopyRequest &request, UploadPartCopyResult *result) |
|
◆ OSSClient() [1/2]
acl::OSSClient::OSSClient |
( |
const char * |
keyId, |
|
|
const char * |
keySecret |
|
) |
| |
◆ OSSClient() [2/2]
acl::OSSClient::OSSClient |
( |
const char * |
endPoint, |
|
|
const char * |
keyId, |
|
|
const char * |
keySecret |
|
) |
| |
◆ ~OSSClient()
acl::OSSClient::~OSSClient |
( |
| ) |
|
◆ abortMultipartUpload()
◆ completeMultipartUpload()
◆ copyObject()
bool acl::OSSClient::copyObject |
( |
const char * |
fromBucket, |
|
|
const char * |
fromKey, |
|
|
const char * |
toBucket, |
|
|
const char * |
toKey, |
|
|
CopyObjectResult * |
result = NULL |
|
) |
| |
◆ createBucket()
bool acl::OSSClient::createBucket |
( |
Bucket & |
bucket | ) |
|
◆ deleteBucket()
bool acl::OSSClient::deleteBucket |
( |
const char * |
name | ) |
|
◆ deleteBucketCORSRules()
bool acl::OSSClient::deleteBucketCORSRules |
( |
const char * |
bucket | ) |
|
◆ deleteObject()
bool acl::OSSClient::deleteObject |
( |
const char * |
bucket, |
|
|
const char * |
key |
|
) |
| |
◆ doesBucketExist()
bool acl::OSSClient::doesBucketExist |
( |
const char * |
name | ) |
|
◆ getAccessKeyId()
const char* acl::OSSClient::getAccessKeyId |
( |
| ) |
const |
|
inline |
◆ getAccessKeySecret()
const char* acl::OSSClient::getAccessKeySecret |
( |
| ) |
const |
|
inline |
◆ getBucketCORSRules()
bool acl::OSSClient::getBucketCORSRules |
( |
const char * |
bucket, |
|
|
std::list< CORSRule > * |
result |
|
) |
| |
◆ getBucketLocation()
const char* acl::OSSClient::getBucketLocation |
( |
const char * |
name | ) |
|
◆ getEndpoint()
const char* acl::OSSClient::getEndpoint |
( |
| ) |
const |
|
inline |
◆ getObject()
OSSObject* acl::OSSClient::getObject |
( |
const char * |
bucket, |
|
|
const char * |
key |
|
) |
| |
◆ getObjectMetadata()
bool acl::OSSClient::getObjectMetadata |
( |
const char * |
bucket, |
|
|
const char * |
key, |
|
|
ObjectMetadata * |
result = NULL |
|
) |
| |
◆ initiateMultipartUpload()
◆ listBuckets()
std::list<Bucket> acl::OSSClient::listBuckets |
( |
| ) |
|
◆ listMultipartUploads()
◆ listParts()
◆ optionsObject()
◆ putObject()
◆ setBucketCORS()
◆ uploadPart()
◆ uploadPartCopy()
该类的文档由以下文件生成: