DVReleaseAdapter class abstract interface

A deploy target, as the release pipeline drives it.

Properties

canWeightTraffic → bool
Whether the platform can send a weighted share of traffic to one release: revision weights, alias weights, per-machine rollout, ingress weighting. A platform that would need DNS to do it answers false.
no setter
hashCode → int
The hash code for this object.
no setterinherited
name → String
The platform, e.g. cloud-run.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
route({required String candidate, required String? previous, required int percent}) → Future<void>
Sends percent of traffic to candidate and the rest to previous.
toString() → String
A string representation of this object.
inherited
weightOf(String release) → Future<int?>
The percentage of traffic the platform reports release receiving, or null when it cannot be read.

Operators

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