ServiceBackendPort

io.k8s.api.networking.v1.ServiceBackendPort
See theServiceBackendPort companion object
final case class ServiceBackendPort(name: Option[String], number: Option[Int])

ServiceBackendPort is the service port being referenced.

Attributes

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

Members list

Value members

Concrete methods

def mapName(f: String => String): ServiceBackendPort

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

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

Attributes

Source
ServiceBackendPort.scala
def mapNumber(f: Int => Int): ServiceBackendPort

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

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

Attributes

Source
ServiceBackendPort.scala
def withName(value: String): ServiceBackendPort

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
ServiceBackendPort.scala
def withNumber(value: Int): ServiceBackendPort

Returns a new data with number set to new value

Returns a new data with number set to new value

Attributes

Source
ServiceBackendPort.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product