Show / Hide Table of Contents

Class V1ScopeSelector

A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.

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

Constructors

V1ScopeSelector()

Declaration
public V1ScopeSelector()

V1ScopeSelector(V1ScopeSelector)

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

Properties

EqualityContract

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

MatchExpressions

A list of scope selector requirements by scope of the resources.

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

Methods

Equals(object?)

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

Equals(V1ScopeSelector?)

Declaration
public virtual bool Equals(V1ScopeSelector? other)
Parameters
Type Name Description
V1ScopeSelector other
Returns
Type Description
bool

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

operator ==(V1ScopeSelector?, V1ScopeSelector?)

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

operator !=(V1ScopeSelector?, V1ScopeSelector?)

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

Implements

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