PodFailurePolicy class

PodFailurePolicy describes how failed pods influence the backoffLimit.

Constructors

PodFailurePolicy({required List<PodFailurePolicyRule> rules})
Default constructor.
const
PodFailurePolicy.fromJson(Map<String, dynamic> json)
Creates a PodFailurePolicy from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
rules List<PodFailurePolicyRule>
A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a PodFailurePolicy instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited