ContainerPort

io.k8s.api.core.v1.ContainerPort
See theContainerPort companion object
final case class ContainerPort(containerPort: Int, name: Option[String], hostPort: Option[Int], hostIP: Option[String], protocol: Option[String])

ContainerPort represents a network port in a single container.

Attributes

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

Members list

Concise view

Value members

Concrete methods

transforms containerPort to result of function

transforms containerPort to result of function

Attributes

Source:
ContainerPort.scala

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

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

Attributes

Source:
ContainerPort.scala

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

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

Attributes

Source:
ContainerPort.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:
ContainerPort.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:
ContainerPort.scala

Returns a new data with containerPort set to new value

Returns a new data with containerPort set to new value

Attributes

Source:
ContainerPort.scala

Returns a new data with hostIP set to new value

Returns a new data with hostIP set to new value

Attributes

Source:
ContainerPort.scala

Returns a new data with hostPort set to new value

Returns a new data with hostPort set to new value

Attributes

Source:
ContainerPort.scala

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source:
ContainerPort.scala

Returns a new data with protocol set to new value

Returns a new data with protocol set to new value

Attributes

Source:
ContainerPort.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product