SuccessPolicy class
SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
Constructors
-
SuccessPolicy({required Input<
List< rules})SuccessPolicyRule> > -
Creates a new SuccessPolicy.
rulesrules represents the list of alternative rules for the declaring the Jobs as successful before.status.succeeded >= .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 -
SuccessPolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rules
→ Input<
List< SuccessPolicyRule> > -
rules represents the list of alternative rules for the declaring the Jobs as successful before
.status.succeeded >= .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