github.com/hernad/nomad@v1.6.112/nomad/deploymentwatcher/doc.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 // deploymentwatcher creates and tracks Deployments, which hold meta data describing the 5 // process of upgrading a running job to a new set of Allocations. This encompasses settings 6 // for canary deployments and blue/green rollouts. 7 // 8 // - The watcher is only enabled on the active raft leader. 9 // - func (w *deploymentWatcher) watch() is the main deploymentWatcher process 10 package deploymentwatcher