refactor: split out more code into separate files

This commit is contained in:
Simon Aronsson 2019-07-22 10:20:11 +02:00
parent a425bf1024
commit 6c507433e8
3 changed files with 87 additions and 68 deletions

View 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
}