Make WaitForAvailableEndpoint() local
Make WaitForAvailableEndpoint() local

WaitForAvailableEndpoint() is only used in e2eservice.
So this makes the function() local clearly.

cmluciano/kubernetes,hex108/kubernetes,fejta/kubernetes,mYmNeo/kubernetes,mengqiy/kubernetes,mosoft521/kubernetes,jdef/kubernetes,sethpollack/kubernetes,kevin-wangzefeng/kubernetes,sethpollack/kubernetes,micahhausler/kubernetes,krmayankk/kubernetes,GulajavaMinistudio/kubernetes,andrewrynhard/kubernetes,rrati/kubernetes,tpepper/kubernetes,feiskyer/kubernetes,mikedanese/kubernetes,PI-Victor/kubernetes,x13n/kubernetes,mYmNeo/kubernetes,roberthbailey/kubernetes,johscheuer/kubernetes,bparees/kubernetes,mosoft521/kubernetes,chestack/kubernetes,du2016/kubernetes,GulajavaMinistudio/kubernetes,matthyx/kubernetes,mikedanese/kubernetes,GulajavaMinistudio/kubernetes,cofyc/kubernetes,fejta/kubernetes,ravisantoshgudimetla/kubernetes,linux-on-ibm-z/kubernetes,du2016/kubernetes,Lion-Wei/kubernetes,cmluciano/kubernetes,dereknex/kubernetes,mosoft521/kubernetes,kpgriffith/kubernetes,erwinvaneyk/kubernetes,hex108/kubernetes,ingvagabund/kubernetes,idvoretskyi/kubernetes,sanjeevm0/kubernetes,stevesloka/kubernetes,jingxu97/kubernetes,ravilr/kubernetes,tpepper/kubernetes,coolsvap/kubernetes,deads2k/kubernetes,jingxu97/kubernetes,tallclair/kubernetes,stevesloka/kubernetes,erwinvaneyk/kubernetes,fanzhangio/kubernetes,warmchang/kubernetes,tengqm/kubernetes,bparees/kubernetes,huangjiuyuan/kubernetes,idvoretskyi/kubernetes,fgimenez/kubernetes,PiotrProkop/kubernetes,hex108/kubernetes,k82/kubernetes,stevesloka/kubernetes,aledbf/kubernetes,cblecker/kubernetes,jackfrancis/kubernetes,soltysh/kubernetes,mengqiy/kubernetes,maciaszczykm/kubernetes,enj/kubernetes,jsafrane/kubernetes,cofyc/kubernetes,spzala/kubernetes,sanjeevm0/kubernetes,dereknex/kubernetes,chrislovecnm/kubernetes,ixdy/kubernetes,nak3/kubernetes,dlorenc/kubernetes,andrewrynhard/kubernetes,jagosan/kubernetes,ravilr/kubernetes,humblec/kubernetes,johscheuer/kubernetes,PI-Victor/kubernetes,feiskyer/kubernetes,dixudx/kubernetes,brendandburns/kubernetes,verult/kubernetes,JacobTanenbaum/kubernetes,kevensen/kubernetes,sethpollack/kubernetes,ravisantoshgudimetla/kubernetes,pires/kubernetes,matthyx/kubernetes,k82cn/kubernetes,krmayankk/kubernetes,yujuhong/kubernetes,bparees/kubernetes,jessfraz/kubernetes,fanzhangio/kubernetes,warmchang/kubernetes,jessfraz/kubernetes,Lion-Wei/kubernetes,PI-Victor/kubernetes,BenTheElder/kubernetes,jessfraz/kubernetes,fabriziopandini/kubernetes,cblecker/kubernetes,dims/kubernetes,MHBauer/kubernetes,du2016/kubernetes,ingvagabund/kubernetes,tengqm/kubernetes,openshift/kubernetes,dims/kubernetes,ingvagabund/kubernetes,k82/kubernetes,huangjiuyuan/kubernetes,deads2k/kubernetes,sethpollack/kubernetes,bparees/kubernetes,deads2k/kubernetes,sanjeevm0/kubernetes,mYmNeo/kubernetes,cofyc/kubernetes,kevensen/kubernetes,dlorenc/kubernetes,saad-ali/kubernetes,carlory/kubernetes,PiotrProkop/kubernetes,iterion/kubernetes,tpepper/kubernetes,mikebrow/kubernetes,nikhita/kubernetes,ping035627/kubernetes,xychu/kubernetes,xychu/kubernetes,cofyc/kubernetes,idvoretskyi/kubernetes,Lion-Wei/kubernetes,luxas/kubernetes,chestack/kubernetes,tpepper/kubernetes,alejandroEsc/kubernetes,xlgao-zju/kubernetes,warmchang/kubernetes,kpgriffith/kubernetes,weiwei04/kubernetes,linux-on-ibm-z/kubernetes,jingxu97/kubernetes,tomerf/kubernetes,fabriziopandini/kubernetes,tomzhang/kubernetes,micahhausler/kubernetes,fabriziopandini/kubernetes,dixudx/kubernetes,ii/kubernetes,x13n/kubernetes,zetaab/kubernetes,chestack/kubernetes,deads2k/kubernetes,cmluciano/kubernetes,verb/kubernetes,pires/kubernetes,alejandroEsc/kubernetes,Lion-Wei/kubernetes,iterion/kubernetes,openshift/kubernetes,JacobTanenbaum/kubernetes,saad-ali/kubernetes,stevesloka/kubernetes,kubernetes/kubernetes,olivierlemasle/kubernetes,ping035627/kubernetes,jdef/kubernetes,jdef/kubernetes,andrewrynhard/kubernetes,sethpollack/kubernetes,tcnghia/kubernetes,PI-Victor/kubernetes,humblec/kubernetes,pwittrock/kubernetes,aledbf/kubernetes,soltysh/kubernetes,brendandburns/kubernetes,monopole/kubernetes,erwinvaneyk/kubernetes,dereknex/kubernetes,zhouhaibing089/kubernetes,nak3/kubernetes,jdef/kubernetes,csrwng/kubernetes,fgimenez/kubernetes,MHBauer/kubernetes,warmchang/kubernetes,kitt1987/kubernetes,andrewsykim/kubernetes,idvoretskyi/kubernetes,zetaab/kubernetes,fejta/kubernetes,krmayankk/kubernetes,jsafrane/kubernetes,enj/kubernetes,x13n/kubernetes,spzala/kubernetes,ravilr/kubernetes,ingvagabund/kubernetes,spzala/kubernetes,dims/kubernetes,aledbf/kubernetes,tcnghia/kubernetes,k82cn/kubernetes,zetaab/kubernetes,Acidburn0zzz/kubernetes,verb/kubernetes,weiwei04/kubernetes,humblec/kubernetes,k82/kubernetes,andrewrynhard/kubernetes,x13n/kubernetes,tengqm/kubernetes,rnaveiras/kubernetes,carlory/kubernetes,pwittrock/kubernetes,verult/kubernetes,saad-ali/kubernetes,k82cn/kubernetes,erwinvaneyk/kubernetes,mfojtik/kubernetes,nak3/kubernetes,MHBauer/kubernetes,tallclair/kubernetes,saad-ali/kubernetes,dixudx/kubernetes,ixdy/kubernetes,chrislovecnm/kubernetes,cmluciano/kubernetes,gnufied/kubernetes,tallclair/kubernetes,sdminonne/kubernetes,yujuhong/kubernetes,soltysh/kubernetes,pires/kubernetes,ravisantoshgudimetla/kubernetes,shyamjvs/kubernetes,enj/kubernetes,tomerf/kubernetes,fgimenez/kubernetes,mfojtik/kubernetes,wanghaoran1988/kubernetes,jdef/kubernetes,Acidburn0zzz/kubernetes,shyamjvs/kubernetes,maciaszczykm/kubernetes,roberthbailey/kubernetes,idvoretskyi/kubernetes,tengqm/kubernetes,csrwng/kubernetes,ravisantoshgudimetla/kubernetes,brendandburns/kubernetes,ixdy/kubernetes,mikebrow/kubernetes,zhangmingld/kubernetes,huangjiuyuan/kubernetes,luxas/kubernetes,MikeSpreitzer/kubernetes,roberthbailey/kubernetes,li-ang/kubernetes,tomzhang/kubernetes,chestack/kubernetes,joelsmith/kubernetes,tallclair/kubernetes,jagosan/kubernetes,ii/kubernetes,luxas/kubernetes,feiskyer/kubernetes,mikebrow/kubernetes,ii/kubernetes,tomzhang/kubernetes,linux-on-ibm-z/kubernetes,andrewsykim/kubernetes,erwinvaneyk/kubernetes,maciaszczykm/kubernetes,rnaveiras/kubernetes,verb/kubernetes,thockin/kubernetes,sdminonne/kubernetes,gnufied/kubernetes,tomzhang/kubernetes,mahak/kubernetes,rafax/kubernetes,joelsmith/kubernetes,zhouhaibing089/kubernetes,rnaveiras/kubernetes,rafax/kubernetes,Clarifai/kubernetes,li-ang/kubernetes,dereknex/kubernetes,liggitt/kubernetes,rrati/kubernetes,zhangmingld/kubernetes,wanghaoran1988/kubernetes,fgimenez/kubernetes,tomerf/kubernetes,stevesloka/kubernetes,pires/kubernetes,Acidburn0zzz/kubernetes,chrislovecnm/kubernetes,k82/kubernetes,MHBauer/kubernetes,PiotrProkop/kubernetes,JacobTanenbaum/kubernetes,coolsvap/kubernetes,jackfrancis/kubernetes,hex108/kubernetes,jessfraz/kubernetes,tomerf/kubernetes,dlorenc/kubernetes,mkumatag/kubernetes,jessfraz/kubernetes,wongma7/kubernetes,spzala/kubernetes,GulajavaMinistudio/kubernetes,zhangmingld/kubernetes,shyamjvs/kubernetes,matthyx/kubernetes,mYmNeo/kubernetes,coolsvap/kubernetes,wanghaoran1988/kubernetes,joelsmith/kubernetes,verult/kubernetes,luxas/kubernetes,nikhita/kubernetes,rrati/kubernetes,kevensen/kubernetes,feiskyer/kubernetes,ingvagabund/kubernetes,xlgao-zju/kubernetes,klaus1982/kubernetes,mikedanese/kubernetes,iterion/kubernetes,wanghaoran1988/kubernetes,mahak/kubernetes,mengqiy/kubernetes,liggitt/kubernetes,iameli/kubernetes,dims/kubernetes,tomzhang/kubernetes,sanjeevm0/kubernetes,li-ang/kubernetes,du2016/kubernetes,yujuhong/kubernetes,kitt1987/kubernetes,brendandburns/kubernetes,gnufied/kubernetes,nckturner/kubernetes,ixdy/kubernetes,wanghaoran1988/kubernetes,mkumatag/kubernetes,tomzhang/kubernetes,MHBauer/kubernetes,klaus1982/kubernetes,matthyx/kubernetes,mahak/kubernetes,liggitt/kubernetes,du2016/kubernetes,sdminonne/kubernetes,yarntime/kubernetes,BenTheElder/kubernetes,luxas/kubernetes,bparees/kubernetes,olivierlemasle/kubernetes,micahhausler/kubernetes,dereknex/kubernetes,JacobTanenbaum/kubernetes,mkumatag/kubernetes,tengqm/kubernetes,andrewsykim/kubernetes,mikedanese/kubernetes,kevin-wangzefeng/kubernetes,brendandburns/kubernetes,iterion/kubernetes,linux-on-ibm-z/kubernetes,verult/kubernetes,mkumatag/kubernetes,thockin/kubernetes,li-ang/kubernetes,verb/kubernetes,ixdy/kubernetes,zhouhaibing089/kubernetes,ravilr/kubernetes,yarntime/kubernetes,Acidburn0zzz/kubernetes,thockin/kubernetes,mYmNeo/kubernetes,weiwei04/kubernetes,jingxu97/kubernetes,zhouhaibing089/kubernetes,idvoretskyi/kubernetes,PI-Victor/kubernetes,yarntime/kubernetes,deads2k/kubernetes,wanghaoran1988/kubernetes,pires/kubernetes,monopole/kubernetes,micahhausler/kubernetes,chrislovecnm/kubernetes,dixudx/kubernetes,iterion/kubernetes,kpgriffith/kubernetes,rrati/kubernetes,huangjiuyuan/kubernetes,PiotrProkop/kubernetes,iterion/kubernetes,dlorenc/kubernetes,fabriziopandini/kubernetes,weiwei04/kubernetes,stevesloka/kubernetes,rnaveiras/kubernetes,jdef/kubernetes,zetaab/kubernetes,fanzhangio/kubernetes,johscheuer/kubernetes,verult/kubernetes,fabriziopandini/kubernetes,krmayankk/kubernetes,kitt1987/kubernetes,nckturner/kubernetes,tomzhang/kubernetes,ravisantoshgudimetla/kubernetes,nckturner/kubernetes,luxas/kubernetes,jagosan/kubernetes,soltysh/kubernetes,kitt1987/kubernetes,lojies/kubernetes,matthyx/kubernetes,ixdy/kubernetes,humblec/kubernetes,tpepper/kubernetes,enj/kubernetes,rrati/kubernetes,wongma7/kubernetes,ravisantoshgudimetla/kubernetes,mfojtik/kubernetes,wongma7/kubernetes,mfojtik/kubernetes,monopole/kubernetes,lojies/kubernetes,pwittrock/kubernetes,carlory/kubernetes,mikebrow/kubernetes,hex108/kubernetes,nak3/kubernetes,yarntime/kubernetes,nikhita/kubernetes,wongma7/kubernetes,shyamjvs/kubernetes,ping035627/kubernetes,Lion-Wei/kubernetes,Clarifai/kubernetes,mosoft521/kubernetes,lojies/kubernetes,ii/kubernetes,csrwng/kubernetes,MikeSpreitzer/kubernetes,chestack/kubernetes,maciaszczykm/kubernetes,x13n/kubernetes,dlorenc/kubernetes,xlgao-zju/kubernetes,andrewsykim/kubernetes,yarntime/kubernetes,joelsmith/kubernetes,roberthbailey/kubernetes,andrewsykim/kubernetes,mfojtik/kubernetes,BenTheElder/kubernetes,shyamjvs/kubernetes,soltysh/kubernetes,xlgao-zju/kubernetes,linux-on-ibm-z/kubernetes,monopole/kubernetes,xlgao-zju/kubernetes,mosoft521/kubernetes,xlgao-zju/kubernetes,tcnghia/kubernetes,fgimenez/kubernetes,liggitt/kubernetes,yujuhong/kubernetes,olivierlemasle/kubernetes,pwittrock/kubernetes,sanjeevm0/kubernetes,brendandburns/kubernetes,zhouhaibing089/kubernetes,ping035627/kubernetes,mengqiy/kubernetes,openshift/kubernetes,dims/kubernetes,johscheuer/kubernetes,kevensen/kubernetes,dereknex/kubernetes,klaus1982/kubernetes,dlorenc/kubernetes,pwittrock/kubernetes,kevin-wangzefeng/kubernetes,nak3/kubernetes,rafax/kubernetes,cmluciano/kubernetes,yujuhong/kubernetes,cblecker/kubernetes,nckturner/kubernetes,joelsmith/kubernetes,mikedanese/kubernetes,mkumatag/kubernetes,mfojtik/kubernetes,pires/kubernetes,rafax/kubernetes,kpgriffith/kubernetes,verult/kubernetes,openshift/kubernetes,enj/kubernetes,gnufied/kubernetes,xychu/kubernetes,k82/kubernetes,cofyc/kubernetes,alejandroEsc/kubernetes,jagosan/kubernetes,sdminonne/kubernetes,PI-Victor/kubernetes,csrwng/kubernetes,thockin/kubernetes,mahak/kubernetes,alejandroEsc/kubernetes,fejta/kubernetes,kubernetes/kubernetes,micahhausler/kubernetes,sdminonne/kubernetes,yarntime/kubernetes,humblec/kubernetes,krmayankk/kubernetes,jsafrane/kubernetes,gnufied/kubernetes,BenTheElder/kubernetes,warmchang/kubernetes,jsafrane/kubernetes,lojies/kubernetes,lojies/kubernetes,yujuhong/kubernetes,thockin/kubernetes,hex108/kubernetes,PiotrProkop/kubernetes,nckturner/kubernetes,johscheuer/kubernetes,andrewrynhard/kubernetes,iameli/kubernetes,BenTheElder/kubernetes,ravilr/kubernetes,nikhita/kubernetes,xychu/kubernetes,tcnghia/kubernetes,feiskyer/kubernetes,mengqiy/kubernetes,csrwng/kubernetes,carlory/kubernetes,chrislovecnm/kubernetes,maciaszczykm/kubernetes,alejandroEsc/kubernetes,coolsvap/kubernetes,zetaab/kubernetes,sanjeevm0/kubernetes,dixudx/kubernetes,jagosan/kubernetes,MHBauer/kubernetes,k82cn/kubernetes,roberthbailey/kubernetes,MikeSpreitzer/kubernetes,andrewsykim/kubernetes,li-ang/kubernetes,spzala/kubernetes,kubernetes/kubernetes,tallclair/kubernetes,Acidburn0zzz/kubernetes,fejta/kubernetes,klaus1982/kubernetes,tallclair/kubernetes,kevensen/kubernetes,kpgriffith/kubernetes,kevin-wangzefeng/kubernetes,jackfrancis/kubernetes,krmayankk/kubernetes,MikeSpreitzer/kubernetes,kevin-wangzefeng/kubernetes,tcnghia/kubernetes,tomerf/kubernetes,huangjiuyuan/kubernetes,maciaszczykm/kubernetes,zhangmingld/kubernetes,cmluciano/kubernetes,iameli/kubernetes,kitt1987/kubernetes,JacobTanenbaum/kubernetes,MikeSpreitzer/kubernetes,cblecker/kubernetes,iameli/kubernetes,coolsvap/kubernetes,nikhita/kubernetes,joelsmith/kubernetes,GulajavaMinistudio/kubernetes,kpgriffith/kubernetes,kubernetes/kubernetes,saad-ali/kubernetes,tomerf/kubernetes,Clarifai/kubernetes,k82cn/kubernetes,ii/kubernetes,johscheuer/kubernetes,jingxu97/kubernetes,chrislovecnm/kubernetes,mikebrow/kubernetes,wongma7/kubernetes,erwinvaneyk/kubernetes,iameli/kubernetes,weiwei04/kubernetes,Clarifai/kubernetes,jsafrane/kubernetes,olivierlemasle/kubernetes,xychu/kubernetes,aledbf/kubernetes,xychu/kubernetes,verb/kubernetes,zhangmingld/kubernetes,pwittrock/kubernetes,Lion-Wei/kubernetes,coolsvap/kubernetes,fanzhangio/kubernetes,Acidburn0zzz/kubernetes,monopole/kubernetes,openshift/kubernetes,rnaveiras/kubernetes,ingvagabund/kubernetes,tomzhang/kubernetes,mYmNeo/kubernetes,zhangmingld/kubernetes,huangjiuyuan/kubernetes,zetaab/kubernetes,x13n/kubernetes,weiwei04/kubernetes,kubernetes/kubernetes,tomzhang/kubernetes,fgimenez/kubernetes,andrewrynhard/kubernetes,olivierlemasle/kubernetes,aledbf/kubernetes,nak3/kubernetes,tpepper/kubernetes,carlory/kubernetes,JacobTanenbaum/kubernetes,cofyc/kubernetes,jackfrancis/kubernetes,jackfrancis/kubernetes,ping035627/kubernetes,fejta/kubernetes,cblecker/kubernetes,mahak/kubernetes,liggitt/kubernetes,kitt1987/kubernetes,saad-ali/kubernetes,fanzhangio/kubernetes,Clarifai/kubernetes,tcnghia/kubernetes,fanzhangio/kubernetes,Clarifai/kubernetes