zz_generated.deepcopy.go 101 KB

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