PortStatus

case class PortStatus(error: Optional[String], port: Int, protocol: String)
Value Params
error

Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names

  • cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.
port

Port is the port number of the service port of which status is recorded here

protocol

Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getError: IO[K8sFailure, String]

Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names

Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names

  • cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getPort: IO[K8sFailure, Int]

Port is the port number of the service port of which status is recorded here

Port is the port number of the service port of which status is recorded here

This effect always succeeds, it is safe to use the field port directly.

def getProtocol: IO[K8sFailure, String]

Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"

Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"

This effect always succeeds, it is safe to use the field protocol directly.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product