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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeName: Optional[String]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val targetRef: Optional[ObjectReference]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated