Packages

final case class ServiceSpec(sessionAffinityConfig: Option[SessionAffinityConfig] = None, loadBalancerSourceRanges: Option[Seq[String]] = None, sessionAffinity: Option[String] = None, clusterIPs: Option[Seq[String]] = None, externalTrafficPolicy: Option[String] = None, loadBalancerIP: Option[String] = None, clusterIP: Option[String] = None, ports: Option[Seq[ServicePort]] = None, healthCheckNodePort: Option[Int] = None, allocateLoadBalancerNodePorts: Option[Boolean] = None, externalIPs: Option[Seq[String]] = None, ipFamilies: Option[Seq[String]] = None, internalTrafficPolicy: Option[String] = None, externalName: Option[String] = None, ipFamilyPolicy: Option[String] = None, type: Option[String] = None, selector: Option[Map[String, String]] = None, loadBalancerClass: Option[String] = None, publishNotReadyAddresses: Option[Boolean] = None) extends Product with Serializable

ServiceSpec describes the attributes that a user creates on a service.

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

Instance Constructors

  1. new ServiceSpec(sessionAffinityConfig: Option[SessionAffinityConfig] = None, loadBalancerSourceRanges: Option[Seq[String]] = None, sessionAffinity: Option[String] = None, clusterIPs: Option[Seq[String]] = None, externalTrafficPolicy: Option[String] = None, loadBalancerIP: Option[String] = None, clusterIP: Option[String] = None, ports: Option[Seq[ServicePort]] = None, healthCheckNodePort: Option[Int] = None, allocateLoadBalancerNodePorts: Option[Boolean] = None, externalIPs: Option[Seq[String]] = None, ipFamilies: Option[Seq[String]] = None, internalTrafficPolicy: Option[String] = None, externalName: Option[String] = None, ipFamilyPolicy: Option[String] = None, type: Option[String] = None, selector: Option[Map[String, String]] = None, loadBalancerClass: Option[String] = None, publishNotReadyAddresses: Option[Boolean] = 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. def addClusterIPs(newValues: String*): ServiceSpec

    Appends new values to clusterIPs

  5. def addExternalIPs(newValues: String*): ServiceSpec

    Appends new values to externalIPs

  6. def addIpFamilies(newValues: String*): ServiceSpec

    Appends new values to ipFamilies

  7. def addLoadBalancerSourceRanges(newValues: String*): ServiceSpec

    Appends new values to loadBalancerSourceRanges

  8. def addPorts(newValues: ServicePort*): ServiceSpec

    Appends new values to ports

  9. def addSelector(newValues: (String, String)*): ServiceSpec

    Adds new values to selector

  10. val allocateLoadBalancerNodePorts: Option[Boolean]
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. val clusterIP: Option[String]
  14. val clusterIPs: Option[Seq[String]]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val externalIPs: Option[Seq[String]]
  17. val externalName: Option[String]
  18. val externalTrafficPolicy: Option[String]
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. val healthCheckNodePort: Option[Int]
  22. val internalTrafficPolicy: Option[String]
  23. val ipFamilies: Option[Seq[String]]
  24. val ipFamilyPolicy: Option[String]
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val loadBalancerClass: Option[String]
  27. val loadBalancerIP: Option[String]
  28. val loadBalancerSourceRanges: Option[Seq[String]]
  29. def mapAllocateLoadBalancerNodePorts(f: (Boolean) => Boolean): ServiceSpec

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

  30. def mapClusterIP(f: (String) => String): ServiceSpec

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

  31. def mapClusterIPs(f: (Seq[String]) => Seq[String]): ServiceSpec

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

  32. def mapExternalIPs(f: (Seq[String]) => Seq[String]): ServiceSpec

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

  33. def mapExternalName(f: (String) => String): ServiceSpec

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

  34. def mapExternalTrafficPolicy(f: (String) => String): ServiceSpec

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

  35. def mapHealthCheckNodePort(f: (Int) => Int): ServiceSpec

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

  36. def mapInternalTrafficPolicy(f: (String) => String): ServiceSpec

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

  37. def mapIpFamilies(f: (Seq[String]) => Seq[String]): ServiceSpec

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

  38. def mapIpFamilyPolicy(f: (String) => String): ServiceSpec

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

  39. def mapLoadBalancerClass(f: (String) => String): ServiceSpec

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

  40. def mapLoadBalancerIP(f: (String) => String): ServiceSpec

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

  41. def mapLoadBalancerSourceRanges(f: (Seq[String]) => Seq[String]): ServiceSpec

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

  42. def mapPorts(f: (Seq[ServicePort]) => Seq[ServicePort]): ServiceSpec

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

  43. def mapPublishNotReadyAddresses(f: (Boolean) => Boolean): ServiceSpec

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

  44. def mapSelector(f: (Map[String, String]) => Map[String, String]): ServiceSpec

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

  45. def mapSessionAffinity(f: (String) => String): ServiceSpec

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

  46. def mapSessionAffinityConfig(f: (SessionAffinityConfig) => SessionAffinityConfig): ServiceSpec

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

  47. def mapType(f: (String) => String): ServiceSpec

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

  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. val ports: Option[Seq[ServicePort]]
  52. def productElementNames: Iterator[String]
    Definition Classes
    Product
  53. val publishNotReadyAddresses: Option[Boolean]
  54. val selector: Option[Map[String, String]]
  55. val sessionAffinity: Option[String]
  56. val sessionAffinityConfig: Option[SessionAffinityConfig]
  57. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  58. val type: Option[String]
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  62. def withAllocateLoadBalancerNodePorts(value: Boolean): ServiceSpec

    Returns a new data with allocateLoadBalancerNodePorts set to new value

  63. def withClusterIP(value: String): ServiceSpec

    Returns a new data with clusterIP set to new value

  64. def withClusterIPs(value: Seq[String]): ServiceSpec

    Returns a new data with clusterIPs set to new value

  65. def withExternalIPs(value: Seq[String]): ServiceSpec

    Returns a new data with externalIPs set to new value

  66. def withExternalName(value: String): ServiceSpec

    Returns a new data with externalName set to new value

  67. def withExternalTrafficPolicy(value: String): ServiceSpec

    Returns a new data with externalTrafficPolicy set to new value

  68. def withHealthCheckNodePort(value: Int): ServiceSpec

    Returns a new data with healthCheckNodePort set to new value

  69. def withInternalTrafficPolicy(value: String): ServiceSpec

    Returns a new data with internalTrafficPolicy set to new value

  70. def withIpFamilies(value: Seq[String]): ServiceSpec

    Returns a new data with ipFamilies set to new value

  71. def withIpFamilyPolicy(value: String): ServiceSpec

    Returns a new data with ipFamilyPolicy set to new value

  72. def withLoadBalancerClass(value: String): ServiceSpec

    Returns a new data with loadBalancerClass set to new value

  73. def withLoadBalancerIP(value: String): ServiceSpec

    Returns a new data with loadBalancerIP set to new value

  74. def withLoadBalancerSourceRanges(value: Seq[String]): ServiceSpec

    Returns a new data with loadBalancerSourceRanges set to new value

  75. def withPorts(value: Seq[ServicePort]): ServiceSpec

    Returns a new data with ports set to new value

  76. def withPublishNotReadyAddresses(value: Boolean): ServiceSpec

    Returns a new data with publishNotReadyAddresses set to new value

  77. def withSelector(value: Map[String, String]): ServiceSpec

    Returns a new data with selector set to new value

  78. def withSessionAffinity(value: String): ServiceSpec

    Returns a new data with sessionAffinity set to new value

  79. def withSessionAffinityConfig(value: SessionAffinityConfig): ServiceSpec

    Returns a new data with sessionAffinityConfig set to new value

  80. def withType(value: String): ServiceSpec

    Returns a new data with type set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped