Sha256: 6238b3d7dfea6e3da782ae1b0546028f44828f41b9815599af4167c639d6a6f3

Contents?: true

Size: 905 Bytes

Versions: 12

Compression:

Stored size: 905 Bytes

Contents

module Opsicle
  module Monitor
    module Translatable

      def translate
        {
          program: "Opsicle Stack Monitor v#{Opsicle::VERSION}",
          menu: {
            inactive: {
              deployments: "(d)eployments",
              instances: "(i)nstances",
              apps: "(a)pps",
              help: "(h)elp"
            },
            active: {
              deployments: "DEPLOYMENTS",
              instances: "INSTANCES",
              apps: "APPS",
              help: "HELP"
            },
          },
          heading: {
            status: "STATUS",
            created_at: "STARTED",
            completed_at: "COMPLETED",
            user: "USER",
            command: "COMMAND",
            hostname: "HOSTNAME",
            zone: "AZ",
            ip: "IP ADDRESS",
            ec2_instance_id: "EC2 INSTANCE ID"
          }
        }
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
opsicle-0.11.0 lib/opsicle/monitor/translatable.rb
opsicle-0.10.0 lib/opsicle/monitor/translatable.rb
opsicle-0.9.0 lib/opsicle/monitor/translatable.rb
opsicle-0.8.2 lib/opsicle/monitor/translatable.rb
opsicle-0.8.1 lib/opsicle/monitor/translatable.rb
opsicle-0.8.0 lib/opsicle/monitor/translatable.rb
opsicle-0.7.1 lib/opsicle/monitor/translatable.rb
opsicle-0.7.0 lib/opsicle/monitor/translatable.rb
opsicle-0.6.0 lib/opsicle/monitor/translatable.rb
opsicle-0.5.1 lib/opsicle/monitor/translatable.rb
opsicle-0.5.0 lib/opsicle/monitor/translatable.rb
opsicle-0.4.2 lib/opsicle/monitor/translatable.rb