diff options
author | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-11-13 10:30:08 -0500 |
---|---|---|
committer | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-11-13 10:57:19 -0500 |
commit | 6003033adae775f1d725b05231a246a4462ae669 (patch) | |
tree | c570c523df92c3c0fb4b704c5c45b0de6603b7d6 /vendor/github.com/docker | |
parent | de32b89eff0928abdef9d85a420b65d8865e737e (diff) | |
download | podman-6003033adae775f1d725b05231a246a4462ae669.tar.gz podman-6003033adae775f1d725b05231a246a4462ae669.tar.bz2 podman-6003033adae775f1d725b05231a246a4462ae669.zip |
Bump to Buildah v1.11.5
Bump to Buildah v1.11.5. Most notably changes to the
podman build `--pull` functionality. `--pull=true` and `--pull=false` now
work as Docker does, `--pull-never` added to supply the functionality
of the old `--pull=false`.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'vendor/github.com/docker')
22 files changed, 159 insertions, 57 deletions
diff --git a/vendor/github.com/docker/docker/AUTHORS b/vendor/github.com/docker/docker/AUTHORS index d5b6cbbea..ad166ba8d 100644 --- a/vendor/github.com/docker/docker/AUTHORS +++ b/vendor/github.com/docker/docker/AUTHORS @@ -18,6 +18,7 @@ Abhishek Chanda <abhishek.becs@gmail.com> Abhishek Sharma <abhishek@asharma.me> Abin Shahab <ashahab@altiscale.com> Adam Avilla <aavilla@yp.com> +Adam Dobrawy <naczelnik@jawnosc.tk> Adam Eijdenberg <adam.eijdenberg@gmail.com> Adam Kunk <adam.kunk@tiaa-cref.org> Adam Miller <admiller@redhat.com> @@ -113,6 +114,7 @@ Anda Xu <anda.xu@docker.com> Anders Janmyr <anders@janmyr.com> Andre Dublin <81dublin@gmail.com> Andre Granovsky <robotciti@live.com> +Andrea Denisse Gómez <crypto.andrea@protonmail.ch> Andrea Luzzardi <aluzzardi@gmail.com> Andrea Turli <andrea.turli@gmail.com> Andreas Elvers <andreas@work.de> @@ -177,8 +179,10 @@ Anusha Ragunathan <anusha.ragunathan@docker.com> apocas <petermdias@gmail.com> Arash Deshmeh <adeshmeh@ca.ibm.com> ArikaChen <eaglesora@gmail.com> +Arko Dasgupta <arko.dasgupta@docker.com> Arnaud Lefebvre <a.lefebvre@outlook.fr> Arnaud Porterie <arnaud.porterie@docker.com> +Arnaud Rebillout <arnaud.rebillout@collabora.com> Arthur Barr <arthur.barr@uk.ibm.com> Arthur Gautier <baloo@gandi.net> Artur Meyster <arthurfbi@yahoo.com> @@ -280,6 +284,7 @@ Carl Loa Odin <carlodin@gmail.com> Carl X. Su <bcbcarl@gmail.com> Carlo Mion <mion00@gmail.com> Carlos Alexandro Becker <caarlos0@gmail.com> +Carlos de Paula <me@carlosedp.com> Carlos Sanchez <carlos@apache.org> Carol Fager-Higgins <carol.fager-higgins@docker.com> Cary <caryhartline@users.noreply.github.com> @@ -329,6 +334,7 @@ Chris Gibson <chris@chrisg.io> Chris Khoo <chris.khoo@gmail.com> Chris McKinnel <chris.mckinnel@tangentlabs.co.uk> Chris McKinnel <chrismckinnel@gmail.com> +Chris Price <chris.price@docker.com> Chris Seto <chriskseto@gmail.com> Chris Snow <chsnow123@gmail.com> Chris St. Pierre <chris.a.st.pierre@gmail.com> @@ -418,12 +424,14 @@ Daniel Norberg <dano@spotify.com> Daniel Nordberg <dnordberg@gmail.com> Daniel Robinson <gottagetmac@gmail.com> Daniel S <dan.streby@gmail.com> +Daniel Sweet <danieljsweet@icloud.com> Daniel Von Fange <daniel@leancoder.com> Daniel Watkins <daniel@daniel-watkins.co.uk> Daniel X Moore <yahivin@gmail.com> Daniel YC Lin <dlin.tw@gmail.com> Daniel Zhang <jmzwcn@gmail.com> Danny Berger <dpb587@gmail.com> +Danny Milosavljevic <dannym@scratchpost.org> Danny Yates <danny@codeaholics.org> Danyal Khaliq <danyal.khaliq@tenpearls.com> Darren Coxall <darren@darrencoxall.com> @@ -517,6 +525,8 @@ Dmitry Smirnov <onlyjob@member.fsf.org> Dmitry V. Krivenok <krivenok.dmitry@gmail.com> Dmitry Vorobev <dimahabr@gmail.com> Dolph Mathews <dolph.mathews@gmail.com> +Dominic Tubach <dominic.tubach@to.com> +Dominic Yin <yindongchao@inspur.com> Dominik Dingel <dingel@linux.vnet.ibm.com> Dominik Finkbeiner <finkes93@gmail.com> Dominik Honnef <dominik@honnef.co> @@ -585,6 +595,7 @@ Erik Weathers <erikdw@gmail.com> Erno Hopearuoho <erno.hopearuoho@gmail.com> Erwin van der Koogh <info@erronis.nl> Ethan Bell <ebgamer29@gmail.com> +Ethan Mosbaugh <ethan@replicated.com> Euan Kemp <euan.kemp@coreos.com> Eugen Krizo <eugen.krizo@gmail.com> Eugene Yakubovich <eugene.yakubovich@coreos.com> @@ -621,6 +632,7 @@ Fareed Dudhia <fareeddudhia@googlemail.com> Fathi Boudra <fathi.boudra@linaro.org> Federico Gimenez <fgimenez@coit.es> Felipe Oliveira <felipeweb.programador@gmail.com> +Felipe Ruhland <felipe.ruhland@gmail.com> Felix Abecassis <fabecassis@nvidia.com> Felix Geisendörfer <felix@debuggable.com> Felix Hupfeld <felix@quobyte.com> @@ -655,6 +667,7 @@ Frank Groeneveld <frank@ivaldi.nl> Frank Herrmann <fgh@4gh.tv> Frank Macreery <frank@macreery.com> Frank Rosquin <frank.rosquin+github@gmail.com> +frankyang <yyb196@gmail.com> Fred Lifton <fred.lifton@docker.com> Frederick F. Kautz IV <fkautz@redhat.com> Frederik Loeffert <frederik@zitrusmedia.de> @@ -702,6 +715,7 @@ Gleb M Borisov <borisov.gleb@gmail.com> Glyn Normington <gnormington@gopivotal.com> GoBella <caili_welcome@163.com> Goffert van Gool <goffert@phusion.nl> +Goldwyn Rodrigues <rgoldwyn@suse.com> Gopikannan Venugopalsamy <gopikannan.venugopalsamy@gmail.com> Gosuke Miyashita <gosukenator@gmail.com> Gou Rao <gou@portworx.com> @@ -725,6 +739,7 @@ Guruprasad <lgp171188@gmail.com> Gustav Sinder <gustav.sinder@gmail.com> gwx296173 <gaojing3@huawei.com> Günter Zöchbauer <guenter@gzoechbauer.com> +Haichao Yang <yang.haichao@zte.com.cn> haikuoliu <haikuo@amazon.com> Hakan Özler <hakan.ozler@kodcu.com> Hamish Hutchings <moredhel@aoeu.me> @@ -733,6 +748,7 @@ Hans Rødtang <hansrodtang@gmail.com> Hao Shu Wei <haosw@cn.ibm.com> Hao Zhang <21521210@zju.edu.cn> Harald Albers <github@albersweb.de> +Harald Niesche <harald@niesche.de> Harley Laue <losinggeneration@gmail.com> Harold Cooper <hrldcpr@gmail.com> Harrison Turton <harrisonturton@gmail.com> @@ -752,9 +768,11 @@ Hobofan <goisser94@gmail.com> Hollie Teal <hollie@docker.com> Hong Xu <hong@topbug.net> Hongbin Lu <hongbin034@gmail.com> +Hongxu Jia <hongxu.jia@windriver.com> hsinko <21551195@zju.edu.cn> Hu Keping <hukeping@huawei.com> Hu Tao <hutao@cn.fujitsu.com> +HuanHuan Ye <logindaveye@gmail.com> Huanzhong Zhang <zhanghuanzhong90@gmail.com> Huayi Zhang <irachex@gmail.com> Hugo Duncan <hugo@hugoduncan.org> @@ -898,6 +916,7 @@ Jie Luo <luo612@zju.edu.cn> Jihyun Hwang <jhhwang@telcoware.com> Jilles Oldenbeuving <ojilles@gmail.com> Jim Alateras <jima@comware.com.au> +Jim Ehrismann <jim.ehrismann@docker.com> Jim Galasyn <jim.galasyn@docker.com> Jim Minter <jminter@redhat.com> Jim Perrin <jperrin@centos.org> @@ -935,7 +954,7 @@ John Feminella <jxf@jxf.me> John Gardiner Myers <jgmyers@proofpoint.com> John Gossman <johngos@microsoft.com> John Harris <john@johnharris.io> -John Howard (VM) <John.Howard@microsoft.com> +John Howard <github@lowenna.com> John Laswell <john.n.laswell@gmail.com> John Maguire <jmaguire@duosecurity.com> John Mulhausen <john@docker.com> @@ -949,6 +968,7 @@ John Willis <john.willis@docker.com> Jon Johnson <jonjohnson@google.com> Jon Surrell <jon.surrell@gmail.com> Jon Wedaman <jweede@gmail.com> +Jonas Dohse <jonas@dohse.ch> Jonas Pfenniger <jonas@pfenniger.name> Jonathan A. Schweder <jonathanschweder@gmail.com> Jonathan A. Sternberg <jonathansternberg@gmail.com> @@ -1002,6 +1022,7 @@ Julio Montes <imc.coder@gmail.com> Jun-Ru Chang <jrjang@gmail.com> Jussi Nummelin <jussi.nummelin@gmail.com> Justas Brazauskas <brazauskasjustas@gmail.com> +Justen Martin <jmart@the-coder.com> Justin Cormack <justin.cormack@docker.com> Justin Force <justin.force@gmail.com> Justin Menga <justin.menga@gmail.com> @@ -1010,6 +1031,7 @@ Justin Simonelis <justin.p.simonelis@gmail.com> Justin Terry <juterry@microsoft.com> Justyn Temme <justyntemme@gmail.com> Jyrki Puttonen <jyrkiput@gmail.com> +Jérémy Leherpeur <amenophis@leherpeur.net> Jérôme Petazzoni <jerome.petazzoni@docker.com> Jörg Thalheim <joerg@higgsboson.tk> K. Heller <pestophagous@gmail.com> @@ -1047,6 +1069,7 @@ Ken Reese <krrgithub@gmail.com> Kenfe-Mickaël Laventure <mickael.laventure@gmail.com> Kenjiro Nakayama <nakayamakenjiro@gmail.com> Kent Johnson <kentoj@gmail.com> +Kenta Tada <Kenta.Tada@sony.com> Kevin "qwazerty" Houdebert <kevin.houdebert@gmail.com> Kevin Burke <kev@inburke.com> Kevin Clark <kevin.clark@gmail.com> @@ -1057,6 +1080,7 @@ Kevin Kern <kaiwentan@harmonycloud.cn> Kevin Menard <kevin@nirvdrum.com> Kevin Meredith <kevin.m.meredith@gmail.com> Kevin P. Kucharczyk <kevinkucharczyk@gmail.com> +Kevin Parsons <kevpar@microsoft.com> Kevin Richardson <kevin@kevinrichardson.co> Kevin Shi <kshi@andrew.cmu.edu> Kevin Wallace <kevin@pentabarf.net> @@ -1147,6 +1171,7 @@ longliqiang88 <394564827@qq.com> Lorenz Leutgeb <lorenz.leutgeb@gmail.com> Lorenzo Fontana <fontanalorenz@gmail.com> Lotus Fenn <fenn.lotus@gmail.com> +Louis Delossantos <ldelossa.ld@gmail.com> Louis Opter <kalessin@kalessin.fr> Luca Favatella <luca.favatella@erlang-solutions.com> Luca Marturana <lucamarturana@gmail.com> @@ -1159,12 +1184,14 @@ Lucas Silvestre <lukas.silvestre@gmail.com> Luciano Mores <leslau@gmail.com> Luis Martínez de Bartolomé Izquierdo <lmartinez@biicode.com> Luiz Svoboda <luizek@gmail.com> +Lukas Heeren <lukas-heeren@hotmail.com> Lukas Waslowski <cr7pt0gr4ph7@gmail.com> lukaspustina <lukas.pustina@centerdevice.com> Lukasz Zajaczkowski <Lukasz.Zajaczkowski@ts.fujitsu.com> Luke Marsden <me@lukemarsden.net> Lyn <energylyn@zju.edu.cn> Lynda O'Leary <lyndaoleary29@gmail.com> +lzhfromutsc <lzhfromustc@gmail.com> Lénaïc Huard <lhuard@amadeus.com> Ma Müller <mueller-ma@users.noreply.github.com> Ma Shimiao <mashimiao.fnst@cn.fujitsu.com> @@ -1298,6 +1325,7 @@ Michael Stapelberg <michael+gh@stapelberg.de> Michael Steinert <mike.steinert@gmail.com> Michael Thies <michaelthies78@gmail.com> Michael West <mwest@mdsol.com> +Michael Zhao <michael.zhao@arm.com> Michal Fojtik <mfojtik@redhat.com> Michal Gebauer <mishak@mishak.net> Michal Jemala <michal.jemala@gmail.com> @@ -1382,6 +1410,7 @@ Neyazul Haque <nuhaque@gmail.com> Nghia Tran <nghia@google.com> Niall O'Higgins <niallo@unworkable.org> Nicholas E. Rabenau <nerab@gmx.at> +Nick Adcock <nick.adcock@docker.com> Nick DeCoursin <n.decoursin@foodpanda.com> Nick Irvine <nfirvine@nfirvine.com> Nick Neisen <nwneisen@gmail.com> @@ -1420,6 +1449,7 @@ Nuutti Kotivuori <naked@iki.fi> nzwsch <hi@nzwsch.com> O.S. Tezer <ostezer@gmail.com> objectified <objectified@gmail.com> +Odin Ugedal <odin@ugedal.com> Oguz Bilgic <fisyonet@gmail.com> Oh Jinkyun <tintypemolly@gmail.com> Ohad Schneider <ohadschn@users.noreply.github.com> @@ -1430,6 +1460,7 @@ Oliver Reason <oli@overrateddev.co> Olivier Gambier <dmp42@users.noreply.github.com> Olle Jonsson <olle.jonsson@gmail.com> Olli Janatuinen <olli.janatuinen@gmail.com> +Olly Pomeroy <oppomeroy@gmail.com> Omri Shiv <Omri.Shiv@teradata.com> Oriol Francès <oriolfa@gmail.com> Oskar Niburski <oskarniburski@gmail.com> @@ -1439,6 +1470,7 @@ Ovidio Mallo <ovidio.mallo@gmail.com> Panagiotis Moustafellos <pmoust@elastic.co> Paolo G. Giarrusso <p.giarrusso@gmail.com> Pascal <pascalgn@users.noreply.github.com> +Pascal Bach <pascal.bach@siemens.com> Pascal Borreli <pascal@borreli.com> Pascal Hartig <phartig@rdrei.net> Patrick Böänziger <patrick.baenziger@bsi-software.com> @@ -1463,6 +1495,7 @@ Paul Nasrat <pnasrat@gmail.com> Paul Weaver <pauweave@cisco.com> Paulo Ribeiro <paigr.io@gmail.com> Pavel Lobashov <ShockwaveNN@gmail.com> +Pavel Matěja <pavel@verotel.cz> Pavel Pletenev <cpp.create@gmail.com> Pavel Pospisil <pospispa@gmail.com> Pavel Sutyrin <pavel.sutyrin@gmail.com> @@ -1574,6 +1607,7 @@ Riku Voipio <riku.voipio@linaro.org> Riley Guerin <rileytg.dev@gmail.com> Ritesh H Shukla <sritesh@vmware.com> Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com> +Rob Gulewich <rgulewich@netflix.com> Rob Vesse <rvesse@dotnetrdf.org> Robert Bachmann <rb@robertbachmann.at> Robert Bittle <guywithnose@gmail.com> @@ -1582,11 +1616,13 @@ Robert Schneider <mail@shakeme.info> Robert Stern <lexandro2000@gmail.com> Robert Terhaar <rterhaar@atlanticdynamic.com> Robert Wallis <smilingrob@gmail.com> +Robert Wang <robert@arctic.tw> Roberto G. Hashioka <roberto.hashioka@docker.com> Roberto Muñoz Fernández <robertomf@gmail.com> Robin Naundorf <r.naundorf@fh-muenster.de> Robin Schneider <ypid@riseup.net> Robin Speekenbrink <robin@kingsquare.nl> +Robin Thoni <robin@rthoni.com> robpc <rpcann@gmail.com> Rodolfo Carvalho <rhcarvalho@gmail.com> Rodrigo Vaz <rodrigo.vaz@gmail.com> @@ -1620,6 +1656,7 @@ Rozhnov Alexandr <nox73@ya.ru> Rudolph Gottesheim <r.gottesheim@loot.at> Rui Cao <ruicao@alauda.io> Rui Lopes <rgl@ruilopes.com> +Ruilin Li <liruilin4@huawei.com> Runshen Zhu <runshen.zhu@gmail.com> Russ Magee <rmagee@gmail.com> Ryan Abrams <rdabrams@gmail.com> @@ -1658,6 +1695,7 @@ Sam J Sharpe <sam.sharpe@digital.cabinet-office.gov.uk> Sam Neirinck <sam@samneirinck.com> Sam Reis <sreis@atlassian.com> Sam Rijs <srijs@airpost.net> +Sam Whited <sam@samwhited.com> Sambuddha Basu <sambuddhabasu1@gmail.com> Sami Wagiaalla <swagiaal@redhat.com> Samuel Andaya <samuel@andaya.net> @@ -1672,6 +1710,7 @@ sapphiredev <se.imas.kr@gmail.com> Sargun Dhillon <sargun@netflix.com> Sascha Andres <sascha.andres@outlook.com> Sascha Grunert <sgrunert@suse.com> +SataQiu <qiushida@beyondcent.com> Satnam Singh <satnam@raintown.org> Satoshi Amemiya <satoshi_amemiya@voyagegroup.com> Satoshi Tagomori <tagomoris@gmail.com> @@ -1720,6 +1759,7 @@ Shijun Qin <qinshijun16@mails.ucas.ac.cn> Shishir Mahajan <shishir.mahajan@redhat.com> Shoubhik Bose <sbose78@gmail.com> Shourya Sarcar <shourya.sarcar@gmail.com> +Shu-Wai Chow <shu-wai.chow@seattlechildrens.org> shuai-z <zs.broccoli@gmail.com> Shukui Yang <yangshukui@huawei.com> Shuwei Hao <haosw@cn.ibm.com> @@ -1730,6 +1770,7 @@ Silas Sewell <silas@sewell.org> Silvan Jegen <s.jegen@gmail.com> Simão Reis <smnrsti@gmail.com> Simei He <hesimei@zju.edu.cn> +Simon Barendse <simon.barendse@gmail.com> Simon Eskildsen <sirup@sirupsen.com> Simon Ferquel <simon.ferquel@docker.com> Simon Leinen <simon.leinen@gmail.com> @@ -1738,6 +1779,7 @@ Simon Taranto <simon.taranto@gmail.com> Simon Vikstrom <pullreq@devsn.se> Sindhu S <sindhus@live.in> Sjoerd Langkemper <sjoerd-github@linuxonly.nl> +skanehira <sho19921005@gmail.com> Solganik Alexander <solganik@gmail.com> Solomon Hykes <solomon@docker.com> Song Gao <song@gao.io> @@ -1749,6 +1791,7 @@ Sridatta Thatipamala <sthatipamala@gmail.com> Sridhar Ratnakumar <sridharr@activestate.com> Srini Brahmaroutu <srbrahma@us.ibm.com> Srinivasan Srivatsan <srinivasan.srivatsan@hpe.com> +Staf Wagemakers <staf@wagemakers.be> Stanislav Bondarenko <stanislav.bondarenko@gmail.com> Steeve Morin <steeve.morin@gmail.com> Stefan Berger <stefanb@linux.vnet.ibm.com> @@ -1759,6 +1802,7 @@ Stefan Scherer <stefan.scherer@docker.com> Stefan Staudenmeyer <doerte@instana.com> Stefan Weil <sw@weilnetz.de> Stephan Spindler <shutefan@gmail.com> +Stephen Benjamin <stephen@redhat.com> Stephen Crosby <stevecrozz@gmail.com> Stephen Day <stephen.day@docker.com> Stephen Drake <stephen@xenolith.net> @@ -1775,10 +1819,12 @@ Steven Iveson <sjiveson@outlook.com> Steven Merrill <steven.merrill@gmail.com> Steven Richards <steven@axiomzen.co> Steven Taylor <steven.taylor@me.com> +Stig Larsson <stig@larsson.dev> Subhajit Ghosh <isubuz.g@gmail.com> Sujith Haridasan <sujith.h@gmail.com> Sun Gengze <690388648@qq.com> Sun Jianbo <wonderflow.sun@gmail.com> +Sune Keller <sune.keller@gmail.com> Sunny Gogoi <indiasuny000@gmail.com> Suryakumar Sudar <surya.trunks@gmail.com> Sven Dowideit <SvenDowideit@home.org.au> @@ -1829,6 +1875,7 @@ Tianyi Wang <capkurmagati@gmail.com> Tibor Vass <teabee89@gmail.com> Tiffany Jernigan <tiffany.f.j@gmail.com> Tiffany Low <tiffany@box.com> +Tim <elatllat@gmail.com> Tim Bart <tim@fewagainstmany.com> Tim Bosse <taim@bosboot.org> Tim Dettrick <t.dettrick@uq.edu.au> @@ -1914,6 +1961,7 @@ Victor Palma <palma.victor@gmail.com> Victor Vieux <victor.vieux@docker.com> Victoria Bialas <victoria.bialas@docker.com> Vijaya Kumar K <vijayak@caviumnetworks.com> +Vikram bir Singh <vikrambir.singh@docker.com> Viktor Stanchev <me@viktorstanchev.com> Viktor Vojnovski <viktor.vojnovski@amadeus.com> VinayRaghavanKS <raghavan.vinay@gmail.com> @@ -1971,6 +2019,7 @@ Wenyu You <21551128@zju.edu.cn> Wenzhi Liang <wenzhi.liang@gmail.com> Wes Morgan <cap10morgan@gmail.com> Wewang Xiaorenfine <wang.xiaoren@zte.com.cn> +Wiktor Kwapisiewicz <wiktor@metacode.biz> Will Dietz <w@wdtz.org> Will Rouesnel <w.rouesnel@gmail.com> Will Weaver <monkey@buildingbananas.com> @@ -1998,6 +2047,7 @@ xichengliudui <1693291525@qq.com> xiekeyang <xiekeyang@huawei.com> Ximo Guanter Gonzálbez <joaquin.guantergonzalbez@telefonica.com> Xinbo Weng <xihuanbo_0521@zju.edu.cn> +Xinfeng Liu <xinfeng.liu@gmail.com> Xinzi Zhou <imdreamrunner@gmail.com> Xiuming Chen <cc@cxm.cc> Xuecong Liao <satorulogic@gmail.com> @@ -2012,6 +2062,7 @@ Yang Pengfei <yangpengfei4@huawei.com> yangchenliang <yangchenliang@huawei.com> Yanqiang Miao <miao.yanqiang@zte.com.cn> Yao Zaiyong <yaozaiyong@hotmail.com> +Yash Murty <yashmurty@gmail.com> Yassine Tijani <yasstij11@gmail.com> Yasunori Mahata <nori@mahata.net> Yazhong Liu <yorkiefixer@gmail.com> @@ -2026,6 +2077,7 @@ Yongxin Li <yxli@alauda.io> Yongzhi Pan <panyongzhi@gmail.com> Yosef Fertel <yfertel@gmail.com> You-Sheng Yang (楊有勝) <vicamo@gmail.com> +youcai <omegacoleman@gmail.com> Youcef YEKHLEF <yyekhlef@gmail.com> Yu Changchun <yuchangchun1@huawei.com> Yu Chengxia <yuchengxia@huawei.com> @@ -2062,6 +2114,7 @@ Zhoulin Xie <zhoulin.xie@daocloud.io> Zhu Guihua <zhugh.fnst@cn.fujitsu.com> Zhu Kunjia <zhu.kunjia@zte.com.cn> Zhuoyun Wei <wzyboy@wzyboy.org> +Ziheng Liu <lzhfromustc@gmail.com> Zilin Du <zilin.du@gmail.com> zimbatm <zimbatm@zimbatm.com> Ziming Dong <bnudzm@foxmail.com> @@ -2070,7 +2123,7 @@ zmarouf <zeid.marouf@gmail.com> Zoltan Tombol <zoltan.tombol@gmail.com> Zou Yu <zouyu7@huawei.com> zqh <zqhxuyuan@gmail.com> -Zuhayr Elahi <elahi.zuhayr@gmail.com> +Zuhayr Elahi <zuhayr.elahi@docker.com> Zunayed Ali <zunayed@gmail.com> Álex González <agonzalezro@gmail.com> Álvaro Lázaro <alvaro.lazaro.g@gmail.com> diff --git a/vendor/github.com/docker/docker/api/swagger.yaml b/vendor/github.com/docker/docker/api/swagger.yaml index cc2451f03..0698bba52 100644 --- a/vendor/github.com/docker/docker/api/swagger.yaml +++ b/vendor/github.com/docker/docker/api/swagger.yaml @@ -3369,6 +3369,27 @@ definitions: format: "dateTime" Message: type: "string" + ServiceStatus: + description: | + The status of the service's tasks. Provided only when requested as + part of a ServiceList operation. + type: "object" + properties: + RunningTasks: + description: "The number of tasks for the service currently in the Running state" + type: "integer" + format: "uint64" + example: 7 + DesiredTasks: + description: | + The number of tasks for the service desired to be running. + For replicated services, this is the replica count from the + service spec. For global services, this is computed by taking + count of all tasks for the service with a Desired State other + than Shutdown. + type: "integer" + format: "uint64" + example: 10 example: ID: "9mnpnzenvg8p8tdbtq4wvbkcz" Version: @@ -4924,6 +4945,8 @@ paths: type: "integer" Driver: type: "string" + Platform: + type: "string" MountLabel: type: "string" ProcessLabel: @@ -9316,6 +9339,10 @@ paths: - `label=<service label>` - `mode=["replicated"|"global"]` - `name=<service name>` + - name: "status" + in: "query" + type: "boolean" + description: "Include service status, with count of running and desired tasks" tags: ["Service"] /services/create: post: @@ -10414,9 +10441,6 @@ paths: description: | Start a new interactive session with a server. Session allows server to call back to the client for advanced capabilities. - > **Note**: This endpoint is *experimental* and only available if the daemon is started with experimental - > features enabled. The specifications for this endpoint may still change in a future version of the API. - ### Hijacking This endpoint hijacks the HTTP connection to HTTP2 transport that allows the client to expose gPRC services on that connection. @@ -10450,4 +10474,4 @@ paths: description: "server error" schema: $ref: "#/definitions/ErrorResponse" - tags: ["Session (experimental)"] + tags: ["Session"] diff --git a/vendor/github.com/docker/docker/api/types/client.go b/vendor/github.com/docker/docker/api/types/client.go index 4b9f50282..8363ed736 100644 --- a/vendor/github.com/docker/docker/api/types/client.go +++ b/vendor/github.com/docker/docker/api/types/client.go @@ -363,6 +363,10 @@ type ServiceUpdateOptions struct { // ServiceListOptions holds parameters to list services with. type ServiceListOptions struct { Filters filters.Args + + // Status indicates whether the server should include the service task + // count of running and desired tasks. + Status bool } // ServiceInspectOptions holds parameters related to the "service inspect" diff --git a/vendor/github.com/docker/docker/api/types/filters/parse.go b/vendor/github.com/docker/docker/api/types/filters/parse.go index 2e24e769c..cd7ad92e7 100644 --- a/vendor/github.com/docker/docker/api/types/filters/parse.go +++ b/vendor/github.com/docker/docker/api/types/filters/parse.go @@ -36,6 +36,15 @@ func NewArgs(initialArgs ...KeyValuePair) Args { return args } +// Keys returns all the keys in list of Args +func (args Args) Keys() []string { + keys := make([]string, 0, len(args.fields)) + for k := range args.fields { + keys = append(keys, k) + } + return keys +} + // MarshalJSON returns a JSON byte representation of the Args func (args Args) MarshalJSON() ([]byte, error) { if len(args.fields) == 0 { diff --git a/vendor/github.com/docker/docker/api/types/swarm/service.go b/vendor/github.com/docker/docker/api/types/swarm/service.go index abf192e75..6b59711ab 100644 --- a/vendor/github.com/docker/docker/api/types/swarm/service.go +++ b/vendor/github.com/docker/docker/api/types/swarm/service.go @@ -10,6 +10,13 @@ type Service struct { PreviousSpec *ServiceSpec `json:",omitempty"` Endpoint Endpoint `json:",omitempty"` UpdateStatus *UpdateStatus `json:",omitempty"` + + // ServiceStatus is an optional, extra field indicating the number of + // desired and running tasks. It is provided primarily as a shortcut to + // calculating these values client-side, which otherwise would require + // listing all tasks for a service, an operation that could be + // computation and network expensive. + ServiceStatus *ServiceStatus `json:",omitempty"` } // ServiceSpec represents the spec of a service. @@ -122,3 +129,17 @@ type UpdateConfig struct { // started, or the new task is started before the old task is shut down. Order string } + +// ServiceStatus represents the number of running tasks in a service and the +// number of tasks desired to be running. +type ServiceStatus struct { + // RunningTasks is the number of tasks for the service actually in the + // Running state + RunningTasks uint64 + + // DesiredTasks is the number of tasks desired to be running by the + // service. For replicated services, this is the replica count. For global + // services, this is computed by taking the number of tasks with desired + // state of not-Shutdown. + DesiredTasks uint64 +} diff --git a/vendor/github.com/docker/docker/client/container_list.go b/vendor/github.com/docker/docker/client/container_list.go index c099d80e2..a973de597 100644 --- a/vendor/github.com/docker/docker/client/container_list.go +++ b/vendor/github.com/docker/docker/client/container_list.go @@ -35,7 +35,7 @@ func (cli *Client) ContainerList(ctx context.Context, options types.ContainerLis } if options.Filters.Len() > 0 { - //lint:ignore SA1019 for old code + //nolint:staticcheck // ignore SA1019 for old code filterJSON, err := filters.ToParamWithVersion(cli.version, options.Filters) if err != nil { diff --git a/vendor/github.com/docker/docker/client/events.go b/vendor/github.com/docker/docker/client/events.go index f347cadf1..f0dc9d9e1 100644 --- a/vendor/github.com/docker/docker/client/events.go +++ b/vendor/github.com/docker/docker/client/events.go @@ -90,7 +90,7 @@ func buildEventsQueryParams(cliVersion string, options types.EventsOptions) (url } if options.Filters.Len() > 0 { - //lint:ignore SA1019 for old code + //nolint:staticcheck // ignore SA1019 for old code filterJSON, err := filters.ToParamWithVersion(cliVersion, options.Filters) if err != nil { return nil, err diff --git a/vendor/github.com/docker/docker/client/hijack.go b/vendor/github.com/docker/docker/client/hijack.go index e77084af6..e1dc49ef0 100644 --- a/vendor/github.com/docker/docker/client/hijack.go +++ b/vendor/github.com/docker/docker/client/hijack.go @@ -24,7 +24,7 @@ func (cli *Client) postHijacked(ctx context.Context, path string, query url.Valu } apiPath := cli.getAPIPath(ctx, path, query) - req, err := http.NewRequest("POST", apiPath, bodyEncoded) + req, err := http.NewRequest(http.MethodPost, apiPath, bodyEncoded) if err != nil { return types.HijackedResponse{}, err } @@ -40,7 +40,7 @@ func (cli *Client) postHijacked(ctx context.Context, path string, query url.Valu // DialHijack returns a hijacked connection with negotiated protocol proto. func (cli *Client) DialHijack(ctx context.Context, url, proto string, meta map[string][]string) (net.Conn, error) { - req, err := http.NewRequest("POST", url, nil) + req, err := http.NewRequest(http.MethodPost, url, nil) if err != nil { return nil, err } @@ -88,7 +88,7 @@ func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto // Server hijacks the connection, error 'connection closed' expected resp, err := clientconn.Do(req) - //lint:ignore SA1019 for connecting to old (pre go1.8) daemons + //nolint:staticcheck // ignore SA1019 for connecting to old (pre go1.8) daemons if err != httputil.ErrPersistEOF { if err != nil { return nil, err diff --git a/vendor/github.com/docker/docker/client/image_list.go b/vendor/github.com/docker/docker/client/image_list.go index a5bc4b095..a4d750509 100644 --- a/vendor/github.com/docker/docker/client/image_list.go +++ b/vendor/github.com/docker/docker/client/image_list.go @@ -24,7 +24,7 @@ func (cli *Client) ImageList(ctx context.Context, options types.ImageListOptions } } if optionFilters.Len() > 0 { - //lint:ignore SA1019 for old code + //nolint:staticcheck // ignore SA1019 for old code filterJSON, err := filters.ToParamWithVersion(cli.version, optionFilters) if err != nil { return images, err diff --git a/vendor/github.com/docker/docker/client/network_list.go b/vendor/github.com/docker/docker/client/network_list.go index 8ca7eb612..ed2acb557 100644 --- a/vendor/github.com/docker/docker/client/network_list.go +++ b/vendor/github.com/docker/docker/client/network_list.go @@ -13,7 +13,7 @@ import ( func (cli *Client) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error) { query := url.Values{} if options.Filters.Len() > 0 { - //lint:ignore SA1019 for old code + //nolint:staticcheck // ignore SA1019 for old code filterJSON, err := filters.ToParamWithVersion(cli.version, options.Filters) if err != nil { return nil, err diff --git a/vendor/github.com/docker/docker/client/ping.go b/vendor/github.com/docker/docker/client/ping.go index 90f39ec14..1cfc48a25 100644 --- a/vendor/github.com/docker/docker/client/ping.go +++ b/vendor/github.com/docker/docker/client/ping.go @@ -19,7 +19,7 @@ func (cli *Client) Ping(ctx context.Context) (types.Ping, error) { // Using cli.buildRequest() + cli.doRequest() instead of cli.sendRequest() // because ping requests are used during API version negotiation, so we want // to hit the non-versioned /_ping endpoint, not /v1.xx/_ping - req, err := cli.buildRequest("HEAD", path.Join(cli.basePath, "/_ping"), nil, nil) + req, err := cli.buildRequest(http.MethodHead, path.Join(cli.basePath, "/_ping"), nil, nil) if err != nil { return ping, err } @@ -35,7 +35,7 @@ func (cli *Client) Ping(ctx context.Context) (types.Ping, error) { return ping, err } - req, err = cli.buildRequest("GET", path.Join(cli.basePath, "/_ping"), nil, nil) + req, err = cli.buildRequest(http.MethodGet, path.Join(cli.basePath, "/_ping"), nil, nil) if err != nil { return ping, err } diff --git a/vendor/github.com/docker/docker/client/plugin_list.go b/vendor/github.com/docker/docker/client/plugin_list.go index a51c930e6..cf1935e2f 100644 --- a/vendor/github.com/docker/docker/client/plugin_list.go +++ b/vendor/github.com/docker/docker/client/plugin_list.go @@ -15,7 +15,7 @@ func (cli *Client) PluginList(ctx context.Context, filter filters.Args) (types.P query := url.Values{} if filter.Len() > 0 { - //lint:ignore SA1019 for old code + //nolint:staticcheck // ignore SA1019 for old code filterJSON, err := filters.ToParamWithVersion(cli.version, filter) if err != nil { return plugins, err diff --git a/vendor/github.com/docker/docker/client/request.go b/vendor/github.com/docker/docker/client/request.go index 144c41636..ee15a46ed 100644 --- a/vendor/github.com/docker/docker/client/request.go +++ b/vendor/github.com/docker/docker/client/request.go @@ -29,12 +29,12 @@ type serverResponse struct { // head sends an http request to the docker API using the method HEAD. func (cli *Client) head(ctx context.Context, path string, query url.Values, headers map[string][]string) (serverResponse, error) { - return cli.sendRequest(ctx, "HEAD", path, query, nil, headers) + return cli.sendRequest(ctx, http.MethodHead, path, query, nil, headers) } // get sends an http request to the docker API using the method GET with a specific Go context. func (cli *Client) get(ctx context.Context, path string, query url.Values, headers map[string][]string) (serverResponse, error) { - return cli.sendRequest(ctx, "GET", path, query, nil, headers) + return cli.sendRequest(ctx, http.MethodGet, path, query, nil, headers) } // post sends an http request to the docker API using the method POST with a specific Go context. @@ -43,21 +43,21 @@ func (cli *Client) post(ctx context.Context, path string, query url.Values, obj if err != nil { return serverResponse{}, err } - return cli.sendRequest(ctx, "POST", path, query, body, headers) + return cli.sendRequest(ctx, http.MethodPost, path, query, body, headers) } func (cli *Client) postRaw(ctx context.Context, path string, query url.Values, body io.Reader, headers map[string][]string) (serverResponse, error) { - return cli.sendRequest(ctx, "POST", path, query, body, headers) + return cli.sendRequest(ctx, http.MethodPost, path, query, body, headers) } // putRaw sends an http request to the docker API using the method PUT. func (cli *Client) putRaw(ctx context.Context, path string, query url.Values, body io.Reader, headers map[string][]string) (serverResponse, error) { - return cli.sendRequest(ctx, "PUT", path, query, body, headers) + return cli.sendRequest(ctx, http.MethodPut, path, query, body, headers) } // delete sends an http request to the docker API using the method DELETE. func (cli *Client) delete(ctx context.Context, path string, query url.Values, headers map[string][]string) (serverResponse, error) { - return cli.sendRequest(ctx, "DELETE", path, query, nil, headers) + return cli.sendRequest(ctx, http.MethodDelete, path, query, nil, headers) } type headers map[string][]string @@ -79,7 +79,7 @@ func encodeBody(obj interface{}, headers headers) (io.Reader, headers, error) { } func (cli *Client) buildRequest(method, path string, body io.Reader, headers headers) (*http.Request, error) { - expectedPayload := (method == "POST" || method == "PUT") + expectedPayload := (method == http.MethodPost || method == http.MethodPut) if expectedPayload && body == nil { body = bytes.NewReader([]byte{}) } diff --git a/vendor/github.com/docker/docker/client/service_list.go b/vendor/github.com/docker/docker/client/service_list.go index 64d35e715..f97ec75a5 100644 --- a/vendor/github.com/docker/docker/client/service_list.go +++ b/vendor/github.com/docker/docker/client/service_list.go @@ -23,6 +23,10 @@ func (cli *Client) ServiceList(ctx context.Context, options types.ServiceListOpt query.Set("filters", filterJSON) } + if options.Status { + query.Set("status", "true") + } + resp, err := cli.get(ctx, "/services", query, nil) defer ensureReaderClosed(resp) if err != nil { diff --git a/vendor/github.com/docker/docker/client/volume_list.go b/vendor/github.com/docker/docker/client/volume_list.go index d68fc2b98..942498dde 100644 --- a/vendor/github.com/docker/docker/client/volume_list.go +++ b/vendor/github.com/docker/docker/client/volume_list.go @@ -15,7 +15,7 @@ func (cli *Client) VolumeList(ctx context.Context, filter filters.Args) (volumet query := url.Values{} if filter.Len() > 0 { - //lint:ignore SA1019 for old code + //nolint:staticcheck // ignore SA1019 for old code filterJSON, err := filters.ToParamWithVersion(cli.version, filter) if err != nil { return volumes, err diff --git a/vendor/github.com/docker/docker/pkg/homedir/homedir_unix.go b/vendor/github.com/docker/docker/pkg/homedir/homedir_unix.go index 284e8be7c..441bd727b 100644 --- a/vendor/github.com/docker/docker/pkg/homedir/homedir_unix.go +++ b/vendor/github.com/docker/docker/pkg/homedir/homedir_unix.go @@ -16,8 +16,11 @@ func Key() string { // Get returns the home directory of the current user with the help of // environment variables depending on the target operating system. // Returned path should be used with "path/filepath" to form new paths. -// If compiling statically, ensure the osusergo build tag is used. -// If needing to do nss lookups, do not compile statically. +// +// If linking statically with cgo enabled against glibc, ensure the +// osusergo build tag is used. +// +// If needing to do nss lookups, do not disable cgo or set osusergo. func Get() string { home := os.Getenv(Key()) if home == "" { diff --git a/vendor/github.com/docker/docker/pkg/jsonmessage/jsonmessage.go b/vendor/github.com/docker/docker/pkg/jsonmessage/jsonmessage.go index 6d6640898..814993ec3 100644 --- a/vendor/github.com/docker/docker/pkg/jsonmessage/jsonmessage.go +++ b/vendor/github.com/docker/docker/pkg/jsonmessage/jsonmessage.go @@ -139,13 +139,13 @@ type JSONMessage struct { Stream string `json:"stream,omitempty"` Status string `json:"status,omitempty"` Progress *JSONProgress `json:"progressDetail,omitempty"` - ProgressMessage string `json:"progress,omitempty"` //deprecated + ProgressMessage string `json:"progress,omitempty"` // deprecated ID string `json:"id,omitempty"` From string `json:"from,omitempty"` Time int64 `json:"time,omitempty"` TimeNano int64 `json:"timeNano,omitempty"` Error *JSONError `json:"errorDetail,omitempty"` - ErrorMessage string `json:"error,omitempty"` //deprecated + ErrorMessage string `json:"error,omitempty"` // deprecated // Aux contains out-of-band data, such as digests for push signing and image id after building. Aux *json.RawMessage `json:"aux,omitempty"` } @@ -177,7 +177,7 @@ func (jm *JSONMessage) Display(out io.Writer, isTerminal bool) error { if isTerminal && jm.Stream == "" && jm.Progress != nil { clearLine(out) endl = "\r" - fmt.Fprintf(out, endl) + fmt.Fprint(out, endl) } else if jm.Progress != nil && jm.Progress.String() != "" { //disable progressbar in non-terminal return nil } @@ -194,7 +194,7 @@ func (jm *JSONMessage) Display(out io.Writer, isTerminal bool) error { } if jm.Progress != nil && isTerminal { fmt.Fprintf(out, "%s %s%s", jm.Status, jm.Progress.String(), endl) - } else if jm.ProgressMessage != "" { //deprecated + } else if jm.ProgressMessage != "" { // deprecated fmt.Fprintf(out, "%s %s%s", jm.Status, jm.ProgressMessage, endl) } else if jm.Stream != "" { fmt.Fprintf(out, "%s%s", jm.Stream, endl) diff --git a/vendor/github.com/docker/docker/pkg/mount/mountinfo_linux.go b/vendor/github.com/docker/docker/pkg/mount/mountinfo_linux.go index fe6e3ddba..58ca61f3f 100644 --- a/vendor/github.com/docker/docker/pkg/mount/mountinfo_linux.go +++ b/vendor/github.com/docker/docker/pkg/mount/mountinfo_linux.go @@ -90,7 +90,6 @@ func parseInfoFile(r io.Reader, filter FilterFunc) ([]*Info, error) { mount propagation flags in fields[6]. The correct behavior is to ignore any unknown optional fields. */ - break } } if i == numFields { diff --git a/vendor/github.com/docker/docker/pkg/namesgenerator/names-generator.go b/vendor/github.com/docker/docker/pkg/namesgenerator/names-generator.go index f3f46055e..3c42cff5e 100644 --- a/vendor/github.com/docker/docker/pkg/namesgenerator/names-generator.go +++ b/vendor/github.com/docker/docker/pkg/namesgenerator/names-generator.go @@ -153,7 +153,7 @@ var ( // Stefan Banach - Polish mathematician, was one of the founders of modern functional analysis. https://en.wikipedia.org/wiki/Stefan_Banach "banach", - // Buckaroo Banzai and his mentor Dr. Hikita perfectd the "oscillation overthruster", a device that allows one to pass through solid matter. - https://en.wikipedia.org/wiki/The_Adventures_of_Buckaroo_Banzai_Across_the_8th_Dimension + // Buckaroo Banzai and his mentor Dr. Hikita perfected the "oscillation overthruster", a device that allows one to pass through solid matter. - https://en.wikipedia.org/wiki/The_Adventures_of_Buckaroo_Banzai_Across_the_8th_Dimension "banzai", // John Bardeen co-invented the transistor - https://en.wikipedia.org/wiki/John_Bardeen diff --git a/vendor/github.com/docker/docker/pkg/pools/pools.go b/vendor/github.com/docker/docker/pkg/pools/pools.go index 3b978fd3b..3792c67a9 100644 --- a/vendor/github.com/docker/docker/pkg/pools/pools.go +++ b/vendor/github.com/docker/docker/pkg/pools/pools.go @@ -62,24 +62,23 @@ type bufferPool struct { func newBufferPoolWithSize(size int) *bufferPool { return &bufferPool{ pool: sync.Pool{ - New: func() interface{} { return make([]byte, size) }, + New: func() interface{} { s := make([]byte, size); return &s }, }, } } -func (bp *bufferPool) Get() []byte { - return bp.pool.Get().([]byte) +func (bp *bufferPool) Get() *[]byte { + return bp.pool.Get().(*[]byte) } -func (bp *bufferPool) Put(b []byte) { - //nolint:staticcheck // TODO changing this to a pointer makes tests fail. Investigate if we should change or not (otherwise remove this TODO) +func (bp *bufferPool) Put(b *[]byte) { bp.pool.Put(b) } // Copy is a convenience wrapper which uses a buffer to avoid allocation in io.Copy. func Copy(dst io.Writer, src io.Reader) (written int64, err error) { buf := buffer32KPool.Get() - written, err = io.CopyBuffer(dst, src, buf) + written, err = io.CopyBuffer(dst, src, *buf) buffer32KPool.Put(buf) return } diff --git a/vendor/github.com/docker/docker/pkg/system/init_windows.go b/vendor/github.com/docker/docker/pkg/system/init_windows.go index f303aa906..7e4ac55d7 100644 --- a/vendor/github.com/docker/docker/pkg/system/init_windows.go +++ b/vendor/github.com/docker/docker/pkg/system/init_windows.go @@ -18,8 +18,7 @@ var ( // InitLCOW sets whether LCOW is supported or not. Requires RS5+ func InitLCOW(experimental bool) { - v := GetOSVersion() - if experimental && v.Build >= osversion.RS5 { + if experimental && osversion.Build() >= osversion.RS5 { lcowSupported = true } } diff --git a/vendor/github.com/docker/docker/pkg/system/syscall_windows.go b/vendor/github.com/docker/docker/pkg/system/syscall_windows.go index eb19f9c85..67bec7e30 100644 --- a/vendor/github.com/docker/docker/pkg/system/syscall_windows.go +++ b/vendor/github.com/docker/docker/pkg/system/syscall_windows.go @@ -5,6 +5,7 @@ import ( "syscall" "unsafe" + "github.com/Microsoft/hcsshim/osversion" "github.com/sirupsen/logrus" "golang.org/x/sys/windows" ) @@ -61,12 +62,7 @@ var ( // OSVersion is a wrapper for Windows version information // https://msdn.microsoft.com/en-us/library/windows/desktop/ms724439(v=vs.85).aspx -type OSVersion struct { - Version uint32 - MajorVersion uint8 - MinorVersion uint8 - Build uint16 -} +type OSVersion osversion.OSVersion // https://msdn.microsoft.com/en-us/library/windows/desktop/ms724833(v=vs.85).aspx type osVersionInfoEx struct { @@ -85,18 +81,9 @@ type osVersionInfoEx struct { // GetOSVersion gets the operating system version on Windows. Note that // dockerd.exe must be manifested to get the correct version information. +// Deprecated: use github.com/Microsoft/hcsshim/osversion.Get() instead func GetOSVersion() OSVersion { - var err error - osv := OSVersion{} - osv.Version, err = windows.GetVersion() - if err != nil { - // GetVersion never fails. - panic(err) - } - osv.MajorVersion = uint8(osv.Version & 0xFF) - osv.MinorVersion = uint8(osv.Version >> 8 & 0xFF) - osv.Build = uint16(osv.Version >> 16) - return osv + return OSVersion(osversion.Get()) } func (osv OSVersion) ToString() string { |