case class TCPSocketAction(host: Optional[String] = Optional.Absent, port: IntOrString) extends Product with Serializable
TCPSocketAction describes an action based on opening a socket
- host
Optional: Host name to connect to, defaults to the pod IP.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TCPSocketAction
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
TCPSocketAction(host: Optional[String] = Optional.Absent, port: IntOrString)
- host
Optional: Host name to connect to, defaults to the pod IP.
Value Members
-
def
getHost: IO[K8sFailure, String]
Optional: Host name to connect to, defaults to the pod IP.
Optional: Host name to connect to, defaults to the pod IP.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPort: IO[K8sFailure, IntOrString]
Gets port.
Gets port.
This effect always succeeds, it is safe to use the field port directly.
- val host: Optional[String]
- val port: IntOrString