ServicePort

io.k8s.api.core.v1.ServicePort
See theServicePort companion object
final case class ServicePort(port: Int, nodePort: Option[Int], name: Option[String], targetPort: Option[IntOrString], protocol: Option[String], appProtocol: Option[String])

ServicePort contains information on service's port.

Attributes

Companion:
object
Source:
ServicePort.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

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

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

Attributes

Source:
ServicePort.scala

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

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

Attributes

Source:
ServicePort.scala

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

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

Attributes

Source:
ServicePort.scala

transforms port to result of function

transforms port to result of function

Attributes

Source:
ServicePort.scala

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

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

Attributes

Source:
ServicePort.scala

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

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

Attributes

Source:
ServicePort.scala

Returns a new data with appProtocol set to new value

Returns a new data with appProtocol set to new value

Attributes

Source:
ServicePort.scala

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source:
ServicePort.scala

Returns a new data with nodePort set to new value

Returns a new data with nodePort set to new value

Attributes

Source:
ServicePort.scala
def withPort(value: Int): ServicePort

Returns a new data with port set to new value

Returns a new data with port set to new value

Attributes

Source:
ServicePort.scala

Returns a new data with protocol set to new value

Returns a new data with protocol set to new value

Attributes

Source:
ServicePort.scala

Returns a new data with targetPort set to new value

Returns a new data with targetPort set to new value

Attributes

Source:
ServicePort.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product