fog-scaleway 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.ruby-version +1 -0
- data/.travis.yml +9 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +58 -0
- data/Rakefile +21 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/fog-scaleway.gemspec +31 -0
- data/lib/fog/scaleway.rb +15 -0
- data/lib/fog/scaleway/account.rb +306 -0
- data/lib/fog/scaleway/client.rb +54 -0
- data/lib/fog/scaleway/compute.rb +350 -0
- data/lib/fog/scaleway/errors.rb +37 -0
- data/lib/fog/scaleway/models/account/organization.rb +42 -0
- data/lib/fog/scaleway/models/account/organizations.rb +22 -0
- data/lib/fog/scaleway/models/account/token.rb +60 -0
- data/lib/fog/scaleway/models/account/tokens.rb +22 -0
- data/lib/fog/scaleway/models/account/user.rb +69 -0
- data/lib/fog/scaleway/models/account/users.rb +23 -0
- data/lib/fog/scaleway/models/compute/bootscript.rb +19 -0
- data/lib/fog/scaleway/models/compute/bootscripts.rb +22 -0
- data/lib/fog/scaleway/models/compute/image.rb +83 -0
- data/lib/fog/scaleway/models/compute/images.rb +22 -0
- data/lib/fog/scaleway/models/compute/ip.rb +70 -0
- data/lib/fog/scaleway/models/compute/ips.rb +22 -0
- data/lib/fog/scaleway/models/compute/security_group.rb +77 -0
- data/lib/fog/scaleway/models/compute/security_group_rule.rb +59 -0
- data/lib/fog/scaleway/models/compute/security_group_rules.rb +34 -0
- data/lib/fog/scaleway/models/compute/security_groups.rb +22 -0
- data/lib/fog/scaleway/models/compute/server.rb +243 -0
- data/lib/fog/scaleway/models/compute/servers.rb +47 -0
- data/lib/fog/scaleway/models/compute/snapshot.rb +90 -0
- data/lib/fog/scaleway/models/compute/snapshots.rb +22 -0
- data/lib/fog/scaleway/models/compute/task.rb +31 -0
- data/lib/fog/scaleway/models/compute/tasks.rb +22 -0
- data/lib/fog/scaleway/models/compute/volume.rb +96 -0
- data/lib/fog/scaleway/models/compute/volumes.rb +22 -0
- data/lib/fog/scaleway/request_helper.rb +32 -0
- data/lib/fog/scaleway/requests/account/create_token.rb +62 -0
- data/lib/fog/scaleway/requests/account/delete_token.rb +21 -0
- data/lib/fog/scaleway/requests/account/get_organization.rb +19 -0
- data/lib/fog/scaleway/requests/account/get_organization_quotas.rb +21 -0
- data/lib/fog/scaleway/requests/account/get_token.rb +19 -0
- data/lib/fog/scaleway/requests/account/get_token_permissions.rb +21 -0
- data/lib/fog/scaleway/requests/account/get_user.rb +19 -0
- data/lib/fog/scaleway/requests/account/list_organizations.rb +19 -0
- data/lib/fog/scaleway/requests/account/list_tokens.rb +19 -0
- data/lib/fog/scaleway/requests/account/update_token.rb +27 -0
- data/lib/fog/scaleway/requests/account/update_user.rb +39 -0
- data/lib/fog/scaleway/requests/compute/create_image.rb +61 -0
- data/lib/fog/scaleway/requests/compute/create_ip.rb +68 -0
- data/lib/fog/scaleway/requests/compute/create_security_group.rb +49 -0
- data/lib/fog/scaleway/requests/compute/create_security_group_rule.rb +49 -0
- data/lib/fog/scaleway/requests/compute/create_server.rb +129 -0
- data/lib/fog/scaleway/requests/compute/create_snapshot.rb +54 -0
- data/lib/fog/scaleway/requests/compute/create_volume.rb +88 -0
- data/lib/fog/scaleway/requests/compute/delete_image.rb +27 -0
- data/lib/fog/scaleway/requests/compute/delete_ip.rb +29 -0
- data/lib/fog/scaleway/requests/compute/delete_security_group.rb +31 -0
- data/lib/fog/scaleway/requests/compute/delete_security_group_rule.rb +23 -0
- data/lib/fog/scaleway/requests/compute/delete_server.rb +40 -0
- data/lib/fog/scaleway/requests/compute/delete_snapshot.rb +29 -0
- data/lib/fog/scaleway/requests/compute/delete_task.rb +21 -0
- data/lib/fog/scaleway/requests/compute/delete_user_data.rb +21 -0
- data/lib/fog/scaleway/requests/compute/delete_volume.rb +31 -0
- data/lib/fog/scaleway/requests/compute/execute_server_action.rb +101 -0
- data/lib/fog/scaleway/requests/compute/get_bootscript.rb +19 -0
- data/lib/fog/scaleway/requests/compute/get_container.rb +19 -0
- data/lib/fog/scaleway/requests/compute/get_dashboard.rb +37 -0
- data/lib/fog/scaleway/requests/compute/get_image.rb +19 -0
- data/lib/fog/scaleway/requests/compute/get_ip.rb +19 -0
- data/lib/fog/scaleway/requests/compute/get_security_group.rb +19 -0
- data/lib/fog/scaleway/requests/compute/get_security_group_rule.rb +23 -0
- data/lib/fog/scaleway/requests/compute/get_server.rb +48 -0
- data/lib/fog/scaleway/requests/compute/get_snapshot.rb +19 -0
- data/lib/fog/scaleway/requests/compute/get_task.rb +25 -0
- data/lib/fog/scaleway/requests/compute/get_user_data.rb +25 -0
- data/lib/fog/scaleway/requests/compute/get_volume.rb +19 -0
- data/lib/fog/scaleway/requests/compute/list_bootscripts.rb +23 -0
- data/lib/fog/scaleway/requests/compute/list_containers.rb +19 -0
- data/lib/fog/scaleway/requests/compute/list_images.rb +27 -0
- data/lib/fog/scaleway/requests/compute/list_ips.rb +19 -0
- data/lib/fog/scaleway/requests/compute/list_security_group_rules.rb +21 -0
- data/lib/fog/scaleway/requests/compute/list_security_groups.rb +19 -0
- data/lib/fog/scaleway/requests/compute/list_server_actions.rb +21 -0
- data/lib/fog/scaleway/requests/compute/list_servers.rb +19 -0
- data/lib/fog/scaleway/requests/compute/list_snapshots.rb +19 -0
- data/lib/fog/scaleway/requests/compute/list_tasks.rb +19 -0
- data/lib/fog/scaleway/requests/compute/list_user_data.rb +21 -0
- data/lib/fog/scaleway/requests/compute/list_volumes.rb +19 -0
- data/lib/fog/scaleway/requests/compute/update_image.rb +31 -0
- data/lib/fog/scaleway/requests/compute/update_ip.rb +47 -0
- data/lib/fog/scaleway/requests/compute/update_security_group.rb +29 -0
- data/lib/fog/scaleway/requests/compute/update_security_group_rule.rb +31 -0
- data/lib/fog/scaleway/requests/compute/update_server.rb +71 -0
- data/lib/fog/scaleway/requests/compute/update_snapshot.rb +24 -0
- data/lib/fog/scaleway/requests/compute/update_user_data.rb +25 -0
- data/lib/fog/scaleway/requests/compute/update_volume.rb +24 -0
- data/lib/fog/scaleway/version.rb +5 -0
- metadata +285 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def list_server_actions(server_id)
|
6
|
+
get("/servers/#{server_id}/action")
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def list_server_actions(server_id)
|
12
|
+
server = lookup(:servers, server_id)
|
13
|
+
|
14
|
+
actions = data[:server_actions][server['id']]
|
15
|
+
|
16
|
+
response(status: 200, body: { 'actions' => actions })
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def list_servers
|
6
|
+
get('/servers')
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def list_servers
|
12
|
+
servers = data[:servers].values
|
13
|
+
|
14
|
+
response(status: 200, body: { 'servers' => servers })
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def list_snapshots
|
6
|
+
get('/snapshots')
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def list_snapshots
|
12
|
+
snapshots = data[:snapshots].values
|
13
|
+
|
14
|
+
response(status: 200, body: { 'snapshots' => snapshots })
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def list_tasks
|
6
|
+
get('tasks')
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def list_tasks
|
12
|
+
tasks = data[:tasks].values
|
13
|
+
|
14
|
+
response(status: 200, body: { 'tasks' => tasks })
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def list_user_data(server_id)
|
6
|
+
get("/servers/#{server_id}/user_data")
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def list_user_data(server_id)
|
12
|
+
server = lookup(:servers, server_id)
|
13
|
+
|
14
|
+
user_data = data[:user_data][server['id']].keys
|
15
|
+
|
16
|
+
response(status: 200, body: { 'user_data' => user_data })
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def list_volumes
|
6
|
+
get('/volumes')
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def list_volumes
|
12
|
+
volumes = data[:volumes].values
|
13
|
+
|
14
|
+
response(status: 200, body: { 'volumes' => volumes })
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def update_image(image_id, body)
|
6
|
+
update("/images/#{image_id}", body)
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def update_image(image_id, body)
|
12
|
+
body = jsonify(body)
|
13
|
+
|
14
|
+
image = lookup(:images, image_id)
|
15
|
+
|
16
|
+
default_bootscript = if body['default_bootscript'].is_a?(Hash)
|
17
|
+
lookup(:bootscripts, body['default_bootscript']['id'])
|
18
|
+
elsif body['default_bootscript'].is_a?(String)
|
19
|
+
lookup(:bootscripts, body['default_bootscript'])
|
20
|
+
end
|
21
|
+
|
22
|
+
image['default_bootscript'] = default_bootscript
|
23
|
+
image['name'] = body['name']
|
24
|
+
image['arch'] = body['arch']
|
25
|
+
|
26
|
+
response(status: 200, body: { 'image' => image })
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def update_ip(ip_id, body)
|
6
|
+
update("/ips/#{ip_id}", body)
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def update_ip(ip_id, body)
|
12
|
+
body = jsonify(body)
|
13
|
+
|
14
|
+
ip = lookup(:ips, ip_id)
|
15
|
+
|
16
|
+
server = nil
|
17
|
+
if (server_id = body['server'])
|
18
|
+
server = lookup(:servers, server_id)
|
19
|
+
|
20
|
+
if server['public_ip'] && !server['public_ip']['dynamic']
|
21
|
+
message = "Server '#{server['id']}' is already attached to an IP address"
|
22
|
+
raise_invalid_request_error(message)
|
23
|
+
end
|
24
|
+
|
25
|
+
server = {
|
26
|
+
'id' => server['id'],
|
27
|
+
'name' => server['name']
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
ip['reverse'] = body['reverse']
|
32
|
+
ip['server'] = server
|
33
|
+
|
34
|
+
if server
|
35
|
+
server['public_ip'] = {
|
36
|
+
'dynamic' => false,
|
37
|
+
'id' => ip['id'],
|
38
|
+
'address' => ip['address']
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
response(status: 200, body: { 'ip' => ip })
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def update_security_group(security_group_id, body)
|
6
|
+
update("/security_groups/#{security_group_id}", body)
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def update_security_group(security_group_id, body)
|
12
|
+
body = jsonify(body)
|
13
|
+
|
14
|
+
security_group = lookup(:security_groups, security_group_id)
|
15
|
+
|
16
|
+
if body['organization_default'] && default_security_group
|
17
|
+
raise_conflict('Cannot have more than one organization default group')
|
18
|
+
end
|
19
|
+
|
20
|
+
security_group['description'] = body['description']
|
21
|
+
security_group['enable_default_security'] = body['enable_default_security']
|
22
|
+
security_group['name'] = body['name']
|
23
|
+
|
24
|
+
response(status: 200, body: { 'security_group' => security_group })
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def update_security_group_rule(security_group_id, rule_id, body)
|
6
|
+
update("/security_groups/#{security_group_id}/rules/#{rule_id}", body)
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def update_security_group_rule(security_group_id, rule_id, body)
|
12
|
+
body = jsonify(body)
|
13
|
+
|
14
|
+
security_group = lookup(:security_groups, security_group_id)
|
15
|
+
|
16
|
+
rule = data[:security_group_rules][security_group['id']][rule_id]
|
17
|
+
|
18
|
+
raise_unknown_resource(rule_id) unless rule
|
19
|
+
|
20
|
+
rule['action'] = body['action']
|
21
|
+
rule['dest_port_from'] = body['dest_port_from']
|
22
|
+
rule['direction'] = body['direction']
|
23
|
+
rule['ip_range'] = body['ip_range']
|
24
|
+
rule['protocol'] = body['protocol']
|
25
|
+
|
26
|
+
response(status: 201, body: { 'rule' => rule })
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def update_server(server_id, body)
|
6
|
+
update("/servers/#{server_id}", body)
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def update_server(server_id, body)
|
12
|
+
body = jsonify(body)
|
13
|
+
|
14
|
+
server = lookup(:servers, server_id)
|
15
|
+
|
16
|
+
bootscript = if body['bootscript'].is_a?(Hash)
|
17
|
+
lookup(:bootscripts, body['bootscript']['id'])
|
18
|
+
elsif body['bootscript'].is_a?(String)
|
19
|
+
lookup(:bootscripts, body['bootscript'])
|
20
|
+
end
|
21
|
+
|
22
|
+
volumes = {}
|
23
|
+
body['volumes'].each do |index, volume|
|
24
|
+
volume = lookup(:volumes, volume['id'])
|
25
|
+
|
26
|
+
if volume['server'] && volume['server']['id'] != server['id']
|
27
|
+
message = "volume #{volume['id']} is already attached to a server"
|
28
|
+
raise_invalid_request_error(message)
|
29
|
+
end
|
30
|
+
|
31
|
+
volumes[index] = volume
|
32
|
+
end
|
33
|
+
|
34
|
+
server['bootscript'] = bootscript if bootscript
|
35
|
+
server['dynamic_ip_required'] = body['dynamic_ip_required']
|
36
|
+
server['enable_ipv6'] = body['enable_ipv6']
|
37
|
+
server['hostname'] = body['name']
|
38
|
+
server['modification_date'] = now
|
39
|
+
server['name'] = body['name']
|
40
|
+
server['tags'] = body['tags']
|
41
|
+
server['volumes'] = volumes
|
42
|
+
|
43
|
+
if server['dynamic_ip_required'] && server['state'] == 'running'
|
44
|
+
server['public_ip'] ||= create_dynamic_ip
|
45
|
+
elsif !server['dynamic_ip_required'] && server['public_ip'] && server['public_ip']['dynamic']
|
46
|
+
server['public_ip'] = nil
|
47
|
+
end
|
48
|
+
|
49
|
+
if server['enable_ipv6'] && server['state'] == 'running'
|
50
|
+
server['ipv6'] ||= create_ipv6
|
51
|
+
elsif !server['enable_ipv6']
|
52
|
+
server['ipv6'] = nil
|
53
|
+
end
|
54
|
+
|
55
|
+
data[:volumes].each do |id, volume|
|
56
|
+
if server['volumes'].any? { |_i, v| v['id'] == id }
|
57
|
+
volume['server'] = {
|
58
|
+
'id' => server['id'],
|
59
|
+
'name' => server['name']
|
60
|
+
}
|
61
|
+
elsif volume['server'] && volume['server']['id'] == server['id']
|
62
|
+
volume['server'] = nil
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
response(status: 200, body: { 'server' => server })
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def update_snapshot(snapshot_id, body)
|
6
|
+
update("/snapshots/#{snapshot_id}", body)
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def update_snapshot(snapshot_id, body)
|
12
|
+
body = jsonify(body)
|
13
|
+
|
14
|
+
snapshot = lookup(:snapshots, snapshot_id)
|
15
|
+
|
16
|
+
snapshot['modification_date'] = now
|
17
|
+
snapshot['name'] = body['name']
|
18
|
+
|
19
|
+
response(status: 200, body: { 'snapshot' => snapshot })
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def update_user_data(server_id, key, value)
|
6
|
+
request(method: :patch,
|
7
|
+
path: "/servers/#{server_id}/user_data/#{key}",
|
8
|
+
headers: { 'Content-Type' => 'text/plain' },
|
9
|
+
body: value,
|
10
|
+
expects: [204])
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
class Mock
|
15
|
+
def update_user_data(server_id, key, value)
|
16
|
+
server = lookup(:servers, server_id)
|
17
|
+
|
18
|
+
data[:user_data][server_id][key] = value
|
19
|
+
|
20
|
+
response(status: 204)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Fog
|
2
|
+
module Scaleway
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def update_volume(volume_id, body)
|
6
|
+
update("/volumes/#{volume_id}", body)
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Mock
|
11
|
+
def update_volume(volume_id, body)
|
12
|
+
body = jsonify(body)
|
13
|
+
|
14
|
+
volume = lookup(:volumes, volume_id)
|
15
|
+
|
16
|
+
volume['modification_date'] = now
|
17
|
+
volume['name'] = body['name']
|
18
|
+
|
19
|
+
response(status: 200, body: { 'volume' => volume })
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,285 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fog-scaleway
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Satoshi Matsumoto
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-08-27 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: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: coveralls
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: net-ssh
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: simplecov
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: fog-core
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ~>
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.42'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ~>
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '1.42'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: fog-json
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '1.0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '1.0'
|
153
|
+
description: Fog provider gem to support Scaleway.
|
154
|
+
email:
|
155
|
+
- kaorimatz@gmail.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- .gitignore
|
161
|
+
- .ruby-version
|
162
|
+
- .travis.yml
|
163
|
+
- Gemfile
|
164
|
+
- LICENSE.txt
|
165
|
+
- README.md
|
166
|
+
- Rakefile
|
167
|
+
- bin/console
|
168
|
+
- bin/setup
|
169
|
+
- fog-scaleway.gemspec
|
170
|
+
- lib/fog/scaleway.rb
|
171
|
+
- lib/fog/scaleway/account.rb
|
172
|
+
- lib/fog/scaleway/client.rb
|
173
|
+
- lib/fog/scaleway/compute.rb
|
174
|
+
- lib/fog/scaleway/errors.rb
|
175
|
+
- lib/fog/scaleway/models/account/organization.rb
|
176
|
+
- lib/fog/scaleway/models/account/organizations.rb
|
177
|
+
- lib/fog/scaleway/models/account/token.rb
|
178
|
+
- lib/fog/scaleway/models/account/tokens.rb
|
179
|
+
- lib/fog/scaleway/models/account/user.rb
|
180
|
+
- lib/fog/scaleway/models/account/users.rb
|
181
|
+
- lib/fog/scaleway/models/compute/bootscript.rb
|
182
|
+
- lib/fog/scaleway/models/compute/bootscripts.rb
|
183
|
+
- lib/fog/scaleway/models/compute/image.rb
|
184
|
+
- lib/fog/scaleway/models/compute/images.rb
|
185
|
+
- lib/fog/scaleway/models/compute/ip.rb
|
186
|
+
- lib/fog/scaleway/models/compute/ips.rb
|
187
|
+
- lib/fog/scaleway/models/compute/security_group.rb
|
188
|
+
- lib/fog/scaleway/models/compute/security_group_rule.rb
|
189
|
+
- lib/fog/scaleway/models/compute/security_group_rules.rb
|
190
|
+
- lib/fog/scaleway/models/compute/security_groups.rb
|
191
|
+
- lib/fog/scaleway/models/compute/server.rb
|
192
|
+
- lib/fog/scaleway/models/compute/servers.rb
|
193
|
+
- lib/fog/scaleway/models/compute/snapshot.rb
|
194
|
+
- lib/fog/scaleway/models/compute/snapshots.rb
|
195
|
+
- lib/fog/scaleway/models/compute/task.rb
|
196
|
+
- lib/fog/scaleway/models/compute/tasks.rb
|
197
|
+
- lib/fog/scaleway/models/compute/volume.rb
|
198
|
+
- lib/fog/scaleway/models/compute/volumes.rb
|
199
|
+
- lib/fog/scaleway/request_helper.rb
|
200
|
+
- lib/fog/scaleway/requests/account/create_token.rb
|
201
|
+
- lib/fog/scaleway/requests/account/delete_token.rb
|
202
|
+
- lib/fog/scaleway/requests/account/get_organization.rb
|
203
|
+
- lib/fog/scaleway/requests/account/get_organization_quotas.rb
|
204
|
+
- lib/fog/scaleway/requests/account/get_token.rb
|
205
|
+
- lib/fog/scaleway/requests/account/get_token_permissions.rb
|
206
|
+
- lib/fog/scaleway/requests/account/get_user.rb
|
207
|
+
- lib/fog/scaleway/requests/account/list_organizations.rb
|
208
|
+
- lib/fog/scaleway/requests/account/list_tokens.rb
|
209
|
+
- lib/fog/scaleway/requests/account/update_token.rb
|
210
|
+
- lib/fog/scaleway/requests/account/update_user.rb
|
211
|
+
- lib/fog/scaleway/requests/compute/create_image.rb
|
212
|
+
- lib/fog/scaleway/requests/compute/create_ip.rb
|
213
|
+
- lib/fog/scaleway/requests/compute/create_security_group.rb
|
214
|
+
- lib/fog/scaleway/requests/compute/create_security_group_rule.rb
|
215
|
+
- lib/fog/scaleway/requests/compute/create_server.rb
|
216
|
+
- lib/fog/scaleway/requests/compute/create_snapshot.rb
|
217
|
+
- lib/fog/scaleway/requests/compute/create_volume.rb
|
218
|
+
- lib/fog/scaleway/requests/compute/delete_image.rb
|
219
|
+
- lib/fog/scaleway/requests/compute/delete_ip.rb
|
220
|
+
- lib/fog/scaleway/requests/compute/delete_security_group.rb
|
221
|
+
- lib/fog/scaleway/requests/compute/delete_security_group_rule.rb
|
222
|
+
- lib/fog/scaleway/requests/compute/delete_server.rb
|
223
|
+
- lib/fog/scaleway/requests/compute/delete_snapshot.rb
|
224
|
+
- lib/fog/scaleway/requests/compute/delete_task.rb
|
225
|
+
- lib/fog/scaleway/requests/compute/delete_user_data.rb
|
226
|
+
- lib/fog/scaleway/requests/compute/delete_volume.rb
|
227
|
+
- lib/fog/scaleway/requests/compute/execute_server_action.rb
|
228
|
+
- lib/fog/scaleway/requests/compute/get_bootscript.rb
|
229
|
+
- lib/fog/scaleway/requests/compute/get_container.rb
|
230
|
+
- lib/fog/scaleway/requests/compute/get_dashboard.rb
|
231
|
+
- lib/fog/scaleway/requests/compute/get_image.rb
|
232
|
+
- lib/fog/scaleway/requests/compute/get_ip.rb
|
233
|
+
- lib/fog/scaleway/requests/compute/get_security_group.rb
|
234
|
+
- lib/fog/scaleway/requests/compute/get_security_group_rule.rb
|
235
|
+
- lib/fog/scaleway/requests/compute/get_server.rb
|
236
|
+
- lib/fog/scaleway/requests/compute/get_snapshot.rb
|
237
|
+
- lib/fog/scaleway/requests/compute/get_task.rb
|
238
|
+
- lib/fog/scaleway/requests/compute/get_user_data.rb
|
239
|
+
- lib/fog/scaleway/requests/compute/get_volume.rb
|
240
|
+
- lib/fog/scaleway/requests/compute/list_bootscripts.rb
|
241
|
+
- lib/fog/scaleway/requests/compute/list_containers.rb
|
242
|
+
- lib/fog/scaleway/requests/compute/list_images.rb
|
243
|
+
- lib/fog/scaleway/requests/compute/list_ips.rb
|
244
|
+
- lib/fog/scaleway/requests/compute/list_security_group_rules.rb
|
245
|
+
- lib/fog/scaleway/requests/compute/list_security_groups.rb
|
246
|
+
- lib/fog/scaleway/requests/compute/list_server_actions.rb
|
247
|
+
- lib/fog/scaleway/requests/compute/list_servers.rb
|
248
|
+
- lib/fog/scaleway/requests/compute/list_snapshots.rb
|
249
|
+
- lib/fog/scaleway/requests/compute/list_tasks.rb
|
250
|
+
- lib/fog/scaleway/requests/compute/list_user_data.rb
|
251
|
+
- lib/fog/scaleway/requests/compute/list_volumes.rb
|
252
|
+
- lib/fog/scaleway/requests/compute/update_image.rb
|
253
|
+
- lib/fog/scaleway/requests/compute/update_ip.rb
|
254
|
+
- lib/fog/scaleway/requests/compute/update_security_group.rb
|
255
|
+
- lib/fog/scaleway/requests/compute/update_security_group_rule.rb
|
256
|
+
- lib/fog/scaleway/requests/compute/update_server.rb
|
257
|
+
- lib/fog/scaleway/requests/compute/update_snapshot.rb
|
258
|
+
- lib/fog/scaleway/requests/compute/update_user_data.rb
|
259
|
+
- lib/fog/scaleway/requests/compute/update_volume.rb
|
260
|
+
- lib/fog/scaleway/version.rb
|
261
|
+
homepage: https://github.com/kaorimatz/fog-scaleway
|
262
|
+
licenses:
|
263
|
+
- MIT
|
264
|
+
metadata: {}
|
265
|
+
post_install_message:
|
266
|
+
rdoc_options: []
|
267
|
+
require_paths:
|
268
|
+
- lib
|
269
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
270
|
+
requirements:
|
271
|
+
- - '>='
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: '0'
|
274
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - '>='
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
requirements: []
|
280
|
+
rubyforge_project:
|
281
|
+
rubygems_version: 2.6.6
|
282
|
+
signing_key:
|
283
|
+
specification_version: 4
|
284
|
+
summary: Fog provider for Scaleway
|
285
|
+
test_files: []
|