summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_system.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-05 20:49:17 +0200
committerGitHub <noreply@github.com>2020-05-05 20:49:17 +0200
commit864aec8bb011a7a42cf0a2faca39f6e27118b805 (patch)
tree788d16fa62d44244150cab2105ac5fe937cd3c09 /pkg/domain/entities/engine_system.go
parentfb6eca50ba9e2dc652da0c33c72db70ab9da85e9 (diff)
parent25312bb5b4e2bd4e122703006fc85bbf080e5e7c (diff)
downloadpodman-864aec8bb011a7a42cf0a2faca39f6e27118b805.tar.gz
podman-864aec8bb011a7a42cf0a2faca39f6e27118b805.tar.bz2
podman-864aec8bb011a7a42cf0a2faca39f6e27118b805.zip
Merge pull request #6081 from baude/v2system
v2 system subcommand
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..e2000f5cb
--- /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, options SystemResetOptions) error
+ Shutdown(ctx context.Context)
+}