fog-aliyun 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +309 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/fog-aliyun.gemspec +30 -0
- data/lib/fog/aliyun.rb +19 -0
- data/lib/fog/aliyun/compute.rb +346 -0
- data/lib/fog/aliyun/models/compute/vpc.rb +69 -0
- data/lib/fog/aliyun/models/compute/vpcs.rb +89 -0
- data/lib/fog/aliyun/models/compute/vswitch.rb +70 -0
- data/lib/fog/aliyun/models/compute/vswitches.rb +87 -0
- data/lib/fog/aliyun/models/storage/directories.rb +45 -0
- data/lib/fog/aliyun/models/storage/directory.rb +48 -0
- data/lib/fog/aliyun/models/storage/file.rb +197 -0
- data/lib/fog/aliyun/models/storage/files.rb +178 -0
- data/lib/fog/aliyun/requests/compute/allocate_eip_address.rb +79 -0
- data/lib/fog/aliyun/requests/compute/allocate_public_ip_address.rb +63 -0
- data/lib/fog/aliyun/requests/compute/associate_eip_address.rb +66 -0
- data/lib/fog/aliyun/requests/compute/attach_disk.rb +82 -0
- data/lib/fog/aliyun/requests/compute/create_disk.rb +135 -0
- data/lib/fog/aliyun/requests/compute/create_image.rb +79 -0
- data/lib/fog/aliyun/requests/compute/create_security_group.rb +77 -0
- data/lib/fog/aliyun/requests/compute/create_security_group_ip_rule.rb +86 -0
- data/lib/fog/aliyun/requests/compute/create_security_group_sg_rule.rb +86 -0
- data/lib/fog/aliyun/requests/compute/create_server.rb +188 -0
- data/lib/fog/aliyun/requests/compute/create_snapshot.rb +60 -0
- data/lib/fog/aliyun/requests/compute/create_vpc.rb +73 -0
- data/lib/fog/aliyun/requests/compute/create_vswitch.rb +81 -0
- data/lib/fog/aliyun/requests/compute/delete_disk.rb +58 -0
- data/lib/fog/aliyun/requests/compute/delete_image.rb +58 -0
- data/lib/fog/aliyun/requests/compute/delete_security_group.rb +51 -0
- data/lib/fog/aliyun/requests/compute/delete_security_group_ip_rule.rb +85 -0
- data/lib/fog/aliyun/requests/compute/delete_security_group_sg_rule.rb +86 -0
- data/lib/fog/aliyun/requests/compute/delete_server.rb +48 -0
- data/lib/fog/aliyun/requests/compute/delete_snapshot.rb +45 -0
- data/lib/fog/aliyun/requests/compute/delete_vpc.rb +52 -0
- data/lib/fog/aliyun/requests/compute/delete_vswitch.rb +51 -0
- data/lib/fog/aliyun/requests/compute/detach_disk.rb +51 -0
- data/lib/fog/aliyun/requests/compute/join_security_group.rb +41 -0
- data/lib/fog/aliyun/requests/compute/leave_security_group.rb +41 -0
- data/lib/fog/aliyun/requests/compute/list_disks.rb +75 -0
- data/lib/fog/aliyun/requests/compute/list_eip_addresses.rb +81 -0
- data/lib/fog/aliyun/requests/compute/list_images.rb +85 -0
- data/lib/fog/aliyun/requests/compute/list_security_group_rules.rb +74 -0
- data/lib/fog/aliyun/requests/compute/list_security_groups.rb +81 -0
- data/lib/fog/aliyun/requests/compute/list_server_types.rb +77 -0
- data/lib/fog/aliyun/requests/compute/list_servers.rb +74 -0
- data/lib/fog/aliyun/requests/compute/list_snapshots.rb +86 -0
- data/lib/fog/aliyun/requests/compute/list_vpcs.rb +64 -0
- data/lib/fog/aliyun/requests/compute/list_vswitchs.rb +67 -0
- data/lib/fog/aliyun/requests/compute/list_zones.rb +44 -0
- data/lib/fog/aliyun/requests/compute/modify_vpc.rb +73 -0
- data/lib/fog/aliyun/requests/compute/modify_vswitch.rb +73 -0
- data/lib/fog/aliyun/requests/compute/reboot_server.rb +44 -0
- data/lib/fog/aliyun/requests/compute/release_eip_address.rb +53 -0
- data/lib/fog/aliyun/requests/compute/start_server.rb +42 -0
- data/lib/fog/aliyun/requests/compute/stop_server.rb +42 -0
- data/lib/fog/aliyun/requests/compute/unassociate_eip_address.rb +56 -0
- data/lib/fog/aliyun/requests/storage/copy_object.rb +42 -0
- data/lib/fog/aliyun/requests/storage/delete_bucket.rb +30 -0
- data/lib/fog/aliyun/requests/storage/delete_container.rb +38 -0
- data/lib/fog/aliyun/requests/storage/delete_object.rb +53 -0
- data/lib/fog/aliyun/requests/storage/get_bucket.rb +148 -0
- data/lib/fog/aliyun/requests/storage/get_container.rb +72 -0
- data/lib/fog/aliyun/requests/storage/get_containers.rb +76 -0
- data/lib/fog/aliyun/requests/storage/get_object.rb +45 -0
- data/lib/fog/aliyun/requests/storage/get_object_http_url.rb +43 -0
- data/lib/fog/aliyun/requests/storage/get_object_https_url.rb +43 -0
- data/lib/fog/aliyun/requests/storage/head_object.rb +34 -0
- data/lib/fog/aliyun/requests/storage/list_buckets.rb +47 -0
- data/lib/fog/aliyun/requests/storage/list_objects.rb +104 -0
- data/lib/fog/aliyun/requests/storage/put_bucket.rb +23 -0
- data/lib/fog/aliyun/requests/storage/put_container.rb +35 -0
- data/lib/fog/aliyun/requests/storage/put_object.rb +199 -0
- data/lib/fog/aliyun/storage.rb +214 -0
- data/lib/fog/aliyun/version.rb +5 -0
- data/lib/fog/bin/aliyun.rb +31 -0
- metadata +227 -0
@@ -0,0 +1,214 @@
|
|
1
|
+
require 'xmlsimple'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Storage
|
5
|
+
class Aliyun < Fog::Service
|
6
|
+
recognizes :aliyun_oss_endpoint,
|
7
|
+
:aliyun_oss_location,
|
8
|
+
:aliyun_oss_bucket,
|
9
|
+
:aliyun_accesskey_id,
|
10
|
+
:aliyun_accesskey_secret
|
11
|
+
|
12
|
+
model_path 'fog/aliyun/models/storage'
|
13
|
+
model :directory
|
14
|
+
collection :directories
|
15
|
+
model :file
|
16
|
+
collection :files
|
17
|
+
|
18
|
+
request_path 'fog/aliyun/requests/storage'
|
19
|
+
request :copy_object
|
20
|
+
request :delete_bucket
|
21
|
+
request :delete_object
|
22
|
+
request :get_bucket
|
23
|
+
request :get_object
|
24
|
+
request :get_object_http_url
|
25
|
+
request :get_object_https_url
|
26
|
+
request :head_object
|
27
|
+
request :put_bucket
|
28
|
+
request :put_object
|
29
|
+
request :list_buckets
|
30
|
+
request :list_objects
|
31
|
+
request :get_containers
|
32
|
+
request :get_container
|
33
|
+
request :delete_container
|
34
|
+
request :put_container
|
35
|
+
|
36
|
+
class Real
|
37
|
+
# Initialize connection to OSS
|
38
|
+
#
|
39
|
+
# ==== Notes
|
40
|
+
# options parameter must include values for :aliyun_oss_endpoint, :aliyun_accesskey_id,
|
41
|
+
# :aliyun_secret_access_key, :aliyun_oss_location and :aliyun_oss_bucket in order to create a connection.
|
42
|
+
# if you haven't set these values in the configuration file.
|
43
|
+
#
|
44
|
+
# ==== Examples
|
45
|
+
# sdb = Fog::Storage.new(:provider=>'aliyun',
|
46
|
+
# :aliyun_accesskey_id => your_:aliyun_accesskey_id,
|
47
|
+
# :aliyun_secret_access_key => your_aliyun_secret_access_key
|
48
|
+
# )
|
49
|
+
#
|
50
|
+
# ==== Parameters
|
51
|
+
# * options<~Hash> - config arguments for connection. Defaults to {}.
|
52
|
+
#
|
53
|
+
# ==== Returns
|
54
|
+
# * OSS object with connection to aliyun.
|
55
|
+
attr_reader :aliyun_accesskey_id
|
56
|
+
attr_reader :aliyun_accesskey_secret
|
57
|
+
attr_reader :aliyun_oss_endpoint
|
58
|
+
attr_reader :aliyun_oss_location
|
59
|
+
attr_reader :aliyun_oss_bucket
|
60
|
+
|
61
|
+
def initialize(options={})
|
62
|
+
#initialize the parameters
|
63
|
+
@aliyun_oss_endpoint = options[:aliyun_oss_endpoint]
|
64
|
+
@aliyun_oss_location = options[:aliyun_oss_location]
|
65
|
+
@aliyun_accesskey_id = options[:aliyun_accesskey_id]
|
66
|
+
@aliyun_accesskey_secret = options[:aliyun_accesskey_secret]
|
67
|
+
@aliyun_oss_bucket = options[:aliyun_oss_bucket]
|
68
|
+
|
69
|
+
#check for the parameters
|
70
|
+
missing_credentials = Array.new
|
71
|
+
missing_credentials << :aliyun_oss_endpoint unless @aliyun_oss_endpoint
|
72
|
+
missing_credentials << :aliyun_oss_location unless @aliyun_oss_location
|
73
|
+
missing_credentials << :aliyun_accesskey_id unless @aliyun_accesskey_id
|
74
|
+
missing_credentials << :aliyun_accesskey_secret unless @aliyun_accesskey_secret
|
75
|
+
raise ArgumentError, "Missing required arguments: #{missing_credentials.join(', ')}" unless missing_credentials.empty?
|
76
|
+
|
77
|
+
@connection_options = options[:connection_options] || {}
|
78
|
+
|
79
|
+
uri = URI.parse(@aliyun_oss_endpoint)
|
80
|
+
@host = uri.host
|
81
|
+
@path = uri.path
|
82
|
+
@port = uri.port
|
83
|
+
@scheme = uri.scheme
|
84
|
+
|
85
|
+
@persistent = options[:persistent] || false
|
86
|
+
|
87
|
+
end
|
88
|
+
|
89
|
+
def reload
|
90
|
+
@connection.reset
|
91
|
+
end
|
92
|
+
|
93
|
+
def request(params)
|
94
|
+
method = params[:method]
|
95
|
+
time = Time.new.utc
|
96
|
+
date = time.strftime("%a, %d %b %Y %H:%M:%S GMT")
|
97
|
+
|
98
|
+
endpoint = params[:endpoint]
|
99
|
+
if endpoint
|
100
|
+
uri = URI.parse(endpoint)
|
101
|
+
host = uri.host
|
102
|
+
path = uri.path
|
103
|
+
port = uri.port
|
104
|
+
scheme = uri.scheme
|
105
|
+
else
|
106
|
+
host = @host
|
107
|
+
path = @path
|
108
|
+
port = @port
|
109
|
+
scheme = @scheme
|
110
|
+
end
|
111
|
+
|
112
|
+
bucket = params[:bucket]
|
113
|
+
if bucket
|
114
|
+
tmpHost = bucket + '.' + host
|
115
|
+
else
|
116
|
+
tmpHost = host
|
117
|
+
end
|
118
|
+
|
119
|
+
@connection = Fog::Core::Connection.new("#{scheme}://#{tmpHost}", @persistent, @connection_options)
|
120
|
+
contentType = params[:contentType]
|
121
|
+
|
122
|
+
begin
|
123
|
+
headers = ""
|
124
|
+
if params[:headers]
|
125
|
+
params[:headers].each do |k,v|
|
126
|
+
if k != "Range"
|
127
|
+
headers += "#{k}:#{v}\n"
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
signature = sign(method, date, contentType, params[:resource], headers)
|
132
|
+
response = @connection.request(params.merge({
|
133
|
+
:headers => {
|
134
|
+
'Content-Type' => contentType,
|
135
|
+
'Authorization' =>'OSS '+@aliyun_accesskey_id+':'+signature,
|
136
|
+
'Date' => date
|
137
|
+
}.merge!(params[:headers] || {}),
|
138
|
+
:path => "#{path}/#{params[:path]}",
|
139
|
+
:query => params[:query]
|
140
|
+
}))
|
141
|
+
rescue Excon::Errors::HTTPStatusError => error
|
142
|
+
raise case error
|
143
|
+
when Excon::Errors::NotFound
|
144
|
+
Fog::Storage::Aliyun::NotFound.slurp(error)
|
145
|
+
else
|
146
|
+
error
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
response
|
151
|
+
end
|
152
|
+
|
153
|
+
#copmute signature
|
154
|
+
def sign (method, date, contentType, resource=nil, headers = nil)
|
155
|
+
contentmd5 = ""
|
156
|
+
|
157
|
+
if resource
|
158
|
+
canonicalizedResource = "/"+resource
|
159
|
+
else
|
160
|
+
canonicalizedResource = "/"
|
161
|
+
end
|
162
|
+
|
163
|
+
if headers
|
164
|
+
canonicalizedOSSHeaders = headers
|
165
|
+
else
|
166
|
+
canonicalizedOSSHeaders = ""
|
167
|
+
end
|
168
|
+
|
169
|
+
if contentType
|
170
|
+
contentTypeStr = contentType
|
171
|
+
else
|
172
|
+
contentTypeStr = ""
|
173
|
+
end
|
174
|
+
|
175
|
+
stringToSign = method+"\n"+contentmd5+"\n"+contentTypeStr+"\n"+date+"\n"+canonicalizedOSSHeaders+canonicalizedResource
|
176
|
+
|
177
|
+
digVer = OpenSSL::Digest.new("sha1")
|
178
|
+
digest = OpenSSL::HMAC.digest(digVer, @aliyun_accesskey_secret, stringToSign)
|
179
|
+
signature = Base64.encode64(digest)
|
180
|
+
signature[-1] = ""
|
181
|
+
|
182
|
+
return signature
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
class Mock
|
187
|
+
def initialize(options={})
|
188
|
+
@aliyun_oss_endpoint = options[:aliyun_oss_endpoint]
|
189
|
+
@aliyun_oss_location = options[:aliyun_oss_location]
|
190
|
+
@aliyun_accesskey_id = options[:aliyun_accesskey_id]
|
191
|
+
@aliyun_accesskey_secret = options[:aliyun_accesskey_secret]
|
192
|
+
@aliyun_oss_bucket = options[:aliyun_oss_bucket]
|
193
|
+
|
194
|
+
#missing_credentials = Array.new
|
195
|
+
#missing_credentials << :aliyun_oss_endpoint unless @aliyun_oss_endpoint
|
196
|
+
#missing_credentials << :aliyun_oss_location unless @aliyun_oss_location
|
197
|
+
#missing_credentials << :aliyun_accesskey_id unless @aliyun_accesskey_id
|
198
|
+
#missing_credentials << :aliyun_accesskey_secret unless @aliyun_accesskey_secret
|
199
|
+
#raise ArgumentError, "Missing required arguments: #{missing_credentials.join(', ')}" unless missing_credentials.empty?
|
200
|
+
|
201
|
+
@connection_options = options[:connection_options] || {}
|
202
|
+
|
203
|
+
#uri = URI.parse(@aliyun_oss_endpoint)
|
204
|
+
#@host = uri.host
|
205
|
+
#@path = uri.path
|
206
|
+
#@port = uri.port
|
207
|
+
#@scheme = uri.scheme
|
208
|
+
|
209
|
+
#@persistent = options[:persistent] || false
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|
213
|
+
end
|
214
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
class Aliyun < Fog::Bin
|
2
|
+
class << self
|
3
|
+
def class_for(key)
|
4
|
+
case key
|
5
|
+
when :storage
|
6
|
+
Fog::Storage::Aliyun
|
7
|
+
when :compute
|
8
|
+
Fog::Compute::Aliyun
|
9
|
+
else
|
10
|
+
raise ArgumentError, "Unrecognized service: #{key}"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def [](service)
|
15
|
+
@@connections ||= Hash.new do |hash, key|
|
16
|
+
hash[key] = case key
|
17
|
+
when :storage
|
18
|
+
Fog::Logger.warning("Aliyun[:storage] is not recommended, use Storage[:openstack] for portability")
|
19
|
+
Fog::Storage.new(:provider => 'aliyun')
|
20
|
+
else
|
21
|
+
raise ArgumentError, "Unrecognized service: #{key.inspect}"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
@@connections[service]
|
25
|
+
end
|
26
|
+
|
27
|
+
def services
|
28
|
+
Fog::Aliyun.services
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,227 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fog-aliyun
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.7
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Qinsi Deng, Jianxun Li, Jane Han
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.10'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: fog-core
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.27'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.27'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: fog-json
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: ipaddress
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.8'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.8'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: xml-simple
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.1'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.1'
|
111
|
+
description: As a FOG provider, fog-aliyun support aliyun OSS/ECS. It will support
|
112
|
+
more aliyun services later.
|
113
|
+
email:
|
114
|
+
- dengqs@dtdream.com
|
115
|
+
executables: []
|
116
|
+
extensions: []
|
117
|
+
extra_rdoc_files: []
|
118
|
+
files:
|
119
|
+
- ".gitignore"
|
120
|
+
- ".rspec"
|
121
|
+
- ".travis.yml"
|
122
|
+
- CODE_OF_CONDUCT.md
|
123
|
+
- Gemfile
|
124
|
+
- LICENSE.txt
|
125
|
+
- README.md
|
126
|
+
- Rakefile
|
127
|
+
- bin/console
|
128
|
+
- bin/setup
|
129
|
+
- fog-aliyun.gemspec
|
130
|
+
- lib/fog/aliyun.rb
|
131
|
+
- lib/fog/aliyun/compute.rb
|
132
|
+
- lib/fog/aliyun/models/compute/vpc.rb
|
133
|
+
- lib/fog/aliyun/models/compute/vpcs.rb
|
134
|
+
- lib/fog/aliyun/models/compute/vswitch.rb
|
135
|
+
- lib/fog/aliyun/models/compute/vswitches.rb
|
136
|
+
- lib/fog/aliyun/models/storage/directories.rb
|
137
|
+
- lib/fog/aliyun/models/storage/directory.rb
|
138
|
+
- lib/fog/aliyun/models/storage/file.rb
|
139
|
+
- lib/fog/aliyun/models/storage/files.rb
|
140
|
+
- lib/fog/aliyun/requests/compute/allocate_eip_address.rb
|
141
|
+
- lib/fog/aliyun/requests/compute/allocate_public_ip_address.rb
|
142
|
+
- lib/fog/aliyun/requests/compute/associate_eip_address.rb
|
143
|
+
- lib/fog/aliyun/requests/compute/attach_disk.rb
|
144
|
+
- lib/fog/aliyun/requests/compute/create_disk.rb
|
145
|
+
- lib/fog/aliyun/requests/compute/create_image.rb
|
146
|
+
- lib/fog/aliyun/requests/compute/create_security_group.rb
|
147
|
+
- lib/fog/aliyun/requests/compute/create_security_group_ip_rule.rb
|
148
|
+
- lib/fog/aliyun/requests/compute/create_security_group_sg_rule.rb
|
149
|
+
- lib/fog/aliyun/requests/compute/create_server.rb
|
150
|
+
- lib/fog/aliyun/requests/compute/create_snapshot.rb
|
151
|
+
- lib/fog/aliyun/requests/compute/create_vpc.rb
|
152
|
+
- lib/fog/aliyun/requests/compute/create_vswitch.rb
|
153
|
+
- lib/fog/aliyun/requests/compute/delete_disk.rb
|
154
|
+
- lib/fog/aliyun/requests/compute/delete_image.rb
|
155
|
+
- lib/fog/aliyun/requests/compute/delete_security_group.rb
|
156
|
+
- lib/fog/aliyun/requests/compute/delete_security_group_ip_rule.rb
|
157
|
+
- lib/fog/aliyun/requests/compute/delete_security_group_sg_rule.rb
|
158
|
+
- lib/fog/aliyun/requests/compute/delete_server.rb
|
159
|
+
- lib/fog/aliyun/requests/compute/delete_snapshot.rb
|
160
|
+
- lib/fog/aliyun/requests/compute/delete_vpc.rb
|
161
|
+
- lib/fog/aliyun/requests/compute/delete_vswitch.rb
|
162
|
+
- lib/fog/aliyun/requests/compute/detach_disk.rb
|
163
|
+
- lib/fog/aliyun/requests/compute/join_security_group.rb
|
164
|
+
- lib/fog/aliyun/requests/compute/leave_security_group.rb
|
165
|
+
- lib/fog/aliyun/requests/compute/list_disks.rb
|
166
|
+
- lib/fog/aliyun/requests/compute/list_eip_addresses.rb
|
167
|
+
- lib/fog/aliyun/requests/compute/list_images.rb
|
168
|
+
- lib/fog/aliyun/requests/compute/list_security_group_rules.rb
|
169
|
+
- lib/fog/aliyun/requests/compute/list_security_groups.rb
|
170
|
+
- lib/fog/aliyun/requests/compute/list_server_types.rb
|
171
|
+
- lib/fog/aliyun/requests/compute/list_servers.rb
|
172
|
+
- lib/fog/aliyun/requests/compute/list_snapshots.rb
|
173
|
+
- lib/fog/aliyun/requests/compute/list_vpcs.rb
|
174
|
+
- lib/fog/aliyun/requests/compute/list_vswitchs.rb
|
175
|
+
- lib/fog/aliyun/requests/compute/list_zones.rb
|
176
|
+
- lib/fog/aliyun/requests/compute/modify_vpc.rb
|
177
|
+
- lib/fog/aliyun/requests/compute/modify_vswitch.rb
|
178
|
+
- lib/fog/aliyun/requests/compute/reboot_server.rb
|
179
|
+
- lib/fog/aliyun/requests/compute/release_eip_address.rb
|
180
|
+
- lib/fog/aliyun/requests/compute/start_server.rb
|
181
|
+
- lib/fog/aliyun/requests/compute/stop_server.rb
|
182
|
+
- lib/fog/aliyun/requests/compute/unassociate_eip_address.rb
|
183
|
+
- lib/fog/aliyun/requests/storage/copy_object.rb
|
184
|
+
- lib/fog/aliyun/requests/storage/delete_bucket.rb
|
185
|
+
- lib/fog/aliyun/requests/storage/delete_container.rb
|
186
|
+
- lib/fog/aliyun/requests/storage/delete_object.rb
|
187
|
+
- lib/fog/aliyun/requests/storage/get_bucket.rb
|
188
|
+
- lib/fog/aliyun/requests/storage/get_container.rb
|
189
|
+
- lib/fog/aliyun/requests/storage/get_containers.rb
|
190
|
+
- lib/fog/aliyun/requests/storage/get_object.rb
|
191
|
+
- lib/fog/aliyun/requests/storage/get_object_http_url.rb
|
192
|
+
- lib/fog/aliyun/requests/storage/get_object_https_url.rb
|
193
|
+
- lib/fog/aliyun/requests/storage/head_object.rb
|
194
|
+
- lib/fog/aliyun/requests/storage/list_buckets.rb
|
195
|
+
- lib/fog/aliyun/requests/storage/list_objects.rb
|
196
|
+
- lib/fog/aliyun/requests/storage/put_bucket.rb
|
197
|
+
- lib/fog/aliyun/requests/storage/put_container.rb
|
198
|
+
- lib/fog/aliyun/requests/storage/put_object.rb
|
199
|
+
- lib/fog/aliyun/storage.rb
|
200
|
+
- lib/fog/aliyun/version.rb
|
201
|
+
- lib/fog/bin/aliyun.rb
|
202
|
+
homepage: https://github.com/dtdream/fog-aliyun.git
|
203
|
+
licenses:
|
204
|
+
- MIT
|
205
|
+
metadata: {}
|
206
|
+
post_install_message:
|
207
|
+
rdoc_options: []
|
208
|
+
require_paths:
|
209
|
+
- lib
|
210
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - ">="
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0'
|
215
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
|
+
requirements:
|
217
|
+
- - ">="
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0'
|
220
|
+
requirements: []
|
221
|
+
rubyforge_project:
|
222
|
+
rubygems_version: 2.4.8
|
223
|
+
signing_key:
|
224
|
+
specification_version: 4
|
225
|
+
summary: Fog provider for Aliyun Web Services.
|
226
|
+
test_files: []
|
227
|
+
has_rdoc:
|