Class: Ebfly::ElasticBeanstalk
- Inherits:
-
Thor
- Object
- Thor
- Ebfly::ElasticBeanstalk
- Includes:
- Command
- Defined in:
- lib/ebfly/command/elasticbeanstalk.rb
Constant Summary
Constants included from Command
Command::PREDEFINED_SOLUTION_STACKS, Command::SUPPORTED_SOLUTION_STACKS
Instance Method Summary collapse
Methods included from Command
#debug, #eb, #env_name, #exist_command?, #run, #s3, #s3_bucket, #solution_stack, #style_err, #tier
Instance Method Details
#list_solution_stacks ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/ebfly/command/elasticbeanstalk.rb', line 6 def list_solution_stacks ret = run { eb.list_available_solution_stacks() } debug ret SUPPORTED_SOLUTION_STACKS.each do |sss| puts "" puts "=== #{sss} ===" stacks = ret[:solution_stacks].select do |ss| supported = false supported = true if ss.include? sss supported end puts stacks.sort end end |