Class V1PreferredSchedulingTerm
An empty preferred scheduling term matches all objects with implicit weight 0
(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e.
is also a no-op).
Inheritance
V1PreferredSchedulingTerm
Assembly: KubernetesClient.dll
Syntax
public record V1PreferredSchedulingTerm : IEquatable<V1PreferredSchedulingTerm>
Constructors
V1PreferredSchedulingTerm()
Declaration
public V1PreferredSchedulingTerm()
V1PreferredSchedulingTerm(V1PreferredSchedulingTerm)
Declaration
protected V1PreferredSchedulingTerm(V1PreferredSchedulingTerm original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Preference
A node selector term, associated with the corresponding weight.
Declaration
[JsonPropertyName("preference")]
public V1NodeSelectorTerm Preference { get; set; }
Property Value
Weight
Weight associated with matching the corresponding nodeSelectorTerm, in the range
1-100.
Declaration
[JsonPropertyName("weight")]
public int Weight { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1PreferredSchedulingTerm?)
Declaration
public virtual bool Equals(V1PreferredSchedulingTerm? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1PreferredSchedulingTerm?, V1PreferredSchedulingTerm?)
Declaration
public static bool operator ==(V1PreferredSchedulingTerm? left, V1PreferredSchedulingTerm? right)
Parameters
Returns
operator !=(V1PreferredSchedulingTerm?, V1PreferredSchedulingTerm?)
Declaration
public static bool operator !=(V1PreferredSchedulingTerm? left, V1PreferredSchedulingTerm? right)
Parameters
Returns
Implements