DVReleaseRollout class final
One release rolling out.
Constructors
-
DVReleaseRollout({required DVReleasePlan plan, required DVReleaseAdapter adapter, required DVReleaseGates gates, required DVReleaseRecord candidate, required DVReleaseHistory history, FutureOr<
void> turnOffFlags(List<String> flags)?, DVReleaseDiagnosticSink? onDiagnostic})
Properties
- adapter → DVReleaseAdapter
-
final
- candidate → DVReleaseRecord
-
final
-
events
→ List<
DVRolloutEvent> -
no setter
-
flagsToTurnOff
→ List<
String> -
Flags a hold or roll back has named.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- history → DVReleaseHistory
-
final
-
overrides
→ List<
DVGateOverrideRecord> -
Every override that let this rollout move.
no setter
- percent → int
-
The candidate's planned share of traffic: always 0 or one of the plan's
steps.
no setter
- plan → DVReleasePlan
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → DVRolloutState
-
no setter
- step → int
-
The index of the step being held, or -1 before the first.
no setter
- stepStartedAt → DateTime?
-
no setter
Methods
-
advance(
{required DateTime now, Iterable< DVGateOverride> overrides = const <DVGateOverride>[]}) → Future<DVRolloutState> -
Looks at the rollout as of
now: once the step's hold is over, checks the platform's weight, reads the promotion gates, and promotes, holds or rolls back. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
{required DateTime now, Iterable< DVGateOverride> overrides = const <DVGateOverride>[]}) → Future<DVRolloutState> - Reads the deploy gates and, when they pass, routes the first step.
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited