feat(edgestack/async): add Rollbackto field in stackPayload [EE-5684] (#9238)

pull/9244/head
Oscar Zhou 2023-07-24 10:48:02 +12:00 committed by GitHub
parent 634326b5cd
commit e996d29d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,8 @@ type (
Namespace string
// Version of the stack file
Version int
// RollbackTo specifies the stack file version to rollback to (only support to rollback to the last version currently)
RollbackTo *int
// RegistryCredentials holds the credentials for a Docker registry.
// Used only for EE

View File

@ -364,6 +364,8 @@ type (
Time int64
Type EdgeStackStatusType
Error string
// EE only feature
RollbackTo *int
}
//EdgeStackStatusType represents an edge stack status type