Sha256: 480403ca030d3e2545c38ea14f6a52d7011b4331790f16881ba406916e275c6e

Contents?: true

Size: 271 Bytes

Versions: 101

Compression:

Stored size: 271 Bytes

Contents

module Serverspec
  module Type
    class Host < Base
      def resolvable?(type)
        backend.check_resolvable(@name, type)
      end

      def reachable?(port, proto, timeout)
        backend.check_reachable(@name, port, proto, timeout)
      end
    end
  end
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
serverspec-0.10.0 lib/serverspec/type/host.rb
serverspec-0.9.8 lib/serverspec/type/host.rb
serverspec-0.9.7 lib/serverspec/type/host.rb
serverspec-0.9.6 lib/serverspec/type/host.rb
serverspec-0.9.5 lib/serverspec/type/host.rb
serverspec-0.9.4 lib/serverspec/type/host.rb
serverspec-0.9.3 lib/serverspec/type/host.rb
serverspec-0.9.2 lib/serverspec/type/host.rb
serverspec-0.9.1 lib/serverspec/type/host.rb
serverspec-0.9.0 lib/serverspec/type/host.rb
serverspec-0.8.1 lib/serverspec/type/host.rb
serverspec-0.8.0 lib/serverspec/type/host.rb
serverspec-0.7.13 lib/serverspec/type/host.rb
serverspec-0.7.12 lib/serverspec/type/host.rb
serverspec-0.7.11 lib/serverspec/type/host.rb
serverspec-0.7.10 lib/serverspec/type/host.rb
serverspec-0.7.9 lib/serverspec/type/host.rb
serverspec-0.7.8 lib/serverspec/type/host.rb
serverspec-0.7.7 lib/serverspec/type/host.rb
serverspec-0.7.6 lib/serverspec/type/host.rb