Class V1NodeSelector
A node selector represents the union of the results of one or more label queries
over a set of nodes; that is, it represents the OR of the selectors represented
by the node selector terms.
Inheritance
V1NodeSelector
Assembly: KubernetesClient.dll
Syntax
public record V1NodeSelector : IEquatable<V1NodeSelector>
Constructors
View Source
V1NodeSelector()
Declaration
View Source
V1NodeSelector(V1NodeSelector)
Declaration
protected V1NodeSelector(V1NodeSelector original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
NodeSelectorTerms
Required. A list of node selector terms. The terms are ORed.
Declaration
[JsonPropertyName("nodeSelectorTerms")]
public IList<V1NodeSelectorTerm> NodeSelectorTerms { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1NodeSelector?)
Declaration
public virtual bool Equals(V1NodeSelector? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1NodeSelector?, V1NodeSelector?)
Declaration
public static bool operator ==(V1NodeSelector? left, V1NodeSelector? right)
Parameters
Returns
View Source
operator !=(V1NodeSelector?, V1NodeSelector?)
Declaration
public static bool operator !=(V1NodeSelector? left, V1NodeSelector? right)
Parameters
Returns
Implements