mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 22:20:12 +01:00
refactor: split out more code into separate files
This commit is contained in:
parent
a425bf1024
commit
6c507433e8
3 changed files with 87 additions and 68 deletions
15
internal/actions/update_params.go
Normal file
15
internal/actions/update_params.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue