summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_system.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/domain/entities/engine_system.go')
-rw-r--r--pkg/domain/entities/engine_system.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_system.go b/pkg/domain/entities/engine_system.go
new file mode 100644
index 000000000..a0ecfe9ea
--- /dev/null
+++ b/pkg/domain/entities/engine_system.go
@@ -0,0 +1,14 @@
+package entities
+
+import (
+ "context"
+
+ "github.com/spf13/pflag"
+)
+
+type SystemEngine interface {
+ Renumber(ctx context.Context, flags *pflag.FlagSet, config *PodmanConfig) error
+ Migrate(ctx context.Context, flags *pflag.FlagSet, config *PodmanConfig, options SystemMigrateOptions) error
+ Reset(ctx context.Context) error
+ Shutdown(ctx context.Context)
+}