summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_system.go
blob: e2000f5cb3108f51c85e95a7ff3d87c57d29eff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
}