TestContainersProvidedContainer

class TestContainersProvidedContainer<T : GenericContainer<T>>(container: T) : ProvidedContainer

Wrapper wrapping a local container

Constructors

TestContainersProvidedContainer
Link copied to clipboard
fun <T : GenericContainer<T>> TestContainersProvidedContainer(container: T)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getMappedPort
Link copied to clipboard
open override fun getMappedPort(originalPort: Int): Int
Get the mapped port for a specific original port
hashCode
Link copied to clipboard
open fun hashCode(): Int
start
Link copied to clipboard
open override fun start()
Start the container, if applicable
stop
Link copied to clipboard
open override fun stop()
Stop the container, if applicable
toString
Link copied to clipboard
open fun toString(): String

Properties

address
Link copied to clipboard
open override val address: InetAddress
Address for the container