diff options
author | Brent Baude <bbaude@redhat.com> | 2020-04-05 15:52:59 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-04-06 15:23:04 -0500 |
commit | 1bfb96b54010b048e9bea155a75d150f4bf8853c (patch) | |
tree | b4eedb293bef91f2416164de76d93b1e37dd7481 /pkg/domain/entities/engine_container.go | |
parent | 843fa25890199c04b8419833d39bdedf4ead391c (diff) | |
download | podman-1bfb96b54010b048e9bea155a75d150f4bf8853c.tar.gz podman-1bfb96b54010b048e9bea155a75d150f4bf8853c.tar.bz2 podman-1bfb96b54010b048e9bea155a75d150f4bf8853c.zip |
v2podman run
add the ability to run a container
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/entities/engine_container.go')
-rw-r--r-- | pkg/domain/entities/engine_container.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_container.go b/pkg/domain/entities/engine_container.go index 36c20c38d..576ce1658 100644 --- a/pkg/domain/entities/engine_container.go +++ b/pkg/domain/entities/engine_container.go @@ -23,6 +23,7 @@ type ContainerEngine interface { ContainerRestart(ctx context.Context, namesOrIds []string, options RestartOptions) ([]*RestartReport, error) ContainerRm(ctx context.Context, namesOrIds []string, options RmOptions) ([]*RmReport, error) ContainerStart(ctx context.Context, namesOrIds []string, options ContainerStartOptions) ([]*ContainerStartReport, error) + ContainerRun(ctx context.Context, opts ContainerRunOptions) (*ContainerRunReport, error) ContainerStop(ctx context.Context, namesOrIds []string, options StopOptions) ([]*StopReport, error) ContainerTop(ctx context.Context, options TopOptions) (*StringSliceReport, error) ContainerUnpause(ctx context.Context, namesOrIds []string, options PauseUnPauseOptions) ([]*PauseUnpauseReport, error) |