ServiceSpec

io.k8s.api.core.v1.ServiceSpec
See theServiceSpec companion object
final case class ServiceSpec(sessionAffinityConfig: Option[SessionAffinityConfig], loadBalancerSourceRanges: Option[Seq[String]], sessionAffinity: Option[String], clusterIPs: Option[Seq[String]], externalTrafficPolicy: Option[String], loadBalancerIP: Option[String], clusterIP: Option[String], ports: Option[Seq[ServicePort]], healthCheckNodePort: Option[Int], allocateLoadBalancerNodePorts: Option[Boolean], externalIPs: Option[Seq[String]], ipFamilies: Option[Seq[String]], internalTrafficPolicy: Option[String], externalName: Option[String], ipFamilyPolicy: Option[String], `type`: Option[String], selector: Option[Map[String, String]], loadBalancerClass: Option[String], publishNotReadyAddresses: Option[Boolean])

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

Attributes

Companion
object
Source
ServiceSpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addClusterIPs(newValues: String*): ServiceSpec

Appends new values to clusterIPs

Appends new values to clusterIPs

Attributes

Source
ServiceSpec.scala
def addExternalIPs(newValues: String*): ServiceSpec

Appends new values to externalIPs

Appends new values to externalIPs

Attributes

Source
ServiceSpec.scala
def addIpFamilies(newValues: String*): ServiceSpec

Appends new values to ipFamilies

Appends new values to ipFamilies

Attributes

Source
ServiceSpec.scala
def addLoadBalancerSourceRanges(newValues: String*): ServiceSpec

Appends new values to loadBalancerSourceRanges

Appends new values to loadBalancerSourceRanges

Attributes

Source
ServiceSpec.scala
def addPorts(newValues: ServicePort*): ServiceSpec

Appends new values to ports

Appends new values to ports

Attributes

Source
ServiceSpec.scala
def addSelector(newValues: (String, String)*): ServiceSpec

Adds new values to selector

Adds new values to selector

Attributes

Source
ServiceSpec.scala
def mapAllocateLoadBalancerNodePorts(f: Boolean => Boolean): ServiceSpec

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

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

Attributes

Source
ServiceSpec.scala
def mapClusterIP(f: String => String): ServiceSpec

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

Source
ServiceSpec.scala
def mapExternalName(f: String => String): ServiceSpec

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

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

Attributes

Source
ServiceSpec.scala
def mapExternalTrafficPolicy(f: String => String): ServiceSpec

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

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

Attributes

Source
ServiceSpec.scala
def mapHealthCheckNodePort(f: Int => Int): ServiceSpec

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

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

Attributes

Source
ServiceSpec.scala
def mapInternalTrafficPolicy(f: String => String): ServiceSpec

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

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

Attributes

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

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

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

Attributes

Source
ServiceSpec.scala
def mapIpFamilyPolicy(f: String => String): ServiceSpec

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

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

Attributes

Source
ServiceSpec.scala
def mapLoadBalancerClass(f: String => String): ServiceSpec

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

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

Attributes

Source
ServiceSpec.scala
def mapLoadBalancerIP(f: String => String): ServiceSpec

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

Source
ServiceSpec.scala
def mapPublishNotReadyAddresses(f: Boolean => Boolean): ServiceSpec

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

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

Attributes

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

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

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

Attributes

Source
ServiceSpec.scala
def mapSessionAffinity(f: String => String): ServiceSpec

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

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

Attributes

Source
ServiceSpec.scala

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

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

Attributes

Source
ServiceSpec.scala
def mapType(f: String => String): ServiceSpec

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

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

Attributes

Source
ServiceSpec.scala

Returns a new data with allocateLoadBalancerNodePorts set to new value

Returns a new data with allocateLoadBalancerNodePorts set to new value

Attributes

Source
ServiceSpec.scala
def withClusterIP(value: String): ServiceSpec

Returns a new data with clusterIP set to new value

Returns a new data with clusterIP set to new value

Attributes

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

Returns a new data with clusterIPs set to new value

Returns a new data with clusterIPs set to new value

Attributes

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

Returns a new data with externalIPs set to new value

Returns a new data with externalIPs set to new value

Attributes

Source
ServiceSpec.scala
def withExternalName(value: String): ServiceSpec

Returns a new data with externalName set to new value

Returns a new data with externalName set to new value

Attributes

Source
ServiceSpec.scala

Returns a new data with externalTrafficPolicy set to new value

Returns a new data with externalTrafficPolicy set to new value

Attributes

Source
ServiceSpec.scala

Returns a new data with healthCheckNodePort set to new value

Returns a new data with healthCheckNodePort set to new value

Attributes

Source
ServiceSpec.scala

Returns a new data with internalTrafficPolicy set to new value

Returns a new data with internalTrafficPolicy set to new value

Attributes

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

Returns a new data with ipFamilies set to new value

Returns a new data with ipFamilies set to new value

Attributes

Source
ServiceSpec.scala
def withIpFamilyPolicy(value: String): ServiceSpec

Returns a new data with ipFamilyPolicy set to new value

Returns a new data with ipFamilyPolicy set to new value

Attributes

Source
ServiceSpec.scala
def withLoadBalancerClass(value: String): ServiceSpec

Returns a new data with loadBalancerClass set to new value

Returns a new data with loadBalancerClass set to new value

Attributes

Source
ServiceSpec.scala
def withLoadBalancerIP(value: String): ServiceSpec

Returns a new data with loadBalancerIP set to new value

Returns a new data with loadBalancerIP set to new value

Attributes

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

Returns a new data with loadBalancerSourceRanges set to new value

Returns a new data with loadBalancerSourceRanges set to new value

Attributes

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

Returns a new data with ports set to new value

Returns a new data with ports set to new value

Attributes

Source
ServiceSpec.scala

Returns a new data with publishNotReadyAddresses set to new value

Returns a new data with publishNotReadyAddresses set to new value

Attributes

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

Returns a new data with selector set to new value

Returns a new data with selector set to new value

Attributes

Source
ServiceSpec.scala
def withSessionAffinity(value: String): ServiceSpec

Returns a new data with sessionAffinity set to new value

Returns a new data with sessionAffinity set to new value

Attributes

Source
ServiceSpec.scala

Returns a new data with sessionAffinityConfig set to new value

Returns a new data with sessionAffinityConfig set to new value

Attributes

Source
ServiceSpec.scala
def withType(value: String): ServiceSpec

Returns a new data with type set to new value

Returns a new data with type set to new value

Attributes

Source
ServiceSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product