| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Finish the refactor which was partially completed with commit
34536c498d56, passing around IdentityMapping structs instead of pairs of
[]IDMap slices.
Existing code which uses []IDMap relies on zero-valued fields to be
valid, empty mappings. So in order to successfully finish the
refactoring without introducing bugs, their replacement therefore also
needs to have a useful zero value which represents an empty mapping.
Change IdentityMapping to be a pass-by-value type so that there are no
nil pointers to worry about.
The functionality provided by the deprecated NewIDMappingsFromMaps
function is required by unit tests to to construct arbitrary
IdentityMapping values. And the daemon will always need to access the
mappings to pass them to the Linux kernel. Accommodate these use cases
by exporting the struct fields instead. BuildKit currently depends on
the UIDs and GIDs methods so we cannot get rid of them yet.
Signed-off-by: Cory Snider <csnider@mirantis.com>
|
|
|
|
| |
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
|
|
|
| |
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
|
|
|
|
| |
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
|
|
|
|
|
| |
Update gometalinter
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
|
|
|
|
|
| |
Fixes case sensitivity issue
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
|
|
|
|
| |
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
|
|
|
|
|
|
| |
Signed-off-by: Amit Krishnan <krish.amit@gmail.com>
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
|
|
|
|
| |
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
|
|
|
|
| |
Signed-off-by: Chun Chen <ramichen@tencent.com>
|
|
|
|
| |
Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
|
|
|
|
| |
Signed-off-by: John Howard <jhoward@microsoft.com>
|
|
|
|
| |
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
|
|
|
|
| |
Signed-off-by: David Mackey <tdmackey@booleanhaiku.com>
|
|
|
|
| |
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
|
|
|
|
| |
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
|
|
|
|
|
|
|
|
|
|
| |
Next steps, in another PR, would be:
- make all logging go through the logrus stuff
- I'd like to see if we can remove the env var stuff (like DEBUG) but we'll see
Closes #5198
Signed-off-by: Doug Davis <dug@us.ibm.com>
|
|
|
|
| |
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
|
|
|
|
| |
Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
|
|
|
|
| |
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
|
|
|