Show / Hide Table of Contents

Class V1ContainerState

ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.

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

Constructors

View Source

V1ContainerState()

Declaration
public V1ContainerState()
View Source

V1ContainerState(V1ContainerState)

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

Properties

View Source

EqualityContract

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

Running

Details about a running container

Declaration
[JsonPropertyName("running")]
public V1ContainerStateRunning Running { get; set; }
Property Value
Type Description
V1ContainerStateRunning
View Source

Terminated

Details about a terminated container

Declaration
[JsonPropertyName("terminated")]
public V1ContainerStateTerminated Terminated { get; set; }
Property Value
Type Description
V1ContainerStateTerminated
View Source

Waiting

Details about a waiting container

Declaration
[JsonPropertyName("waiting")]
public V1ContainerStateWaiting Waiting { get; set; }
Property Value
Type Description
V1ContainerStateWaiting

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

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

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

operator !=(V1ContainerState?, V1ContainerState?)

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

Implements

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