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
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
- ServicePort.scala
if name has a value, transforms to the result of function
if nodePort has a value, transforms to the result of function
transforms port to result of function
if protocol has a value, transforms to the result of function
if targetPort has a value, transforms to the result of function
Returns a new data with appProtocol set to new value
Returns a new data with name set to new value
Returns a new data with nodePort set to new value
Returns a new data with port set to new value
Returns a new data with protocol set to new value
Returns a new data with targetPort set to new value
In this article