DVCanaryConfig class final

The weights a canary moves through, and how long it holds at each.

Constructors

DVCanaryConfig({List<int> steps = const <int>[5, 25, 50, 100], Duration hold = const Duration(minutes: 10)})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
hold → Duration
How long each step is watched before the gate is read.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
steps → List<int>
Percentages of traffic, strictly increasing, ending at 100.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validate() → void
Throws when the steps cannot complete a rollout.

Operators

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