EndpointPort

io.k8s.api.discovery.v1.EndpointPort
See theEndpointPort companion object
final case class EndpointPort(appProtocol: Option[String], name: Option[String], port: Option[Int], protocol: Option[String])

EndpointPort represents a Port used by an EndpointSlice

Attributes

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

Members list

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
EndpointPort.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
EndpointPort.scala
def mapPort(f: Int => Int): EndpointPort

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

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

Attributes

Source
EndpointPort.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
EndpointPort.scala

Returns a new data with appProtocol set to new value

Returns a new data with appProtocol set to new value

Attributes

Source
EndpointPort.scala

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

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

Returns a new data with port set to new value

Returns a new data with port set to new value

Attributes

Source
EndpointPort.scala

Returns a new data with protocol set to new value

Returns a new data with protocol set to new value

Attributes

Source
EndpointPort.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product