final case class ServicePort(port: Int, nodePort: Option[Int] = None, name: Option[String] = None, targetPort: Option[IntOrString] = None, protocol: Option[String] = None, appProtocol: Option[String] = None) extends Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServicePort
- 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
- val appProtocol: Option[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapAppProtocol(f: (String) => String): ServicePort
if appProtocol has a value, transforms to the result of function
- def mapName(f: (String) => String): ServicePort
if name has a value, transforms to the result of function
- def mapNodePort(f: (Int) => Int): ServicePort
if nodePort has a value, transforms to the result of function
- def mapPort(f: (Int) => Int): ServicePort
transforms port to result of function
- def mapProtocol(f: (String) => String): ServicePort
if protocol has a value, transforms to the result of function
- def mapTargetPort(f: (IntOrString) => IntOrString): ServicePort
if targetPort has a value, transforms to the result of function
- val name: Option[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodePort: Option[Int]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val port: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val protocol: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targetPort: Option[IntOrString]
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAppProtocol(value: String): ServicePort
Returns a new data with appProtocol set to new value
- def withName(value: String): ServicePort
Returns a new data with name set to new value
- def withNodePort(value: Int): ServicePort
Returns a new data with nodePort set to new value
- def withPort(value: Int): ServicePort
Returns a new data with port set to new value
- def withProtocol(value: String): ServicePort
Returns a new data with protocol set to new value
- def withTargetPort(value: IntOrString): ServicePort
Returns a new data with targetPort set to new value