CanarySettings class

Configuration settings of a canary deployment.

Constructors

CanarySettings({String? deploymentId, double? percentTraffic, Map<String, String>? stageVariableOverrides, bool? useStageCache})
CanarySettings.fromJson(Map<String, dynamic> json)
factory

Properties

deploymentId String?
The ID of the canary deployment.
final
hashCode int
The hash code for this object.
no setterinherited
percentTraffic double?
The percent (0-100) of traffic diverted to a canary deployment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stageVariableOverrides Map<String, String>?
Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
final
useStageCache bool?
A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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