View Source GoogleApi.CloudDeploy.V1.Model.CanaryDeployment (google_api_cloud_deploy v0.6.0)

CanaryDeployment represents the canary deployment configuration

Attributes

  • percentages (type: list(integer()), default: nil) - Required. The percentage based deployments that will occur as a part of a Rollout. List is expected in ascending order and each integer n is 0 <= n < 100.
  • postdeploy (type: GoogleApi.CloudDeploy.V1.Model.Postdeploy.t, default: nil) - Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.
  • predeploy (type: GoogleApi.CloudDeploy.V1.Model.Predeploy.t, default: nil) - Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.
  • verify (type: boolean(), default: nil) - Whether to run verify tests after each percentage deployment.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudDeploy.V1.Model.CanaryDeployment{
  percentages: [integer()] | nil,
  postdeploy: GoogleApi.CloudDeploy.V1.Model.Postdeploy.t() | nil,
  predeploy: GoogleApi.CloudDeploy.V1.Model.Predeploy.t() | nil,
  verify: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.