mirror of
https://github.com/containrrr/watchtower.git
synced 2024-12-12 09:04:17 +02:00
bfae38dbf8
* feat(update): add lifecycle hooks to the update action * fix(ci): add bash tests for lifecycle-hooks to the ci workflow * fix(ci): move integration tests to an isolated step * fix(ci): fix malformed all-contributors json * fix(ci): disable automatic bash test until we figure out a reasonable way to run it in circleci
17 lines
351 B
Go
17 lines
351 B
Go
package actions
|
|
|
|
import (
|
|
t "github.com/containrrr/watchtower/pkg/types"
|
|
"time"
|
|
)
|
|
|
|
// 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
|
|
LifecycleHooks bool
|
|
}
|