Show / Hide Table of Contents

Class V1PodCondition

PodCondition contains details for the current condition of this pod.

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

Constructors

View Source

V1PodCondition()

Declaration
public V1PodCondition()
View Source

V1PodCondition(V1PodCondition)

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

Properties

View Source

EqualityContract

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

LastProbeTime

Last time we probed the condition.

Declaration
[JsonPropertyName("lastProbeTime")]
public DateTime? LastProbeTime { get; set; }
Property Value
Type Description
DateTime?
View Source

LastTransitionTime

Last time the condition transitioned from one status to another.

Declaration
[JsonPropertyName("lastTransitionTime")]
public DateTime? LastTransitionTime { get; set; }
Property Value
Type Description
DateTime?
View Source

Message

Human-readable message indicating details about last transition.

Declaration
[JsonPropertyName("message")]
public string Message { get; set; }
Property Value
Type Description
string
View Source

ObservedGeneration

If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.

Declaration
[JsonPropertyName("observedGeneration")]
public long? ObservedGeneration { get; set; }
Property Value
Type Description
long?
View Source

Reason

Unique, one-word, CamelCase reason for the condition's last transition.

Declaration
[JsonPropertyName("reason")]
public string Reason { get; set; }
Property Value
Type Description
string
View Source

Status

Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

Declaration
[JsonPropertyName("status")]
public string Status { get; set; }
Property Value
Type Description
string
View Source

Type

Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
Type Description
string

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(V1PodCondition?)

Declaration
public virtual bool Equals(V1PodCondition? other)
Parameters
Type Name Description
V1PodCondition 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 ==(V1PodCondition?, V1PodCondition?)

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

operator !=(V1PodCondition?, V1PodCondition?)

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

Implements

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