Packages

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

ServicePort contains information on service's port.

Source
ServicePort.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServicePort
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServicePort(port: Int, nodePort: Option[Int] = None, name: Option[String] = None, targetPort: Option[IntOrString] = None, protocol: Option[String] = None, appProtocol: Option[String] = None)

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. val appProtocol: Option[String]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def mapAppProtocol(f: (String) ⇒ String): ServicePort

    if appProtocol has a value, transforms to the result of function

  12. def mapName(f: (String) ⇒ String): ServicePort

    if name has a value, transforms to the result of function

  13. def mapNodePort(f: (Int) ⇒ Int): ServicePort

    if nodePort has a value, transforms to the result of function

  14. def mapPort(f: (Int) ⇒ Int): ServicePort

    transforms port to result of function

  15. def mapProtocol(f: (String) ⇒ String): ServicePort

    if protocol has a value, transforms to the result of function

  16. def mapTargetPort(f: (IntOrString) ⇒ IntOrString): ServicePort

    if targetPort has a value, transforms to the result of function

  17. val name: Option[String]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. val nodePort: Option[Int]
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val port: Int
  23. val protocol: Option[String]
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. val targetPort: Option[IntOrString]
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  29. def withAppProtocol(value: String): ServicePort

    Returns a new data with appProtocol set to new value

  30. def withName(value: String): ServicePort

    Returns a new data with name set to new value

  31. def withNodePort(value: Int): ServicePort

    Returns a new data with nodePort set to new value

  32. def withPort(value: Int): ServicePort

    Returns a new data with port set to new value

  33. def withProtocol(value: String): ServicePort

    Returns a new data with protocol set to new value

  34. def withTargetPort(value: IntOrString): ServicePort

    Returns a new data with targetPort set to new value

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped