rancher-api
rancher-api copied to clipboard
Connect to Rancher API easily to provision VMs, deploy, watch and scale your containers in cloud. With Ruby.
Hi, I needed to upgrade some dependencies to use this project in a Rails 5.1 application. I also added mapping to Account, Auditlog, Credential, Stack in Rancher.
It is not possible to install `rancher-api` in a Rails 5 project, as it depends on `her`, which depends on `activemodel` 4 (see below). Also, I checked `her` and it...
Hi, I'm trying to get this to work via the rancher container exec api. It works fine from the command line ```bash sudo docker exec -i 3e8756acf56815459b7a50e36f889b1126792caf1fa14c6b7103678cfaf5d009 sh -c 'echo...
With the latest version, 0.5.2 I get the following error: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': /Library/Ruby/Gems/2.0.0/gems/rancher-api-0.5.2/lib/rancher/api/models/project.rb:13: syntax error, unexpected ')' (SyntaxError) /Library/Ruby/Gems/2.0.0/gems/rancher-api-0.5.2/lib/rancher/api/models/project.rb:20: syntax error, unexpected keyword_end, expecting end-of-input from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in`require' from /Library/Ruby/Gems/2.0.0/gems/rancher-api-0.5.2/lib/rancher/api/models.rb:8:in `'...
Not sure how to use the instance.logs, anyone else use it ?
This API is great, and I love the fact that it is ruby-friendly. How do I upload a yml, i.e. do the equivalent of rancher-compose create?