Show / Hide Table of Contents

Class V1NodeSelectorTerm

A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.

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

Constructors

View Source

V1NodeSelectorTerm()

Declaration
public V1NodeSelectorTerm()
View Source

V1NodeSelectorTerm(V1NodeSelectorTerm)

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

Properties

View Source

EqualityContract

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

MatchExpressions

A list of node selector requirements by node's labels.

Declaration
[JsonPropertyName("matchExpressions")]
public IList<V1NodeSelectorRequirement> MatchExpressions { get; set; }
Property Value
Type Description
IList<V1NodeSelectorRequirement>
View Source

MatchFields

A list of node selector requirements by node's fields.

Declaration
[JsonPropertyName("matchFields")]
public IList<V1NodeSelectorRequirement> MatchFields { get; set; }
Property Value
Type Description
IList<V1NodeSelectorRequirement>

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

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

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

operator !=(V1NodeSelectorTerm?, V1NodeSelectorTerm?)

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

Implements

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