Skip to content

Commit 71b0335

Browse files
committed
api,adaptation: add container uid/gid info.
Obtain the container's user, group and supplemental group IDs from OCI Spec.Process.User and expose it to plugins. Signed-off-by: Krisztian Litkey <[email protected]>
1 parent 3c85968 commit 71b0335

4 files changed

Lines changed: 1135 additions & 729 deletions

File tree

pkg/adaptation/api.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ type (
9898
Hook = api.Hook
9999
POSIXRlimit = api.POSIXRlimit
100100
SecurityProfile = api.SecurityProfile
101+
User = api.User
101102

102103
EventMask = api.EventMask
103104
)

0 commit comments

Comments
 (0)