Show / Hide Table of Contents

Class V1EndpointConditions

EndpointConditions represents the current condition of an endpoint.

Inheritance
object
V1EndpointConditions
Implements
IEquatable<V1EndpointConditions>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1EndpointConditions : IEquatable<V1EndpointConditions>

Constructors

View Source

V1EndpointConditions()

Declaration
public V1EndpointConditions()
View Source

V1EndpointConditions(V1EndpointConditions)

Declaration
protected V1EndpointConditions(V1EndpointConditions original)
Parameters
Type Name Description
V1EndpointConditions original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

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
Type Description
bool?
View Source

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
Type Description
bool?
View Source

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
Type Description
bool?

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1EndpointConditions?)

Declaration
public virtual bool Equals(V1EndpointConditions? other)
Parameters
Type Name Description
V1EndpointConditions other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1EndpointConditions?, V1EndpointConditions?)

Declaration
public static bool operator ==(V1EndpointConditions? left, V1EndpointConditions? right)
Parameters
Type Name Description
V1EndpointConditions left
V1EndpointConditions right
Returns
Type Description
bool
View Source

operator !=(V1EndpointConditions?, V1EndpointConditions?)

Declaration
public static bool operator !=(V1EndpointConditions? left, V1EndpointConditions? right)
Parameters
Type Name Description
V1EndpointConditions left
V1EndpointConditions right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX