Class: Fog::Aliyun::Storage

Inherits:
Service
  • Object
show all
Defined in:
lib/fog/aliyun/storage.rb,
lib/fog/aliyun/models/storage/file.rb,
lib/fog/aliyun/models/storage/files.rb,
lib/fog/aliyun/models/storage/directory.rb,
lib/fog/aliyun/models/storage/directories.rb,
lib/fog/aliyun/requests/storage/get_bucket.rb,
lib/fog/aliyun/requests/storage/get_object.rb,
lib/fog/aliyun/requests/storage/put_bucket.rb,
lib/fog/aliyun/requests/storage/put_object.rb,
lib/fog/aliyun/requests/storage/copy_object.rb,
lib/fog/aliyun/requests/storage/get_service.rb,
lib/fog/aliyun/requests/storage/head_object.rb,
lib/fog/aliyun/requests/storage/upload_part.rb,
lib/fog/aliyun/requests/storage/list_buckets.rb,
lib/fog/aliyun/requests/storage/list_objects.rb,
lib/fog/aliyun/requests/storage/delete_bucket.rb,
lib/fog/aliyun/requests/storage/delete_object.rb,
lib/fog/aliyun/requests/storage/get_object_acl.rb,
lib/fog/aliyun/requests/storage/get_bucket_location.rb,
lib/fog/aliyun/requests/storage/get_object_http_url.rb,
lib/fog/aliyun/requests/storage/get_object_https_url.rb,
lib/fog/aliyun/requests/storage/abort_multipart_upload.rb,
lib/fog/aliyun/requests/storage/delete_multiple_objects.rb,
lib/fog/aliyun/requests/storage/complete_multipart_upload.rb,
lib/fog/aliyun/requests/storage/initiate_multipart_upload.rb

Defined Under Namespace

Classes: Directories, Directory, File, Files, Mock, Real

Constant Summary collapse

COMPLIANT_BUCKET_NAMES =
/^(?:[a-z]|\d(?!\d{0,2}(?:\.\d{1,3}){3}$))(?:[a-z0-9]|\.(?![\.\-])|\-(?![\.])){1,61}[a-z0-9]$/
DEFAULT_REGION =
'cn-hangzhou'
DEFAULT_SCHEME =
'https'
DEFAULT_SCHEME_PORT =
{
  'http' => 80,
  'https' => 443
}.freeze