Show / Hide Table of Contents

Class V1alpha2WorkloadSpec

WorkloadSpec defines the desired state of a Workload.

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

Constructors

V1alpha2WorkloadSpec()

Declaration
public V1alpha2WorkloadSpec()

V1alpha2WorkloadSpec(V1alpha2WorkloadSpec)

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

Properties

ControllerRef

ControllerRef is an optional reference to the controlling object, such as a Deployment or Job. This field is intended for use by tools like CLIs to provide a link back to the original workload definition. This field is immutable.

Declaration
[JsonPropertyName("controllerRef")]
public V1alpha2TypedLocalObjectReference ControllerRef { get; set; }
Property Value
Type Description
V1alpha2TypedLocalObjectReference

EqualityContract

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

PodGroupTemplates

PodGroupTemplates is the list of templates that make up the Workload. The maximum number of templates is 8. This field is immutable.

Declaration
[JsonPropertyName("podGroupTemplates")]
public IList<V1alpha2PodGroupTemplate> PodGroupTemplates { get; set; }
Property Value
Type Description
IList<V1alpha2PodGroupTemplate>

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

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

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

operator !=(V1alpha2WorkloadSpec?, V1alpha2WorkloadSpec?)

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

Implements

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