Show / Hide Table of Contents

Class V1alpha3PodGroupSchedulingPolicy

PodGroupSchedulingPolicy defines the scheduling configuration for a PodGroup. Exactly one policy must be set. The policy is chosen at creation time by setting either the Basic or Gang field. The PodGroup may not change policy after creation. Fields within chosen policy may be updated after creation when their individual fields allow it.

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

Constructors

V1alpha3PodGroupSchedulingPolicy()

Declaration
public V1alpha3PodGroupSchedulingPolicy()

V1alpha3PodGroupSchedulingPolicy(V1alpha3PodGroupSchedulingPolicy)

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

Properties

Basic

basic specifies that the pods in this group should be scheduled using standard Kubernetes scheduling behavior. Setting this field at group creation time opts this group to basic scheduling; this field cannot be changed afterward.

Declaration
[JsonPropertyName("basic")]
public object Basic { get; set; }
Property Value
Type Description
object

EqualityContract

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

Gang

gang specifies that the pods in this group should be scheduled using all-or-nothing semantics. Setting this field at group creation time opts this group to gang scheduling; this field cannot be set or unset afterward. The minCount field within Gang scheduling policy remains mutable after group creation.

Declaration
[JsonPropertyName("gang")]
public V1alpha3GangSchedulingPolicy Gang { get; set; }
Property Value
Type Description
V1alpha3GangSchedulingPolicy

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

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

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

operator !=(V1alpha3PodGroupSchedulingPolicy?, V1alpha3PodGroupSchedulingPolicy?)

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

Implements

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