class GenericContainer extends SingleContainer[org.testcontainers.containers.GenericContainer[_]]

Linear Supertypes
SingleContainer[org.testcontainers.containers.GenericContainer[_]], TestContainerProxy[org.testcontainers.containers.GenericContainer[_]], Container, Stoppable, Andable, Startable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenericContainer
  2. SingleContainer
  3. TestContainerProxy
  4. Container
  5. Stoppable
  6. Andable
  7. Startable
  8. AutoCloseable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GenericContainer(genericContainer: GenericContainer)
  2. new GenericContainer(dockerImage: DockerImage, exposedPorts: Seq[Int] = Seq(), env: Map[String, String] = Map(), command: Seq[String] = Seq(), classpathResourceMapping: Seq[FileSystemBind] = Seq(), waitStrategy: Option[WaitStrategy] = None, labels: Map[String, String] = Map.empty, tmpFsMapping: Map[String, String] = Map.empty, imagePullPolicy: Option[ImagePullPolicy] = None, fileSystemBind: Seq[FileSystemBind] = Seq(), startupCheckStrategy: Option[StartupCheckStrategy] = None)
  3. new GenericContainer(underlyingUnsafeContainer: org.testcontainers.containers.GenericContainer[_])

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def binds: Seq[Bind]
    Definition Classes
    SingleContainer
  6. def boundPortNumbers: Seq[Int]
    Definition Classes
    SingleContainer
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def close(): Unit
    Definition Classes
    Stoppable → AutoCloseable
  9. def command: Seq[String]
    Definition Classes
    SingleContainer
  10. def configure(configProvider: (org.testcontainers.containers.GenericContainer[_]) => Unit): GenericContainer.this.type
    Definition Classes
    SingleContainer
  11. implicit val container: org.testcontainers.containers.GenericContainer[_]
    Definition Classes
    GenericContainerTestContainerProxy
  12. def containerId: String
    Definition Classes
    SingleContainer
  13. def containerInfo: InspectContainerResponse
    Definition Classes
    SingleContainer
  14. def containerIpAddress: String
    Definition Classes
    SingleContainer
  15. def containerName: String
    Definition Classes
    SingleContainer
  16. def copyFileFromContainer[T](containerPath: String, f: (InputStream) => T): T
    Definition Classes
    SingleContainer
  17. def copyFileFromContainer(containerPath: String, destinationPath: String): Unit
    Definition Classes
    SingleContainer
  18. def copyFileToContainer(transferable: Transferable, containerPath: String): Unit
    Definition Classes
    SingleContainer
  19. def copyFileToContainer(mountableFile: MountableFile, containerPath: String): Unit
    Definition Classes
    SingleContainer
  20. def copyToFileContainerPathMap: Map[MountableFile, String]
    Definition Classes
    SingleContainer
  21. def createContainerCmdModifiers: Set[Consumer[CreateContainerCmd]]
    Definition Classes
    SingleContainer
  22. def dockerClient: DockerClient
    Definition Classes
    SingleContainer
  23. def env: Seq[String]
    Definition Classes
    SingleContainer
  24. def envMap: Map[String, String]
    Definition Classes
    SingleContainer
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  27. def execInContainer(outputCharset: Charset, commands: String*): ExecResult
    Definition Classes
    SingleContainer
  28. def execInContainer(commands: String*): ExecResult
    Definition Classes
    SingleContainer
  29. def exposedPorts: Seq[Int]
    Definition Classes
    SingleContainer
  30. def extraHosts: Seq[String]
    Definition Classes
    SingleContainer
  31. def foreach(f: (Stoppable) => Unit): Unit
    Definition Classes
    Andable
  32. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def getDependencies(): Set[Startable]
    Definition Classes
    Startable
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. def host: String
    Definition Classes
    SingleContainer
  36. def image: Future[String]
    Definition Classes
    SingleContainer
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def labels: Map[String, String]
    Definition Classes
    SingleContainer
  39. def livenessCheckPortNumbers: Set[Int]
    Definition Classes
    SingleContainer
  40. def logConsumers: Seq[Consumer[OutputFrame]]
    Definition Classes
    SingleContainer
  41. def logs(outputType: OutputType, outputTypes: OutputType*): String
    Definition Classes
    SingleContainer
  42. def logs: String
    Definition Classes
    SingleContainer
  43. def mappedPort(port: Int): Int
    Definition Classes
    SingleContainer
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def network: Network
    Definition Classes
    SingleContainer
  46. def networkAliases: Seq[String]
    Definition Classes
    SingleContainer
  47. def networkMode: String
    Definition Classes
    SingleContainer
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. def portBindings: Seq[String]
    Definition Classes
    SingleContainer
  51. def privilegedMode: Boolean
    Definition Classes
    SingleContainer
  52. def shmSize: Long
    Definition Classes
    SingleContainer
  53. def start(): Unit
    Definition Classes
    SingleContainer → Startable
  54. def startupAttempts: Int
    Definition Classes
    SingleContainer
  55. def startupCheckStrategy: StartupCheckStrategy
    Definition Classes
    SingleContainer
  56. def stop(): Unit
    Definition Classes
    SingleContainerStoppableAndable → Startable
  57. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  58. def testHostIpAddress: String
    Definition Classes
    SingleContainer
  59. def tmpFsMapping: Map[String, String]
    Definition Classes
    SingleContainer
  60. def toString(): String
    Definition Classes
    AnyRef → Any
  61. val underlyingUnsafeContainer: org.testcontainers.containers.GenericContainer[_]
    Definition Classes
    GenericContainerSingleContainer
  62. def volumesFroms: Seq[VolumesFrom]
    Definition Classes
    SingleContainer
  63. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  65. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  66. def workingDirectory: String
    Definition Classes
    SingleContainer

Deprecated Value Members

  1. def failed(e: Throwable)(implicit description: Description): Unit
    Definition Classes
    TestContainerProxyContainer
    Annotations
    @deprecated
    Deprecated

    Use stop and/or TestLifecycleAware.afterTest instead

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  3. def finished()(implicit description: Description): Unit
    Definition Classes
    TestContainerProxyContainer
    Annotations
    @deprecated
    Deprecated

    Use stop instead

  4. def linkedContainers: Map[String, LinkableContainer]
    Definition Classes
    SingleContainer
    Annotations
    @deprecated
    Deprecated

    See org.testcontainers.containers.Network

  5. def starting()(implicit description: Description): Unit
    Definition Classes
    TestContainerProxyContainer
    Annotations
    @deprecated
    Deprecated

    Use start instead

  6. def succeeded()(implicit description: Description): Unit
    Definition Classes
    TestContainerProxyContainer
    Annotations
    @deprecated
    Deprecated

    Use stop and/or TestLifecycleAware.afterTest instead

Inherited from SingleContainer[org.testcontainers.containers.GenericContainer[_]]

Inherited from TestContainerProxy[org.testcontainers.containers.GenericContainer[_]]

Inherited from Container

Inherited from Stoppable

Inherited from Andable

Inherited from Startable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped