c

com.dimafeng.testcontainers

SingleContainer

abstract class SingleContainer[T <: org.testcontainers.containers.GenericContainer[_]] extends TestContainerProxy[T]

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

Instance Constructors

  1. new SingleContainer()

Abstract Value Members

  1. implicit abstract def container: T
    Definition Classes
    TestContainerProxy
    Annotations
    @deprecated
    Deprecated

    (Since version v0.17.0) Please use reflective methods from the wrapper and configure method for creation

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

Deprecated Value Members

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

    (Since version v0.27.0) 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

    (Since version v0.27.0) Use stop instead

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

    (Since version v0.17.0) See org.testcontainers.containers.Network

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

    (Since version v0.27.0) Use start instead

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

    (Since version v0.27.0) Use stop and/or TestLifecycleAware.afterTest instead

Inherited from TestContainerProxy[T]

Inherited from Container

Inherited from Stoppable

Inherited from Andable

Inherited from Startable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped