Skip to content

Commit 40e4070

Browse files
committed
GOCBC-1791: Add EventingFunctionStateResuming
Motivation ========== Eventing functions can also be in a "resuming" state, which is missing from our EventingFunctionStatus constants. Changes ======= * Add EventingFunctionStateResuming representing the "resuming" status. Change-Id: I94c1f46866cac3e69a0e32c1d7d7ec77fe306239 Reviewed-on: https://review.couchbase.org/c/gocb/+/243104 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Charles Dixon <chvckd@gmail.com>
1 parent 0ae5b7b commit 40e4070

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cluster_eventingmgr.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ var (
3838

3939
// EventingFunctionStatePausing represents that the eventing function is pausing.
4040
EventingFunctionStatePausing EventingFunctionStatus = "pausing"
41+
42+
// EventingFunctionStateResuming represents that the eventing function is resuming
43+
// i.e. the transition from EventingFunctionStatePaused to EventingFunctionStateDeployed.
44+
EventingFunctionStateResuming EventingFunctionStatus = "resuming"
4145
)
4246

4347
// EventingFunctionDCPBoundary sets what data mutations to deploy the eventing function for.

0 commit comments

Comments
 (0)