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

V1EndpointConditions()

Declaration
public V1EndpointConditions()

V1EndpointConditions(V1EndpointConditions)

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

Properties

EqualityContract

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

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?

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?

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

Equals(object?)

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

Equals(V1EndpointConditions?)

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

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

operator ==(V1EndpointConditions?, V1EndpointConditions?)

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

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>
In this article
Back to top Generated by DocFX