Module: GPUEater
- Defined in:
- lib/gpueater.rb,
lib/gpueater/version.rb
Defined Under Namespace
Classes: APIv1
Constant Summary collapse
- VERSION =
"1.0.2"
Class Method Summary collapse
Instance Method Summary collapse
-
#__________________________ ⇒ Object
@.
-
#__________network__________ ⇒ Object
@.
-
#__________storage__________ ⇒ Object
@.
-
#_________extensions__________ ⇒ Object
@.
-
#_________payment__________ ⇒ Object
@.
-
#_________special__________ ⇒ Object
@.
-
#_________subscription__________ ⇒ Object
@.
-
#cancel_transaction ⇒ Object
@.
-
#close_port(form) ⇒ Object
@.
-
#copy_file ⇒ Object
@.
-
#create_volume ⇒ Object
@.
-
#delete_file ⇒ Object
@.
-
#delete_volume ⇒ Object
@.
-
#file_list ⇒ Object
@.
-
#invoice_list ⇒ Object
@.
-
#live_migration ⇒ Object
@.
-
#login_instance ⇒ Object
@.
-
#make_directory ⇒ Object
@.
-
#make_invoice ⇒ Object
@.
-
#move_file ⇒ Object
@.
-
#network_description(form) ⇒ Object
@.
-
#open_port(form) ⇒ Object
@.
-
#port_list ⇒ Object
@.
-
#refresh_ipv4(form) ⇒ Object
@.
-
#renew_ipv4(form) ⇒ Object
@.
-
#subscribe_instance ⇒ Object
@.
-
#subscribe_network ⇒ Object
@.
-
#subscribe_storage ⇒ Object
@.
-
#subscription_instance_list ⇒ Object
@.
-
#subscription_invoice_list ⇒ Object
@.
-
#subscription_network_list ⇒ Object
@.
-
#subscription_storage_list ⇒ Object
@.
-
#synchronize_files ⇒ Object
@.
-
#transfer_volume ⇒ Object
@.
-
#tunnel ⇒ Object
@.
-
#unsubscribe_instance ⇒ Object
@.
-
#unsubscribe_network ⇒ Object
@.
-
#unsubscribe_storage ⇒ Object
@.
Class Method Details
.new ⇒ Object
@
287 288 289 |
# File 'lib/gpueater.rb', line 287 def self.new #@ return APIv1.new end |
Instance Method Details
#__________________________ ⇒ Object
@
282 |
# File 'lib/gpueater.rb', line 282 def __________________________;end |
#__________network__________ ⇒ Object
@
238 |
# File 'lib/gpueater.rb', line 238 def __________network__________;end |
#__________storage__________ ⇒ Object
@
247 |
# File 'lib/gpueater.rb', line 247 def __________storage__________;end |
#_________extensions__________ ⇒ Object
@
272 |
# File 'lib/gpueater.rb', line 272 def _________extensions__________;end |
#_________payment__________ ⇒ Object
@
267 |
# File 'lib/gpueater.rb', line 267 def _________payment__________;end |
#_________special__________ ⇒ Object
@
263 |
# File 'lib/gpueater.rb', line 263 def _________special__________;end |
#_________subscription__________ ⇒ Object
@
252 |
# File 'lib/gpueater.rb', line 252 def _________subscription__________;end |
#cancel_transaction ⇒ Object
@
265 |
# File 'lib/gpueater.rb', line 265 def cancel_transaction; raise "Not implemented yet"; end |
#close_port(form) ⇒ Object
@
241 |
# File 'lib/gpueater.rb', line 241 def close_port(form); func_post('/console/servers/delete_port',['instance_id','connection_id','port'],form); end |
#copy_file ⇒ Object
@
273 |
# File 'lib/gpueater.rb', line 273 def copy_file; raise "Not implemented yet"; end |
#create_volume ⇒ Object
@
248 |
# File 'lib/gpueater.rb', line 248 def create_volume; raise "Not implemented yet"; end |
#delete_file ⇒ Object
@
274 |
# File 'lib/gpueater.rb', line 274 def delete_file; raise "Not implemented yet"; end |
#delete_volume ⇒ Object
@
249 |
# File 'lib/gpueater.rb', line 249 def delete_volume; raise "Not implemented yet"; end |
#file_list ⇒ Object
@
277 |
# File 'lib/gpueater.rb', line 277 def file_list; raise "Not implemented yet"; end |
#invoice_list ⇒ Object
@
268 |
# File 'lib/gpueater.rb', line 268 def invoice_list; raise "Not implemented yet"; end |
#live_migration ⇒ Object
@
264 |
# File 'lib/gpueater.rb', line 264 def live_migration; raise "Not implemented yet"; end |
#login_instance ⇒ Object
@
279 |
# File 'lib/gpueater.rb', line 279 def login_instance; raise "Not implemented yet"; end |
#make_directory ⇒ Object
@
276 |
# File 'lib/gpueater.rb', line 276 def make_directory; raise "Not implemented yet"; end |
#make_invoice ⇒ Object
@
270 |
# File 'lib/gpueater.rb', line 270 def make_invoice; raise "Not implemented yet"; end |
#move_file ⇒ Object
@
275 |
# File 'lib/gpueater.rb', line 275 def move_file; raise "Not implemented yet"; end |
#network_description(form) ⇒ Object
@
244 |
# File 'lib/gpueater.rb', line 244 def network_description(form); func_get('/console/servers/instance_info',['instance_id'],form); end |
#open_port(form) ⇒ Object
@
240 |
# File 'lib/gpueater.rb', line 240 def open_port(form); func_post('/console/servers/add_port',['instance_id','connection_id','port'],form); end |
#port_list ⇒ Object
@
239 |
# File 'lib/gpueater.rb', line 239 def port_list; func_get('/console/servers/port_list'); end |
#refresh_ipv4(form) ⇒ Object
@
243 |
# File 'lib/gpueater.rb', line 243 def refresh_ipv4(form); func_post('/console/servers/refresh_ipv4',['instance_id'],form); end |
#renew_ipv4(form) ⇒ Object
@
242 |
# File 'lib/gpueater.rb', line 242 def renew_ipv4(form); func_post('/console/servers/renew_ipv4',['instance_id'],form); end |
#subscribe_instance ⇒ Object
@
256 |
# File 'lib/gpueater.rb', line 256 def subscribe_instance; raise "Not implemented yet"; end |
#subscribe_network ⇒ Object
@
260 |
# File 'lib/gpueater.rb', line 260 def subscribe_network; raise "Not implemented yet"; end |
#subscribe_storage ⇒ Object
@
258 |
# File 'lib/gpueater.rb', line 258 def subscribe_storage; raise "Not implemented yet"; end |
#subscription_instance_list ⇒ Object
@
253 |
# File 'lib/gpueater.rb', line 253 def subscription_instance_list; raise "Not implemented yet"; end |
#subscription_invoice_list ⇒ Object
@
269 |
# File 'lib/gpueater.rb', line 269 def subscription_invoice_list; raise "Not implemented yet"; end |
#subscription_network_list ⇒ Object
@
255 |
# File 'lib/gpueater.rb', line 255 def subscription_network_list; raise "Not implemented yet"; end |
#subscription_storage_list ⇒ Object
@
254 |
# File 'lib/gpueater.rb', line 254 def subscription_storage_list; raise "Not implemented yet"; end |
#synchronize_files ⇒ Object
@
278 |
# File 'lib/gpueater.rb', line 278 def synchronize_files; raise "Not implemented yet"; end |
#transfer_volume ⇒ Object
@
250 |
# File 'lib/gpueater.rb', line 250 def transfer_volume; raise "Not implemented yet"; end |
#tunnel ⇒ Object
@
280 |
# File 'lib/gpueater.rb', line 280 def tunnel; raise "Not implemented yet"; end |
#unsubscribe_instance ⇒ Object
@
257 |
# File 'lib/gpueater.rb', line 257 def unsubscribe_instance; raise "Not implemented yet"; end |
#unsubscribe_network ⇒ Object
@
261 |
# File 'lib/gpueater.rb', line 261 def unsubscribe_network; raise "Not implemented yet"; end |
#unsubscribe_storage ⇒ Object
@
259 |
# File 'lib/gpueater.rb', line 259 def unsubscribe_storage; raise "Not implemented yet"; end |