ProvidedContainer

interface ProvidedContainer

Interface describing a container, can be backed either by a testcontainer or a ci-provided container

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getMappedPort
Link copied to clipboard
abstract 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
abstract fun start()
Start the container, if applicable
stop
Link copied to clipboard
abstract fun stop()
Stop the container, if applicable
toString
Link copied to clipboard
open fun toString(): String

Properties

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

Inheritors

GitlabCiProvidedContainer
Link copied to clipboard
TestContainersProvidedContainer
Link copied to clipboard