droplet_kit 2.8.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +4 -1
- data/lib/droplet_kit/mappings/cdn_mapping.rb +6 -0
- data/lib/droplet_kit/mappings/load_balancer_mapping.rb +1 -0
- data/lib/droplet_kit/models/cdn.rb +2 -0
- data/lib/droplet_kit/models/load_balancer.rb +1 -0
- data/lib/droplet_kit/resources/cdn_resource.rb +6 -0
- data/lib/droplet_kit/version.rb +1 -1
- metadata +4 -289
- data/.gitignore +0 -23
- data/.rspec +0 -2
- data/.travis.yml +0 -28
- data/CHANGELOG.md +0 -106
- data/Gemfile +0 -15
- data/Rakefile +0 -3
- data/droplet_kit.gemspec +0 -37
- data/spec/fixtures/account/info.json +0 -8
- data/spec/fixtures/actions/all.json +0 -24
- data/spec/fixtures/actions/find.json +0 -19
- data/spec/fixtures/cdns/all.json +0 -16
- data/spec/fixtures/cdns/create.json +0 -9
- data/spec/fixtures/cdns/find.json +0 -9
- data/spec/fixtures/cdns/update_ttl.json +0 -9
- data/spec/fixtures/certificates/all.json +0 -19
- data/spec/fixtures/certificates/find.json +0 -12
- data/spec/fixtures/certificates/lets_encrypt.json +0 -12
- data/spec/fixtures/domain_records/all.json +0 -57
- data/spec/fixtures/domain_records/create.json +0 -12
- data/spec/fixtures/domain_records/find.json +0 -12
- data/spec/fixtures/domain_records/update.json +0 -12
- data/spec/fixtures/domains/all.json +0 -12
- data/spec/fixtures/domains/create.json +0 -7
- data/spec/fixtures/domains/find.json +0 -7
- data/spec/fixtures/droplet_actions/change_kernel.json +0 -27
- data/spec/fixtures/droplet_actions/disable_backups.json +0 -27
- data/spec/fixtures/droplet_actions/enable_backups.json +0 -27
- data/spec/fixtures/droplet_actions/enable_ipv6.json +0 -27
- data/spec/fixtures/droplet_actions/enable_private_networking.json +0 -27
- data/spec/fixtures/droplet_actions/find.json +0 -19
- data/spec/fixtures/droplet_actions/password_reset.json +0 -27
- data/spec/fixtures/droplet_actions/power_cycle.json +0 -27
- data/spec/fixtures/droplet_actions/power_off.json +0 -27
- data/spec/fixtures/droplet_actions/power_on.json +0 -27
- data/spec/fixtures/droplet_actions/reboot.json +0 -27
- data/spec/fixtures/droplet_actions/rebuild.json +0 -27
- data/spec/fixtures/droplet_actions/rename.json +0 -27
- data/spec/fixtures/droplet_actions/resize.json +0 -27
- data/spec/fixtures/droplet_actions/restore.json +0 -27
- data/spec/fixtures/droplet_actions/shutdown.json +0 -27
- data/spec/fixtures/droplet_actions/snapshot.json +0 -27
- data/spec/fixtures/droplet_actions/upgrade.json +0 -27
- data/spec/fixtures/droplet_upgrades/all.json +0 -7
- data/spec/fixtures/droplets/all.json +0 -89
- data/spec/fixtures/droplets/all_empty.json +0 -7
- data/spec/fixtures/droplets/create.json +0 -84
- data/spec/fixtures/droplets/create_multiple.json +0 -168
- data/spec/fixtures/droplets/find.json +0 -84
- data/spec/fixtures/droplets/list_actions.json +0 -24
- data/spec/fixtures/droplets/list_backups.json +0 -18
- data/spec/fixtures/droplets/list_kernels.json +0 -17
- data/spec/fixtures/droplets/list_snapshots.json +0 -18
- data/spec/fixtures/firewalls/all.json +0 -67
- data/spec/fixtures/firewalls/find.json +0 -61
- data/spec/fixtures/floating_ip_actions/all.json +0 -41
- data/spec/fixtures/floating_ip_actions/assign.json +0 -27
- data/spec/fixtures/floating_ip_actions/find.json +0 -19
- data/spec/fixtures/floating_ip_actions/unassign.json +0 -27
- data/spec/fixtures/floating_ips/all.json +0 -186
- data/spec/fixtures/floating_ips/all_empty.json +0 -7
- data/spec/fixtures/floating_ips/create.json +0 -29
- data/spec/fixtures/floating_ips/create_with_droplet.json +0 -44
- data/spec/fixtures/floating_ips/find.json +0 -28
- data/spec/fixtures/image_actions/all.json +0 -36
- data/spec/fixtures/image_actions/convert.json +0 -27
- data/spec/fixtures/image_actions/find.json +0 -19
- data/spec/fixtures/image_actions/transfer.json +0 -27
- data/spec/fixtures/images/all.json +0 -31
- data/spec/fixtures/images/find.json +0 -16
- data/spec/fixtures/images/private.json +0 -31
- data/spec/fixtures/images/type.json +0 -31
- data/spec/fixtures/kubernetes/all.json +0 -70
- data/spec/fixtures/kubernetes/all_empty.json +0 -7
- data/spec/fixtures/kubernetes/cluster_node_pool.json +0 -24
- data/spec/fixtures/kubernetes/cluster_node_pool_create.json +0 -40
- data/spec/fixtures/kubernetes/cluster_node_pool_update.json +0 -31
- data/spec/fixtures/kubernetes/cluster_node_pools.json +0 -33
- data/spec/fixtures/kubernetes/clusters/create.json +0 -65
- data/spec/fixtures/kubernetes/clusters/find.json +0 -65
- data/spec/fixtures/kubernetes/clusters/kubeconfig.txt +0 -20
- data/spec/fixtures/kubernetes/clusters/update.json +0 -63
- data/spec/fixtures/kubernetes/options.json +0 -150
- data/spec/fixtures/load_balancers/all.json +0 -129
- data/spec/fixtures/load_balancers/find.json +0 -59
- data/spec/fixtures/projects/all.json +0 -37
- data/spec/fixtures/projects/all_empty.json +0 -12
- data/spec/fixtures/projects/find.json +0 -14
- data/spec/fixtures/projects/resources.json +0 -84
- data/spec/fixtures/regions/all.json +0 -47
- data/spec/fixtures/sizes/all.json +0 -37
- data/spec/fixtures/snapshots/all.json +0 -32
- data/spec/fixtures/snapshots/find.json +0 -14
- data/spec/fixtures/snapshots/resource_type.json +0 -20
- data/spec/fixtures/ssh_keys/all.json +0 -13
- data/spec/fixtures/ssh_keys/create.json +0 -8
- data/spec/fixtures/ssh_keys/find.json +0 -8
- data/spec/fixtures/ssh_keys/update.json +0 -8
- data/spec/fixtures/tags/all.json +0 -34
- data/spec/fixtures/tags/all_empty.json +0 -7
- data/spec/fixtures/tags/create.json +0 -15
- data/spec/fixtures/tags/find.json +0 -99
- data/spec/fixtures/volume_actions/all.json +0 -41
- data/spec/fixtures/volume_actions/attach.json +0 -34
- data/spec/fixtures/volume_actions/detach.json +0 -34
- data/spec/fixtures/volume_actions/find.json +0 -34
- data/spec/fixtures/volume_actions/resize.json +0 -34
- data/spec/fixtures/volumes/all.json +0 -41
- data/spec/fixtures/volumes/create.json +0 -34
- data/spec/fixtures/volumes/create_snapshot.json +0 -14
- data/spec/fixtures/volumes/find.json +0 -34
- data/spec/lib/droplet_kit/client_spec.rb +0 -102
- data/spec/lib/droplet_kit/models/base_model_spec.rb +0 -21
- data/spec/lib/droplet_kit/models/droplet_spec.rb +0 -32
- data/spec/lib/droplet_kit/paginated_resource_spec.rb +0 -85
- data/spec/lib/droplet_kit/resources/account_resource_spec.rb +0 -30
- data/spec/lib/droplet_kit/resources/action_resource_spec.rb +0 -83
- data/spec/lib/droplet_kit/resources/cdn_resource_spec.rb +0 -124
- data/spec/lib/droplet_kit/resources/certificate_resource_spec.rb +0 -119
- data/spec/lib/droplet_kit/resources/domain_record_resource_spec.rb +0 -99
- data/spec/lib/droplet_kit/resources/domain_resource_spec.rb +0 -65
- data/spec/lib/droplet_kit/resources/droplet_action_resource_spec.rb +0 -223
- data/spec/lib/droplet_kit/resources/droplet_resource_spec.rb +0 -340
- data/spec/lib/droplet_kit/resources/droplet_upgrade_resource_spec.rb +0 -22
- data/spec/lib/droplet_kit/resources/firewall_resource_spec.rb +0 -265
- data/spec/lib/droplet_kit/resources/floating_ip_action_resource_spec.rb +0 -137
- data/spec/lib/droplet_kit/resources/floating_ip_resource_spec.rb +0 -91
- data/spec/lib/droplet_kit/resources/image_action_resource_spec.rb +0 -149
- data/spec/lib/droplet_kit/resources/image_resource_spec.rb +0 -93
- data/spec/lib/droplet_kit/resources/kubernetes_cluster_resource_spec.rb +0 -313
- data/spec/lib/droplet_kit/resources/kubernetes_options_resource_spec.rb +0 -33
- data/spec/lib/droplet_kit/resources/load_balancer_resource_spec.rb +0 -213
- data/spec/lib/droplet_kit/resources/project_resource_spec.rb +0 -126
- data/spec/lib/droplet_kit/resources/region_resource_spec.rb +0 -27
- data/spec/lib/droplet_kit/resources/size_resource_spec.rb +0 -27
- data/spec/lib/droplet_kit/resources/snapshot_resource_spec.rb +0 -61
- data/spec/lib/droplet_kit/resources/ssh_key_resource_spec.rb +0 -92
- data/spec/lib/droplet_kit/resources/tag_resource_spec.rb +0 -135
- data/spec/lib/droplet_kit/resources/volume_action_resource_spec.rb +0 -157
- data/spec/lib/droplet_kit/resources/volume_resource_spec.rb +0 -124
- data/spec/spec_helper.rb +0 -19
- data/spec/support/fake_server.rb +0 -4
- data/spec/support/request_stub_helpers.rb +0 -28
- data/spec/support/resource_context.rb +0 -4
- data/spec/support/shared_examples/common_errors.rb +0 -27
- data/spec/support/shared_examples/paginated_endpoint.rb +0 -16
- data/spec/support/shared_examples/unprocessable_entity.rb +0 -11
@@ -1,29 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"floating_ip": {
|
3
|
-
"ip": "45.55.96.32",
|
4
|
-
"region": {
|
5
|
-
"available": true,
|
6
|
-
"features": [
|
7
|
-
"private_networking",
|
8
|
-
"backups",
|
9
|
-
"ipv6",
|
10
|
-
"metadata"
|
11
|
-
],
|
12
|
-
"sizes": [
|
13
|
-
"512mb",
|
14
|
-
"1gb",
|
15
|
-
"2gb",
|
16
|
-
"4gb",
|
17
|
-
"8gb",
|
18
|
-
"16gb",
|
19
|
-
"32gb",
|
20
|
-
"48gb",
|
21
|
-
"64gb"
|
22
|
-
],
|
23
|
-
"slug": "nyc3",
|
24
|
-
"name": "New York 3"
|
25
|
-
},
|
26
|
-
"droplet": null,
|
27
|
-
"links": {}
|
28
|
-
}
|
29
|
-
}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"floating_ip": {
|
3
|
-
"ip": "45.55.96.32",
|
4
|
-
"region": {
|
5
|
-
"available": true,
|
6
|
-
"features": [
|
7
|
-
"private_networking",
|
8
|
-
"backups",
|
9
|
-
"ipv6",
|
10
|
-
"metadata"
|
11
|
-
],
|
12
|
-
"sizes": [
|
13
|
-
"512mb",
|
14
|
-
"1gb",
|
15
|
-
"2gb",
|
16
|
-
"4gb",
|
17
|
-
"8gb",
|
18
|
-
"16gb",
|
19
|
-
"32gb",
|
20
|
-
"48gb",
|
21
|
-
"64gb"
|
22
|
-
],
|
23
|
-
"slug": "nyc3",
|
24
|
-
"name": "New York 3"
|
25
|
-
},
|
26
|
-
"droplet": null,
|
27
|
-
"links": {
|
28
|
-
"actions": [
|
29
|
-
{
|
30
|
-
"href": "https://api.digitalocean.com/v2/actions/66582085",
|
31
|
-
"rel": "assign_ip",
|
32
|
-
"id": 66582085
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"droplets": [
|
36
|
-
{
|
37
|
-
"href": "https://api.digitalocean.com/v2/droplets/7173070",
|
38
|
-
"rel": "droplet",
|
39
|
-
"id": 7173070
|
40
|
-
}
|
41
|
-
]
|
42
|
-
}
|
43
|
-
}
|
44
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"floating_ip": {
|
3
|
-
"ip": "45.55.96.32",
|
4
|
-
"region": {
|
5
|
-
"available": true,
|
6
|
-
"features": [
|
7
|
-
"private_networking",
|
8
|
-
"backups",
|
9
|
-
"ipv6",
|
10
|
-
"metadata"
|
11
|
-
],
|
12
|
-
"sizes": [
|
13
|
-
"512mb",
|
14
|
-
"1gb",
|
15
|
-
"2gb",
|
16
|
-
"4gb",
|
17
|
-
"8gb",
|
18
|
-
"16gb",
|
19
|
-
"32gb",
|
20
|
-
"48gb",
|
21
|
-
"64gb"
|
22
|
-
],
|
23
|
-
"slug": "nyc3",
|
24
|
-
"name": "New York 3"
|
25
|
-
},
|
26
|
-
"droplet": null
|
27
|
-
}
|
28
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"actions": [
|
3
|
-
{
|
4
|
-
"id": 298374,
|
5
|
-
"status": "completed",
|
6
|
-
"type": "image_destroy",
|
7
|
-
"started_at": "2014-10-28T17:11:05Z",
|
8
|
-
"completed_at": "2014-10-28T17:11:06Z",
|
9
|
-
"resource_id": 45646587,
|
10
|
-
"resource_type": "image",
|
11
|
-
"region": null,
|
12
|
-
"region_slug": null
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"id": 234598,
|
16
|
-
"status": "completed",
|
17
|
-
"type": "transfer",
|
18
|
-
"started_at": "2014-10-28T17:09:11Z",
|
19
|
-
"completed_at": "2014-10-28T17:12:04Z",
|
20
|
-
"resource_id": 45646587,
|
21
|
-
"resource_type": "image",
|
22
|
-
"region": {
|
23
|
-
"name": "New York",
|
24
|
-
"slug": "nyc2",
|
25
|
-
"available": true,
|
26
|
-
"sizes": ["512mb"],
|
27
|
-
"features": ["virtio", "private_networking", "backups", "ipv6", "metadata"]
|
28
|
-
},
|
29
|
-
"region_slug": "nyc2"
|
30
|
-
}
|
31
|
-
],
|
32
|
-
"links": {},
|
33
|
-
"meta": {
|
34
|
-
"total": 2
|
35
|
-
}
|
36
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"action": {
|
3
|
-
"id": 23,
|
4
|
-
"status": "in-progress",
|
5
|
-
"type": "convert",
|
6
|
-
"started_at": "2014-08-05T15:15:28Z",
|
7
|
-
"completed_at": null,
|
8
|
-
"resource_id": 449676391,
|
9
|
-
"resource_type": "image",
|
10
|
-
"region_slug": "nyc1",
|
11
|
-
"region": {
|
12
|
-
"name": "New York",
|
13
|
-
"slug": "nyc1",
|
14
|
-
"available": true,
|
15
|
-
"sizes": [
|
16
|
-
"512mb"
|
17
|
-
],
|
18
|
-
"features": [
|
19
|
-
"virtio",
|
20
|
-
"private_networking",
|
21
|
-
"backups",
|
22
|
-
"ipv6",
|
23
|
-
"metadata"
|
24
|
-
]
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"action": {
|
3
|
-
"id": 23,
|
4
|
-
"status": "in-progress",
|
5
|
-
"type": "transfer",
|
6
|
-
"started_at": "2014-08-05T15:15:28Z",
|
7
|
-
"completed_at": null,
|
8
|
-
"resource_id": 449676391,
|
9
|
-
"resource_type": "image",
|
10
|
-
"region_slug": "nyc1",
|
11
|
-
"region": {
|
12
|
-
"name": "New York",
|
13
|
-
"slug": "nyc1",
|
14
|
-
"available": true,
|
15
|
-
"sizes": ["512mb"],
|
16
|
-
"features": ["virtio", "private_networking", "backups", "ipv6", "metadata"]
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"action": {
|
3
|
-
"id": 23,
|
4
|
-
"status": "in-progress",
|
5
|
-
"type": "transfer",
|
6
|
-
"started_at": "2014-08-05T15:15:28Z",
|
7
|
-
"completed_at": null,
|
8
|
-
"resource_id": 449676391,
|
9
|
-
"resource_type": "image",
|
10
|
-
"region_slug": "nyc1",
|
11
|
-
"region": {
|
12
|
-
"name": "New York",
|
13
|
-
"slug": "nyc1",
|
14
|
-
"available": true,
|
15
|
-
"sizes": [
|
16
|
-
"512mb"
|
17
|
-
],
|
18
|
-
"features": [
|
19
|
-
"virtio",
|
20
|
-
"private_networking",
|
21
|
-
"backups",
|
22
|
-
"ipv6",
|
23
|
-
"metadata"
|
24
|
-
]
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"images": [
|
3
|
-
{
|
4
|
-
"id": 119192817,
|
5
|
-
"name": "Ubuntu 13.04",
|
6
|
-
"distribution": "ubuntu",
|
7
|
-
"slug": "ubuntu1304",
|
8
|
-
"public": true,
|
9
|
-
"regions": [
|
10
|
-
"nyc1"
|
11
|
-
],
|
12
|
-
"created_at": "2014-07-29T14:35:40Z",
|
13
|
-
"type": "snapshot"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"id": 449676376,
|
17
|
-
"name": "Ubuntu 13.04",
|
18
|
-
"distribution": "ubuntu",
|
19
|
-
"slug": "ubuntu1404",
|
20
|
-
"public": true,
|
21
|
-
"regions": [
|
22
|
-
"nyc1"
|
23
|
-
],
|
24
|
-
"created_at": "2014-07-29T14:35:40Z",
|
25
|
-
"type": "snapshot"
|
26
|
-
}
|
27
|
-
],
|
28
|
-
"meta": {
|
29
|
-
"total": 2
|
30
|
-
}
|
31
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"image": {
|
3
|
-
"id": 146,
|
4
|
-
"name": "Ubuntu 13.04",
|
5
|
-
"distribution": null,
|
6
|
-
"slug": null,
|
7
|
-
"public": false,
|
8
|
-
"regions": [
|
9
|
-
"region--1"
|
10
|
-
],
|
11
|
-
"created_at": "2014-07-29T14:35:41Z",
|
12
|
-
"min_disk_size": 20,
|
13
|
-
"type": "snapshot",
|
14
|
-
"size_gigabytes":0.43
|
15
|
-
}
|
16
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"images": [
|
3
|
-
{
|
4
|
-
"id": 119192817,
|
5
|
-
"name": "Ubuntu 13.04",
|
6
|
-
"distribution": "ubuntu",
|
7
|
-
"slug": "ubuntu1304",
|
8
|
-
"public": true,
|
9
|
-
"regions": [
|
10
|
-
"nyc1"
|
11
|
-
],
|
12
|
-
"created_at": "2014-07-29T14:35:40Z",
|
13
|
-
"type": "snapshot"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"id": 449676376,
|
17
|
-
"name": "Ubuntu 13.04",
|
18
|
-
"distribution": "ubuntu",
|
19
|
-
"slug": "ubuntu1404",
|
20
|
-
"public": true,
|
21
|
-
"regions": [
|
22
|
-
"nyc1"
|
23
|
-
],
|
24
|
-
"created_at": "2014-07-29T14:35:40Z",
|
25
|
-
"type": "snapshot"
|
26
|
-
}
|
27
|
-
],
|
28
|
-
"meta": {
|
29
|
-
"total": 2
|
30
|
-
}
|
31
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"images": [
|
3
|
-
{
|
4
|
-
"id": 119192817,
|
5
|
-
"name": "Ubuntu 13.04",
|
6
|
-
"distribution": "ubuntu",
|
7
|
-
"slug": "ubuntu1304",
|
8
|
-
"public": true,
|
9
|
-
"regions": [
|
10
|
-
"nyc1"
|
11
|
-
],
|
12
|
-
"created_at": "2014-07-29T14:35:40Z",
|
13
|
-
"type": "snapshot"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"id": 449676376,
|
17
|
-
"name": "Ubuntu 13.04",
|
18
|
-
"distribution": "ubuntu",
|
19
|
-
"slug": "ubuntu1404",
|
20
|
-
"public": true,
|
21
|
-
"regions": [
|
22
|
-
"nyc1"
|
23
|
-
],
|
24
|
-
"created_at": "2014-07-29T14:35:40Z",
|
25
|
-
"type": "snapshot"
|
26
|
-
}
|
27
|
-
],
|
28
|
-
"meta": {
|
29
|
-
"total": 2
|
30
|
-
}
|
31
|
-
}
|
@@ -1,70 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"kubernetes_clusters": [
|
3
|
-
{
|
4
|
-
"id": "cluster-1-id",
|
5
|
-
"name": "test-cluster",
|
6
|
-
"region": "nyc1",
|
7
|
-
"version": "1.12.1-do.2",
|
8
|
-
"cluster_subnet": "10.244.0.0/16",
|
9
|
-
"service_subnet": "",
|
10
|
-
"ipv4": "0.0.0.0",
|
11
|
-
"endpoint": "",
|
12
|
-
"tags": [
|
13
|
-
"test-k8",
|
14
|
-
"k8s",
|
15
|
-
"k8s:cluster-1-id"
|
16
|
-
],
|
17
|
-
"node_pools": [
|
18
|
-
{
|
19
|
-
"id": "node-pool-id",
|
20
|
-
"name": "node-pool-1",
|
21
|
-
"size": "s-1vcpu-1gb",
|
22
|
-
"count": 3,
|
23
|
-
"tags": [
|
24
|
-
"k8s",
|
25
|
-
"k8s:node-pool-id",
|
26
|
-
"k8s:worker",
|
27
|
-
"test-k8"
|
28
|
-
],
|
29
|
-
"nodes": [
|
30
|
-
{
|
31
|
-
"id": "node-1-id",
|
32
|
-
"name": "node-1",
|
33
|
-
"status": {
|
34
|
-
"state": "running"
|
35
|
-
},
|
36
|
-
"created_at": "2018-11-16T20:41:44Z",
|
37
|
-
"updated_at": "2018-11-16T20:44:27Z"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"id": "node-2-id",
|
41
|
-
"name": "node-2",
|
42
|
-
"status": {
|
43
|
-
"state": "running"
|
44
|
-
},
|
45
|
-
"created_at": "2018-11-16T20:41:44Z",
|
46
|
-
"updated_at": "2018-11-16T20:44:27Z"
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"id": "node-3-id",
|
50
|
-
"name": "node-3",
|
51
|
-
"status": {
|
52
|
-
"state": "running"
|
53
|
-
},
|
54
|
-
"created_at": "2018-11-16T20:41:44Z",
|
55
|
-
"updated_at": "2018-11-16T20:44:27Z"
|
56
|
-
}
|
57
|
-
]
|
58
|
-
}
|
59
|
-
],
|
60
|
-
"status": {
|
61
|
-
"state": "running"
|
62
|
-
},
|
63
|
-
"created_at": "2018-11-16T20:41:43Z",
|
64
|
-
"updated_at": "2018-11-16T20:44:27Z"
|
65
|
-
}
|
66
|
-
],
|
67
|
-
"meta": {
|
68
|
-
"total": 1
|
69
|
-
}
|
70
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"node_pool": {
|
3
|
-
"id": "f9f16e5a-83b8-4c9b-acf1-4f91492a6652",
|
4
|
-
"name": "k8s-1-12-1-do-2-nyc1-1542638764614-1",
|
5
|
-
"size": "s-1vcpu-1gb",
|
6
|
-
"count": 1,
|
7
|
-
"tags": [
|
8
|
-
"k8s",
|
9
|
-
"k8s:c28bf806-eba8-4a6d-a98f-8fd388740bd0",
|
10
|
-
"k8s:worker"
|
11
|
-
],
|
12
|
-
"nodes": [
|
13
|
-
{
|
14
|
-
"id": "1607ad61-2d9b-4366-9cb4-5ab6483a7e09",
|
15
|
-
"name": "blissful-antonelli-3u87",
|
16
|
-
"status": {
|
17
|
-
"state": "running"
|
18
|
-
},
|
19
|
-
"created_at": "2018-11-19T14:46:38Z",
|
20
|
-
"updated_at": "2018-11-19T14:56:42Z"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
}
|