awful 0.0.77 → 0.0.79
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awful/ec2.rb +1 -0
- data/lib/awful/ecs.rb +9 -0
- data/lib/awful/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0160d9a38b5cf708b56495419ba171274f98712c
|
4
|
+
data.tar.gz: 3c19711d7ff3bd05145713b9e889c91c35cc46dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc2831aae001b046a7f9e69eec664c52f14ac8eb98ca8a05048433083d39b6a7b81bb4b294e281b041626b6440b95592aab2ae74dd95ebf9bcbaab530eecb032
|
7
|
+
data.tar.gz: ca6e6f2a54d33c2305349e4d5770943cf6f85345b788b1053b36dcdde349c124d6ff0e65211a9301ffc9e2c018e25709254e3a62355b30f4857b2d624a30644a
|
data/lib/awful/ec2.rb
CHANGED
data/lib/awful/ecs.rb
CHANGED
@@ -131,6 +131,15 @@ module Awful
|
|
131
131
|
end
|
132
132
|
end
|
133
133
|
|
134
|
+
desc 'status CLUSTER TASKS', 'describe status for one or more task IDs/ARNs'
|
135
|
+
def status(cluster, *tasks)
|
136
|
+
ecs.describe_tasks(cluster: cluster, tasks: tasks).tasks.tap do |responses|
|
137
|
+
responses.each do |response|
|
138
|
+
puts YAML.dump(stringify_keys(response.to_h))
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
134
143
|
desc 'services CLUSTER', 'list services for a cluster'
|
135
144
|
method_option :long, aliases: '-l', default: false, desc: 'Long listing'
|
136
145
|
def services(cluster)
|
data/lib/awful/version.rb
CHANGED