1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration/container
Olli Janatuinen 80d7bfd54d Capabilities refactor
- Add support for exact list of capabilities, support only OCI model
- Support OCI model on CapAdd and CapDrop but remain backward compatibility
- Create variable locally instead of declaring it at the top
- Use const for magic "ALL" value
- Rename `cap` variable as it overlaps with `cap()` built-in
- Normalize and validate capabilities before use
- Move validation for conflicting options to validateHostConfig()
- TweakCapabilities: simplify logic to calculate capabilities

Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-01-22 21:50:41 +02:00
..
container_test.go API: properly handle invalid JSON to return a 400 status 2018-11-06 21:30:44 +01:00
copy_test.go Windows: Start of enabling tests under integration/ 2018-09-26 12:28:22 -07:00
create_test.go Capabilities refactor 2019-01-22 21:50:41 +02:00
daemon_linux_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
diff_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
exec_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
export_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
health_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
inspect_test.go Windows: Start of enabling tests under integration/ 2018-09-26 12:28:22 -07:00
ipcmode_linux_test.go Simplify skip checks 2019-01-07 13:56:57 +01:00
kill_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
links_linux_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
logs_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
main_test.go Add an integration/internal/container helper package 2018-02-10 17:29:38 +01:00
mounts_linux_test.go Simplify skip checks 2019-01-07 13:56:57 +01:00
nat_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
pause_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
ps_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
remove_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
rename_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
resize_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
restart_test.go Test: Replace NewClient() with NewClientT() 2018-12-22 15:53:02 +01:00
run_linux_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
stats_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
stop_linux_test.go Fix some minor wording / issues 2019-01-07 13:57:01 +01:00
stop_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
stop_windows_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
update_linux_test.go Replace t.Fatal(err) with assert.NilError(t, err) 2019-01-15 04:58:30 +00:00
update_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
wait_test.go migrated container wait integration tests from integration-cli to integration/container package 2018-07-23 17:37:21 -04:00