PhaseConfig class

PhaseConfig represents the configuration for a phase in the custom canary deployment.

Constructors

PhaseConfig({required Input<int> percentage, required Input<String> phaseId, Input<Postdeploy>? postdeploy, Input<Predeploy>? predeploy, Input<List<String>>? profiles, Input<bool>? verify})
Creates a new PhaseConfig. percentage Percentage deployment for the phase. phaseId The ID to assign to the Rollout phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$. postdeploy Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase. predeploy Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase. profiles Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage. verify Whether to run verify tests after the deployment.
const
PhaseConfig.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
percentage → Input<int>
Percentage deployment for the phase.
final
phaseId → Input<String>
The ID to assign to the Rollout phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
final
postdeploy → Input<Postdeploy>?
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
final
predeploy → Input<Predeploy>?
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
final
profiles → Input<List<String>>?
Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verify → Input<bool>?
Whether to run verify tests after the deployment.
final

Methods

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

Operators

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