File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ type Linux struct {
2020// User specifies linux specific user and group information for the container's
2121// main process.
2222type User struct {
23- // Uid is the user id.
24- Uid int32 `json:"uid"`
25- // Gid is the group id.
26- Gid int32 `json:"gid"`
23+ // UID is the user id.
24+ UID int32 `json:"uid"`
25+ // GID is the group id.
26+ GID int32 `json:"gid"`
2727 // AdditionalGids are additional group ids set for the container's process.
2828 AdditionalGids []int32 `json:"additionalGids"`
2929}
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ type LinuxRuntimeSpec struct {
1010}
1111
1212type LinuxRuntime struct {
13- // UidMapping specifies user mappings for supporting user namespaces on linux.
14- UidMappings []IDMapping `json:"uidMappings"`
15- // UidMapping specifies group mappings for supporting user namespaces on linux.
16- GidMappings []IDMapping `json:"gidMappings"`
13+ // UIDMapping specifies user mappings for supporting user namespaces on linux.
14+ UIDMappings []IDMapping `json:"uidMappings"`
15+ // GIDMapping specifies group mappings for supporting user namespaces on linux.
16+ GIDMappings []IDMapping `json:"gidMappings"`
1717 // Rlimits specifies rlimit options to apply to the container's process.
1818 Rlimits []Rlimit `json:"rlimits"`
1919 // Sysctl are a set of key value pairs that are set for the container on start
You can’t perform that action at this time.
0 commit comments