Class V1TopologySelectorTerm
A topology selector term represents the result of label queries. A null or empty
topology selector term matches no objects. The requirements of them are ANDed.
It provides a subset of functionality as NodeSelectorTerm. This is an alpha
feature and may change in the future.
Inheritance
V1TopologySelectorTerm
Assembly: KubernetesClient.dll
Syntax
public record V1TopologySelectorTerm : IEquatable<V1TopologySelectorTerm>
Constructors
V1TopologySelectorTerm()
Declaration
public V1TopologySelectorTerm()
V1TopologySelectorTerm(V1TopologySelectorTerm)
Declaration
protected V1TopologySelectorTerm(V1TopologySelectorTerm original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
MatchLabelExpressions
A list of topology selector requirements by labels.
Declaration
[JsonPropertyName("matchLabelExpressions")]
public IList<V1TopologySelectorLabelRequirement> MatchLabelExpressions { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1TopologySelectorTerm?)
Declaration
public virtual bool Equals(V1TopologySelectorTerm? 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 ==(V1TopologySelectorTerm?, V1TopologySelectorTerm?)
Declaration
public static bool operator ==(V1TopologySelectorTerm? left, V1TopologySelectorTerm? right)
Parameters
Returns
operator !=(V1TopologySelectorTerm?, V1TopologySelectorTerm?)
Declaration
public static bool operator !=(V1TopologySelectorTerm? left, V1TopologySelectorTerm? right)
Parameters
Returns
Implements