ServiceTaskSpecRestartPolicy class
Constructors
-
ServiceTaskSpecRestartPolicy({Input<
String?> ? condition, Input<String?> ? delay, Input<int?> ? maxAttempts, Input<String?> ? window}) -
Creates a new ServiceTaskSpecRestartPolicy.
conditionCondition for restartdelayDelay between restart attempts (ms|s|m|h)maxAttemptsMaximum attempts to restart a given container before giving up (default value is0, which is ignored)windowThe time window used to evaluate the restart policy (default value is0, which is unbounded) (ms|s|m|h)const -
ServiceTaskSpecRestartPolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
condition
→ Input<
String?> ? -
Condition for restart
final
-
delay
→ Input<
String?> ? -
Delay between restart attempts (ms|s|m|h)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxAttempts
→ Input<
int?> ? -
Maximum attempts to restart a given container before giving up (default value is
0, which is ignored)final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
window
→ Input<
String?> ? -
The time window used to evaluate the restart policy (default value is
0, which is unbounded) (ms|s|m|h)final
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