SuccessPolicyPatch class

SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.

Constructors

SuccessPolicyPatch({Input<List<SuccessPolicyRulePatch>>? rules})
Creates a new SuccessPolicyPatch. rules rules represents the list of alternative rules for the declaring the Jobs as successful before .status.succeeded &gt;= .spec.completions. Once any of the rules are met, the "SuccessCriteriaMet" condition is added, and the lingering pods are removed. The terminal state for such a Job has the "Complete" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.
const
SuccessPolicyPatch.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
rules → Input<List<SuccessPolicyRulePatch>>?
rules represents the list of alternative rules for the declaring the Jobs as successful before .status.succeeded &gt;= .spec.completions. Once any of the rules are met, the "SuccessCriteriaMet" condition is added, and the lingering pods are removed. The terminal state for such a Job has the "Complete" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. 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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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