Packages

object DockerEnv

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DockerEnv
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Instance(scriptDir: String, extraEnv: Map[String, String], scriptLogger: Logger) extends DockerEnv with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(scriptDir: String, workDir: String = DefaultWorkDir, logger: Logger = defaultLogger): Instance

    Creates a 'DockerEnv' for the given script location (e.g.

    Creates a 'DockerEnv' for the given script location (e.g. 'scripts/kafka').

    This will entail having to extract the scripts from the 'dockerenv' jar dependency under the 'workDir'

    scriptDir

    the relative path to the scripts (e.g. 'scripts/kafka')

    workDir

    the local working directory to extract the files to

    returns

    a new DockerEnv instance

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def kafka(workDir: String = DefaultWorkDir): Instance

    Convenience method for returning kafka services

    Convenience method for returning kafka services

    workDir

    the directory under which the docker run scripts should be extracted

    returns

    a kafka environment

  13. def mongo(workDir: String = DefaultWorkDir): Instance

    Convenience method for returning mongo services

    Convenience method for returning mongo services

    workDir

    the directory under which the docker run scripts should be extracted

    returns

    a mongo environment

  14. def mysql(workDir: String = DefaultWorkDir): Instance

    Convenience method for returning postgres services

    Convenience method for returning postgres services

    workDir

    the directory under which the docker run scripts should be extracted

    returns

    a mongo environment

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def orientDb(workDir: String = DefaultWorkDir): Instance

    Convenience method for returning orientdb services

    Convenience method for returning orientdb services

    workDir

    the directory under which the docker run scripts should be extracted

    returns

    a orientdb environment

  19. def parseScript(script: String, args: Seq[String], env: Map[String, String]): ProcessBuilder

    resolves the script and returns a process which will run in the script's parent directory

  20. def postgres(workDir: String = DefaultWorkDir): Instance

    Convenience method for returning postgres services

    Convenience method for returning postgres services

    workDir

    the directory under which the docker run scripts should be extracted

    returns

    a mongo environment

  21. def run(script: String, args: Seq[String], env: Map[String, String]): (Int, String)
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped