Class V1ContainerRestartRuleOnExitCodes
ContainerRestartRuleOnExitCodes describes the condition for handling an exited
container based on its exit codes.
Inheritance
V1ContainerRestartRuleOnExitCodes
Assembly: KubernetesClient.dll
Syntax
public record V1ContainerRestartRuleOnExitCodes : IEquatable<V1ContainerRestartRuleOnExitCodes>
Constructors
View Source
V1ContainerRestartRuleOnExitCodes()
Declaration
public V1ContainerRestartRuleOnExitCodes()
View Source
V1ContainerRestartRuleOnExitCodes(V1ContainerRestartRuleOnExitCodes)
Declaration
protected V1ContainerRestartRuleOnExitCodes(V1ContainerRestartRuleOnExitCodes original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
OperatorProperty
Represents the relationship between the container exit code(s) and the specified
values. Possible values are: - In: the requirement is satisfied if the container
exit code is in the
set of specified values.
- NotIn: the requirement is satisfied if the container exit code is
not in the set of specified values.
Declaration
[JsonPropertyName("operator")]
public string OperatorProperty { get; set; }
Property Value
View Source
Values
Specifies the set of values to check for container exit codes. At most 255
elements are allowed.
Declaration
[JsonPropertyName("values")]
public IList<int?> Values { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1ContainerRestartRuleOnExitCodes?)
Declaration
public virtual bool Equals(V1ContainerRestartRuleOnExitCodes? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1ContainerRestartRuleOnExitCodes?, V1ContainerRestartRuleOnExitCodes?)
Declaration
public static bool operator ==(V1ContainerRestartRuleOnExitCodes? left, V1ContainerRestartRuleOnExitCodes? right)
Parameters
Returns
View Source
operator !=(V1ContainerRestartRuleOnExitCodes?, V1ContainerRestartRuleOnExitCodes?)
Declaration
public static bool operator !=(V1ContainerRestartRuleOnExitCodes? left, V1ContainerRestartRuleOnExitCodes? right)
Parameters
Returns
Implements