mirror of
https://github.com/containers/podman.git
synced 2025-09-27 00:34:32 +08:00

Adds tunnel routes for system reset. Makes forces flag local as options are not propogated down the stack. Adds relevant test cases and swagger docs. Signed-off-by: Sujil02 <sushah@redhat.com>
15 lines
356 B
Go
15 lines
356 B
Go
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)
|
|
}
|