mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-19 16:40:12 +01:00
feat(update): add lifecycle hooks to the update action
This commit is contained in:
parent
874180a518
commit
73f21f7e0f
10 changed files with 481 additions and 72 deletions
|
|
@ -7,9 +7,10 @@ import (
|
|||
|
||||
// UpdateParams contains all different options available to alter the behavior of the Update func
|
||||
type UpdateParams struct {
|
||||
Filter t.Filter
|
||||
Cleanup bool
|
||||
NoRestart bool
|
||||
Timeout time.Duration
|
||||
MonitorOnly bool
|
||||
Filter t.Filter
|
||||
Cleanup bool
|
||||
NoRestart bool
|
||||
Timeout time.Duration
|
||||
MonitorOnly bool
|
||||
LifecycleHooks bool
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue