Sha256: e2069ec9bf7d26e4703294a8f8622f8e78c7e3cd52ba1f7d36aee93de1aa7761

Contents?: true

Size: 785 Bytes

Versions: 16

Compression:

Stored size: 785 Bytes

Contents

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

      def to_s
        @status.downcase
      end
    end
  
    module CType
        ENVIRONMENT = MKIt::MKItCType.new(:environment)
        DOCKER_STORAGE = MKIt::MKItCType.new(:docker)
        LOCAL_STORAGE = MKIt::MKItCType.new(:local)

        NETWORK_SPECIFIC = MKIt::MKItCType.new(:specific)
        NETWORK_BRIDGE = MKIt::MKItCType.new(:bridge)
        TUN_INTERFACE = MKIt::MKItCType.new(:tun)
        TAP_INTERFACE = MKIt::MKItCType.new(:tap)
    end

    module Templates
      DOCKER_RUN = 'docker/docker_run.sh'
      DOCKER_BUILD = 'docker/docker_build.sh'
      HAPROXY = 'haproxy/xapp_haproxy.cfg'
      HAPROXY_DEFAULTS = 'haproxy/0000_defaults.cfg'
    end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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