Show / Hide Table of Contents

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
object
V1TopologySelectorTerm
Implements
IEquatable<V1TopologySelectorTerm>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1TopologySelectorTerm : IEquatable<V1TopologySelectorTerm>

Constructors

View Source

V1TopologySelectorTerm()

Declaration
public V1TopologySelectorTerm()
View Source

V1TopologySelectorTerm(V1TopologySelectorTerm)

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

Properties

View Source

EqualityContract

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

MatchLabelExpressions

A list of topology selector requirements by labels.

Declaration
[JsonPropertyName("matchLabelExpressions")]
public IList<V1TopologySelectorLabelRequirement> MatchLabelExpressions { get; set; }
Property Value
Type Description
IList<V1TopologySelectorLabelRequirement>

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1TopologySelectorTerm?)

Declaration
public virtual bool Equals(V1TopologySelectorTerm? other)
Parameters
Type Name Description
V1TopologySelectorTerm other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1TopologySelectorTerm?, V1TopologySelectorTerm?)

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

operator !=(V1TopologySelectorTerm?, V1TopologySelectorTerm?)

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

Implements

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