moby--moby/oci/caps
Sebastiaan van Stijn 58c4c120a8
oci/caps: simplify, and remove types that were not needed
The `CapabilityMapping` and `Capabilities` types appeared to be only
used locally, and added unneeded complexity.

This patch removes those types, and simplifies the logic to use a
map that maps names to `capability.Cap`s

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-04 11:25:55 +02:00
..
defaults.go Move DefaultCapabilities() to caps package 2019-11-14 21:13:16 +02:00
utils.go oci/caps: simplify, and remove types that were not needed 2021-08-04 11:25:55 +02:00