CanarySchedule

data class CanarySchedule(val durationInSeconds: Int? = null, val expression: String)

Constructors

Link copied to clipboard
constructor(durationInSeconds: Int? = null, expression: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val durationInSeconds: Int? = null

Duration in seconds, for the canary to continue making regular runs according to the schedule in the Expression value.

Link copied to clipboard

Rate expression or cron expression that defines how often the canary is to run. For rate expression, the syntax is rate(number unit). unit can be minute, minutes, or hour. For cron expression, the syntax is cron(expression). For more information about the syntax for cron expressions, see Scheduling canary runs using cron.