Class V1alpha1EvictionRequestSpec
EvictionRequestSpec is a specification of an EvictionRequest.
Inheritance
V1alpha1EvictionRequestSpec
Assembly: KubernetesClient.dll
Syntax
public record V1alpha1EvictionRequestSpec : IEquatable<V1alpha1EvictionRequestSpec>
Constructors
V1alpha1EvictionRequestSpec()
Declaration
public V1alpha1EvictionRequestSpec()
V1alpha1EvictionRequestSpec(V1alpha1EvictionRequestSpec)
Declaration
protected V1alpha1EvictionRequestSpec(V1alpha1EvictionRequestSpec original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
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
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
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
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1alpha1EvictionRequestSpec?)
Declaration
public virtual bool Equals(V1alpha1EvictionRequestSpec? 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 ==(V1alpha1EvictionRequestSpec?, V1alpha1EvictionRequestSpec?)
Declaration
public static bool operator ==(V1alpha1EvictionRequestSpec? left, V1alpha1EvictionRequestSpec? right)
Parameters
Returns
operator !=(V1alpha1EvictionRequestSpec?, V1alpha1EvictionRequestSpec?)
Declaration
public static bool operator !=(V1alpha1EvictionRequestSpec? left, V1alpha1EvictionRequestSpec? right)
Parameters
Returns
Implements