generalize trigger kinds

This commit is contained in:
Christian Schwarz
2023-12-22 14:40:53 +00:00
parent b0caa2d151
commit c8afaf83ab
13 changed files with 168 additions and 57 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ const (
)
type Snapper interface {
Run(ctx context.Context, snapshotsTaken *trigger.Trigger)
Run(ctx context.Context, snapshotsTaken trigger.Trigger
Report() Report
}