Show / Hide Table of Contents

Class V1alpha1EvictionRequestSpec

EvictionRequestSpec is a specification of an EvictionRequest.

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

Constructors

V1alpha1EvictionRequestSpec()

Declaration
public V1alpha1EvictionRequestSpec()

V1alpha1EvictionRequestSpec(V1alpha1EvictionRequestSpec)

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

Properties

EqualityContract

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

Intent

intent specifies the action that should be taken for the specified target.

  • Eviction means that the requester is interested in the eviction of the target.
  • Withdrawn means that the requester is no longer interested in the eviction of the target. If all requesters' intents are withdrawn for a common target, the eviction will be canceled. Cancellation consequences:
  • Inactive responders will never run.
  • Active responders are expected to cancel the eviction.
  • Completed or Interrupted responders should not take any action.
Declaration
[JsonPropertyName("intent")]
public string Intent { get; set; }
Property Value
Type Description
string

Requester

requester allows you to identify the entity, that requested the eviction of the target.

It must be a valid domain-prefixed key (such as "acme.io/foo"). Domain names *.k8s.io and *.kubernetes.io are reserved. This field is required and immutable.

Declaration
[JsonPropertyName("requester")]
public string Requester { get; set; }
Property Value
Type Description
string

Target

target contains a reference to an object (e.g. a pod) that should be evicted. This field is required and immutable.

Declaration
[JsonPropertyName("target")]
public V1alpha1EvictionRequestTarget Target { get; set; }
Property Value
Type Description
V1alpha1EvictionRequestTarget

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

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

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

operator !=(V1alpha1EvictionRequestSpec?, V1alpha1EvictionRequestSpec?)

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

Implements

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