Sha256: 4b6371552c3a8b012eda99eaec86fa6ae7d382187d341aa8dbf9e78af61ed529

Contents?: true

Size: 659 Bytes

Versions: 1

Compression:

Stored size: 659 Bytes

Contents

# frozen_string_literal: true

require "docker"
require "logger"
require "open3"
require "uri"
require "testcontainers/docker_container"
require_relative "testcontainers/version"

module Testcontainers
  class Error < StandardError; end

  class ConnectionError < Error; end

  class NotFoundError < Error; end

  class TimeoutError < Error; end

  class ContainerNotStartedError < Error; end

  class HealthcheckNotSupportedError < Error; end

  class PortNotMappedError < Error; end

  class ContainerLaunchException < Error; end

  class << self
    attr_writer :logger

    def logger
      @logger ||= Logger.new($stdout, level: :info)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
testcontainers-core-0.2.0 lib/testcontainers.rb