TCPSocketAction

io.k8s.api.core.v1.TCPSocketAction
See theTCPSocketAction companion object
final case class TCPSocketAction(port: IntOrString, host: Option[String])

TCPSocketAction describes an action based on opening a socket

Attributes

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

Members list

Value members

Concrete methods

def mapHost(f: String => String): TCPSocketAction

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

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

Attributes

Source
TCPSocketAction.scala

transforms port to result of function

transforms port to result of function

Attributes

Source
TCPSocketAction.scala
def withHost(value: String): TCPSocketAction

Returns a new data with host set to new value

Returns a new data with host set to new value

Attributes

Source
TCPSocketAction.scala

Returns a new data with port set to new value

Returns a new data with port set to new value

Attributes

Source
TCPSocketAction.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product