class Rhea::Configuration

Attributes

command_types[RW]
container_options[RW]
default_command_type_key[RW]
default_image[RW]
env_vars[RW]
kube_api[RW]

Public Class Methods

new() click to toggle source
# File lib/rhea/kubernetes/configuration.rb, line 5
def initialize
  self.command_types = [
    {
      key: 'default',
      name: 'Default',
      format: '$INPUT'
    },
    {
      key: 'resque',
      name: 'Resque',
      format: 'QUEUES=$INPUT rake resque:work'
    },
    {
      key: 'sidekiq',
      name: 'Sidekiq',
      format: 'bundle exec sidekiq $INPUT'
    }
  ]
  self.container_options = {}
  self.default_command_type_key = 'default'
  self.default_image = nil
  self.env_vars = {}
  self.kube_api = {}
end