object DockerEnv
- Alphabetic
- By Inheritance
- DockerEnv
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
-
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
-
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
- def run(script: String, args: Seq[String], env: Map[String, String]): (Int, String)
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
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.