Class: Reschedule::Heapster::Api
- Inherits:
-
Object
- Object
- Reschedule::Heapster::Api
- Defined in:
- lib/reschedule/heapster/api.rb
Instance Method Summary collapse
Instance Method Details
#get_node_stats(node_name) ⇒ Object
4 5 6 |
# File 'lib/reschedule/heapster/api.rb', line 4 def get_node_stats(node_name) get("model/nodes/#{node_name}/stats/") end |
#get_nodes ⇒ Object
8 9 10 |
# File 'lib/reschedule/heapster/api.rb', line 8 def get_nodes get('model/nodes/') end |