mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(edgestack/async): add Rollbackto field in stackPayload [EE-5684] (#9238)
This commit is contained in:
parent
634326b5cd
commit
e996d29d52
2 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,8 @@ type (
|
||||||
Namespace string
|
Namespace string
|
||||||
// Version of the stack file
|
// Version of the stack file
|
||||||
Version int
|
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.
|
// RegistryCredentials holds the credentials for a Docker registry.
|
||||||
// Used only for EE
|
// Used only for EE
|
||||||
|
|
|
@ -364,6 +364,8 @@ type (
|
||||||
Time int64
|
Time int64
|
||||||
Type EdgeStackStatusType
|
Type EdgeStackStatusType
|
||||||
Error string
|
Error string
|
||||||
|
// EE only feature
|
||||||
|
RollbackTo *int
|
||||||
}
|
}
|
||||||
|
|
||||||
//EdgeStackStatusType represents an edge stack status type
|
//EdgeStackStatusType represents an edge stack status type
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue