mirror of https://github.com/portainer/portainer
feat(edgestack/async): add Rollbackto field in stackPayload [EE-5684] (#9238)
parent
634326b5cd
commit
e996d29d52
|
@ -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…
Reference in New Issue