EndpointAddress

case class EndpointAddress(hostname: Optional[String], ip: String, nodeName: Optional[String], targetRef: Optional[ObjectReference])

EndpointAddress is a tuple that describes single IP address.

EndpointAddress is a tuple that describes single IP address.

Value Params
hostname

The Hostname of this endpoint

ip

The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.

nodeName

Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.

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

Value members

Concrete methods

def getHostname: IO[K8sFailure, String]

The Hostname of this endpoint

The Hostname of this endpoint

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

def getIp: IO[K8sFailure, String]

The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.

The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.

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

def getNodeName: IO[K8sFailure, String]

Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.

Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.

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

Gets targetRef.

Gets targetRef.

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

Inherited methods

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