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. Protected

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(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def elasticSearch(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 elasticSearch environment

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. 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

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

    Wraps the landoop fast-data-dev (which includes schema registry, etc)

  15. 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

  16. 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

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. 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

  21. 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

  22. 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

  23. def run(script: String, args: Seq[String], env: Map[String, String]): (Int, String)
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped