mirror of
https://github.com/docker/docs.git
synced 2026-03-30 07:48:52 +07:00
All the other code would not have to know about the exact auth mechanism. Use "readOnly", we can just include "pull" when readonly is true, and "push", "pull" when readonly is false. Signed-off-by: Hu Keping <hukeping@huawei.com>