DVHealthComparisonGate class final

Promotes or rolls back on the lifecycle's numbers against the previous release.

Where the previous release is not serving alongside the candidate -- blue green, recreate -- the source answers for it from its own recorded traffic; the gate asks for the same window either way.

Implemented types

Constructors

DVHealthComparisonGate({required DVReleaseThresholds thresholds, required DVReleaseTrafficSource source, int minimumRequests = 1, String name = 'health', DVReleaseDiagnosticSink? onDiagnostic})

Properties

hashCode → int
The hash code for this object.
no setterinherited
minimumRequests → int
Below this many requests on either side the rates are not compared.
final
name → String
Unique within a composition; overrides address a gate by it.
final
phases → Set<DVReleasePhase>
The phases this gate is read in.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → DVReleaseTrafficSource
final
thresholds → DVReleaseThresholds
final

Methods

evaluate(DVReleaseGateContext context) → Future<DVGateOutcome>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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