case class Endpoint(addresses: Vector[String], conditions: Optional[EndpointConditions] = Optional.Absent, deprecatedTopology: Optional[Map[String, String]] = Optional.Absent, hints: Optional[EndpointHints] = Optional.Absent, hostname: Optional[String] = Optional.Absent, nodeName: Optional[String] = Optional.Absent, targetRef: Optional[ObjectReference] = Optional.Absent, zone: Optional[String] = Optional.Absent) extends Product with Serializable
Endpoint represents a single logical "backend" implementing a service.
- addresses
addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.
- deprecatedTopology
deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.
- hostname
hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.
- nodeName
nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.
- zone
zone is the name of the Zone this endpoint exists in.
- Alphabetic
- By Inheritance
- Endpoint
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Endpoint(addresses: Vector[String], conditions: Optional[EndpointConditions] = Optional.Absent, deprecatedTopology: Optional[Map[String, String]] = Optional.Absent, hints: Optional[EndpointHints] = Optional.Absent, hostname: Optional[String] = Optional.Absent, nodeName: Optional[String] = Optional.Absent, targetRef: Optional[ObjectReference] = Optional.Absent, zone: Optional[String] = Optional.Absent)
- addresses
addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.
- deprecatedTopology
deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.
- hostname
hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.
- nodeName
nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.
- zone
zone is the name of the Zone this endpoint exists in.
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
- val addresses: Vector[String]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val conditions: Optional[EndpointConditions]
- val deprecatedTopology: Optional[Map[String, String]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
getAddresses: IO[K8sFailure, Vector[String]]
addresses of this endpoint.
addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.
This effect always succeeds, it is safe to use the field addresses directly.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getConditions: IO[K8sFailure, EndpointConditions]
Gets conditions.
Gets conditions.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getDeprecatedTopology: IO[K8sFailure, Map[String, String]]
deprecatedTopology contains topology information part of the v1beta1 API.
deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getHints: IO[K8sFailure, EndpointHints]
Gets hints.
Gets hints.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getHostname: IO[K8sFailure, String]
hostname of this endpoint.
hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getNodeName: IO[K8sFailure, String]
nodeName represents the name of the Node hosting this endpoint.
nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.
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.
-
def
getZone: IO[K8sFailure, String]
zone is the name of the Zone this endpoint exists in.
zone is the name of the Zone this endpoint exists in.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val hints: Optional[EndpointHints]
- val hostname: Optional[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( ... )
- val zone: Optional[String]
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated