Class V1ResourceFieldSelector
ResourceFieldSelector represents container resources (cpu, memory) and their
output format
Inheritance
V1ResourceFieldSelector
Assembly: KubernetesClient.dll
Syntax
public record V1ResourceFieldSelector : IEquatable<V1ResourceFieldSelector>
Constructors
V1ResourceFieldSelector()
Declaration
public V1ResourceFieldSelector()
V1ResourceFieldSelector(V1ResourceFieldSelector)
Declaration
protected V1ResourceFieldSelector(V1ResourceFieldSelector original)
Parameters
Properties
ContainerName
Container name: required for volumes, optional for env vars
Declaration
[JsonPropertyName("containerName")]
public string ContainerName { get; set; }
Property Value
Divisor
Specifies the output format of the exposed resources, defaults to "1"
Declaration
[JsonPropertyName("divisor")]
public ResourceQuantity Divisor { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Resource
Required: resource to select
Declaration
[JsonPropertyName("resource")]
public string Resource { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1ResourceFieldSelector?)
Declaration
public virtual bool Equals(V1ResourceFieldSelector? 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 ==(V1ResourceFieldSelector?, V1ResourceFieldSelector?)
Declaration
public static bool operator ==(V1ResourceFieldSelector? left, V1ResourceFieldSelector? right)
Parameters
Returns
operator !=(V1ResourceFieldSelector?, V1ResourceFieldSelector?)
Declaration
public static bool operator !=(V1ResourceFieldSelector? left, V1ResourceFieldSelector? right)
Parameters
Returns
Implements