final case class ContainerPort(containerPort: Int, name: Option[String] = None, hostPort: Option[Int] = None, hostIP: Option[String] = None, protocol: Option[String] = None) extends Product with Serializable
ContainerPort represents a network port in a single container.
- Source
- ContainerPort.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ContainerPort
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val containerPort: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hostIP: Option[String]
- val hostPort: Option[Int]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapContainerPort(f: (Int) => Int): ContainerPort
transforms containerPort to result of function
- def mapHostIP(f: (String) => String): ContainerPort
if hostIP has a value, transforms to the result of function
- def mapHostPort(f: (Int) => Int): ContainerPort
if hostPort has a value, transforms to the result of function
- def mapName(f: (String) => String): ContainerPort
if name has a value, transforms to the result of function
- def mapProtocol(f: (String) => String): ContainerPort
if protocol has a value, transforms to the result of function
- val name: Option[String]
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- val protocol: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withContainerPort(value: Int): ContainerPort
Returns a new data with containerPort set to new value
- def withHostIP(value: String): ContainerPort
Returns a new data with hostIP set to new value
- def withHostPort(value: Int): ContainerPort
Returns a new data with hostPort set to new value
- def withName(value: String): ContainerPort
Returns a new data with name set to new value
- def withProtocol(value: String): ContainerPort
Returns a new data with protocol set to new value