Packages

case class EndpointAddress(hostname: Optional[String] = Optional.Absent, ip: String, nodeName: Optional[String] = Optional.Absent, targetRef: Optional[ObjectReference] = Optional.Absent) extends Product with Serializable

EndpointAddress is a tuple that describes single IP address.

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.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EndpointAddress
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EndpointAddress(hostname: Optional[String] = Optional.Absent, ip: String, nodeName: Optional[String] = Optional.Absent, targetRef: Optional[ObjectReference] = Optional.Absent)

    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.

Value Members

  1. 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.

  2. def getIp: IO[K8sFailure, String]

    The IP of this endpoint.

    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.

  3. def getNodeName: IO[K8sFailure, String]

    Optional: Node hosting this endpoint.

    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.

  4. def getTargetRef: IO[K8sFailure, ObjectReference]

    Gets targetRef.

    Gets targetRef.

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

  5. val hostname: Optional[String]
  6. val ip: String
  7. val nodeName: Optional[String]
  8. val targetRef: Optional[ObjectReference]