Class V1Endpoint
Endpoint represents a single logical "backend" implementing a service.
Assembly: KubernetesClient.dll
Syntax
public record V1Endpoint : IEquatable<V1Endpoint>
Constructors
View Source
V1Endpoint()
Declaration
View Source
V1Endpoint(V1Endpoint)
Declaration
protected V1Endpoint(V1Endpoint original)
Parameters
Properties
View Source
Addresses
addresses of this endpoint. For EndpointSlices of addressType "IPv4" or "IPv6",
the values are IP addresses in canonical form. The syntax and semantics of other
addressType values are not defined. This must contain at least one address but
no more than 100. EndpointSlices generated by the EndpointSlice controller will
always have exactly 1 address. No semantics are defined for additional addresses
beyond the first, and kube-proxy does not look at them.
Declaration
[JsonPropertyName("addresses")]
public IList<string> Addresses { get; set; }
Property Value
View Source
Conditions
conditions contains information about the current status of the endpoint.
Declaration
[JsonPropertyName("conditions")]
public V1EndpointConditions Conditions { get; set; }
Property Value
View Source
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.
Declaration
[JsonPropertyName("deprecatedTopology")]
public IDictionary<string, string> DeprecatedTopology { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Hints
hints contains information associated with how an endpoint should be consumed.
Declaration
[JsonPropertyName("hints")]
public V1EndpointHints Hints { get; set; }
Property Value
View Source
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.
Declaration
[JsonPropertyName("hostname")]
public string Hostname { get; set; }
Property Value
View Source
NodeName
nodeName represents the name of the Node hosting this endpoint. This can be used
to determine endpoints local to a Node.
Declaration
[JsonPropertyName("nodeName")]
public string NodeName { get; set; }
Property Value
View Source
TargetRef
targetRef is a reference to a Kubernetes object that represents this endpoint.
Declaration
[JsonPropertyName("targetRef")]
public V1ObjectReference TargetRef { get; set; }
Property Value
View Source
Zone
zone is the name of the Zone this endpoint exists in.
Declaration
[JsonPropertyName("zone")]
public string Zone { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1Endpoint?)
Declaration
public virtual bool Equals(V1Endpoint? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1Endpoint?, V1Endpoint?)
Declaration
public static bool operator ==(V1Endpoint? left, V1Endpoint? right)
Parameters
Returns
View Source
operator !=(V1Endpoint?, V1Endpoint?)
Declaration
public static bool operator !=(V1Endpoint? left, V1Endpoint? right)
Parameters
Returns
Implements