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.
- Alphabetic
- By Inheritance
- EndpointAddress
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
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.
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.
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.
-
def
getTargetRef: IO[K8sFailure, ObjectReference]
Gets targetRef.
Gets targetRef.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val hostname: Optional[String]
- val ip: String
- val nodeName: Optional[String]
- val targetRef: Optional[ObjectReference]