Sha256: 6393e418d2d54d6eaaabb08f0801cdf143d3257bd2c9be210db2ffb6cce0953b

Contents?: true

Size: 772 Bytes

Versions: 16

Compression:

Stored size: 772 Bytes

Contents

#
#
#
module MKIt
  class MKItStatus
    def initialize(status)
      @status = status
    end
    def to_s
      @status.to_s
    end
  end

  module Status
    # APP
    CREATED   = 'CREATED'
    CREATING  = 'CREATING'
    DEPLOYING = 'DEPLOYING'
    DEPLOYED  = 'DEPLOYED'
    PENDING   = 'PENDING'
    DEGRATED  = 'DEGRATED'

    # network
    RESERVED = 'RESERVED'
    IN_USE   = 'IN_USE'
    EXPIRED  = 'EXPIRED'

    # pods
    STARTING = 'STARTING'
    RUNNING  = 'RUNNING'
    STOPPED  = 'STOPPED'
    STOPING  = 'STOPING'
    PAUSED   = 'PAUSED'

    # Service
    RESTARTING = 'RESTARTING'
    UPDATING   = 'UPDATING'
  end

  module PoolStatus
    
    RESERVED = 'RESERVED'
    IN_USE   = 'IN_USE'
    EXPIRED  = 'EXPIRED'
    EXAUSTED = 'EXAUSTED'
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mkit-0.9.0 lib/mkit/status.rb
mkit-0.8.0 lib/mkit/status.rb
mkit-0.7.2 lib/mkit/status.rb
mkit-0.7.1 lib/mkit/status.rb
mkit-0.7.0 lib/mkit/status.rb
mkit-0.6.3 lib/mkit/status.rb
mkit-0.6.2 lib/mkit/status.rb
mkit-0.6.1 lib/mkit/status.rb
mkit-0.6.0 lib/mkit/status.rb
mkit-0.5.0 lib/mkit/status.rb
mkit-0.4.3 lib/mkit/status.rb
mkit-0.4.2 lib/mkit/status.rb
mkit-0.4.1 lib/mkit/status.rb
mkit-0.4.0 lib/mkit/status.rb
mkit-0.3.0 lib/mkit/status.rb
mkit-0.2.0 lib/mkit/status.rb