summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/auto-update.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/domain/entities/auto-update.go')
-rw-r--r--pkg/domain/entities/auto-update.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/domain/entities/auto-update.go b/pkg/domain/entities/auto-update.go
new file mode 100644
index 000000000..c51158816
--- /dev/null
+++ b/pkg/domain/entities/auto-update.go
@@ -0,0 +1,13 @@
+package entities
+
+// AutoUpdateOptions are the options for running auto-update.
+type AutoUpdateOptions struct {
+ // Authfile to use when contacting registries.
+ Authfile string
+}
+
+// AutoUpdateReport contains the results from running auto-update.
+type AutoUpdateReport struct {
+ // Units - the restarted systemd units during auto-update.
+ Units []string
+}