IngressPortStatus

io.k8s.api.networking.v1.IngressPortStatus
See theIngressPortStatus companion object
final case class IngressPortStatus(port: Int, protocol: String, error: Option[String])

IngressPortStatus represents the error condition of a service port

Attributes

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

Members list

Value members

Concrete methods

def mapError(f: String => String): IngressPortStatus

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

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

Attributes

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

transforms port to result of function

transforms port to result of function

Attributes

Source
IngressPortStatus.scala
def mapProtocol(f: String => String): IngressPortStatus

transforms protocol to result of function

transforms protocol to result of function

Attributes

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

Returns a new data with error set to new value

Returns a new data with error set to new value

Attributes

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

Returns a new data with port set to new value

Returns a new data with port set to new value

Attributes

Source
IngressPortStatus.scala
def withProtocol(value: String): IngressPortStatus

Returns a new data with protocol set to new value

Returns a new data with protocol set to new value

Attributes

Source
IngressPortStatus.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product