PortStatus

io.k8s.api.core.v1.PortStatus
See thePortStatus companion object
final case class PortStatus(port: Int, protocol: String, error: Option[String])

Attributes

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

Members list

Value members

Concrete methods

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

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

Attributes

Source
PortStatus.scala
def mapPort(f: Int => Int): PortStatus

transforms port to result of function

transforms port to result of function

Attributes

Source
PortStatus.scala

transforms protocol to result of function

transforms protocol to result of function

Attributes

Source
PortStatus.scala
def withError(value: String): PortStatus

Returns a new data with error set to new value

Returns a new data with error set to new value

Attributes

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

Returns a new data with port set to new value

Returns a new data with port set to new value

Attributes

Source
PortStatus.scala

Returns a new data with protocol set to new value

Returns a new data with protocol set to new value

Attributes

Source
PortStatus.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product