nomad: adding fields to cause an evaluation to 'wait'

This commit is contained in:
Armon Dadgar
2015-09-07 12:47:48 -07:00
parent 666d66be23
commit f9592dc668

View File

@@ -1069,6 +1069,18 @@ type Evaluation struct {
// StatusDescription is meant to provide more human useful information
StatusDescription string
// Wait is a minimum wait time for running the eval. This is used to
// support a rolling upgrade.
Wait time.Duration
// NextEval is the evaluation ID for the eval created to do a followup.
// This is used to support rolling upgrades, where we need a chain of evaluations.
NextEval string
// PreviousEval is the evaluation ID for the eval creating this one to do a followup.
// This is used to support rolling upgrades, where we need a chain of evaluations.
PreviousEval string
// Raft Indexes
CreateIndex uint64
ModifyIndex uint64