zz_generated.deepcopy.go 105 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright 2016 The Kubernetes Authors.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // This file was autogenerated by deepcopy-gen. Do not edit it manually!
  15. package api
  16. import (
  17. unversioned "k8s.io/kubernetes/pkg/api/unversioned"
  18. conversion "k8s.io/kubernetes/pkg/conversion"
  19. fields "k8s.io/kubernetes/pkg/fields"
  20. labels "k8s.io/kubernetes/pkg/labels"
  21. runtime "k8s.io/kubernetes/pkg/runtime"
  22. types "k8s.io/kubernetes/pkg/types"
  23. reflect "reflect"
  24. )
  25. func init() {
  26. SchemeBuilder.Register(RegisterDeepCopies)
  27. }
  28. // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
  29. // to allow building arbitrary schemes.
  30. func RegisterDeepCopies(scheme *runtime.Scheme) error {
  31. return scheme.AddGeneratedDeepCopyFuncs(
  32. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AWSElasticBlockStoreVolumeSource, InType: reflect.TypeOf(&AWSElasticBlockStoreVolumeSource{})},
  33. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Affinity, InType: reflect.TypeOf(&Affinity{})},
  34. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AttachedVolume, InType: reflect.TypeOf(&AttachedVolume{})},
  35. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AvoidPods, InType: reflect.TypeOf(&AvoidPods{})},
  36. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AzureDiskVolumeSource, InType: reflect.TypeOf(&AzureDiskVolumeSource{})},
  37. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AzureFileVolumeSource, InType: reflect.TypeOf(&AzureFileVolumeSource{})},
  38. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Binding, InType: reflect.TypeOf(&Binding{})},
  39. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Capabilities, InType: reflect.TypeOf(&Capabilities{})},
  40. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_CephFSVolumeSource, InType: reflect.TypeOf(&CephFSVolumeSource{})},
  41. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_CinderVolumeSource, InType: reflect.TypeOf(&CinderVolumeSource{})},
  42. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentCondition, InType: reflect.TypeOf(&ComponentCondition{})},
  43. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatus, InType: reflect.TypeOf(&ComponentStatus{})},
  44. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatusList, InType: reflect.TypeOf(&ComponentStatusList{})},
  45. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMap, InType: reflect.TypeOf(&ConfigMap{})},
  46. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapKeySelector, InType: reflect.TypeOf(&ConfigMapKeySelector{})},
  47. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapList, InType: reflect.TypeOf(&ConfigMapList{})},
  48. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapVolumeSource, InType: reflect.TypeOf(&ConfigMapVolumeSource{})},
  49. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Container, InType: reflect.TypeOf(&Container{})},
  50. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerImage, InType: reflect.TypeOf(&ContainerImage{})},
  51. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerPort, InType: reflect.TypeOf(&ContainerPort{})},
  52. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerState, InType: reflect.TypeOf(&ContainerState{})},
  53. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateRunning, InType: reflect.TypeOf(&ContainerStateRunning{})},
  54. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateTerminated, InType: reflect.TypeOf(&ContainerStateTerminated{})},
  55. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateWaiting, InType: reflect.TypeOf(&ContainerStateWaiting{})},
  56. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStatus, InType: reflect.TypeOf(&ContainerStatus{})},
  57. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConversionError, InType: reflect.TypeOf(&ConversionError{})},
  58. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DaemonEndpoint, InType: reflect.TypeOf(&DaemonEndpoint{})},
  59. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DeleteOptions, InType: reflect.TypeOf(&DeleteOptions{})},
  60. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIVolumeFile, InType: reflect.TypeOf(&DownwardAPIVolumeFile{})},
  61. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIVolumeSource, InType: reflect.TypeOf(&DownwardAPIVolumeSource{})},
  62. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EmptyDirVolumeSource, InType: reflect.TypeOf(&EmptyDirVolumeSource{})},
  63. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointAddress, InType: reflect.TypeOf(&EndpointAddress{})},
  64. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointPort, InType: reflect.TypeOf(&EndpointPort{})},
  65. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointSubset, InType: reflect.TypeOf(&EndpointSubset{})},
  66. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Endpoints, InType: reflect.TypeOf(&Endpoints{})},
  67. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointsList, InType: reflect.TypeOf(&EndpointsList{})},
  68. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVar, InType: reflect.TypeOf(&EnvVar{})},
  69. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVarSource, InType: reflect.TypeOf(&EnvVarSource{})},
  70. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Event, InType: reflect.TypeOf(&Event{})},
  71. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EventList, InType: reflect.TypeOf(&EventList{})},
  72. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EventSource, InType: reflect.TypeOf(&EventSource{})},
  73. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ExecAction, InType: reflect.TypeOf(&ExecAction{})},
  74. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ExportOptions, InType: reflect.TypeOf(&ExportOptions{})},
  75. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FCVolumeSource, InType: reflect.TypeOf(&FCVolumeSource{})},
  76. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FlexVolumeSource, InType: reflect.TypeOf(&FlexVolumeSource{})},
  77. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FlockerVolumeSource, InType: reflect.TypeOf(&FlockerVolumeSource{})},
  78. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GCEPersistentDiskVolumeSource, InType: reflect.TypeOf(&GCEPersistentDiskVolumeSource{})},
  79. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GitRepoVolumeSource, InType: reflect.TypeOf(&GitRepoVolumeSource{})},
  80. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GlusterfsVolumeSource, InType: reflect.TypeOf(&GlusterfsVolumeSource{})},
  81. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HTTPGetAction, InType: reflect.TypeOf(&HTTPGetAction{})},
  82. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HTTPHeader, InType: reflect.TypeOf(&HTTPHeader{})},
  83. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Handler, InType: reflect.TypeOf(&Handler{})},
  84. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HostPathVolumeSource, InType: reflect.TypeOf(&HostPathVolumeSource{})},
  85. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ISCSIVolumeSource, InType: reflect.TypeOf(&ISCSIVolumeSource{})},
  86. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_KeyToPath, InType: reflect.TypeOf(&KeyToPath{})},
  87. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Lifecycle, InType: reflect.TypeOf(&Lifecycle{})},
  88. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRange, InType: reflect.TypeOf(&LimitRange{})},
  89. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeItem, InType: reflect.TypeOf(&LimitRangeItem{})},
  90. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeList, InType: reflect.TypeOf(&LimitRangeList{})},
  91. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeSpec, InType: reflect.TypeOf(&LimitRangeSpec{})},
  92. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_List, InType: reflect.TypeOf(&List{})},
  93. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ListOptions, InType: reflect.TypeOf(&ListOptions{})},
  94. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LoadBalancerIngress, InType: reflect.TypeOf(&LoadBalancerIngress{})},
  95. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LoadBalancerStatus, InType: reflect.TypeOf(&LoadBalancerStatus{})},
  96. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LocalObjectReference, InType: reflect.TypeOf(&LocalObjectReference{})},
  97. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NFSVolumeSource, InType: reflect.TypeOf(&NFSVolumeSource{})},
  98. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Namespace, InType: reflect.TypeOf(&Namespace{})},
  99. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceList, InType: reflect.TypeOf(&NamespaceList{})},
  100. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceSpec, InType: reflect.TypeOf(&NamespaceSpec{})},
  101. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceStatus, InType: reflect.TypeOf(&NamespaceStatus{})},
  102. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Node, InType: reflect.TypeOf(&Node{})},
  103. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeAddress, InType: reflect.TypeOf(&NodeAddress{})},
  104. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeAffinity, InType: reflect.TypeOf(&NodeAffinity{})},
  105. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeCondition, InType: reflect.TypeOf(&NodeCondition{})},
  106. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeDaemonEndpoints, InType: reflect.TypeOf(&NodeDaemonEndpoints{})},
  107. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeList, InType: reflect.TypeOf(&NodeList{})},
  108. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeProxyOptions, InType: reflect.TypeOf(&NodeProxyOptions{})},
  109. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeResources, InType: reflect.TypeOf(&NodeResources{})},
  110. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelector, InType: reflect.TypeOf(&NodeSelector{})},
  111. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelectorRequirement, InType: reflect.TypeOf(&NodeSelectorRequirement{})},
  112. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelectorTerm, InType: reflect.TypeOf(&NodeSelectorTerm{})},
  113. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSpec, InType: reflect.TypeOf(&NodeSpec{})},
  114. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeStatus, InType: reflect.TypeOf(&NodeStatus{})},
  115. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSystemInfo, InType: reflect.TypeOf(&NodeSystemInfo{})},
  116. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectFieldSelector, InType: reflect.TypeOf(&ObjectFieldSelector{})},
  117. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectMeta, InType: reflect.TypeOf(&ObjectMeta{})},
  118. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectReference, InType: reflect.TypeOf(&ObjectReference{})},
  119. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_OwnerReference, InType: reflect.TypeOf(&OwnerReference{})},
  120. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolume, InType: reflect.TypeOf(&PersistentVolume{})},
  121. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaim, InType: reflect.TypeOf(&PersistentVolumeClaim{})},
  122. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimList, InType: reflect.TypeOf(&PersistentVolumeClaimList{})},
  123. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimSpec, InType: reflect.TypeOf(&PersistentVolumeClaimSpec{})},
  124. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimStatus, InType: reflect.TypeOf(&PersistentVolumeClaimStatus{})},
  125. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimVolumeSource, InType: reflect.TypeOf(&PersistentVolumeClaimVolumeSource{})},
  126. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeList, InType: reflect.TypeOf(&PersistentVolumeList{})},
  127. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeSource, InType: reflect.TypeOf(&PersistentVolumeSource{})},
  128. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeSpec, InType: reflect.TypeOf(&PersistentVolumeSpec{})},
  129. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeStatus, InType: reflect.TypeOf(&PersistentVolumeStatus{})},
  130. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Pod, InType: reflect.TypeOf(&Pod{})},
  131. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAffinity, InType: reflect.TypeOf(&PodAffinity{})},
  132. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAffinityTerm, InType: reflect.TypeOf(&PodAffinityTerm{})},
  133. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAntiAffinity, InType: reflect.TypeOf(&PodAntiAffinity{})},
  134. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAttachOptions, InType: reflect.TypeOf(&PodAttachOptions{})},
  135. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodCondition, InType: reflect.TypeOf(&PodCondition{})},
  136. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodExecOptions, InType: reflect.TypeOf(&PodExecOptions{})},
  137. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodList, InType: reflect.TypeOf(&PodList{})},
  138. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodLogOptions, InType: reflect.TypeOf(&PodLogOptions{})},
  139. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodProxyOptions, InType: reflect.TypeOf(&PodProxyOptions{})},
  140. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSecurityContext, InType: reflect.TypeOf(&PodSecurityContext{})},
  141. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSignature, InType: reflect.TypeOf(&PodSignature{})},
  142. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSpec, InType: reflect.TypeOf(&PodSpec{})},
  143. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodStatus, InType: reflect.TypeOf(&PodStatus{})},
  144. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodStatusResult, InType: reflect.TypeOf(&PodStatusResult{})},
  145. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplate, InType: reflect.TypeOf(&PodTemplate{})},
  146. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplateList, InType: reflect.TypeOf(&PodTemplateList{})},
  147. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplateSpec, InType: reflect.TypeOf(&PodTemplateSpec{})},
  148. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Preconditions, InType: reflect.TypeOf(&Preconditions{})},
  149. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PreferAvoidPodsEntry, InType: reflect.TypeOf(&PreferAvoidPodsEntry{})},
  150. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PreferredSchedulingTerm, InType: reflect.TypeOf(&PreferredSchedulingTerm{})},
  151. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Probe, InType: reflect.TypeOf(&Probe{})},
  152. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_QuobyteVolumeSource, InType: reflect.TypeOf(&QuobyteVolumeSource{})},
  153. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RBDVolumeSource, InType: reflect.TypeOf(&RBDVolumeSource{})},
  154. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RangeAllocation, InType: reflect.TypeOf(&RangeAllocation{})},
  155. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationController, InType: reflect.TypeOf(&ReplicationController{})},
  156. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerList, InType: reflect.TypeOf(&ReplicationControllerList{})},
  157. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerSpec, InType: reflect.TypeOf(&ReplicationControllerSpec{})},
  158. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerStatus, InType: reflect.TypeOf(&ReplicationControllerStatus{})},
  159. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceFieldSelector, InType: reflect.TypeOf(&ResourceFieldSelector{})},
  160. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuota, InType: reflect.TypeOf(&ResourceQuota{})},
  161. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaList, InType: reflect.TypeOf(&ResourceQuotaList{})},
  162. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaSpec, InType: reflect.TypeOf(&ResourceQuotaSpec{})},
  163. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaStatus, InType: reflect.TypeOf(&ResourceQuotaStatus{})},
  164. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceRequirements, InType: reflect.TypeOf(&ResourceRequirements{})},
  165. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SELinuxOptions, InType: reflect.TypeOf(&SELinuxOptions{})},
  166. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Secret, InType: reflect.TypeOf(&Secret{})},
  167. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretKeySelector, InType: reflect.TypeOf(&SecretKeySelector{})},
  168. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretList, InType: reflect.TypeOf(&SecretList{})},
  169. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretVolumeSource, InType: reflect.TypeOf(&SecretVolumeSource{})},
  170. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecurityContext, InType: reflect.TypeOf(&SecurityContext{})},
  171. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SerializedReference, InType: reflect.TypeOf(&SerializedReference{})},
  172. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Service, InType: reflect.TypeOf(&Service{})},
  173. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceAccount, InType: reflect.TypeOf(&ServiceAccount{})},
  174. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceAccountList, InType: reflect.TypeOf(&ServiceAccountList{})},
  175. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceList, InType: reflect.TypeOf(&ServiceList{})},
  176. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServicePort, InType: reflect.TypeOf(&ServicePort{})},
  177. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceProxyOptions, InType: reflect.TypeOf(&ServiceProxyOptions{})},
  178. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceSpec, InType: reflect.TypeOf(&ServiceSpec{})},
  179. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceStatus, InType: reflect.TypeOf(&ServiceStatus{})},
  180. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Sysctl, InType: reflect.TypeOf(&Sysctl{})},
  181. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_TCPSocketAction, InType: reflect.TypeOf(&TCPSocketAction{})},
  182. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Taint, InType: reflect.TypeOf(&Taint{})},
  183. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Toleration, InType: reflect.TypeOf(&Toleration{})},
  184. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Volume, InType: reflect.TypeOf(&Volume{})},
  185. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeMount, InType: reflect.TypeOf(&VolumeMount{})},
  186. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeSource, InType: reflect.TypeOf(&VolumeSource{})},
  187. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VsphereVirtualDiskVolumeSource, InType: reflect.TypeOf(&VsphereVirtualDiskVolumeSource{})},
  188. conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_WeightedPodAffinityTerm, InType: reflect.TypeOf(&WeightedPodAffinityTerm{})},
  189. )
  190. }
  191. func DeepCopy_api_AWSElasticBlockStoreVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  192. {
  193. in := in.(*AWSElasticBlockStoreVolumeSource)
  194. out := out.(*AWSElasticBlockStoreVolumeSource)
  195. out.VolumeID = in.VolumeID
  196. out.FSType = in.FSType
  197. out.Partition = in.Partition
  198. out.ReadOnly = in.ReadOnly
  199. return nil
  200. }
  201. }
  202. func DeepCopy_api_Affinity(in interface{}, out interface{}, c *conversion.Cloner) error {
  203. {
  204. in := in.(*Affinity)
  205. out := out.(*Affinity)
  206. if in.NodeAffinity != nil {
  207. in, out := &in.NodeAffinity, &out.NodeAffinity
  208. *out = new(NodeAffinity)
  209. if err := DeepCopy_api_NodeAffinity(*in, *out, c); err != nil {
  210. return err
  211. }
  212. } else {
  213. out.NodeAffinity = nil
  214. }
  215. if in.PodAffinity != nil {
  216. in, out := &in.PodAffinity, &out.PodAffinity
  217. *out = new(PodAffinity)
  218. if err := DeepCopy_api_PodAffinity(*in, *out, c); err != nil {
  219. return err
  220. }
  221. } else {
  222. out.PodAffinity = nil
  223. }
  224. if in.PodAntiAffinity != nil {
  225. in, out := &in.PodAntiAffinity, &out.PodAntiAffinity
  226. *out = new(PodAntiAffinity)
  227. if err := DeepCopy_api_PodAntiAffinity(*in, *out, c); err != nil {
  228. return err
  229. }
  230. } else {
  231. out.PodAntiAffinity = nil
  232. }
  233. return nil
  234. }
  235. }
  236. func DeepCopy_api_AttachedVolume(in interface{}, out interface{}, c *conversion.Cloner) error {
  237. {
  238. in := in.(*AttachedVolume)
  239. out := out.(*AttachedVolume)
  240. out.Name = in.Name
  241. out.DevicePath = in.DevicePath
  242. return nil
  243. }
  244. }
  245. func DeepCopy_api_AvoidPods(in interface{}, out interface{}, c *conversion.Cloner) error {
  246. {
  247. in := in.(*AvoidPods)
  248. out := out.(*AvoidPods)
  249. if in.PreferAvoidPods != nil {
  250. in, out := &in.PreferAvoidPods, &out.PreferAvoidPods
  251. *out = make([]PreferAvoidPodsEntry, len(*in))
  252. for i := range *in {
  253. if err := DeepCopy_api_PreferAvoidPodsEntry(&(*in)[i], &(*out)[i], c); err != nil {
  254. return err
  255. }
  256. }
  257. } else {
  258. out.PreferAvoidPods = nil
  259. }
  260. return nil
  261. }
  262. }
  263. func DeepCopy_api_AzureDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  264. {
  265. in := in.(*AzureDiskVolumeSource)
  266. out := out.(*AzureDiskVolumeSource)
  267. out.DiskName = in.DiskName
  268. out.DataDiskURI = in.DataDiskURI
  269. if in.CachingMode != nil {
  270. in, out := &in.CachingMode, &out.CachingMode
  271. *out = new(AzureDataDiskCachingMode)
  272. **out = **in
  273. } else {
  274. out.CachingMode = nil
  275. }
  276. if in.FSType != nil {
  277. in, out := &in.FSType, &out.FSType
  278. *out = new(string)
  279. **out = **in
  280. } else {
  281. out.FSType = nil
  282. }
  283. if in.ReadOnly != nil {
  284. in, out := &in.ReadOnly, &out.ReadOnly
  285. *out = new(bool)
  286. **out = **in
  287. } else {
  288. out.ReadOnly = nil
  289. }
  290. return nil
  291. }
  292. }
  293. func DeepCopy_api_AzureFileVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  294. {
  295. in := in.(*AzureFileVolumeSource)
  296. out := out.(*AzureFileVolumeSource)
  297. out.SecretName = in.SecretName
  298. out.ShareName = in.ShareName
  299. out.ReadOnly = in.ReadOnly
  300. return nil
  301. }
  302. }
  303. func DeepCopy_api_Binding(in interface{}, out interface{}, c *conversion.Cloner) error {
  304. {
  305. in := in.(*Binding)
  306. out := out.(*Binding)
  307. out.TypeMeta = in.TypeMeta
  308. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  309. return err
  310. }
  311. out.Target = in.Target
  312. return nil
  313. }
  314. }
  315. func DeepCopy_api_Capabilities(in interface{}, out interface{}, c *conversion.Cloner) error {
  316. {
  317. in := in.(*Capabilities)
  318. out := out.(*Capabilities)
  319. if in.Add != nil {
  320. in, out := &in.Add, &out.Add
  321. *out = make([]Capability, len(*in))
  322. for i := range *in {
  323. (*out)[i] = (*in)[i]
  324. }
  325. } else {
  326. out.Add = nil
  327. }
  328. if in.Drop != nil {
  329. in, out := &in.Drop, &out.Drop
  330. *out = make([]Capability, len(*in))
  331. for i := range *in {
  332. (*out)[i] = (*in)[i]
  333. }
  334. } else {
  335. out.Drop = nil
  336. }
  337. return nil
  338. }
  339. }
  340. func DeepCopy_api_CephFSVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  341. {
  342. in := in.(*CephFSVolumeSource)
  343. out := out.(*CephFSVolumeSource)
  344. if in.Monitors != nil {
  345. in, out := &in.Monitors, &out.Monitors
  346. *out = make([]string, len(*in))
  347. copy(*out, *in)
  348. } else {
  349. out.Monitors = nil
  350. }
  351. out.Path = in.Path
  352. out.User = in.User
  353. out.SecretFile = in.SecretFile
  354. if in.SecretRef != nil {
  355. in, out := &in.SecretRef, &out.SecretRef
  356. *out = new(LocalObjectReference)
  357. **out = **in
  358. } else {
  359. out.SecretRef = nil
  360. }
  361. out.ReadOnly = in.ReadOnly
  362. return nil
  363. }
  364. }
  365. func DeepCopy_api_CinderVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  366. {
  367. in := in.(*CinderVolumeSource)
  368. out := out.(*CinderVolumeSource)
  369. out.VolumeID = in.VolumeID
  370. out.FSType = in.FSType
  371. out.ReadOnly = in.ReadOnly
  372. return nil
  373. }
  374. }
  375. func DeepCopy_api_ComponentCondition(in interface{}, out interface{}, c *conversion.Cloner) error {
  376. {
  377. in := in.(*ComponentCondition)
  378. out := out.(*ComponentCondition)
  379. out.Type = in.Type
  380. out.Status = in.Status
  381. out.Message = in.Message
  382. out.Error = in.Error
  383. return nil
  384. }
  385. }
  386. func DeepCopy_api_ComponentStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  387. {
  388. in := in.(*ComponentStatus)
  389. out := out.(*ComponentStatus)
  390. out.TypeMeta = in.TypeMeta
  391. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  392. return err
  393. }
  394. if in.Conditions != nil {
  395. in, out := &in.Conditions, &out.Conditions
  396. *out = make([]ComponentCondition, len(*in))
  397. for i := range *in {
  398. (*out)[i] = (*in)[i]
  399. }
  400. } else {
  401. out.Conditions = nil
  402. }
  403. return nil
  404. }
  405. }
  406. func DeepCopy_api_ComponentStatusList(in interface{}, out interface{}, c *conversion.Cloner) error {
  407. {
  408. in := in.(*ComponentStatusList)
  409. out := out.(*ComponentStatusList)
  410. out.TypeMeta = in.TypeMeta
  411. out.ListMeta = in.ListMeta
  412. if in.Items != nil {
  413. in, out := &in.Items, &out.Items
  414. *out = make([]ComponentStatus, len(*in))
  415. for i := range *in {
  416. if err := DeepCopy_api_ComponentStatus(&(*in)[i], &(*out)[i], c); err != nil {
  417. return err
  418. }
  419. }
  420. } else {
  421. out.Items = nil
  422. }
  423. return nil
  424. }
  425. }
  426. func DeepCopy_api_ConfigMap(in interface{}, out interface{}, c *conversion.Cloner) error {
  427. {
  428. in := in.(*ConfigMap)
  429. out := out.(*ConfigMap)
  430. out.TypeMeta = in.TypeMeta
  431. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  432. return err
  433. }
  434. if in.Data != nil {
  435. in, out := &in.Data, &out.Data
  436. *out = make(map[string]string)
  437. for key, val := range *in {
  438. (*out)[key] = val
  439. }
  440. } else {
  441. out.Data = nil
  442. }
  443. return nil
  444. }
  445. }
  446. func DeepCopy_api_ConfigMapKeySelector(in interface{}, out interface{}, c *conversion.Cloner) error {
  447. {
  448. in := in.(*ConfigMapKeySelector)
  449. out := out.(*ConfigMapKeySelector)
  450. out.LocalObjectReference = in.LocalObjectReference
  451. out.Key = in.Key
  452. return nil
  453. }
  454. }
  455. func DeepCopy_api_ConfigMapList(in interface{}, out interface{}, c *conversion.Cloner) error {
  456. {
  457. in := in.(*ConfigMapList)
  458. out := out.(*ConfigMapList)
  459. out.TypeMeta = in.TypeMeta
  460. out.ListMeta = in.ListMeta
  461. if in.Items != nil {
  462. in, out := &in.Items, &out.Items
  463. *out = make([]ConfigMap, len(*in))
  464. for i := range *in {
  465. if err := DeepCopy_api_ConfigMap(&(*in)[i], &(*out)[i], c); err != nil {
  466. return err
  467. }
  468. }
  469. } else {
  470. out.Items = nil
  471. }
  472. return nil
  473. }
  474. }
  475. func DeepCopy_api_ConfigMapVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  476. {
  477. in := in.(*ConfigMapVolumeSource)
  478. out := out.(*ConfigMapVolumeSource)
  479. out.LocalObjectReference = in.LocalObjectReference
  480. if in.Items != nil {
  481. in, out := &in.Items, &out.Items
  482. *out = make([]KeyToPath, len(*in))
  483. for i := range *in {
  484. if err := DeepCopy_api_KeyToPath(&(*in)[i], &(*out)[i], c); err != nil {
  485. return err
  486. }
  487. }
  488. } else {
  489. out.Items = nil
  490. }
  491. if in.DefaultMode != nil {
  492. in, out := &in.DefaultMode, &out.DefaultMode
  493. *out = new(int32)
  494. **out = **in
  495. } else {
  496. out.DefaultMode = nil
  497. }
  498. return nil
  499. }
  500. }
  501. func DeepCopy_api_Container(in interface{}, out interface{}, c *conversion.Cloner) error {
  502. {
  503. in := in.(*Container)
  504. out := out.(*Container)
  505. out.Name = in.Name
  506. out.Image = in.Image
  507. if in.Command != nil {
  508. in, out := &in.Command, &out.Command
  509. *out = make([]string, len(*in))
  510. copy(*out, *in)
  511. } else {
  512. out.Command = nil
  513. }
  514. if in.Args != nil {
  515. in, out := &in.Args, &out.Args
  516. *out = make([]string, len(*in))
  517. copy(*out, *in)
  518. } else {
  519. out.Args = nil
  520. }
  521. out.WorkingDir = in.WorkingDir
  522. if in.Ports != nil {
  523. in, out := &in.Ports, &out.Ports
  524. *out = make([]ContainerPort, len(*in))
  525. for i := range *in {
  526. (*out)[i] = (*in)[i]
  527. }
  528. } else {
  529. out.Ports = nil
  530. }
  531. if in.Env != nil {
  532. in, out := &in.Env, &out.Env
  533. *out = make([]EnvVar, len(*in))
  534. for i := range *in {
  535. if err := DeepCopy_api_EnvVar(&(*in)[i], &(*out)[i], c); err != nil {
  536. return err
  537. }
  538. }
  539. } else {
  540. out.Env = nil
  541. }
  542. if err := DeepCopy_api_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil {
  543. return err
  544. }
  545. if in.VolumeMounts != nil {
  546. in, out := &in.VolumeMounts, &out.VolumeMounts
  547. *out = make([]VolumeMount, len(*in))
  548. for i := range *in {
  549. (*out)[i] = (*in)[i]
  550. }
  551. } else {
  552. out.VolumeMounts = nil
  553. }
  554. if in.LivenessProbe != nil {
  555. in, out := &in.LivenessProbe, &out.LivenessProbe
  556. *out = new(Probe)
  557. if err := DeepCopy_api_Probe(*in, *out, c); err != nil {
  558. return err
  559. }
  560. } else {
  561. out.LivenessProbe = nil
  562. }
  563. if in.ReadinessProbe != nil {
  564. in, out := &in.ReadinessProbe, &out.ReadinessProbe
  565. *out = new(Probe)
  566. if err := DeepCopy_api_Probe(*in, *out, c); err != nil {
  567. return err
  568. }
  569. } else {
  570. out.ReadinessProbe = nil
  571. }
  572. if in.Lifecycle != nil {
  573. in, out := &in.Lifecycle, &out.Lifecycle
  574. *out = new(Lifecycle)
  575. if err := DeepCopy_api_Lifecycle(*in, *out, c); err != nil {
  576. return err
  577. }
  578. } else {
  579. out.Lifecycle = nil
  580. }
  581. out.TerminationMessagePath = in.TerminationMessagePath
  582. out.ImagePullPolicy = in.ImagePullPolicy
  583. if in.SecurityContext != nil {
  584. in, out := &in.SecurityContext, &out.SecurityContext
  585. *out = new(SecurityContext)
  586. if err := DeepCopy_api_SecurityContext(*in, *out, c); err != nil {
  587. return err
  588. }
  589. } else {
  590. out.SecurityContext = nil
  591. }
  592. out.Stdin = in.Stdin
  593. out.StdinOnce = in.StdinOnce
  594. out.TTY = in.TTY
  595. return nil
  596. }
  597. }
  598. func DeepCopy_api_ContainerImage(in interface{}, out interface{}, c *conversion.Cloner) error {
  599. {
  600. in := in.(*ContainerImage)
  601. out := out.(*ContainerImage)
  602. if in.Names != nil {
  603. in, out := &in.Names, &out.Names
  604. *out = make([]string, len(*in))
  605. copy(*out, *in)
  606. } else {
  607. out.Names = nil
  608. }
  609. out.SizeBytes = in.SizeBytes
  610. return nil
  611. }
  612. }
  613. func DeepCopy_api_ContainerPort(in interface{}, out interface{}, c *conversion.Cloner) error {
  614. {
  615. in := in.(*ContainerPort)
  616. out := out.(*ContainerPort)
  617. out.Name = in.Name
  618. out.HostPort = in.HostPort
  619. out.ContainerPort = in.ContainerPort
  620. out.Protocol = in.Protocol
  621. out.HostIP = in.HostIP
  622. return nil
  623. }
  624. }
  625. func DeepCopy_api_ContainerState(in interface{}, out interface{}, c *conversion.Cloner) error {
  626. {
  627. in := in.(*ContainerState)
  628. out := out.(*ContainerState)
  629. if in.Waiting != nil {
  630. in, out := &in.Waiting, &out.Waiting
  631. *out = new(ContainerStateWaiting)
  632. **out = **in
  633. } else {
  634. out.Waiting = nil
  635. }
  636. if in.Running != nil {
  637. in, out := &in.Running, &out.Running
  638. *out = new(ContainerStateRunning)
  639. if err := DeepCopy_api_ContainerStateRunning(*in, *out, c); err != nil {
  640. return err
  641. }
  642. } else {
  643. out.Running = nil
  644. }
  645. if in.Terminated != nil {
  646. in, out := &in.Terminated, &out.Terminated
  647. *out = new(ContainerStateTerminated)
  648. if err := DeepCopy_api_ContainerStateTerminated(*in, *out, c); err != nil {
  649. return err
  650. }
  651. } else {
  652. out.Terminated = nil
  653. }
  654. return nil
  655. }
  656. }
  657. func DeepCopy_api_ContainerStateRunning(in interface{}, out interface{}, c *conversion.Cloner) error {
  658. {
  659. in := in.(*ContainerStateRunning)
  660. out := out.(*ContainerStateRunning)
  661. out.StartedAt = in.StartedAt.DeepCopy()
  662. return nil
  663. }
  664. }
  665. func DeepCopy_api_ContainerStateTerminated(in interface{}, out interface{}, c *conversion.Cloner) error {
  666. {
  667. in := in.(*ContainerStateTerminated)
  668. out := out.(*ContainerStateTerminated)
  669. out.ExitCode = in.ExitCode
  670. out.Signal = in.Signal
  671. out.Reason = in.Reason
  672. out.Message = in.Message
  673. out.StartedAt = in.StartedAt.DeepCopy()
  674. out.FinishedAt = in.FinishedAt.DeepCopy()
  675. out.ContainerID = in.ContainerID
  676. return nil
  677. }
  678. }
  679. func DeepCopy_api_ContainerStateWaiting(in interface{}, out interface{}, c *conversion.Cloner) error {
  680. {
  681. in := in.(*ContainerStateWaiting)
  682. out := out.(*ContainerStateWaiting)
  683. out.Reason = in.Reason
  684. out.Message = in.Message
  685. return nil
  686. }
  687. }
  688. func DeepCopy_api_ContainerStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  689. {
  690. in := in.(*ContainerStatus)
  691. out := out.(*ContainerStatus)
  692. out.Name = in.Name
  693. if err := DeepCopy_api_ContainerState(&in.State, &out.State, c); err != nil {
  694. return err
  695. }
  696. if err := DeepCopy_api_ContainerState(&in.LastTerminationState, &out.LastTerminationState, c); err != nil {
  697. return err
  698. }
  699. out.Ready = in.Ready
  700. out.RestartCount = in.RestartCount
  701. out.Image = in.Image
  702. out.ImageID = in.ImageID
  703. out.ContainerID = in.ContainerID
  704. return nil
  705. }
  706. }
  707. func DeepCopy_api_ConversionError(in interface{}, out interface{}, c *conversion.Cloner) error {
  708. {
  709. in := in.(*ConversionError)
  710. out := out.(*ConversionError)
  711. if in.In == nil {
  712. out.In = nil
  713. } else if newVal, err := c.DeepCopy(&in.In); err != nil {
  714. return err
  715. } else {
  716. out.In = *newVal.(*interface{})
  717. }
  718. if in.Out == nil {
  719. out.Out = nil
  720. } else if newVal, err := c.DeepCopy(&in.Out); err != nil {
  721. return err
  722. } else {
  723. out.Out = *newVal.(*interface{})
  724. }
  725. out.Message = in.Message
  726. return nil
  727. }
  728. }
  729. func DeepCopy_api_DaemonEndpoint(in interface{}, out interface{}, c *conversion.Cloner) error {
  730. {
  731. in := in.(*DaemonEndpoint)
  732. out := out.(*DaemonEndpoint)
  733. out.Port = in.Port
  734. return nil
  735. }
  736. }
  737. func DeepCopy_api_DeleteOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
  738. {
  739. in := in.(*DeleteOptions)
  740. out := out.(*DeleteOptions)
  741. out.TypeMeta = in.TypeMeta
  742. if in.GracePeriodSeconds != nil {
  743. in, out := &in.GracePeriodSeconds, &out.GracePeriodSeconds
  744. *out = new(int64)
  745. **out = **in
  746. } else {
  747. out.GracePeriodSeconds = nil
  748. }
  749. if in.Preconditions != nil {
  750. in, out := &in.Preconditions, &out.Preconditions
  751. *out = new(Preconditions)
  752. if err := DeepCopy_api_Preconditions(*in, *out, c); err != nil {
  753. return err
  754. }
  755. } else {
  756. out.Preconditions = nil
  757. }
  758. if in.OrphanDependents != nil {
  759. in, out := &in.OrphanDependents, &out.OrphanDependents
  760. *out = new(bool)
  761. **out = **in
  762. } else {
  763. out.OrphanDependents = nil
  764. }
  765. return nil
  766. }
  767. }
  768. func DeepCopy_api_DownwardAPIVolumeFile(in interface{}, out interface{}, c *conversion.Cloner) error {
  769. {
  770. in := in.(*DownwardAPIVolumeFile)
  771. out := out.(*DownwardAPIVolumeFile)
  772. out.Path = in.Path
  773. if in.FieldRef != nil {
  774. in, out := &in.FieldRef, &out.FieldRef
  775. *out = new(ObjectFieldSelector)
  776. **out = **in
  777. } else {
  778. out.FieldRef = nil
  779. }
  780. if in.ResourceFieldRef != nil {
  781. in, out := &in.ResourceFieldRef, &out.ResourceFieldRef
  782. *out = new(ResourceFieldSelector)
  783. if err := DeepCopy_api_ResourceFieldSelector(*in, *out, c); err != nil {
  784. return err
  785. }
  786. } else {
  787. out.ResourceFieldRef = nil
  788. }
  789. if in.Mode != nil {
  790. in, out := &in.Mode, &out.Mode
  791. *out = new(int32)
  792. **out = **in
  793. } else {
  794. out.Mode = nil
  795. }
  796. return nil
  797. }
  798. }
  799. func DeepCopy_api_DownwardAPIVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  800. {
  801. in := in.(*DownwardAPIVolumeSource)
  802. out := out.(*DownwardAPIVolumeSource)
  803. if in.Items != nil {
  804. in, out := &in.Items, &out.Items
  805. *out = make([]DownwardAPIVolumeFile, len(*in))
  806. for i := range *in {
  807. if err := DeepCopy_api_DownwardAPIVolumeFile(&(*in)[i], &(*out)[i], c); err != nil {
  808. return err
  809. }
  810. }
  811. } else {
  812. out.Items = nil
  813. }
  814. if in.DefaultMode != nil {
  815. in, out := &in.DefaultMode, &out.DefaultMode
  816. *out = new(int32)
  817. **out = **in
  818. } else {
  819. out.DefaultMode = nil
  820. }
  821. return nil
  822. }
  823. }
  824. func DeepCopy_api_EmptyDirVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  825. {
  826. in := in.(*EmptyDirVolumeSource)
  827. out := out.(*EmptyDirVolumeSource)
  828. out.Medium = in.Medium
  829. return nil
  830. }
  831. }
  832. func DeepCopy_api_EndpointAddress(in interface{}, out interface{}, c *conversion.Cloner) error {
  833. {
  834. in := in.(*EndpointAddress)
  835. out := out.(*EndpointAddress)
  836. out.IP = in.IP
  837. out.Hostname = in.Hostname
  838. if in.NodeName != nil {
  839. in, out := &in.NodeName, &out.NodeName
  840. *out = new(string)
  841. **out = **in
  842. } else {
  843. out.NodeName = nil
  844. }
  845. if in.TargetRef != nil {
  846. in, out := &in.TargetRef, &out.TargetRef
  847. *out = new(ObjectReference)
  848. **out = **in
  849. } else {
  850. out.TargetRef = nil
  851. }
  852. return nil
  853. }
  854. }
  855. func DeepCopy_api_EndpointPort(in interface{}, out interface{}, c *conversion.Cloner) error {
  856. {
  857. in := in.(*EndpointPort)
  858. out := out.(*EndpointPort)
  859. out.Name = in.Name
  860. out.Port = in.Port
  861. out.Protocol = in.Protocol
  862. return nil
  863. }
  864. }
  865. func DeepCopy_api_EndpointSubset(in interface{}, out interface{}, c *conversion.Cloner) error {
  866. {
  867. in := in.(*EndpointSubset)
  868. out := out.(*EndpointSubset)
  869. if in.Addresses != nil {
  870. in, out := &in.Addresses, &out.Addresses
  871. *out = make([]EndpointAddress, len(*in))
  872. for i := range *in {
  873. if err := DeepCopy_api_EndpointAddress(&(*in)[i], &(*out)[i], c); err != nil {
  874. return err
  875. }
  876. }
  877. } else {
  878. out.Addresses = nil
  879. }
  880. if in.NotReadyAddresses != nil {
  881. in, out := &in.NotReadyAddresses, &out.NotReadyAddresses
  882. *out = make([]EndpointAddress, len(*in))
  883. for i := range *in {
  884. if err := DeepCopy_api_EndpointAddress(&(*in)[i], &(*out)[i], c); err != nil {
  885. return err
  886. }
  887. }
  888. } else {
  889. out.NotReadyAddresses = nil
  890. }
  891. if in.Ports != nil {
  892. in, out := &in.Ports, &out.Ports
  893. *out = make([]EndpointPort, len(*in))
  894. for i := range *in {
  895. (*out)[i] = (*in)[i]
  896. }
  897. } else {
  898. out.Ports = nil
  899. }
  900. return nil
  901. }
  902. }
  903. func DeepCopy_api_Endpoints(in interface{}, out interface{}, c *conversion.Cloner) error {
  904. {
  905. in := in.(*Endpoints)
  906. out := out.(*Endpoints)
  907. out.TypeMeta = in.TypeMeta
  908. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  909. return err
  910. }
  911. if in.Subsets != nil {
  912. in, out := &in.Subsets, &out.Subsets
  913. *out = make([]EndpointSubset, len(*in))
  914. for i := range *in {
  915. if err := DeepCopy_api_EndpointSubset(&(*in)[i], &(*out)[i], c); err != nil {
  916. return err
  917. }
  918. }
  919. } else {
  920. out.Subsets = nil
  921. }
  922. return nil
  923. }
  924. }
  925. func DeepCopy_api_EndpointsList(in interface{}, out interface{}, c *conversion.Cloner) error {
  926. {
  927. in := in.(*EndpointsList)
  928. out := out.(*EndpointsList)
  929. out.TypeMeta = in.TypeMeta
  930. out.ListMeta = in.ListMeta
  931. if in.Items != nil {
  932. in, out := &in.Items, &out.Items
  933. *out = make([]Endpoints, len(*in))
  934. for i := range *in {
  935. if err := DeepCopy_api_Endpoints(&(*in)[i], &(*out)[i], c); err != nil {
  936. return err
  937. }
  938. }
  939. } else {
  940. out.Items = nil
  941. }
  942. return nil
  943. }
  944. }
  945. func DeepCopy_api_EnvVar(in interface{}, out interface{}, c *conversion.Cloner) error {
  946. {
  947. in := in.(*EnvVar)
  948. out := out.(*EnvVar)
  949. out.Name = in.Name
  950. out.Value = in.Value
  951. if in.ValueFrom != nil {
  952. in, out := &in.ValueFrom, &out.ValueFrom
  953. *out = new(EnvVarSource)
  954. if err := DeepCopy_api_EnvVarSource(*in, *out, c); err != nil {
  955. return err
  956. }
  957. } else {
  958. out.ValueFrom = nil
  959. }
  960. return nil
  961. }
  962. }
  963. func DeepCopy_api_EnvVarSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  964. {
  965. in := in.(*EnvVarSource)
  966. out := out.(*EnvVarSource)
  967. if in.FieldRef != nil {
  968. in, out := &in.FieldRef, &out.FieldRef
  969. *out = new(ObjectFieldSelector)
  970. **out = **in
  971. } else {
  972. out.FieldRef = nil
  973. }
  974. if in.ResourceFieldRef != nil {
  975. in, out := &in.ResourceFieldRef, &out.ResourceFieldRef
  976. *out = new(ResourceFieldSelector)
  977. if err := DeepCopy_api_ResourceFieldSelector(*in, *out, c); err != nil {
  978. return err
  979. }
  980. } else {
  981. out.ResourceFieldRef = nil
  982. }
  983. if in.ConfigMapKeyRef != nil {
  984. in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef
  985. *out = new(ConfigMapKeySelector)
  986. **out = **in
  987. } else {
  988. out.ConfigMapKeyRef = nil
  989. }
  990. if in.SecretKeyRef != nil {
  991. in, out := &in.SecretKeyRef, &out.SecretKeyRef
  992. *out = new(SecretKeySelector)
  993. **out = **in
  994. } else {
  995. out.SecretKeyRef = nil
  996. }
  997. return nil
  998. }
  999. }
  1000. func DeepCopy_api_Event(in interface{}, out interface{}, c *conversion.Cloner) error {
  1001. {
  1002. in := in.(*Event)
  1003. out := out.(*Event)
  1004. out.TypeMeta = in.TypeMeta
  1005. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  1006. return err
  1007. }
  1008. out.InvolvedObject = in.InvolvedObject
  1009. out.Reason = in.Reason
  1010. out.Message = in.Message
  1011. out.Source = in.Source
  1012. out.FirstTimestamp = in.FirstTimestamp.DeepCopy()
  1013. out.LastTimestamp = in.LastTimestamp.DeepCopy()
  1014. out.Count = in.Count
  1015. out.Type = in.Type
  1016. return nil
  1017. }
  1018. }
  1019. func DeepCopy_api_EventList(in interface{}, out interface{}, c *conversion.Cloner) error {
  1020. {
  1021. in := in.(*EventList)
  1022. out := out.(*EventList)
  1023. out.TypeMeta = in.TypeMeta
  1024. out.ListMeta = in.ListMeta
  1025. if in.Items != nil {
  1026. in, out := &in.Items, &out.Items
  1027. *out = make([]Event, len(*in))
  1028. for i := range *in {
  1029. if err := DeepCopy_api_Event(&(*in)[i], &(*out)[i], c); err != nil {
  1030. return err
  1031. }
  1032. }
  1033. } else {
  1034. out.Items = nil
  1035. }
  1036. return nil
  1037. }
  1038. }
  1039. func DeepCopy_api_EventSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  1040. {
  1041. in := in.(*EventSource)
  1042. out := out.(*EventSource)
  1043. out.Component = in.Component
  1044. out.Host = in.Host
  1045. return nil
  1046. }
  1047. }
  1048. func DeepCopy_api_ExecAction(in interface{}, out interface{}, c *conversion.Cloner) error {
  1049. {
  1050. in := in.(*ExecAction)
  1051. out := out.(*ExecAction)
  1052. if in.Command != nil {
  1053. in, out := &in.Command, &out.Command
  1054. *out = make([]string, len(*in))
  1055. copy(*out, *in)
  1056. } else {
  1057. out.Command = nil
  1058. }
  1059. return nil
  1060. }
  1061. }
  1062. func DeepCopy_api_ExportOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
  1063. {
  1064. in := in.(*ExportOptions)
  1065. out := out.(*ExportOptions)
  1066. out.TypeMeta = in.TypeMeta
  1067. out.Export = in.Export
  1068. out.Exact = in.Exact
  1069. return nil
  1070. }
  1071. }
  1072. func DeepCopy_api_FCVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  1073. {
  1074. in := in.(*FCVolumeSource)
  1075. out := out.(*FCVolumeSource)
  1076. if in.TargetWWNs != nil {
  1077. in, out := &in.TargetWWNs, &out.TargetWWNs
  1078. *out = make([]string, len(*in))
  1079. copy(*out, *in)
  1080. } else {
  1081. out.TargetWWNs = nil
  1082. }
  1083. if in.Lun != nil {
  1084. in, out := &in.Lun, &out.Lun
  1085. *out = new(int32)
  1086. **out = **in
  1087. } else {
  1088. out.Lun = nil
  1089. }
  1090. out.FSType = in.FSType
  1091. out.ReadOnly = in.ReadOnly
  1092. return nil
  1093. }
  1094. }
  1095. func DeepCopy_api_FlexVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  1096. {
  1097. in := in.(*FlexVolumeSource)
  1098. out := out.(*FlexVolumeSource)
  1099. out.Driver = in.Driver
  1100. out.FSType = in.FSType
  1101. if in.SecretRef != nil {
  1102. in, out := &in.SecretRef, &out.SecretRef
  1103. *out = new(LocalObjectReference)
  1104. **out = **in
  1105. } else {
  1106. out.SecretRef = nil
  1107. }
  1108. out.ReadOnly = in.ReadOnly
  1109. if in.Options != nil {
  1110. in, out := &in.Options, &out.Options
  1111. *out = make(map[string]string)
  1112. for key, val := range *in {
  1113. (*out)[key] = val
  1114. }
  1115. } else {
  1116. out.Options = nil
  1117. }
  1118. return nil
  1119. }
  1120. }
  1121. func DeepCopy_api_FlockerVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  1122. {
  1123. in := in.(*FlockerVolumeSource)
  1124. out := out.(*FlockerVolumeSource)
  1125. out.DatasetName = in.DatasetName
  1126. return nil
  1127. }
  1128. }
  1129. func DeepCopy_api_GCEPersistentDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  1130. {
  1131. in := in.(*GCEPersistentDiskVolumeSource)
  1132. out := out.(*GCEPersistentDiskVolumeSource)
  1133. out.PDName = in.PDName
  1134. out.FSType = in.FSType
  1135. out.Partition = in.Partition
  1136. out.ReadOnly = in.ReadOnly
  1137. return nil
  1138. }
  1139. }
  1140. func DeepCopy_api_GitRepoVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  1141. {
  1142. in := in.(*GitRepoVolumeSource)
  1143. out := out.(*GitRepoVolumeSource)
  1144. out.Repository = in.Repository
  1145. out.Revision = in.Revision
  1146. out.Directory = in.Directory
  1147. return nil
  1148. }
  1149. }
  1150. func DeepCopy_api_GlusterfsVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  1151. {
  1152. in := in.(*GlusterfsVolumeSource)
  1153. out := out.(*GlusterfsVolumeSource)
  1154. out.EndpointsName = in.EndpointsName
  1155. out.Path = in.Path
  1156. out.ReadOnly = in.ReadOnly
  1157. return nil
  1158. }
  1159. }
  1160. func DeepCopy_api_HTTPGetAction(in interface{}, out interface{}, c *conversion.Cloner) error {
  1161. {
  1162. in := in.(*HTTPGetAction)
  1163. out := out.(*HTTPGetAction)
  1164. out.Path = in.Path
  1165. out.Port = in.Port
  1166. out.Host = in.Host
  1167. out.Scheme = in.Scheme
  1168. if in.HTTPHeaders != nil {
  1169. in, out := &in.HTTPHeaders, &out.HTTPHeaders
  1170. *out = make([]HTTPHeader, len(*in))
  1171. for i := range *in {
  1172. (*out)[i] = (*in)[i]
  1173. }
  1174. } else {
  1175. out.HTTPHeaders = nil
  1176. }
  1177. return nil
  1178. }
  1179. }
  1180. func DeepCopy_api_HTTPHeader(in interface{}, out interface{}, c *conversion.Cloner) error {
  1181. {
  1182. in := in.(*HTTPHeader)
  1183. out := out.(*HTTPHeader)
  1184. out.Name = in.Name
  1185. out.Value = in.Value
  1186. return nil
  1187. }
  1188. }
  1189. func DeepCopy_api_Handler(in interface{}, out interface{}, c *conversion.Cloner) error {
  1190. {
  1191. in := in.(*Handler)
  1192. out := out.(*Handler)
  1193. if in.Exec != nil {
  1194. in, out := &in.Exec, &out.Exec
  1195. *out = new(ExecAction)
  1196. if err := DeepCopy_api_ExecAction(*in, *out, c); err != nil {
  1197. return err
  1198. }
  1199. } else {
  1200. out.Exec = nil
  1201. }
  1202. if in.HTTPGet != nil {
  1203. in, out := &in.HTTPGet, &out.HTTPGet
  1204. *out = new(HTTPGetAction)
  1205. if err := DeepCopy_api_HTTPGetAction(*in, *out, c); err != nil {
  1206. return err
  1207. }
  1208. } else {
  1209. out.HTTPGet = nil
  1210. }
  1211. if in.TCPSocket != nil {
  1212. in, out := &in.TCPSocket, &out.TCPSocket
  1213. *out = new(TCPSocketAction)
  1214. **out = **in
  1215. } else {
  1216. out.TCPSocket = nil
  1217. }
  1218. return nil
  1219. }
  1220. }
  1221. func DeepCopy_api_HostPathVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  1222. {
  1223. in := in.(*HostPathVolumeSource)
  1224. out := out.(*HostPathVolumeSource)
  1225. out.Path = in.Path
  1226. return nil
  1227. }
  1228. }
  1229. func DeepCopy_api_ISCSIVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  1230. {
  1231. in := in.(*ISCSIVolumeSource)
  1232. out := out.(*ISCSIVolumeSource)
  1233. out.TargetPortal = in.TargetPortal
  1234. out.IQN = in.IQN
  1235. out.Lun = in.Lun
  1236. out.ISCSIInterface = in.ISCSIInterface
  1237. out.FSType = in.FSType
  1238. out.ReadOnly = in.ReadOnly
  1239. return nil
  1240. }
  1241. }
  1242. func DeepCopy_api_KeyToPath(in interface{}, out interface{}, c *conversion.Cloner) error {
  1243. {
  1244. in := in.(*KeyToPath)
  1245. out := out.(*KeyToPath)
  1246. out.Key = in.Key
  1247. out.Path = in.Path
  1248. if in.Mode != nil {
  1249. in, out := &in.Mode, &out.Mode
  1250. *out = new(int32)
  1251. **out = **in
  1252. } else {
  1253. out.Mode = nil
  1254. }
  1255. return nil
  1256. }
  1257. }
  1258. func DeepCopy_api_Lifecycle(in interface{}, out interface{}, c *conversion.Cloner) error {
  1259. {
  1260. in := in.(*Lifecycle)
  1261. out := out.(*Lifecycle)
  1262. if in.PostStart != nil {
  1263. in, out := &in.PostStart, &out.PostStart
  1264. *out = new(Handler)
  1265. if err := DeepCopy_api_Handler(*in, *out, c); err != nil {
  1266. return err
  1267. }
  1268. } else {
  1269. out.PostStart = nil
  1270. }
  1271. if in.PreStop != nil {
  1272. in, out := &in.PreStop, &out.PreStop
  1273. *out = new(Handler)
  1274. if err := DeepCopy_api_Handler(*in, *out, c); err != nil {
  1275. return err
  1276. }
  1277. } else {
  1278. out.PreStop = nil
  1279. }
  1280. return nil
  1281. }
  1282. }
  1283. func DeepCopy_api_LimitRange(in interface{}, out interface{}, c *conversion.Cloner) error {
  1284. {
  1285. in := in.(*LimitRange)
  1286. out := out.(*LimitRange)
  1287. out.TypeMeta = in.TypeMeta
  1288. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  1289. return err
  1290. }
  1291. if err := DeepCopy_api_LimitRangeSpec(&in.Spec, &out.Spec, c); err != nil {
  1292. return err
  1293. }
  1294. return nil
  1295. }
  1296. }
  1297. func DeepCopy_api_LimitRangeItem(in interface{}, out interface{}, c *conversion.Cloner) error {
  1298. {
  1299. in := in.(*LimitRangeItem)
  1300. out := out.(*LimitRangeItem)
  1301. out.Type = in.Type
  1302. if in.Max != nil {
  1303. in, out := &in.Max, &out.Max
  1304. *out = make(ResourceList)
  1305. for key, val := range *in {
  1306. (*out)[key] = val.DeepCopy()
  1307. }
  1308. } else {
  1309. out.Max = nil
  1310. }
  1311. if in.Min != nil {
  1312. in, out := &in.Min, &out.Min
  1313. *out = make(ResourceList)
  1314. for key, val := range *in {
  1315. (*out)[key] = val.DeepCopy()
  1316. }
  1317. } else {
  1318. out.Min = nil
  1319. }
  1320. if in.Default != nil {
  1321. in, out := &in.Default, &out.Default
  1322. *out = make(ResourceList)
  1323. for key, val := range *in {
  1324. (*out)[key] = val.DeepCopy()
  1325. }
  1326. } else {
  1327. out.Default = nil
  1328. }
  1329. if in.DefaultRequest != nil {
  1330. in, out := &in.DefaultRequest, &out.DefaultRequest
  1331. *out = make(ResourceList)
  1332. for key, val := range *in {
  1333. (*out)[key] = val.DeepCopy()
  1334. }
  1335. } else {
  1336. out.DefaultRequest = nil
  1337. }
  1338. if in.MaxLimitRequestRatio != nil {
  1339. in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio
  1340. *out = make(ResourceList)
  1341. for key, val := range *in {
  1342. (*out)[key] = val.DeepCopy()
  1343. }
  1344. } else {
  1345. out.MaxLimitRequestRatio = nil
  1346. }
  1347. return nil
  1348. }
  1349. }
  1350. func DeepCopy_api_LimitRangeList(in interface{}, out interface{}, c *conversion.Cloner) error {
  1351. {
  1352. in := in.(*LimitRangeList)
  1353. out := out.(*LimitRangeList)
  1354. out.TypeMeta = in.TypeMeta
  1355. out.ListMeta = in.ListMeta
  1356. if in.Items != nil {
  1357. in, out := &in.Items, &out.Items
  1358. *out = make([]LimitRange, len(*in))
  1359. for i := range *in {
  1360. if err := DeepCopy_api_LimitRange(&(*in)[i], &(*out)[i], c); err != nil {
  1361. return err
  1362. }
  1363. }
  1364. } else {
  1365. out.Items = nil
  1366. }
  1367. return nil
  1368. }
  1369. }
  1370. func DeepCopy_api_LimitRangeSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
  1371. {
  1372. in := in.(*LimitRangeSpec)
  1373. out := out.(*LimitRangeSpec)
  1374. if in.Limits != nil {
  1375. in, out := &in.Limits, &out.Limits
  1376. *out = make([]LimitRangeItem, len(*in))
  1377. for i := range *in {
  1378. if err := DeepCopy_api_LimitRangeItem(&(*in)[i], &(*out)[i], c); err != nil {
  1379. return err
  1380. }
  1381. }
  1382. } else {
  1383. out.Limits = nil
  1384. }
  1385. return nil
  1386. }
  1387. }
  1388. func DeepCopy_api_List(in interface{}, out interface{}, c *conversion.Cloner) error {
  1389. {
  1390. in := in.(*List)
  1391. out := out.(*List)
  1392. out.TypeMeta = in.TypeMeta
  1393. out.ListMeta = in.ListMeta
  1394. if in.Items != nil {
  1395. in, out := &in.Items, &out.Items
  1396. *out = make([]runtime.Object, len(*in))
  1397. for i := range *in {
  1398. if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
  1399. return err
  1400. } else {
  1401. (*out)[i] = *newVal.(*runtime.Object)
  1402. }
  1403. }
  1404. } else {
  1405. out.Items = nil
  1406. }
  1407. return nil
  1408. }
  1409. }
  1410. func DeepCopy_api_ListOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
  1411. {
  1412. in := in.(*ListOptions)
  1413. out := out.(*ListOptions)
  1414. out.TypeMeta = in.TypeMeta
  1415. if in.LabelSelector == nil {
  1416. out.LabelSelector = nil
  1417. } else if newVal, err := c.DeepCopy(&in.LabelSelector); err != nil {
  1418. return err
  1419. } else {
  1420. out.LabelSelector = *newVal.(*labels.Selector)
  1421. }
  1422. if in.FieldSelector == nil {
  1423. out.FieldSelector = nil
  1424. } else if newVal, err := c.DeepCopy(&in.FieldSelector); err != nil {
  1425. return err
  1426. } else {
  1427. out.FieldSelector = *newVal.(*fields.Selector)
  1428. }
  1429. out.Watch = in.Watch
  1430. out.ResourceVersion = in.ResourceVersion
  1431. if in.TimeoutSeconds != nil {
  1432. in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
  1433. *out = new(int64)
  1434. **out = **in
  1435. } else {
  1436. out.TimeoutSeconds = nil
  1437. }
  1438. return nil
  1439. }
  1440. }
  1441. func DeepCopy_api_LoadBalancerIngress(in interface{}, out interface{}, c *conversion.Cloner) error {
  1442. {
  1443. in := in.(*LoadBalancerIngress)
  1444. out := out.(*LoadBalancerIngress)
  1445. out.IP = in.IP
  1446. out.Hostname = in.Hostname
  1447. return nil
  1448. }
  1449. }
  1450. func DeepCopy_api_LoadBalancerStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  1451. {
  1452. in := in.(*LoadBalancerStatus)
  1453. out := out.(*LoadBalancerStatus)
  1454. if in.Ingress != nil {
  1455. in, out := &in.Ingress, &out.Ingress
  1456. *out = make([]LoadBalancerIngress, len(*in))
  1457. for i := range *in {
  1458. (*out)[i] = (*in)[i]
  1459. }
  1460. } else {
  1461. out.Ingress = nil
  1462. }
  1463. return nil
  1464. }
  1465. }
  1466. func DeepCopy_api_LocalObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error {
  1467. {
  1468. in := in.(*LocalObjectReference)
  1469. out := out.(*LocalObjectReference)
  1470. out.Name = in.Name
  1471. return nil
  1472. }
  1473. }
  1474. func DeepCopy_api_NFSVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  1475. {
  1476. in := in.(*NFSVolumeSource)
  1477. out := out.(*NFSVolumeSource)
  1478. out.Server = in.Server
  1479. out.Path = in.Path
  1480. out.ReadOnly = in.ReadOnly
  1481. return nil
  1482. }
  1483. }
  1484. func DeepCopy_api_Namespace(in interface{}, out interface{}, c *conversion.Cloner) error {
  1485. {
  1486. in := in.(*Namespace)
  1487. out := out.(*Namespace)
  1488. out.TypeMeta = in.TypeMeta
  1489. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  1490. return err
  1491. }
  1492. if err := DeepCopy_api_NamespaceSpec(&in.Spec, &out.Spec, c); err != nil {
  1493. return err
  1494. }
  1495. out.Status = in.Status
  1496. return nil
  1497. }
  1498. }
  1499. func DeepCopy_api_NamespaceList(in interface{}, out interface{}, c *conversion.Cloner) error {
  1500. {
  1501. in := in.(*NamespaceList)
  1502. out := out.(*NamespaceList)
  1503. out.TypeMeta = in.TypeMeta
  1504. out.ListMeta = in.ListMeta
  1505. if in.Items != nil {
  1506. in, out := &in.Items, &out.Items
  1507. *out = make([]Namespace, len(*in))
  1508. for i := range *in {
  1509. if err := DeepCopy_api_Namespace(&(*in)[i], &(*out)[i], c); err != nil {
  1510. return err
  1511. }
  1512. }
  1513. } else {
  1514. out.Items = nil
  1515. }
  1516. return nil
  1517. }
  1518. }
  1519. func DeepCopy_api_NamespaceSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
  1520. {
  1521. in := in.(*NamespaceSpec)
  1522. out := out.(*NamespaceSpec)
  1523. if in.Finalizers != nil {
  1524. in, out := &in.Finalizers, &out.Finalizers
  1525. *out = make([]FinalizerName, len(*in))
  1526. for i := range *in {
  1527. (*out)[i] = (*in)[i]
  1528. }
  1529. } else {
  1530. out.Finalizers = nil
  1531. }
  1532. return nil
  1533. }
  1534. }
  1535. func DeepCopy_api_NamespaceStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  1536. {
  1537. in := in.(*NamespaceStatus)
  1538. out := out.(*NamespaceStatus)
  1539. out.Phase = in.Phase
  1540. return nil
  1541. }
  1542. }
  1543. func DeepCopy_api_Node(in interface{}, out interface{}, c *conversion.Cloner) error {
  1544. {
  1545. in := in.(*Node)
  1546. out := out.(*Node)
  1547. out.TypeMeta = in.TypeMeta
  1548. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  1549. return err
  1550. }
  1551. out.Spec = in.Spec
  1552. if err := DeepCopy_api_NodeStatus(&in.Status, &out.Status, c); err != nil {
  1553. return err
  1554. }
  1555. return nil
  1556. }
  1557. }
  1558. func DeepCopy_api_NodeAddress(in interface{}, out interface{}, c *conversion.Cloner) error {
  1559. {
  1560. in := in.(*NodeAddress)
  1561. out := out.(*NodeAddress)
  1562. out.Type = in.Type
  1563. out.Address = in.Address
  1564. return nil
  1565. }
  1566. }
  1567. func DeepCopy_api_NodeAffinity(in interface{}, out interface{}, c *conversion.Cloner) error {
  1568. {
  1569. in := in.(*NodeAffinity)
  1570. out := out.(*NodeAffinity)
  1571. if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  1572. in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
  1573. *out = new(NodeSelector)
  1574. if err := DeepCopy_api_NodeSelector(*in, *out, c); err != nil {
  1575. return err
  1576. }
  1577. } else {
  1578. out.RequiredDuringSchedulingIgnoredDuringExecution = nil
  1579. }
  1580. if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
  1581. in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
  1582. *out = make([]PreferredSchedulingTerm, len(*in))
  1583. for i := range *in {
  1584. if err := DeepCopy_api_PreferredSchedulingTerm(&(*in)[i], &(*out)[i], c); err != nil {
  1585. return err
  1586. }
  1587. }
  1588. } else {
  1589. out.PreferredDuringSchedulingIgnoredDuringExecution = nil
  1590. }
  1591. return nil
  1592. }
  1593. }
  1594. func DeepCopy_api_NodeCondition(in interface{}, out interface{}, c *conversion.Cloner) error {
  1595. {
  1596. in := in.(*NodeCondition)
  1597. out := out.(*NodeCondition)
  1598. out.Type = in.Type
  1599. out.Status = in.Status
  1600. out.LastHeartbeatTime = in.LastHeartbeatTime.DeepCopy()
  1601. out.LastTransitionTime = in.LastTransitionTime.DeepCopy()
  1602. out.Reason = in.Reason
  1603. out.Message = in.Message
  1604. return nil
  1605. }
  1606. }
  1607. func DeepCopy_api_NodeDaemonEndpoints(in interface{}, out interface{}, c *conversion.Cloner) error {
  1608. {
  1609. in := in.(*NodeDaemonEndpoints)
  1610. out := out.(*NodeDaemonEndpoints)
  1611. out.KubeletEndpoint = in.KubeletEndpoint
  1612. return nil
  1613. }
  1614. }
  1615. func DeepCopy_api_NodeList(in interface{}, out interface{}, c *conversion.Cloner) error {
  1616. {
  1617. in := in.(*NodeList)
  1618. out := out.(*NodeList)
  1619. out.TypeMeta = in.TypeMeta
  1620. out.ListMeta = in.ListMeta
  1621. if in.Items != nil {
  1622. in, out := &in.Items, &out.Items
  1623. *out = make([]Node, len(*in))
  1624. for i := range *in {
  1625. if err := DeepCopy_api_Node(&(*in)[i], &(*out)[i], c); err != nil {
  1626. return err
  1627. }
  1628. }
  1629. } else {
  1630. out.Items = nil
  1631. }
  1632. return nil
  1633. }
  1634. }
  1635. func DeepCopy_api_NodeProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
  1636. {
  1637. in := in.(*NodeProxyOptions)
  1638. out := out.(*NodeProxyOptions)
  1639. out.TypeMeta = in.TypeMeta
  1640. out.Path = in.Path
  1641. return nil
  1642. }
  1643. }
  1644. func DeepCopy_api_NodeResources(in interface{}, out interface{}, c *conversion.Cloner) error {
  1645. {
  1646. in := in.(*NodeResources)
  1647. out := out.(*NodeResources)
  1648. if in.Capacity != nil {
  1649. in, out := &in.Capacity, &out.Capacity
  1650. *out = make(ResourceList)
  1651. for key, val := range *in {
  1652. (*out)[key] = val.DeepCopy()
  1653. }
  1654. } else {
  1655. out.Capacity = nil
  1656. }
  1657. return nil
  1658. }
  1659. }
  1660. func DeepCopy_api_NodeSelector(in interface{}, out interface{}, c *conversion.Cloner) error {
  1661. {
  1662. in := in.(*NodeSelector)
  1663. out := out.(*NodeSelector)
  1664. if in.NodeSelectorTerms != nil {
  1665. in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms
  1666. *out = make([]NodeSelectorTerm, len(*in))
  1667. for i := range *in {
  1668. if err := DeepCopy_api_NodeSelectorTerm(&(*in)[i], &(*out)[i], c); err != nil {
  1669. return err
  1670. }
  1671. }
  1672. } else {
  1673. out.NodeSelectorTerms = nil
  1674. }
  1675. return nil
  1676. }
  1677. }
  1678. func DeepCopy_api_NodeSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error {
  1679. {
  1680. in := in.(*NodeSelectorRequirement)
  1681. out := out.(*NodeSelectorRequirement)
  1682. out.Key = in.Key
  1683. out.Operator = in.Operator
  1684. if in.Values != nil {
  1685. in, out := &in.Values, &out.Values
  1686. *out = make([]string, len(*in))
  1687. copy(*out, *in)
  1688. } else {
  1689. out.Values = nil
  1690. }
  1691. return nil
  1692. }
  1693. }
  1694. func DeepCopy_api_NodeSelectorTerm(in interface{}, out interface{}, c *conversion.Cloner) error {
  1695. {
  1696. in := in.(*NodeSelectorTerm)
  1697. out := out.(*NodeSelectorTerm)
  1698. if in.MatchExpressions != nil {
  1699. in, out := &in.MatchExpressions, &out.MatchExpressions
  1700. *out = make([]NodeSelectorRequirement, len(*in))
  1701. for i := range *in {
  1702. if err := DeepCopy_api_NodeSelectorRequirement(&(*in)[i], &(*out)[i], c); err != nil {
  1703. return err
  1704. }
  1705. }
  1706. } else {
  1707. out.MatchExpressions = nil
  1708. }
  1709. return nil
  1710. }
  1711. }
  1712. func DeepCopy_api_NodeSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
  1713. {
  1714. in := in.(*NodeSpec)
  1715. out := out.(*NodeSpec)
  1716. out.PodCIDR = in.PodCIDR
  1717. out.ExternalID = in.ExternalID
  1718. out.ProviderID = in.ProviderID
  1719. out.Unschedulable = in.Unschedulable
  1720. return nil
  1721. }
  1722. }
  1723. func DeepCopy_api_NodeStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  1724. {
  1725. in := in.(*NodeStatus)
  1726. out := out.(*NodeStatus)
  1727. if in.Capacity != nil {
  1728. in, out := &in.Capacity, &out.Capacity
  1729. *out = make(ResourceList)
  1730. for key, val := range *in {
  1731. (*out)[key] = val.DeepCopy()
  1732. }
  1733. } else {
  1734. out.Capacity = nil
  1735. }
  1736. if in.Allocatable != nil {
  1737. in, out := &in.Allocatable, &out.Allocatable
  1738. *out = make(ResourceList)
  1739. for key, val := range *in {
  1740. (*out)[key] = val.DeepCopy()
  1741. }
  1742. } else {
  1743. out.Allocatable = nil
  1744. }
  1745. out.Phase = in.Phase
  1746. if in.Conditions != nil {
  1747. in, out := &in.Conditions, &out.Conditions
  1748. *out = make([]NodeCondition, len(*in))
  1749. for i := range *in {
  1750. if err := DeepCopy_api_NodeCondition(&(*in)[i], &(*out)[i], c); err != nil {
  1751. return err
  1752. }
  1753. }
  1754. } else {
  1755. out.Conditions = nil
  1756. }
  1757. if in.Addresses != nil {
  1758. in, out := &in.Addresses, &out.Addresses
  1759. *out = make([]NodeAddress, len(*in))
  1760. for i := range *in {
  1761. (*out)[i] = (*in)[i]
  1762. }
  1763. } else {
  1764. out.Addresses = nil
  1765. }
  1766. out.DaemonEndpoints = in.DaemonEndpoints
  1767. out.NodeInfo = in.NodeInfo
  1768. if in.Images != nil {
  1769. in, out := &in.Images, &out.Images
  1770. *out = make([]ContainerImage, len(*in))
  1771. for i := range *in {
  1772. if err := DeepCopy_api_ContainerImage(&(*in)[i], &(*out)[i], c); err != nil {
  1773. return err
  1774. }
  1775. }
  1776. } else {
  1777. out.Images = nil
  1778. }
  1779. if in.VolumesInUse != nil {
  1780. in, out := &in.VolumesInUse, &out.VolumesInUse
  1781. *out = make([]UniqueVolumeName, len(*in))
  1782. for i := range *in {
  1783. (*out)[i] = (*in)[i]
  1784. }
  1785. } else {
  1786. out.VolumesInUse = nil
  1787. }
  1788. if in.VolumesAttached != nil {
  1789. in, out := &in.VolumesAttached, &out.VolumesAttached
  1790. *out = make([]AttachedVolume, len(*in))
  1791. for i := range *in {
  1792. (*out)[i] = (*in)[i]
  1793. }
  1794. } else {
  1795. out.VolumesAttached = nil
  1796. }
  1797. return nil
  1798. }
  1799. }
  1800. func DeepCopy_api_NodeSystemInfo(in interface{}, out interface{}, c *conversion.Cloner) error {
  1801. {
  1802. in := in.(*NodeSystemInfo)
  1803. out := out.(*NodeSystemInfo)
  1804. out.MachineID = in.MachineID
  1805. out.SystemUUID = in.SystemUUID
  1806. out.BootID = in.BootID
  1807. out.KernelVersion = in.KernelVersion
  1808. out.OSImage = in.OSImage
  1809. out.ContainerRuntimeVersion = in.ContainerRuntimeVersion
  1810. out.KubeletVersion = in.KubeletVersion
  1811. out.KubeProxyVersion = in.KubeProxyVersion
  1812. out.OperatingSystem = in.OperatingSystem
  1813. out.Architecture = in.Architecture
  1814. return nil
  1815. }
  1816. }
  1817. func DeepCopy_api_ObjectFieldSelector(in interface{}, out interface{}, c *conversion.Cloner) error {
  1818. {
  1819. in := in.(*ObjectFieldSelector)
  1820. out := out.(*ObjectFieldSelector)
  1821. out.APIVersion = in.APIVersion
  1822. out.FieldPath = in.FieldPath
  1823. return nil
  1824. }
  1825. }
  1826. func DeepCopy_api_ObjectMeta(in interface{}, out interface{}, c *conversion.Cloner) error {
  1827. {
  1828. in := in.(*ObjectMeta)
  1829. out := out.(*ObjectMeta)
  1830. out.Name = in.Name
  1831. out.GenerateName = in.GenerateName
  1832. out.Namespace = in.Namespace
  1833. out.SelfLink = in.SelfLink
  1834. out.UID = in.UID
  1835. out.ResourceVersion = in.ResourceVersion
  1836. out.Generation = in.Generation
  1837. out.CreationTimestamp = in.CreationTimestamp.DeepCopy()
  1838. if in.DeletionTimestamp != nil {
  1839. in, out := &in.DeletionTimestamp, &out.DeletionTimestamp
  1840. *out = new(unversioned.Time)
  1841. **out = (*in).DeepCopy()
  1842. } else {
  1843. out.DeletionTimestamp = nil
  1844. }
  1845. if in.DeletionGracePeriodSeconds != nil {
  1846. in, out := &in.DeletionGracePeriodSeconds, &out.DeletionGracePeriodSeconds
  1847. *out = new(int64)
  1848. **out = **in
  1849. } else {
  1850. out.DeletionGracePeriodSeconds = nil
  1851. }
  1852. if in.Labels != nil {
  1853. in, out := &in.Labels, &out.Labels
  1854. *out = make(map[string]string)
  1855. for key, val := range *in {
  1856. (*out)[key] = val
  1857. }
  1858. } else {
  1859. out.Labels = nil
  1860. }
  1861. if in.Annotations != nil {
  1862. in, out := &in.Annotations, &out.Annotations
  1863. *out = make(map[string]string)
  1864. for key, val := range *in {
  1865. (*out)[key] = val
  1866. }
  1867. } else {
  1868. out.Annotations = nil
  1869. }
  1870. if in.OwnerReferences != nil {
  1871. in, out := &in.OwnerReferences, &out.OwnerReferences
  1872. *out = make([]OwnerReference, len(*in))
  1873. for i := range *in {
  1874. if err := DeepCopy_api_OwnerReference(&(*in)[i], &(*out)[i], c); err != nil {
  1875. return err
  1876. }
  1877. }
  1878. } else {
  1879. out.OwnerReferences = nil
  1880. }
  1881. if in.Finalizers != nil {
  1882. in, out := &in.Finalizers, &out.Finalizers
  1883. *out = make([]string, len(*in))
  1884. copy(*out, *in)
  1885. } else {
  1886. out.Finalizers = nil
  1887. }
  1888. out.ClusterName = in.ClusterName
  1889. return nil
  1890. }
  1891. }
  1892. func DeepCopy_api_ObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error {
  1893. {
  1894. in := in.(*ObjectReference)
  1895. out := out.(*ObjectReference)
  1896. out.Kind = in.Kind
  1897. out.Namespace = in.Namespace
  1898. out.Name = in.Name
  1899. out.UID = in.UID
  1900. out.APIVersion = in.APIVersion
  1901. out.ResourceVersion = in.ResourceVersion
  1902. out.FieldPath = in.FieldPath
  1903. return nil
  1904. }
  1905. }
  1906. func DeepCopy_api_OwnerReference(in interface{}, out interface{}, c *conversion.Cloner) error {
  1907. {
  1908. in := in.(*OwnerReference)
  1909. out := out.(*OwnerReference)
  1910. out.APIVersion = in.APIVersion
  1911. out.Kind = in.Kind
  1912. out.Name = in.Name
  1913. out.UID = in.UID
  1914. if in.Controller != nil {
  1915. in, out := &in.Controller, &out.Controller
  1916. *out = new(bool)
  1917. **out = **in
  1918. } else {
  1919. out.Controller = nil
  1920. }
  1921. return nil
  1922. }
  1923. }
  1924. func DeepCopy_api_PersistentVolume(in interface{}, out interface{}, c *conversion.Cloner) error {
  1925. {
  1926. in := in.(*PersistentVolume)
  1927. out := out.(*PersistentVolume)
  1928. out.TypeMeta = in.TypeMeta
  1929. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  1930. return err
  1931. }
  1932. if err := DeepCopy_api_PersistentVolumeSpec(&in.Spec, &out.Spec, c); err != nil {
  1933. return err
  1934. }
  1935. out.Status = in.Status
  1936. return nil
  1937. }
  1938. }
  1939. func DeepCopy_api_PersistentVolumeClaim(in interface{}, out interface{}, c *conversion.Cloner) error {
  1940. {
  1941. in := in.(*PersistentVolumeClaim)
  1942. out := out.(*PersistentVolumeClaim)
  1943. out.TypeMeta = in.TypeMeta
  1944. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  1945. return err
  1946. }
  1947. if err := DeepCopy_api_PersistentVolumeClaimSpec(&in.Spec, &out.Spec, c); err != nil {
  1948. return err
  1949. }
  1950. if err := DeepCopy_api_PersistentVolumeClaimStatus(&in.Status, &out.Status, c); err != nil {
  1951. return err
  1952. }
  1953. return nil
  1954. }
  1955. }
  1956. func DeepCopy_api_PersistentVolumeClaimList(in interface{}, out interface{}, c *conversion.Cloner) error {
  1957. {
  1958. in := in.(*PersistentVolumeClaimList)
  1959. out := out.(*PersistentVolumeClaimList)
  1960. out.TypeMeta = in.TypeMeta
  1961. out.ListMeta = in.ListMeta
  1962. if in.Items != nil {
  1963. in, out := &in.Items, &out.Items
  1964. *out = make([]PersistentVolumeClaim, len(*in))
  1965. for i := range *in {
  1966. if err := DeepCopy_api_PersistentVolumeClaim(&(*in)[i], &(*out)[i], c); err != nil {
  1967. return err
  1968. }
  1969. }
  1970. } else {
  1971. out.Items = nil
  1972. }
  1973. return nil
  1974. }
  1975. }
  1976. func DeepCopy_api_PersistentVolumeClaimSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
  1977. {
  1978. in := in.(*PersistentVolumeClaimSpec)
  1979. out := out.(*PersistentVolumeClaimSpec)
  1980. if in.AccessModes != nil {
  1981. in, out := &in.AccessModes, &out.AccessModes
  1982. *out = make([]PersistentVolumeAccessMode, len(*in))
  1983. for i := range *in {
  1984. (*out)[i] = (*in)[i]
  1985. }
  1986. } else {
  1987. out.AccessModes = nil
  1988. }
  1989. if in.Selector != nil {
  1990. in, out := &in.Selector, &out.Selector
  1991. *out = new(unversioned.LabelSelector)
  1992. if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil {
  1993. return err
  1994. }
  1995. } else {
  1996. out.Selector = nil
  1997. }
  1998. if err := DeepCopy_api_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil {
  1999. return err
  2000. }
  2001. out.VolumeName = in.VolumeName
  2002. return nil
  2003. }
  2004. }
  2005. func DeepCopy_api_PersistentVolumeClaimStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  2006. {
  2007. in := in.(*PersistentVolumeClaimStatus)
  2008. out := out.(*PersistentVolumeClaimStatus)
  2009. out.Phase = in.Phase
  2010. if in.AccessModes != nil {
  2011. in, out := &in.AccessModes, &out.AccessModes
  2012. *out = make([]PersistentVolumeAccessMode, len(*in))
  2013. for i := range *in {
  2014. (*out)[i] = (*in)[i]
  2015. }
  2016. } else {
  2017. out.AccessModes = nil
  2018. }
  2019. if in.Capacity != nil {
  2020. in, out := &in.Capacity, &out.Capacity
  2021. *out = make(ResourceList)
  2022. for key, val := range *in {
  2023. (*out)[key] = val.DeepCopy()
  2024. }
  2025. } else {
  2026. out.Capacity = nil
  2027. }
  2028. return nil
  2029. }
  2030. }
  2031. func DeepCopy_api_PersistentVolumeClaimVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  2032. {
  2033. in := in.(*PersistentVolumeClaimVolumeSource)
  2034. out := out.(*PersistentVolumeClaimVolumeSource)
  2035. out.ClaimName = in.ClaimName
  2036. out.ReadOnly = in.ReadOnly
  2037. return nil
  2038. }
  2039. }
  2040. func DeepCopy_api_PersistentVolumeList(in interface{}, out interface{}, c *conversion.Cloner) error {
  2041. {
  2042. in := in.(*PersistentVolumeList)
  2043. out := out.(*PersistentVolumeList)
  2044. out.TypeMeta = in.TypeMeta
  2045. out.ListMeta = in.ListMeta
  2046. if in.Items != nil {
  2047. in, out := &in.Items, &out.Items
  2048. *out = make([]PersistentVolume, len(*in))
  2049. for i := range *in {
  2050. if err := DeepCopy_api_PersistentVolume(&(*in)[i], &(*out)[i], c); err != nil {
  2051. return err
  2052. }
  2053. }
  2054. } else {
  2055. out.Items = nil
  2056. }
  2057. return nil
  2058. }
  2059. }
  2060. func DeepCopy_api_PersistentVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  2061. {
  2062. in := in.(*PersistentVolumeSource)
  2063. out := out.(*PersistentVolumeSource)
  2064. if in.GCEPersistentDisk != nil {
  2065. in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk
  2066. *out = new(GCEPersistentDiskVolumeSource)
  2067. **out = **in
  2068. } else {
  2069. out.GCEPersistentDisk = nil
  2070. }
  2071. if in.AWSElasticBlockStore != nil {
  2072. in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore
  2073. *out = new(AWSElasticBlockStoreVolumeSource)
  2074. **out = **in
  2075. } else {
  2076. out.AWSElasticBlockStore = nil
  2077. }
  2078. if in.HostPath != nil {
  2079. in, out := &in.HostPath, &out.HostPath
  2080. *out = new(HostPathVolumeSource)
  2081. **out = **in
  2082. } else {
  2083. out.HostPath = nil
  2084. }
  2085. if in.Glusterfs != nil {
  2086. in, out := &in.Glusterfs, &out.Glusterfs
  2087. *out = new(GlusterfsVolumeSource)
  2088. **out = **in
  2089. } else {
  2090. out.Glusterfs = nil
  2091. }
  2092. if in.NFS != nil {
  2093. in, out := &in.NFS, &out.NFS
  2094. *out = new(NFSVolumeSource)
  2095. **out = **in
  2096. } else {
  2097. out.NFS = nil
  2098. }
  2099. if in.RBD != nil {
  2100. in, out := &in.RBD, &out.RBD
  2101. *out = new(RBDVolumeSource)
  2102. if err := DeepCopy_api_RBDVolumeSource(*in, *out, c); err != nil {
  2103. return err
  2104. }
  2105. } else {
  2106. out.RBD = nil
  2107. }
  2108. if in.Quobyte != nil {
  2109. in, out := &in.Quobyte, &out.Quobyte
  2110. *out = new(QuobyteVolumeSource)
  2111. **out = **in
  2112. } else {
  2113. out.Quobyte = nil
  2114. }
  2115. if in.ISCSI != nil {
  2116. in, out := &in.ISCSI, &out.ISCSI
  2117. *out = new(ISCSIVolumeSource)
  2118. **out = **in
  2119. } else {
  2120. out.ISCSI = nil
  2121. }
  2122. if in.FlexVolume != nil {
  2123. in, out := &in.FlexVolume, &out.FlexVolume
  2124. *out = new(FlexVolumeSource)
  2125. if err := DeepCopy_api_FlexVolumeSource(*in, *out, c); err != nil {
  2126. return err
  2127. }
  2128. } else {
  2129. out.FlexVolume = nil
  2130. }
  2131. if in.Cinder != nil {
  2132. in, out := &in.Cinder, &out.Cinder
  2133. *out = new(CinderVolumeSource)
  2134. **out = **in
  2135. } else {
  2136. out.Cinder = nil
  2137. }
  2138. if in.CephFS != nil {
  2139. in, out := &in.CephFS, &out.CephFS
  2140. *out = new(CephFSVolumeSource)
  2141. if err := DeepCopy_api_CephFSVolumeSource(*in, *out, c); err != nil {
  2142. return err
  2143. }
  2144. } else {
  2145. out.CephFS = nil
  2146. }
  2147. if in.FC != nil {
  2148. in, out := &in.FC, &out.FC
  2149. *out = new(FCVolumeSource)
  2150. if err := DeepCopy_api_FCVolumeSource(*in, *out, c); err != nil {
  2151. return err
  2152. }
  2153. } else {
  2154. out.FC = nil
  2155. }
  2156. if in.Flocker != nil {
  2157. in, out := &in.Flocker, &out.Flocker
  2158. *out = new(FlockerVolumeSource)
  2159. **out = **in
  2160. } else {
  2161. out.Flocker = nil
  2162. }
  2163. if in.AzureFile != nil {
  2164. in, out := &in.AzureFile, &out.AzureFile
  2165. *out = new(AzureFileVolumeSource)
  2166. **out = **in
  2167. } else {
  2168. out.AzureFile = nil
  2169. }
  2170. if in.VsphereVolume != nil {
  2171. in, out := &in.VsphereVolume, &out.VsphereVolume
  2172. *out = new(VsphereVirtualDiskVolumeSource)
  2173. **out = **in
  2174. } else {
  2175. out.VsphereVolume = nil
  2176. }
  2177. if in.AzureDisk != nil {
  2178. in, out := &in.AzureDisk, &out.AzureDisk
  2179. *out = new(AzureDiskVolumeSource)
  2180. if err := DeepCopy_api_AzureDiskVolumeSource(*in, *out, c); err != nil {
  2181. return err
  2182. }
  2183. } else {
  2184. out.AzureDisk = nil
  2185. }
  2186. return nil
  2187. }
  2188. }
  2189. func DeepCopy_api_PersistentVolumeSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
  2190. {
  2191. in := in.(*PersistentVolumeSpec)
  2192. out := out.(*PersistentVolumeSpec)
  2193. if in.Capacity != nil {
  2194. in, out := &in.Capacity, &out.Capacity
  2195. *out = make(ResourceList)
  2196. for key, val := range *in {
  2197. (*out)[key] = val.DeepCopy()
  2198. }
  2199. } else {
  2200. out.Capacity = nil
  2201. }
  2202. if err := DeepCopy_api_PersistentVolumeSource(&in.PersistentVolumeSource, &out.PersistentVolumeSource, c); err != nil {
  2203. return err
  2204. }
  2205. if in.AccessModes != nil {
  2206. in, out := &in.AccessModes, &out.AccessModes
  2207. *out = make([]PersistentVolumeAccessMode, len(*in))
  2208. for i := range *in {
  2209. (*out)[i] = (*in)[i]
  2210. }
  2211. } else {
  2212. out.AccessModes = nil
  2213. }
  2214. if in.ClaimRef != nil {
  2215. in, out := &in.ClaimRef, &out.ClaimRef
  2216. *out = new(ObjectReference)
  2217. **out = **in
  2218. } else {
  2219. out.ClaimRef = nil
  2220. }
  2221. out.PersistentVolumeReclaimPolicy = in.PersistentVolumeReclaimPolicy
  2222. return nil
  2223. }
  2224. }
  2225. func DeepCopy_api_PersistentVolumeStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  2226. {
  2227. in := in.(*PersistentVolumeStatus)
  2228. out := out.(*PersistentVolumeStatus)
  2229. out.Phase = in.Phase
  2230. out.Message = in.Message
  2231. out.Reason = in.Reason
  2232. return nil
  2233. }
  2234. }
  2235. func DeepCopy_api_Pod(in interface{}, out interface{}, c *conversion.Cloner) error {
  2236. {
  2237. in := in.(*Pod)
  2238. out := out.(*Pod)
  2239. out.TypeMeta = in.TypeMeta
  2240. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  2241. return err
  2242. }
  2243. if err := DeepCopy_api_PodSpec(&in.Spec, &out.Spec, c); err != nil {
  2244. return err
  2245. }
  2246. if err := DeepCopy_api_PodStatus(&in.Status, &out.Status, c); err != nil {
  2247. return err
  2248. }
  2249. return nil
  2250. }
  2251. }
  2252. func DeepCopy_api_PodAffinity(in interface{}, out interface{}, c *conversion.Cloner) error {
  2253. {
  2254. in := in.(*PodAffinity)
  2255. out := out.(*PodAffinity)
  2256. if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  2257. in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
  2258. *out = make([]PodAffinityTerm, len(*in))
  2259. for i := range *in {
  2260. if err := DeepCopy_api_PodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil {
  2261. return err
  2262. }
  2263. }
  2264. } else {
  2265. out.RequiredDuringSchedulingIgnoredDuringExecution = nil
  2266. }
  2267. if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
  2268. in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
  2269. *out = make([]WeightedPodAffinityTerm, len(*in))
  2270. for i := range *in {
  2271. if err := DeepCopy_api_WeightedPodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil {
  2272. return err
  2273. }
  2274. }
  2275. } else {
  2276. out.PreferredDuringSchedulingIgnoredDuringExecution = nil
  2277. }
  2278. return nil
  2279. }
  2280. }
  2281. func DeepCopy_api_PodAffinityTerm(in interface{}, out interface{}, c *conversion.Cloner) error {
  2282. {
  2283. in := in.(*PodAffinityTerm)
  2284. out := out.(*PodAffinityTerm)
  2285. if in.LabelSelector != nil {
  2286. in, out := &in.LabelSelector, &out.LabelSelector
  2287. *out = new(unversioned.LabelSelector)
  2288. if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil {
  2289. return err
  2290. }
  2291. } else {
  2292. out.LabelSelector = nil
  2293. }
  2294. if in.Namespaces != nil {
  2295. in, out := &in.Namespaces, &out.Namespaces
  2296. *out = make([]string, len(*in))
  2297. copy(*out, *in)
  2298. } else {
  2299. out.Namespaces = nil
  2300. }
  2301. out.TopologyKey = in.TopologyKey
  2302. return nil
  2303. }
  2304. }
  2305. func DeepCopy_api_PodAntiAffinity(in interface{}, out interface{}, c *conversion.Cloner) error {
  2306. {
  2307. in := in.(*PodAntiAffinity)
  2308. out := out.(*PodAntiAffinity)
  2309. if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  2310. in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
  2311. *out = make([]PodAffinityTerm, len(*in))
  2312. for i := range *in {
  2313. if err := DeepCopy_api_PodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil {
  2314. return err
  2315. }
  2316. }
  2317. } else {
  2318. out.RequiredDuringSchedulingIgnoredDuringExecution = nil
  2319. }
  2320. if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
  2321. in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
  2322. *out = make([]WeightedPodAffinityTerm, len(*in))
  2323. for i := range *in {
  2324. if err := DeepCopy_api_WeightedPodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil {
  2325. return err
  2326. }
  2327. }
  2328. } else {
  2329. out.PreferredDuringSchedulingIgnoredDuringExecution = nil
  2330. }
  2331. return nil
  2332. }
  2333. }
  2334. func DeepCopy_api_PodAttachOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
  2335. {
  2336. in := in.(*PodAttachOptions)
  2337. out := out.(*PodAttachOptions)
  2338. out.TypeMeta = in.TypeMeta
  2339. out.Stdin = in.Stdin
  2340. out.Stdout = in.Stdout
  2341. out.Stderr = in.Stderr
  2342. out.TTY = in.TTY
  2343. out.Container = in.Container
  2344. return nil
  2345. }
  2346. }
  2347. func DeepCopy_api_PodCondition(in interface{}, out interface{}, c *conversion.Cloner) error {
  2348. {
  2349. in := in.(*PodCondition)
  2350. out := out.(*PodCondition)
  2351. out.Type = in.Type
  2352. out.Status = in.Status
  2353. out.LastProbeTime = in.LastProbeTime.DeepCopy()
  2354. out.LastTransitionTime = in.LastTransitionTime.DeepCopy()
  2355. out.Reason = in.Reason
  2356. out.Message = in.Message
  2357. return nil
  2358. }
  2359. }
  2360. func DeepCopy_api_PodExecOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
  2361. {
  2362. in := in.(*PodExecOptions)
  2363. out := out.(*PodExecOptions)
  2364. out.TypeMeta = in.TypeMeta
  2365. out.Stdin = in.Stdin
  2366. out.Stdout = in.Stdout
  2367. out.Stderr = in.Stderr
  2368. out.TTY = in.TTY
  2369. out.Container = in.Container
  2370. if in.Command != nil {
  2371. in, out := &in.Command, &out.Command
  2372. *out = make([]string, len(*in))
  2373. copy(*out, *in)
  2374. } else {
  2375. out.Command = nil
  2376. }
  2377. return nil
  2378. }
  2379. }
  2380. func DeepCopy_api_PodList(in interface{}, out interface{}, c *conversion.Cloner) error {
  2381. {
  2382. in := in.(*PodList)
  2383. out := out.(*PodList)
  2384. out.TypeMeta = in.TypeMeta
  2385. out.ListMeta = in.ListMeta
  2386. if in.Items != nil {
  2387. in, out := &in.Items, &out.Items
  2388. *out = make([]Pod, len(*in))
  2389. for i := range *in {
  2390. if err := DeepCopy_api_Pod(&(*in)[i], &(*out)[i], c); err != nil {
  2391. return err
  2392. }
  2393. }
  2394. } else {
  2395. out.Items = nil
  2396. }
  2397. return nil
  2398. }
  2399. }
  2400. func DeepCopy_api_PodLogOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
  2401. {
  2402. in := in.(*PodLogOptions)
  2403. out := out.(*PodLogOptions)
  2404. out.TypeMeta = in.TypeMeta
  2405. out.Container = in.Container
  2406. out.Follow = in.Follow
  2407. out.Previous = in.Previous
  2408. if in.SinceSeconds != nil {
  2409. in, out := &in.SinceSeconds, &out.SinceSeconds
  2410. *out = new(int64)
  2411. **out = **in
  2412. } else {
  2413. out.SinceSeconds = nil
  2414. }
  2415. if in.SinceTime != nil {
  2416. in, out := &in.SinceTime, &out.SinceTime
  2417. *out = new(unversioned.Time)
  2418. **out = (*in).DeepCopy()
  2419. } else {
  2420. out.SinceTime = nil
  2421. }
  2422. out.Timestamps = in.Timestamps
  2423. if in.TailLines != nil {
  2424. in, out := &in.TailLines, &out.TailLines
  2425. *out = new(int64)
  2426. **out = **in
  2427. } else {
  2428. out.TailLines = nil
  2429. }
  2430. if in.LimitBytes != nil {
  2431. in, out := &in.LimitBytes, &out.LimitBytes
  2432. *out = new(int64)
  2433. **out = **in
  2434. } else {
  2435. out.LimitBytes = nil
  2436. }
  2437. return nil
  2438. }
  2439. }
  2440. func DeepCopy_api_PodProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
  2441. {
  2442. in := in.(*PodProxyOptions)
  2443. out := out.(*PodProxyOptions)
  2444. out.TypeMeta = in.TypeMeta
  2445. out.Path = in.Path
  2446. return nil
  2447. }
  2448. }
  2449. func DeepCopy_api_PodSecurityContext(in interface{}, out interface{}, c *conversion.Cloner) error {
  2450. {
  2451. in := in.(*PodSecurityContext)
  2452. out := out.(*PodSecurityContext)
  2453. out.HostNetwork = in.HostNetwork
  2454. out.HostPID = in.HostPID
  2455. out.HostIPC = in.HostIPC
  2456. if in.SELinuxOptions != nil {
  2457. in, out := &in.SELinuxOptions, &out.SELinuxOptions
  2458. *out = new(SELinuxOptions)
  2459. **out = **in
  2460. } else {
  2461. out.SELinuxOptions = nil
  2462. }
  2463. if in.RunAsUser != nil {
  2464. in, out := &in.RunAsUser, &out.RunAsUser
  2465. *out = new(int64)
  2466. **out = **in
  2467. } else {
  2468. out.RunAsUser = nil
  2469. }
  2470. if in.RunAsNonRoot != nil {
  2471. in, out := &in.RunAsNonRoot, &out.RunAsNonRoot
  2472. *out = new(bool)
  2473. **out = **in
  2474. } else {
  2475. out.RunAsNonRoot = nil
  2476. }
  2477. if in.SupplementalGroups != nil {
  2478. in, out := &in.SupplementalGroups, &out.SupplementalGroups
  2479. *out = make([]int64, len(*in))
  2480. copy(*out, *in)
  2481. } else {
  2482. out.SupplementalGroups = nil
  2483. }
  2484. if in.FSGroup != nil {
  2485. in, out := &in.FSGroup, &out.FSGroup
  2486. *out = new(int64)
  2487. **out = **in
  2488. } else {
  2489. out.FSGroup = nil
  2490. }
  2491. return nil
  2492. }
  2493. }
  2494. func DeepCopy_api_PodSignature(in interface{}, out interface{}, c *conversion.Cloner) error {
  2495. {
  2496. in := in.(*PodSignature)
  2497. out := out.(*PodSignature)
  2498. if in.PodController != nil {
  2499. in, out := &in.PodController, &out.PodController
  2500. *out = new(OwnerReference)
  2501. if err := DeepCopy_api_OwnerReference(*in, *out, c); err != nil {
  2502. return err
  2503. }
  2504. } else {
  2505. out.PodController = nil
  2506. }
  2507. return nil
  2508. }
  2509. }
  2510. func DeepCopy_api_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
  2511. {
  2512. in := in.(*PodSpec)
  2513. out := out.(*PodSpec)
  2514. if in.Volumes != nil {
  2515. in, out := &in.Volumes, &out.Volumes
  2516. *out = make([]Volume, len(*in))
  2517. for i := range *in {
  2518. if err := DeepCopy_api_Volume(&(*in)[i], &(*out)[i], c); err != nil {
  2519. return err
  2520. }
  2521. }
  2522. } else {
  2523. out.Volumes = nil
  2524. }
  2525. if in.InitContainers != nil {
  2526. in, out := &in.InitContainers, &out.InitContainers
  2527. *out = make([]Container, len(*in))
  2528. for i := range *in {
  2529. if err := DeepCopy_api_Container(&(*in)[i], &(*out)[i], c); err != nil {
  2530. return err
  2531. }
  2532. }
  2533. } else {
  2534. out.InitContainers = nil
  2535. }
  2536. if in.Containers != nil {
  2537. in, out := &in.Containers, &out.Containers
  2538. *out = make([]Container, len(*in))
  2539. for i := range *in {
  2540. if err := DeepCopy_api_Container(&(*in)[i], &(*out)[i], c); err != nil {
  2541. return err
  2542. }
  2543. }
  2544. } else {
  2545. out.Containers = nil
  2546. }
  2547. out.RestartPolicy = in.RestartPolicy
  2548. if in.TerminationGracePeriodSeconds != nil {
  2549. in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds
  2550. *out = new(int64)
  2551. **out = **in
  2552. } else {
  2553. out.TerminationGracePeriodSeconds = nil
  2554. }
  2555. if in.ActiveDeadlineSeconds != nil {
  2556. in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
  2557. *out = new(int64)
  2558. **out = **in
  2559. } else {
  2560. out.ActiveDeadlineSeconds = nil
  2561. }
  2562. out.DNSPolicy = in.DNSPolicy
  2563. if in.NodeSelector != nil {
  2564. in, out := &in.NodeSelector, &out.NodeSelector
  2565. *out = make(map[string]string)
  2566. for key, val := range *in {
  2567. (*out)[key] = val
  2568. }
  2569. } else {
  2570. out.NodeSelector = nil
  2571. }
  2572. out.ServiceAccountName = in.ServiceAccountName
  2573. out.NodeName = in.NodeName
  2574. if in.SecurityContext != nil {
  2575. in, out := &in.SecurityContext, &out.SecurityContext
  2576. *out = new(PodSecurityContext)
  2577. if err := DeepCopy_api_PodSecurityContext(*in, *out, c); err != nil {
  2578. return err
  2579. }
  2580. } else {
  2581. out.SecurityContext = nil
  2582. }
  2583. if in.ImagePullSecrets != nil {
  2584. in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
  2585. *out = make([]LocalObjectReference, len(*in))
  2586. for i := range *in {
  2587. (*out)[i] = (*in)[i]
  2588. }
  2589. } else {
  2590. out.ImagePullSecrets = nil
  2591. }
  2592. out.Hostname = in.Hostname
  2593. out.Subdomain = in.Subdomain
  2594. return nil
  2595. }
  2596. }
  2597. func DeepCopy_api_PodStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  2598. {
  2599. in := in.(*PodStatus)
  2600. out := out.(*PodStatus)
  2601. out.Phase = in.Phase
  2602. if in.Conditions != nil {
  2603. in, out := &in.Conditions, &out.Conditions
  2604. *out = make([]PodCondition, len(*in))
  2605. for i := range *in {
  2606. if err := DeepCopy_api_PodCondition(&(*in)[i], &(*out)[i], c); err != nil {
  2607. return err
  2608. }
  2609. }
  2610. } else {
  2611. out.Conditions = nil
  2612. }
  2613. out.Message = in.Message
  2614. out.Reason = in.Reason
  2615. out.HostIP = in.HostIP
  2616. out.PodIP = in.PodIP
  2617. if in.StartTime != nil {
  2618. in, out := &in.StartTime, &out.StartTime
  2619. *out = new(unversioned.Time)
  2620. **out = (*in).DeepCopy()
  2621. } else {
  2622. out.StartTime = nil
  2623. }
  2624. if in.InitContainerStatuses != nil {
  2625. in, out := &in.InitContainerStatuses, &out.InitContainerStatuses
  2626. *out = make([]ContainerStatus, len(*in))
  2627. for i := range *in {
  2628. if err := DeepCopy_api_ContainerStatus(&(*in)[i], &(*out)[i], c); err != nil {
  2629. return err
  2630. }
  2631. }
  2632. } else {
  2633. out.InitContainerStatuses = nil
  2634. }
  2635. if in.ContainerStatuses != nil {
  2636. in, out := &in.ContainerStatuses, &out.ContainerStatuses
  2637. *out = make([]ContainerStatus, len(*in))
  2638. for i := range *in {
  2639. if err := DeepCopy_api_ContainerStatus(&(*in)[i], &(*out)[i], c); err != nil {
  2640. return err
  2641. }
  2642. }
  2643. } else {
  2644. out.ContainerStatuses = nil
  2645. }
  2646. return nil
  2647. }
  2648. }
  2649. func DeepCopy_api_PodStatusResult(in interface{}, out interface{}, c *conversion.Cloner) error {
  2650. {
  2651. in := in.(*PodStatusResult)
  2652. out := out.(*PodStatusResult)
  2653. out.TypeMeta = in.TypeMeta
  2654. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  2655. return err
  2656. }
  2657. if err := DeepCopy_api_PodStatus(&in.Status, &out.Status, c); err != nil {
  2658. return err
  2659. }
  2660. return nil
  2661. }
  2662. }
  2663. func DeepCopy_api_PodTemplate(in interface{}, out interface{}, c *conversion.Cloner) error {
  2664. {
  2665. in := in.(*PodTemplate)
  2666. out := out.(*PodTemplate)
  2667. out.TypeMeta = in.TypeMeta
  2668. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  2669. return err
  2670. }
  2671. if err := DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil {
  2672. return err
  2673. }
  2674. return nil
  2675. }
  2676. }
  2677. func DeepCopy_api_PodTemplateList(in interface{}, out interface{}, c *conversion.Cloner) error {
  2678. {
  2679. in := in.(*PodTemplateList)
  2680. out := out.(*PodTemplateList)
  2681. out.TypeMeta = in.TypeMeta
  2682. out.ListMeta = in.ListMeta
  2683. if in.Items != nil {
  2684. in, out := &in.Items, &out.Items
  2685. *out = make([]PodTemplate, len(*in))
  2686. for i := range *in {
  2687. if err := DeepCopy_api_PodTemplate(&(*in)[i], &(*out)[i], c); err != nil {
  2688. return err
  2689. }
  2690. }
  2691. } else {
  2692. out.Items = nil
  2693. }
  2694. return nil
  2695. }
  2696. }
  2697. func DeepCopy_api_PodTemplateSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
  2698. {
  2699. in := in.(*PodTemplateSpec)
  2700. out := out.(*PodTemplateSpec)
  2701. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  2702. return err
  2703. }
  2704. if err := DeepCopy_api_PodSpec(&in.Spec, &out.Spec, c); err != nil {
  2705. return err
  2706. }
  2707. return nil
  2708. }
  2709. }
  2710. func DeepCopy_api_Preconditions(in interface{}, out interface{}, c *conversion.Cloner) error {
  2711. {
  2712. in := in.(*Preconditions)
  2713. out := out.(*Preconditions)
  2714. if in.UID != nil {
  2715. in, out := &in.UID, &out.UID
  2716. *out = new(types.UID)
  2717. **out = **in
  2718. } else {
  2719. out.UID = nil
  2720. }
  2721. return nil
  2722. }
  2723. }
  2724. func DeepCopy_api_PreferAvoidPodsEntry(in interface{}, out interface{}, c *conversion.Cloner) error {
  2725. {
  2726. in := in.(*PreferAvoidPodsEntry)
  2727. out := out.(*PreferAvoidPodsEntry)
  2728. if err := DeepCopy_api_PodSignature(&in.PodSignature, &out.PodSignature, c); err != nil {
  2729. return err
  2730. }
  2731. out.EvictionTime = in.EvictionTime.DeepCopy()
  2732. out.Reason = in.Reason
  2733. out.Message = in.Message
  2734. return nil
  2735. }
  2736. }
  2737. func DeepCopy_api_PreferredSchedulingTerm(in interface{}, out interface{}, c *conversion.Cloner) error {
  2738. {
  2739. in := in.(*PreferredSchedulingTerm)
  2740. out := out.(*PreferredSchedulingTerm)
  2741. out.Weight = in.Weight
  2742. if err := DeepCopy_api_NodeSelectorTerm(&in.Preference, &out.Preference, c); err != nil {
  2743. return err
  2744. }
  2745. return nil
  2746. }
  2747. }
  2748. func DeepCopy_api_Probe(in interface{}, out interface{}, c *conversion.Cloner) error {
  2749. {
  2750. in := in.(*Probe)
  2751. out := out.(*Probe)
  2752. if err := DeepCopy_api_Handler(&in.Handler, &out.Handler, c); err != nil {
  2753. return err
  2754. }
  2755. out.InitialDelaySeconds = in.InitialDelaySeconds
  2756. out.TimeoutSeconds = in.TimeoutSeconds
  2757. out.PeriodSeconds = in.PeriodSeconds
  2758. out.SuccessThreshold = in.SuccessThreshold
  2759. out.FailureThreshold = in.FailureThreshold
  2760. return nil
  2761. }
  2762. }
  2763. func DeepCopy_api_QuobyteVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  2764. {
  2765. in := in.(*QuobyteVolumeSource)
  2766. out := out.(*QuobyteVolumeSource)
  2767. out.Registry = in.Registry
  2768. out.Volume = in.Volume
  2769. out.ReadOnly = in.ReadOnly
  2770. out.User = in.User
  2771. out.Group = in.Group
  2772. return nil
  2773. }
  2774. }
  2775. func DeepCopy_api_RBDVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  2776. {
  2777. in := in.(*RBDVolumeSource)
  2778. out := out.(*RBDVolumeSource)
  2779. if in.CephMonitors != nil {
  2780. in, out := &in.CephMonitors, &out.CephMonitors
  2781. *out = make([]string, len(*in))
  2782. copy(*out, *in)
  2783. } else {
  2784. out.CephMonitors = nil
  2785. }
  2786. out.RBDImage = in.RBDImage
  2787. out.FSType = in.FSType
  2788. out.RBDPool = in.RBDPool
  2789. out.RadosUser = in.RadosUser
  2790. out.Keyring = in.Keyring
  2791. if in.SecretRef != nil {
  2792. in, out := &in.SecretRef, &out.SecretRef
  2793. *out = new(LocalObjectReference)
  2794. **out = **in
  2795. } else {
  2796. out.SecretRef = nil
  2797. }
  2798. out.ReadOnly = in.ReadOnly
  2799. return nil
  2800. }
  2801. }
  2802. func DeepCopy_api_RangeAllocation(in interface{}, out interface{}, c *conversion.Cloner) error {
  2803. {
  2804. in := in.(*RangeAllocation)
  2805. out := out.(*RangeAllocation)
  2806. out.TypeMeta = in.TypeMeta
  2807. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  2808. return err
  2809. }
  2810. out.Range = in.Range
  2811. if in.Data != nil {
  2812. in, out := &in.Data, &out.Data
  2813. *out = make([]byte, len(*in))
  2814. copy(*out, *in)
  2815. } else {
  2816. out.Data = nil
  2817. }
  2818. return nil
  2819. }
  2820. }
  2821. func DeepCopy_api_ReplicationController(in interface{}, out interface{}, c *conversion.Cloner) error {
  2822. {
  2823. in := in.(*ReplicationController)
  2824. out := out.(*ReplicationController)
  2825. out.TypeMeta = in.TypeMeta
  2826. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  2827. return err
  2828. }
  2829. if err := DeepCopy_api_ReplicationControllerSpec(&in.Spec, &out.Spec, c); err != nil {
  2830. return err
  2831. }
  2832. out.Status = in.Status
  2833. return nil
  2834. }
  2835. }
  2836. func DeepCopy_api_ReplicationControllerList(in interface{}, out interface{}, c *conversion.Cloner) error {
  2837. {
  2838. in := in.(*ReplicationControllerList)
  2839. out := out.(*ReplicationControllerList)
  2840. out.TypeMeta = in.TypeMeta
  2841. out.ListMeta = in.ListMeta
  2842. if in.Items != nil {
  2843. in, out := &in.Items, &out.Items
  2844. *out = make([]ReplicationController, len(*in))
  2845. for i := range *in {
  2846. if err := DeepCopy_api_ReplicationController(&(*in)[i], &(*out)[i], c); err != nil {
  2847. return err
  2848. }
  2849. }
  2850. } else {
  2851. out.Items = nil
  2852. }
  2853. return nil
  2854. }
  2855. }
  2856. func DeepCopy_api_ReplicationControllerSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
  2857. {
  2858. in := in.(*ReplicationControllerSpec)
  2859. out := out.(*ReplicationControllerSpec)
  2860. out.Replicas = in.Replicas
  2861. if in.Selector != nil {
  2862. in, out := &in.Selector, &out.Selector
  2863. *out = make(map[string]string)
  2864. for key, val := range *in {
  2865. (*out)[key] = val
  2866. }
  2867. } else {
  2868. out.Selector = nil
  2869. }
  2870. if in.Template != nil {
  2871. in, out := &in.Template, &out.Template
  2872. *out = new(PodTemplateSpec)
  2873. if err := DeepCopy_api_PodTemplateSpec(*in, *out, c); err != nil {
  2874. return err
  2875. }
  2876. } else {
  2877. out.Template = nil
  2878. }
  2879. return nil
  2880. }
  2881. }
  2882. func DeepCopy_api_ReplicationControllerStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  2883. {
  2884. in := in.(*ReplicationControllerStatus)
  2885. out := out.(*ReplicationControllerStatus)
  2886. out.Replicas = in.Replicas
  2887. out.FullyLabeledReplicas = in.FullyLabeledReplicas
  2888. out.ReadyReplicas = in.ReadyReplicas
  2889. out.ObservedGeneration = in.ObservedGeneration
  2890. return nil
  2891. }
  2892. }
  2893. func DeepCopy_api_ResourceFieldSelector(in interface{}, out interface{}, c *conversion.Cloner) error {
  2894. {
  2895. in := in.(*ResourceFieldSelector)
  2896. out := out.(*ResourceFieldSelector)
  2897. out.ContainerName = in.ContainerName
  2898. out.Resource = in.Resource
  2899. out.Divisor = in.Divisor.DeepCopy()
  2900. return nil
  2901. }
  2902. }
  2903. func DeepCopy_api_ResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error {
  2904. {
  2905. in := in.(*ResourceQuota)
  2906. out := out.(*ResourceQuota)
  2907. out.TypeMeta = in.TypeMeta
  2908. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  2909. return err
  2910. }
  2911. if err := DeepCopy_api_ResourceQuotaSpec(&in.Spec, &out.Spec, c); err != nil {
  2912. return err
  2913. }
  2914. if err := DeepCopy_api_ResourceQuotaStatus(&in.Status, &out.Status, c); err != nil {
  2915. return err
  2916. }
  2917. return nil
  2918. }
  2919. }
  2920. func DeepCopy_api_ResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error {
  2921. {
  2922. in := in.(*ResourceQuotaList)
  2923. out := out.(*ResourceQuotaList)
  2924. out.TypeMeta = in.TypeMeta
  2925. out.ListMeta = in.ListMeta
  2926. if in.Items != nil {
  2927. in, out := &in.Items, &out.Items
  2928. *out = make([]ResourceQuota, len(*in))
  2929. for i := range *in {
  2930. if err := DeepCopy_api_ResourceQuota(&(*in)[i], &(*out)[i], c); err != nil {
  2931. return err
  2932. }
  2933. }
  2934. } else {
  2935. out.Items = nil
  2936. }
  2937. return nil
  2938. }
  2939. }
  2940. func DeepCopy_api_ResourceQuotaSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
  2941. {
  2942. in := in.(*ResourceQuotaSpec)
  2943. out := out.(*ResourceQuotaSpec)
  2944. if in.Hard != nil {
  2945. in, out := &in.Hard, &out.Hard
  2946. *out = make(ResourceList)
  2947. for key, val := range *in {
  2948. (*out)[key] = val.DeepCopy()
  2949. }
  2950. } else {
  2951. out.Hard = nil
  2952. }
  2953. if in.Scopes != nil {
  2954. in, out := &in.Scopes, &out.Scopes
  2955. *out = make([]ResourceQuotaScope, len(*in))
  2956. for i := range *in {
  2957. (*out)[i] = (*in)[i]
  2958. }
  2959. } else {
  2960. out.Scopes = nil
  2961. }
  2962. return nil
  2963. }
  2964. }
  2965. func DeepCopy_api_ResourceQuotaStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  2966. {
  2967. in := in.(*ResourceQuotaStatus)
  2968. out := out.(*ResourceQuotaStatus)
  2969. if in.Hard != nil {
  2970. in, out := &in.Hard, &out.Hard
  2971. *out = make(ResourceList)
  2972. for key, val := range *in {
  2973. (*out)[key] = val.DeepCopy()
  2974. }
  2975. } else {
  2976. out.Hard = nil
  2977. }
  2978. if in.Used != nil {
  2979. in, out := &in.Used, &out.Used
  2980. *out = make(ResourceList)
  2981. for key, val := range *in {
  2982. (*out)[key] = val.DeepCopy()
  2983. }
  2984. } else {
  2985. out.Used = nil
  2986. }
  2987. return nil
  2988. }
  2989. }
  2990. func DeepCopy_api_ResourceRequirements(in interface{}, out interface{}, c *conversion.Cloner) error {
  2991. {
  2992. in := in.(*ResourceRequirements)
  2993. out := out.(*ResourceRequirements)
  2994. if in.Limits != nil {
  2995. in, out := &in.Limits, &out.Limits
  2996. *out = make(ResourceList)
  2997. for key, val := range *in {
  2998. (*out)[key] = val.DeepCopy()
  2999. }
  3000. } else {
  3001. out.Limits = nil
  3002. }
  3003. if in.Requests != nil {
  3004. in, out := &in.Requests, &out.Requests
  3005. *out = make(ResourceList)
  3006. for key, val := range *in {
  3007. (*out)[key] = val.DeepCopy()
  3008. }
  3009. } else {
  3010. out.Requests = nil
  3011. }
  3012. return nil
  3013. }
  3014. }
  3015. func DeepCopy_api_SELinuxOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
  3016. {
  3017. in := in.(*SELinuxOptions)
  3018. out := out.(*SELinuxOptions)
  3019. out.User = in.User
  3020. out.Role = in.Role
  3021. out.Type = in.Type
  3022. out.Level = in.Level
  3023. return nil
  3024. }
  3025. }
  3026. func DeepCopy_api_Secret(in interface{}, out interface{}, c *conversion.Cloner) error {
  3027. {
  3028. in := in.(*Secret)
  3029. out := out.(*Secret)
  3030. out.TypeMeta = in.TypeMeta
  3031. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  3032. return err
  3033. }
  3034. if in.Data != nil {
  3035. in, out := &in.Data, &out.Data
  3036. *out = make(map[string][]byte)
  3037. for key, val := range *in {
  3038. if newVal, err := c.DeepCopy(&val); err != nil {
  3039. return err
  3040. } else {
  3041. (*out)[key] = *newVal.(*[]byte)
  3042. }
  3043. }
  3044. } else {
  3045. out.Data = nil
  3046. }
  3047. out.Type = in.Type
  3048. return nil
  3049. }
  3050. }
  3051. func DeepCopy_api_SecretKeySelector(in interface{}, out interface{}, c *conversion.Cloner) error {
  3052. {
  3053. in := in.(*SecretKeySelector)
  3054. out := out.(*SecretKeySelector)
  3055. out.LocalObjectReference = in.LocalObjectReference
  3056. out.Key = in.Key
  3057. return nil
  3058. }
  3059. }
  3060. func DeepCopy_api_SecretList(in interface{}, out interface{}, c *conversion.Cloner) error {
  3061. {
  3062. in := in.(*SecretList)
  3063. out := out.(*SecretList)
  3064. out.TypeMeta = in.TypeMeta
  3065. out.ListMeta = in.ListMeta
  3066. if in.Items != nil {
  3067. in, out := &in.Items, &out.Items
  3068. *out = make([]Secret, len(*in))
  3069. for i := range *in {
  3070. if err := DeepCopy_api_Secret(&(*in)[i], &(*out)[i], c); err != nil {
  3071. return err
  3072. }
  3073. }
  3074. } else {
  3075. out.Items = nil
  3076. }
  3077. return nil
  3078. }
  3079. }
  3080. func DeepCopy_api_SecretVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  3081. {
  3082. in := in.(*SecretVolumeSource)
  3083. out := out.(*SecretVolumeSource)
  3084. out.SecretName = in.SecretName
  3085. if in.Items != nil {
  3086. in, out := &in.Items, &out.Items
  3087. *out = make([]KeyToPath, len(*in))
  3088. for i := range *in {
  3089. if err := DeepCopy_api_KeyToPath(&(*in)[i], &(*out)[i], c); err != nil {
  3090. return err
  3091. }
  3092. }
  3093. } else {
  3094. out.Items = nil
  3095. }
  3096. if in.DefaultMode != nil {
  3097. in, out := &in.DefaultMode, &out.DefaultMode
  3098. *out = new(int32)
  3099. **out = **in
  3100. } else {
  3101. out.DefaultMode = nil
  3102. }
  3103. return nil
  3104. }
  3105. }
  3106. func DeepCopy_api_SecurityContext(in interface{}, out interface{}, c *conversion.Cloner) error {
  3107. {
  3108. in := in.(*SecurityContext)
  3109. out := out.(*SecurityContext)
  3110. if in.Capabilities != nil {
  3111. in, out := &in.Capabilities, &out.Capabilities
  3112. *out = new(Capabilities)
  3113. if err := DeepCopy_api_Capabilities(*in, *out, c); err != nil {
  3114. return err
  3115. }
  3116. } else {
  3117. out.Capabilities = nil
  3118. }
  3119. if in.Privileged != nil {
  3120. in, out := &in.Privileged, &out.Privileged
  3121. *out = new(bool)
  3122. **out = **in
  3123. } else {
  3124. out.Privileged = nil
  3125. }
  3126. if in.SELinuxOptions != nil {
  3127. in, out := &in.SELinuxOptions, &out.SELinuxOptions
  3128. *out = new(SELinuxOptions)
  3129. **out = **in
  3130. } else {
  3131. out.SELinuxOptions = nil
  3132. }
  3133. if in.RunAsUser != nil {
  3134. in, out := &in.RunAsUser, &out.RunAsUser
  3135. *out = new(int64)
  3136. **out = **in
  3137. } else {
  3138. out.RunAsUser = nil
  3139. }
  3140. if in.RunAsNonRoot != nil {
  3141. in, out := &in.RunAsNonRoot, &out.RunAsNonRoot
  3142. *out = new(bool)
  3143. **out = **in
  3144. } else {
  3145. out.RunAsNonRoot = nil
  3146. }
  3147. if in.ReadOnlyRootFilesystem != nil {
  3148. in, out := &in.ReadOnlyRootFilesystem, &out.ReadOnlyRootFilesystem
  3149. *out = new(bool)
  3150. **out = **in
  3151. } else {
  3152. out.ReadOnlyRootFilesystem = nil
  3153. }
  3154. return nil
  3155. }
  3156. }
  3157. func DeepCopy_api_SerializedReference(in interface{}, out interface{}, c *conversion.Cloner) error {
  3158. {
  3159. in := in.(*SerializedReference)
  3160. out := out.(*SerializedReference)
  3161. out.TypeMeta = in.TypeMeta
  3162. out.Reference = in.Reference
  3163. return nil
  3164. }
  3165. }
  3166. func DeepCopy_api_Service(in interface{}, out interface{}, c *conversion.Cloner) error {
  3167. {
  3168. in := in.(*Service)
  3169. out := out.(*Service)
  3170. out.TypeMeta = in.TypeMeta
  3171. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  3172. return err
  3173. }
  3174. if err := DeepCopy_api_ServiceSpec(&in.Spec, &out.Spec, c); err != nil {
  3175. return err
  3176. }
  3177. if err := DeepCopy_api_ServiceStatus(&in.Status, &out.Status, c); err != nil {
  3178. return err
  3179. }
  3180. return nil
  3181. }
  3182. }
  3183. func DeepCopy_api_ServiceAccount(in interface{}, out interface{}, c *conversion.Cloner) error {
  3184. {
  3185. in := in.(*ServiceAccount)
  3186. out := out.(*ServiceAccount)
  3187. out.TypeMeta = in.TypeMeta
  3188. if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
  3189. return err
  3190. }
  3191. if in.Secrets != nil {
  3192. in, out := &in.Secrets, &out.Secrets
  3193. *out = make([]ObjectReference, len(*in))
  3194. for i := range *in {
  3195. (*out)[i] = (*in)[i]
  3196. }
  3197. } else {
  3198. out.Secrets = nil
  3199. }
  3200. if in.ImagePullSecrets != nil {
  3201. in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
  3202. *out = make([]LocalObjectReference, len(*in))
  3203. for i := range *in {
  3204. (*out)[i] = (*in)[i]
  3205. }
  3206. } else {
  3207. out.ImagePullSecrets = nil
  3208. }
  3209. return nil
  3210. }
  3211. }
  3212. func DeepCopy_api_ServiceAccountList(in interface{}, out interface{}, c *conversion.Cloner) error {
  3213. {
  3214. in := in.(*ServiceAccountList)
  3215. out := out.(*ServiceAccountList)
  3216. out.TypeMeta = in.TypeMeta
  3217. out.ListMeta = in.ListMeta
  3218. if in.Items != nil {
  3219. in, out := &in.Items, &out.Items
  3220. *out = make([]ServiceAccount, len(*in))
  3221. for i := range *in {
  3222. if err := DeepCopy_api_ServiceAccount(&(*in)[i], &(*out)[i], c); err != nil {
  3223. return err
  3224. }
  3225. }
  3226. } else {
  3227. out.Items = nil
  3228. }
  3229. return nil
  3230. }
  3231. }
  3232. func DeepCopy_api_ServiceList(in interface{}, out interface{}, c *conversion.Cloner) error {
  3233. {
  3234. in := in.(*ServiceList)
  3235. out := out.(*ServiceList)
  3236. out.TypeMeta = in.TypeMeta
  3237. out.ListMeta = in.ListMeta
  3238. if in.Items != nil {
  3239. in, out := &in.Items, &out.Items
  3240. *out = make([]Service, len(*in))
  3241. for i := range *in {
  3242. if err := DeepCopy_api_Service(&(*in)[i], &(*out)[i], c); err != nil {
  3243. return err
  3244. }
  3245. }
  3246. } else {
  3247. out.Items = nil
  3248. }
  3249. return nil
  3250. }
  3251. }
  3252. func DeepCopy_api_ServicePort(in interface{}, out interface{}, c *conversion.Cloner) error {
  3253. {
  3254. in := in.(*ServicePort)
  3255. out := out.(*ServicePort)
  3256. out.Name = in.Name
  3257. out.Protocol = in.Protocol
  3258. out.Port = in.Port
  3259. out.TargetPort = in.TargetPort
  3260. out.NodePort = in.NodePort
  3261. return nil
  3262. }
  3263. }
  3264. func DeepCopy_api_ServiceProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
  3265. {
  3266. in := in.(*ServiceProxyOptions)
  3267. out := out.(*ServiceProxyOptions)
  3268. out.TypeMeta = in.TypeMeta
  3269. out.Path = in.Path
  3270. return nil
  3271. }
  3272. }
  3273. func DeepCopy_api_ServiceSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
  3274. {
  3275. in := in.(*ServiceSpec)
  3276. out := out.(*ServiceSpec)
  3277. out.Type = in.Type
  3278. if in.Ports != nil {
  3279. in, out := &in.Ports, &out.Ports
  3280. *out = make([]ServicePort, len(*in))
  3281. for i := range *in {
  3282. (*out)[i] = (*in)[i]
  3283. }
  3284. } else {
  3285. out.Ports = nil
  3286. }
  3287. if in.Selector != nil {
  3288. in, out := &in.Selector, &out.Selector
  3289. *out = make(map[string]string)
  3290. for key, val := range *in {
  3291. (*out)[key] = val
  3292. }
  3293. } else {
  3294. out.Selector = nil
  3295. }
  3296. out.ClusterIP = in.ClusterIP
  3297. out.ExternalName = in.ExternalName
  3298. if in.ExternalIPs != nil {
  3299. in, out := &in.ExternalIPs, &out.ExternalIPs
  3300. *out = make([]string, len(*in))
  3301. copy(*out, *in)
  3302. } else {
  3303. out.ExternalIPs = nil
  3304. }
  3305. out.LoadBalancerIP = in.LoadBalancerIP
  3306. out.SessionAffinity = in.SessionAffinity
  3307. if in.LoadBalancerSourceRanges != nil {
  3308. in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges
  3309. *out = make([]string, len(*in))
  3310. copy(*out, *in)
  3311. } else {
  3312. out.LoadBalancerSourceRanges = nil
  3313. }
  3314. return nil
  3315. }
  3316. }
  3317. func DeepCopy_api_ServiceStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
  3318. {
  3319. in := in.(*ServiceStatus)
  3320. out := out.(*ServiceStatus)
  3321. if err := DeepCopy_api_LoadBalancerStatus(&in.LoadBalancer, &out.LoadBalancer, c); err != nil {
  3322. return err
  3323. }
  3324. return nil
  3325. }
  3326. }
  3327. func DeepCopy_api_Sysctl(in interface{}, out interface{}, c *conversion.Cloner) error {
  3328. {
  3329. in := in.(*Sysctl)
  3330. out := out.(*Sysctl)
  3331. out.Name = in.Name
  3332. out.Value = in.Value
  3333. return nil
  3334. }
  3335. }
  3336. func DeepCopy_api_TCPSocketAction(in interface{}, out interface{}, c *conversion.Cloner) error {
  3337. {
  3338. in := in.(*TCPSocketAction)
  3339. out := out.(*TCPSocketAction)
  3340. out.Port = in.Port
  3341. return nil
  3342. }
  3343. }
  3344. func DeepCopy_api_Taint(in interface{}, out interface{}, c *conversion.Cloner) error {
  3345. {
  3346. in := in.(*Taint)
  3347. out := out.(*Taint)
  3348. out.Key = in.Key
  3349. out.Value = in.Value
  3350. out.Effect = in.Effect
  3351. return nil
  3352. }
  3353. }
  3354. func DeepCopy_api_Toleration(in interface{}, out interface{}, c *conversion.Cloner) error {
  3355. {
  3356. in := in.(*Toleration)
  3357. out := out.(*Toleration)
  3358. out.Key = in.Key
  3359. out.Operator = in.Operator
  3360. out.Value = in.Value
  3361. out.Effect = in.Effect
  3362. return nil
  3363. }
  3364. }
  3365. func DeepCopy_api_Volume(in interface{}, out interface{}, c *conversion.Cloner) error {
  3366. {
  3367. in := in.(*Volume)
  3368. out := out.(*Volume)
  3369. out.Name = in.Name
  3370. if err := DeepCopy_api_VolumeSource(&in.VolumeSource, &out.VolumeSource, c); err != nil {
  3371. return err
  3372. }
  3373. return nil
  3374. }
  3375. }
  3376. func DeepCopy_api_VolumeMount(in interface{}, out interface{}, c *conversion.Cloner) error {
  3377. {
  3378. in := in.(*VolumeMount)
  3379. out := out.(*VolumeMount)
  3380. out.Name = in.Name
  3381. out.ReadOnly = in.ReadOnly
  3382. out.MountPath = in.MountPath
  3383. out.SubPath = in.SubPath
  3384. return nil
  3385. }
  3386. }
  3387. func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  3388. {
  3389. in := in.(*VolumeSource)
  3390. out := out.(*VolumeSource)
  3391. if in.HostPath != nil {
  3392. in, out := &in.HostPath, &out.HostPath
  3393. *out = new(HostPathVolumeSource)
  3394. **out = **in
  3395. } else {
  3396. out.HostPath = nil
  3397. }
  3398. if in.EmptyDir != nil {
  3399. in, out := &in.EmptyDir, &out.EmptyDir
  3400. *out = new(EmptyDirVolumeSource)
  3401. **out = **in
  3402. } else {
  3403. out.EmptyDir = nil
  3404. }
  3405. if in.GCEPersistentDisk != nil {
  3406. in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk
  3407. *out = new(GCEPersistentDiskVolumeSource)
  3408. **out = **in
  3409. } else {
  3410. out.GCEPersistentDisk = nil
  3411. }
  3412. if in.AWSElasticBlockStore != nil {
  3413. in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore
  3414. *out = new(AWSElasticBlockStoreVolumeSource)
  3415. **out = **in
  3416. } else {
  3417. out.AWSElasticBlockStore = nil
  3418. }
  3419. if in.GitRepo != nil {
  3420. in, out := &in.GitRepo, &out.GitRepo
  3421. *out = new(GitRepoVolumeSource)
  3422. **out = **in
  3423. } else {
  3424. out.GitRepo = nil
  3425. }
  3426. if in.Secret != nil {
  3427. in, out := &in.Secret, &out.Secret
  3428. *out = new(SecretVolumeSource)
  3429. if err := DeepCopy_api_SecretVolumeSource(*in, *out, c); err != nil {
  3430. return err
  3431. }
  3432. } else {
  3433. out.Secret = nil
  3434. }
  3435. if in.NFS != nil {
  3436. in, out := &in.NFS, &out.NFS
  3437. *out = new(NFSVolumeSource)
  3438. **out = **in
  3439. } else {
  3440. out.NFS = nil
  3441. }
  3442. if in.ISCSI != nil {
  3443. in, out := &in.ISCSI, &out.ISCSI
  3444. *out = new(ISCSIVolumeSource)
  3445. **out = **in
  3446. } else {
  3447. out.ISCSI = nil
  3448. }
  3449. if in.Glusterfs != nil {
  3450. in, out := &in.Glusterfs, &out.Glusterfs
  3451. *out = new(GlusterfsVolumeSource)
  3452. **out = **in
  3453. } else {
  3454. out.Glusterfs = nil
  3455. }
  3456. if in.PersistentVolumeClaim != nil {
  3457. in, out := &in.PersistentVolumeClaim, &out.PersistentVolumeClaim
  3458. *out = new(PersistentVolumeClaimVolumeSource)
  3459. **out = **in
  3460. } else {
  3461. out.PersistentVolumeClaim = nil
  3462. }
  3463. if in.RBD != nil {
  3464. in, out := &in.RBD, &out.RBD
  3465. *out = new(RBDVolumeSource)
  3466. if err := DeepCopy_api_RBDVolumeSource(*in, *out, c); err != nil {
  3467. return err
  3468. }
  3469. } else {
  3470. out.RBD = nil
  3471. }
  3472. if in.Quobyte != nil {
  3473. in, out := &in.Quobyte, &out.Quobyte
  3474. *out = new(QuobyteVolumeSource)
  3475. **out = **in
  3476. } else {
  3477. out.Quobyte = nil
  3478. }
  3479. if in.FlexVolume != nil {
  3480. in, out := &in.FlexVolume, &out.FlexVolume
  3481. *out = new(FlexVolumeSource)
  3482. if err := DeepCopy_api_FlexVolumeSource(*in, *out, c); err != nil {
  3483. return err
  3484. }
  3485. } else {
  3486. out.FlexVolume = nil
  3487. }
  3488. if in.Cinder != nil {
  3489. in, out := &in.Cinder, &out.Cinder
  3490. *out = new(CinderVolumeSource)
  3491. **out = **in
  3492. } else {
  3493. out.Cinder = nil
  3494. }
  3495. if in.CephFS != nil {
  3496. in, out := &in.CephFS, &out.CephFS
  3497. *out = new(CephFSVolumeSource)
  3498. if err := DeepCopy_api_CephFSVolumeSource(*in, *out, c); err != nil {
  3499. return err
  3500. }
  3501. } else {
  3502. out.CephFS = nil
  3503. }
  3504. if in.Flocker != nil {
  3505. in, out := &in.Flocker, &out.Flocker
  3506. *out = new(FlockerVolumeSource)
  3507. **out = **in
  3508. } else {
  3509. out.Flocker = nil
  3510. }
  3511. if in.DownwardAPI != nil {
  3512. in, out := &in.DownwardAPI, &out.DownwardAPI
  3513. *out = new(DownwardAPIVolumeSource)
  3514. if err := DeepCopy_api_DownwardAPIVolumeSource(*in, *out, c); err != nil {
  3515. return err
  3516. }
  3517. } else {
  3518. out.DownwardAPI = nil
  3519. }
  3520. if in.FC != nil {
  3521. in, out := &in.FC, &out.FC
  3522. *out = new(FCVolumeSource)
  3523. if err := DeepCopy_api_FCVolumeSource(*in, *out, c); err != nil {
  3524. return err
  3525. }
  3526. } else {
  3527. out.FC = nil
  3528. }
  3529. if in.AzureFile != nil {
  3530. in, out := &in.AzureFile, &out.AzureFile
  3531. *out = new(AzureFileVolumeSource)
  3532. **out = **in
  3533. } else {
  3534. out.AzureFile = nil
  3535. }
  3536. if in.ConfigMap != nil {
  3537. in, out := &in.ConfigMap, &out.ConfigMap
  3538. *out = new(ConfigMapVolumeSource)
  3539. if err := DeepCopy_api_ConfigMapVolumeSource(*in, *out, c); err != nil {
  3540. return err
  3541. }
  3542. } else {
  3543. out.ConfigMap = nil
  3544. }
  3545. if in.VsphereVolume != nil {
  3546. in, out := &in.VsphereVolume, &out.VsphereVolume
  3547. *out = new(VsphereVirtualDiskVolumeSource)
  3548. **out = **in
  3549. } else {
  3550. out.VsphereVolume = nil
  3551. }
  3552. if in.AzureDisk != nil {
  3553. in, out := &in.AzureDisk, &out.AzureDisk
  3554. *out = new(AzureDiskVolumeSource)
  3555. if err := DeepCopy_api_AzureDiskVolumeSource(*in, *out, c); err != nil {
  3556. return err
  3557. }
  3558. } else {
  3559. out.AzureDisk = nil
  3560. }
  3561. return nil
  3562. }
  3563. }
  3564. func DeepCopy_api_VsphereVirtualDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
  3565. {
  3566. in := in.(*VsphereVirtualDiskVolumeSource)
  3567. out := out.(*VsphereVirtualDiskVolumeSource)
  3568. out.VolumePath = in.VolumePath
  3569. out.FSType = in.FSType
  3570. return nil
  3571. }
  3572. }
  3573. func DeepCopy_api_WeightedPodAffinityTerm(in interface{}, out interface{}, c *conversion.Cloner) error {
  3574. {
  3575. in := in.(*WeightedPodAffinityTerm)
  3576. out := out.(*WeightedPodAffinityTerm)
  3577. out.Weight = in.Weight
  3578. if err := DeepCopy_api_PodAffinityTerm(&in.PodAffinityTerm, &out.PodAffinityTerm, c); err != nil {
  3579. return err
  3580. }
  3581. return nil
  3582. }
  3583. }