summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-05-08 13:09:11 -0500
committerBrent Baude <bbaude@redhat.com>2020-05-08 13:28:11 -0500
commit1074a02ff85bb9f1d0db3e4468b067a6516b1521 (patch)
tree85335edcc852b85b35dbbe4fbcde27c486c84810 /pkg/domain/entities
parentb2e8915baa22098fbde39b73ad0f18326ec2842b (diff)
downloadpodman-1074a02ff85bb9f1d0db3e4468b067a6516b1521.tar.gz
podman-1074a02ff85bb9f1d0db3e4468b067a6516b1521.tar.bz2
podman-1074a02ff85bb9f1d0db3e4468b067a6516b1521.zip
v2 podman unshare command
add unshare command add cp and init to container sub-command allow mount to run as rootless Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/engine_container.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_container.go b/pkg/domain/entities/engine_container.go
index 7c93e6802..bb13794bd 100644
--- a/pkg/domain/entities/engine_container.go
+++ b/pkg/domain/entities/engine_container.go
@@ -71,6 +71,7 @@ type ContainerEngine interface {
SetupRootless(ctx context.Context, cmd *cobra.Command) error
Shutdown(ctx context.Context)
SystemDf(ctx context.Context, options SystemDfOptions) (*SystemDfReport, error)
+ Unshare(ctx context.Context, args []string) error
VarlinkService(ctx context.Context, opts ServiceOptions) error
VolumeCreate(ctx context.Context, opts VolumeCreateOptions) (*IdOrNameResponse, error)
VolumeInspect(ctx context.Context, namesOrIds []string, opts VolumeInspectOptions) ([]*VolumeInspectReport, error)