Class V1EndpointHints
EndpointHints provides hints describing how an endpoint should be consumed.
Inheritance
V1EndpointHints
Assembly: KubernetesClient.dll
Syntax
public record V1EndpointHints : IEquatable<V1EndpointHints>
Constructors
View Source
V1EndpointHints()
Declaration
View Source
V1EndpointHints(V1EndpointHints)
Declaration
protected V1EndpointHints(V1EndpointHints original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
ForNodes
forNodes indicates the node(s) this endpoint should be consumed by when using
topology aware routing. May contain a maximum of 8 entries. This is an Alpha
feature and is only used when the PreferSameTrafficDistribution feature gate is
enabled.
Declaration
[JsonPropertyName("forNodes")]
public IList<V1ForNode> ForNodes { get; set; }
Property Value
View Source
ForZones
forZones indicates the zone(s) this endpoint should be consumed by when using
topology aware routing. May contain a maximum of 8 entries.
Declaration
[JsonPropertyName("forZones")]
public IList<V1ForZone> ForZones { 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(V1EndpointHints?)
Declaration
public virtual bool Equals(V1EndpointHints? 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 ==(V1EndpointHints?, V1EndpointHints?)
Declaration
public static bool operator ==(V1EndpointHints? left, V1EndpointHints? right)
Parameters
Returns
View Source
operator !=(V1EndpointHints?, V1EndpointHints?)
Declaration
public static bool operator !=(V1EndpointHints? left, V1EndpointHints? right)
Parameters
Returns
Implements