Class V1EndpointConditions
EndpointConditions represents the current condition of an endpoint.
Inheritance
V1EndpointConditions
Assembly: KubernetesClient.dll
Syntax
public record V1EndpointConditions : IEquatable<V1EndpointConditions>
Constructors
V1EndpointConditions()
Declaration
public V1EndpointConditions()
V1EndpointConditions(V1EndpointConditions)
Declaration
protected V1EndpointConditions(V1EndpointConditions original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Ready
ready indicates that this endpoint is ready to receive traffic, according to
whatever system is managing the endpoint. A nil value should be interpreted as
"true". In general, an endpoint should be marked ready if it is serving and not
terminating, though this can be overridden in some cases, such as when the
associated Service has set the publishNotReadyAddresses flag.
Declaration
[JsonPropertyName("ready")]
public bool? Ready { get; set; }
Property Value
Serving
serving indicates that this endpoint is able to receive traffic, according to
whatever system is managing the endpoint. For endpoints backed by pods, the
EndpointSlice controller will mark the endpoint as serving if the pod's Ready
condition is True. A nil value should be interpreted as "true".
Declaration
[JsonPropertyName("serving")]
public bool? Serving { get; set; }
Property Value
Terminating
terminating indicates that this endpoint is terminating. A nil value should be
interpreted as "false".
Declaration
[JsonPropertyName("terminating")]
public bool? Terminating { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1EndpointConditions?)
Declaration
public virtual bool Equals(V1EndpointConditions? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1EndpointConditions?, V1EndpointConditions?)
Declaration
public static bool operator ==(V1EndpointConditions? left, V1EndpointConditions? right)
Parameters
Returns
operator !=(V1EndpointConditions?, V1EndpointConditions?)
Declaration
public static bool operator !=(V1EndpointConditions? left, V1EndpointConditions? right)
Parameters
Returns
Implements