Show / Hide Table of Contents

Class V1StatefulSetOrdinals

StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.

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

Constructors

V1StatefulSetOrdinals()

Declaration
public V1StatefulSetOrdinals()

V1StatefulSetOrdinals(V1StatefulSetOrdinals)

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

Properties

EqualityContract

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

Start

start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range: [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas). If unset, defaults to 0. Replica indices will be in the range: [0, .spec.replicas).

Declaration
[JsonPropertyName("start")]
public int? Start { get; set; }
Property Value
Type Description
int?

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

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

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

operator !=(V1StatefulSetOrdinals?, V1StatefulSetOrdinals?)

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

Implements

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