zz_generated.deepcopy.go 160 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright 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. // Code generated by deepcopy-gen. DO NOT EDIT.
  15. package core
  16. import (
  17. v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  18. runtime "k8s.io/apimachinery/pkg/runtime"
  19. types "k8s.io/apimachinery/pkg/types"
  20. )
  21. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  22. func (in *AWSElasticBlockStoreVolumeSource) DeepCopyInto(out *AWSElasticBlockStoreVolumeSource) {
  23. *out = *in
  24. return
  25. }
  26. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource.
  27. func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource {
  28. if in == nil {
  29. return nil
  30. }
  31. out := new(AWSElasticBlockStoreVolumeSource)
  32. in.DeepCopyInto(out)
  33. return out
  34. }
  35. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  36. func (in *Affinity) DeepCopyInto(out *Affinity) {
  37. *out = *in
  38. if in.NodeAffinity != nil {
  39. in, out := &in.NodeAffinity, &out.NodeAffinity
  40. *out = new(NodeAffinity)
  41. (*in).DeepCopyInto(*out)
  42. }
  43. if in.PodAffinity != nil {
  44. in, out := &in.PodAffinity, &out.PodAffinity
  45. *out = new(PodAffinity)
  46. (*in).DeepCopyInto(*out)
  47. }
  48. if in.PodAntiAffinity != nil {
  49. in, out := &in.PodAntiAffinity, &out.PodAntiAffinity
  50. *out = new(PodAntiAffinity)
  51. (*in).DeepCopyInto(*out)
  52. }
  53. return
  54. }
  55. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Affinity.
  56. func (in *Affinity) DeepCopy() *Affinity {
  57. if in == nil {
  58. return nil
  59. }
  60. out := new(Affinity)
  61. in.DeepCopyInto(out)
  62. return out
  63. }
  64. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  65. func (in *AttachedVolume) DeepCopyInto(out *AttachedVolume) {
  66. *out = *in
  67. return
  68. }
  69. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume.
  70. func (in *AttachedVolume) DeepCopy() *AttachedVolume {
  71. if in == nil {
  72. return nil
  73. }
  74. out := new(AttachedVolume)
  75. in.DeepCopyInto(out)
  76. return out
  77. }
  78. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  79. func (in *AvoidPods) DeepCopyInto(out *AvoidPods) {
  80. *out = *in
  81. if in.PreferAvoidPods != nil {
  82. in, out := &in.PreferAvoidPods, &out.PreferAvoidPods
  83. *out = make([]PreferAvoidPodsEntry, len(*in))
  84. for i := range *in {
  85. (*in)[i].DeepCopyInto(&(*out)[i])
  86. }
  87. }
  88. return
  89. }
  90. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods.
  91. func (in *AvoidPods) DeepCopy() *AvoidPods {
  92. if in == nil {
  93. return nil
  94. }
  95. out := new(AvoidPods)
  96. in.DeepCopyInto(out)
  97. return out
  98. }
  99. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  100. func (in *AzureDiskVolumeSource) DeepCopyInto(out *AzureDiskVolumeSource) {
  101. *out = *in
  102. if in.CachingMode != nil {
  103. in, out := &in.CachingMode, &out.CachingMode
  104. *out = new(AzureDataDiskCachingMode)
  105. **out = **in
  106. }
  107. if in.FSType != nil {
  108. in, out := &in.FSType, &out.FSType
  109. *out = new(string)
  110. **out = **in
  111. }
  112. if in.ReadOnly != nil {
  113. in, out := &in.ReadOnly, &out.ReadOnly
  114. *out = new(bool)
  115. **out = **in
  116. }
  117. if in.Kind != nil {
  118. in, out := &in.Kind, &out.Kind
  119. *out = new(AzureDataDiskKind)
  120. **out = **in
  121. }
  122. return
  123. }
  124. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource.
  125. func (in *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource {
  126. if in == nil {
  127. return nil
  128. }
  129. out := new(AzureDiskVolumeSource)
  130. in.DeepCopyInto(out)
  131. return out
  132. }
  133. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  134. func (in *AzureFilePersistentVolumeSource) DeepCopyInto(out *AzureFilePersistentVolumeSource) {
  135. *out = *in
  136. if in.SecretNamespace != nil {
  137. in, out := &in.SecretNamespace, &out.SecretNamespace
  138. *out = new(string)
  139. **out = **in
  140. }
  141. return
  142. }
  143. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilePersistentVolumeSource.
  144. func (in *AzureFilePersistentVolumeSource) DeepCopy() *AzureFilePersistentVolumeSource {
  145. if in == nil {
  146. return nil
  147. }
  148. out := new(AzureFilePersistentVolumeSource)
  149. in.DeepCopyInto(out)
  150. return out
  151. }
  152. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  153. func (in *AzureFileVolumeSource) DeepCopyInto(out *AzureFileVolumeSource) {
  154. *out = *in
  155. return
  156. }
  157. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource.
  158. func (in *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource {
  159. if in == nil {
  160. return nil
  161. }
  162. out := new(AzureFileVolumeSource)
  163. in.DeepCopyInto(out)
  164. return out
  165. }
  166. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  167. func (in *Binding) DeepCopyInto(out *Binding) {
  168. *out = *in
  169. out.TypeMeta = in.TypeMeta
  170. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  171. out.Target = in.Target
  172. return
  173. }
  174. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding.
  175. func (in *Binding) DeepCopy() *Binding {
  176. if in == nil {
  177. return nil
  178. }
  179. out := new(Binding)
  180. in.DeepCopyInto(out)
  181. return out
  182. }
  183. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  184. func (in *Binding) DeepCopyObject() runtime.Object {
  185. if c := in.DeepCopy(); c != nil {
  186. return c
  187. }
  188. return nil
  189. }
  190. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  191. func (in *CSIPersistentVolumeSource) DeepCopyInto(out *CSIPersistentVolumeSource) {
  192. *out = *in
  193. if in.VolumeAttributes != nil {
  194. in, out := &in.VolumeAttributes, &out.VolumeAttributes
  195. *out = make(map[string]string, len(*in))
  196. for key, val := range *in {
  197. (*out)[key] = val
  198. }
  199. }
  200. if in.ControllerPublishSecretRef != nil {
  201. in, out := &in.ControllerPublishSecretRef, &out.ControllerPublishSecretRef
  202. *out = new(SecretReference)
  203. **out = **in
  204. }
  205. if in.NodeStageSecretRef != nil {
  206. in, out := &in.NodeStageSecretRef, &out.NodeStageSecretRef
  207. *out = new(SecretReference)
  208. **out = **in
  209. }
  210. if in.NodePublishSecretRef != nil {
  211. in, out := &in.NodePublishSecretRef, &out.NodePublishSecretRef
  212. *out = new(SecretReference)
  213. **out = **in
  214. }
  215. if in.ControllerExpandSecretRef != nil {
  216. in, out := &in.ControllerExpandSecretRef, &out.ControllerExpandSecretRef
  217. *out = new(SecretReference)
  218. **out = **in
  219. }
  220. return
  221. }
  222. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIPersistentVolumeSource.
  223. func (in *CSIPersistentVolumeSource) DeepCopy() *CSIPersistentVolumeSource {
  224. if in == nil {
  225. return nil
  226. }
  227. out := new(CSIPersistentVolumeSource)
  228. in.DeepCopyInto(out)
  229. return out
  230. }
  231. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  232. func (in *CSIVolumeSource) DeepCopyInto(out *CSIVolumeSource) {
  233. *out = *in
  234. if in.ReadOnly != nil {
  235. in, out := &in.ReadOnly, &out.ReadOnly
  236. *out = new(bool)
  237. **out = **in
  238. }
  239. if in.FSType != nil {
  240. in, out := &in.FSType, &out.FSType
  241. *out = new(string)
  242. **out = **in
  243. }
  244. if in.VolumeAttributes != nil {
  245. in, out := &in.VolumeAttributes, &out.VolumeAttributes
  246. *out = make(map[string]string, len(*in))
  247. for key, val := range *in {
  248. (*out)[key] = val
  249. }
  250. }
  251. if in.NodePublishSecretRef != nil {
  252. in, out := &in.NodePublishSecretRef, &out.NodePublishSecretRef
  253. *out = new(LocalObjectReference)
  254. **out = **in
  255. }
  256. return
  257. }
  258. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIVolumeSource.
  259. func (in *CSIVolumeSource) DeepCopy() *CSIVolumeSource {
  260. if in == nil {
  261. return nil
  262. }
  263. out := new(CSIVolumeSource)
  264. in.DeepCopyInto(out)
  265. return out
  266. }
  267. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  268. func (in *Capabilities) DeepCopyInto(out *Capabilities) {
  269. *out = *in
  270. if in.Add != nil {
  271. in, out := &in.Add, &out.Add
  272. *out = make([]Capability, len(*in))
  273. copy(*out, *in)
  274. }
  275. if in.Drop != nil {
  276. in, out := &in.Drop, &out.Drop
  277. *out = make([]Capability, len(*in))
  278. copy(*out, *in)
  279. }
  280. return
  281. }
  282. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities.
  283. func (in *Capabilities) DeepCopy() *Capabilities {
  284. if in == nil {
  285. return nil
  286. }
  287. out := new(Capabilities)
  288. in.DeepCopyInto(out)
  289. return out
  290. }
  291. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  292. func (in *CephFSPersistentVolumeSource) DeepCopyInto(out *CephFSPersistentVolumeSource) {
  293. *out = *in
  294. if in.Monitors != nil {
  295. in, out := &in.Monitors, &out.Monitors
  296. *out = make([]string, len(*in))
  297. copy(*out, *in)
  298. }
  299. if in.SecretRef != nil {
  300. in, out := &in.SecretRef, &out.SecretRef
  301. *out = new(SecretReference)
  302. **out = **in
  303. }
  304. return
  305. }
  306. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSPersistentVolumeSource.
  307. func (in *CephFSPersistentVolumeSource) DeepCopy() *CephFSPersistentVolumeSource {
  308. if in == nil {
  309. return nil
  310. }
  311. out := new(CephFSPersistentVolumeSource)
  312. in.DeepCopyInto(out)
  313. return out
  314. }
  315. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  316. func (in *CephFSVolumeSource) DeepCopyInto(out *CephFSVolumeSource) {
  317. *out = *in
  318. if in.Monitors != nil {
  319. in, out := &in.Monitors, &out.Monitors
  320. *out = make([]string, len(*in))
  321. copy(*out, *in)
  322. }
  323. if in.SecretRef != nil {
  324. in, out := &in.SecretRef, &out.SecretRef
  325. *out = new(LocalObjectReference)
  326. **out = **in
  327. }
  328. return
  329. }
  330. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource.
  331. func (in *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource {
  332. if in == nil {
  333. return nil
  334. }
  335. out := new(CephFSVolumeSource)
  336. in.DeepCopyInto(out)
  337. return out
  338. }
  339. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  340. func (in *CinderPersistentVolumeSource) DeepCopyInto(out *CinderPersistentVolumeSource) {
  341. *out = *in
  342. if in.SecretRef != nil {
  343. in, out := &in.SecretRef, &out.SecretRef
  344. *out = new(SecretReference)
  345. **out = **in
  346. }
  347. return
  348. }
  349. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderPersistentVolumeSource.
  350. func (in *CinderPersistentVolumeSource) DeepCopy() *CinderPersistentVolumeSource {
  351. if in == nil {
  352. return nil
  353. }
  354. out := new(CinderPersistentVolumeSource)
  355. in.DeepCopyInto(out)
  356. return out
  357. }
  358. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  359. func (in *CinderVolumeSource) DeepCopyInto(out *CinderVolumeSource) {
  360. *out = *in
  361. if in.SecretRef != nil {
  362. in, out := &in.SecretRef, &out.SecretRef
  363. *out = new(LocalObjectReference)
  364. **out = **in
  365. }
  366. return
  367. }
  368. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource.
  369. func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource {
  370. if in == nil {
  371. return nil
  372. }
  373. out := new(CinderVolumeSource)
  374. in.DeepCopyInto(out)
  375. return out
  376. }
  377. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  378. func (in *ClientIPConfig) DeepCopyInto(out *ClientIPConfig) {
  379. *out = *in
  380. if in.TimeoutSeconds != nil {
  381. in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
  382. *out = new(int32)
  383. **out = **in
  384. }
  385. return
  386. }
  387. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIPConfig.
  388. func (in *ClientIPConfig) DeepCopy() *ClientIPConfig {
  389. if in == nil {
  390. return nil
  391. }
  392. out := new(ClientIPConfig)
  393. in.DeepCopyInto(out)
  394. return out
  395. }
  396. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  397. func (in *ComponentCondition) DeepCopyInto(out *ComponentCondition) {
  398. *out = *in
  399. return
  400. }
  401. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition.
  402. func (in *ComponentCondition) DeepCopy() *ComponentCondition {
  403. if in == nil {
  404. return nil
  405. }
  406. out := new(ComponentCondition)
  407. in.DeepCopyInto(out)
  408. return out
  409. }
  410. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  411. func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) {
  412. *out = *in
  413. out.TypeMeta = in.TypeMeta
  414. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  415. if in.Conditions != nil {
  416. in, out := &in.Conditions, &out.Conditions
  417. *out = make([]ComponentCondition, len(*in))
  418. copy(*out, *in)
  419. }
  420. return
  421. }
  422. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
  423. func (in *ComponentStatus) DeepCopy() *ComponentStatus {
  424. if in == nil {
  425. return nil
  426. }
  427. out := new(ComponentStatus)
  428. in.DeepCopyInto(out)
  429. return out
  430. }
  431. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  432. func (in *ComponentStatus) DeepCopyObject() runtime.Object {
  433. if c := in.DeepCopy(); c != nil {
  434. return c
  435. }
  436. return nil
  437. }
  438. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  439. func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList) {
  440. *out = *in
  441. out.TypeMeta = in.TypeMeta
  442. in.ListMeta.DeepCopyInto(&out.ListMeta)
  443. if in.Items != nil {
  444. in, out := &in.Items, &out.Items
  445. *out = make([]ComponentStatus, len(*in))
  446. for i := range *in {
  447. (*in)[i].DeepCopyInto(&(*out)[i])
  448. }
  449. }
  450. return
  451. }
  452. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList.
  453. func (in *ComponentStatusList) DeepCopy() *ComponentStatusList {
  454. if in == nil {
  455. return nil
  456. }
  457. out := new(ComponentStatusList)
  458. in.DeepCopyInto(out)
  459. return out
  460. }
  461. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  462. func (in *ComponentStatusList) DeepCopyObject() runtime.Object {
  463. if c := in.DeepCopy(); c != nil {
  464. return c
  465. }
  466. return nil
  467. }
  468. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  469. func (in *ConfigMap) DeepCopyInto(out *ConfigMap) {
  470. *out = *in
  471. out.TypeMeta = in.TypeMeta
  472. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  473. if in.Immutable != nil {
  474. in, out := &in.Immutable, &out.Immutable
  475. *out = new(bool)
  476. **out = **in
  477. }
  478. if in.Data != nil {
  479. in, out := &in.Data, &out.Data
  480. *out = make(map[string]string, len(*in))
  481. for key, val := range *in {
  482. (*out)[key] = val
  483. }
  484. }
  485. if in.BinaryData != nil {
  486. in, out := &in.BinaryData, &out.BinaryData
  487. *out = make(map[string][]byte, len(*in))
  488. for key, val := range *in {
  489. var outVal []byte
  490. if val == nil {
  491. (*out)[key] = nil
  492. } else {
  493. in, out := &val, &outVal
  494. *out = make([]byte, len(*in))
  495. copy(*out, *in)
  496. }
  497. (*out)[key] = outVal
  498. }
  499. }
  500. return
  501. }
  502. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap.
  503. func (in *ConfigMap) DeepCopy() *ConfigMap {
  504. if in == nil {
  505. return nil
  506. }
  507. out := new(ConfigMap)
  508. in.DeepCopyInto(out)
  509. return out
  510. }
  511. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  512. func (in *ConfigMap) DeepCopyObject() runtime.Object {
  513. if c := in.DeepCopy(); c != nil {
  514. return c
  515. }
  516. return nil
  517. }
  518. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  519. func (in *ConfigMapEnvSource) DeepCopyInto(out *ConfigMapEnvSource) {
  520. *out = *in
  521. out.LocalObjectReference = in.LocalObjectReference
  522. if in.Optional != nil {
  523. in, out := &in.Optional, &out.Optional
  524. *out = new(bool)
  525. **out = **in
  526. }
  527. return
  528. }
  529. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource.
  530. func (in *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource {
  531. if in == nil {
  532. return nil
  533. }
  534. out := new(ConfigMapEnvSource)
  535. in.DeepCopyInto(out)
  536. return out
  537. }
  538. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  539. func (in *ConfigMapKeySelector) DeepCopyInto(out *ConfigMapKeySelector) {
  540. *out = *in
  541. out.LocalObjectReference = in.LocalObjectReference
  542. if in.Optional != nil {
  543. in, out := &in.Optional, &out.Optional
  544. *out = new(bool)
  545. **out = **in
  546. }
  547. return
  548. }
  549. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector.
  550. func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector {
  551. if in == nil {
  552. return nil
  553. }
  554. out := new(ConfigMapKeySelector)
  555. in.DeepCopyInto(out)
  556. return out
  557. }
  558. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  559. func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList) {
  560. *out = *in
  561. out.TypeMeta = in.TypeMeta
  562. in.ListMeta.DeepCopyInto(&out.ListMeta)
  563. if in.Items != nil {
  564. in, out := &in.Items, &out.Items
  565. *out = make([]ConfigMap, len(*in))
  566. for i := range *in {
  567. (*in)[i].DeepCopyInto(&(*out)[i])
  568. }
  569. }
  570. return
  571. }
  572. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList.
  573. func (in *ConfigMapList) DeepCopy() *ConfigMapList {
  574. if in == nil {
  575. return nil
  576. }
  577. out := new(ConfigMapList)
  578. in.DeepCopyInto(out)
  579. return out
  580. }
  581. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  582. func (in *ConfigMapList) DeepCopyObject() runtime.Object {
  583. if c := in.DeepCopy(); c != nil {
  584. return c
  585. }
  586. return nil
  587. }
  588. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  589. func (in *ConfigMapNodeConfigSource) DeepCopyInto(out *ConfigMapNodeConfigSource) {
  590. *out = *in
  591. return
  592. }
  593. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapNodeConfigSource.
  594. func (in *ConfigMapNodeConfigSource) DeepCopy() *ConfigMapNodeConfigSource {
  595. if in == nil {
  596. return nil
  597. }
  598. out := new(ConfigMapNodeConfigSource)
  599. in.DeepCopyInto(out)
  600. return out
  601. }
  602. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  603. func (in *ConfigMapProjection) DeepCopyInto(out *ConfigMapProjection) {
  604. *out = *in
  605. out.LocalObjectReference = in.LocalObjectReference
  606. if in.Items != nil {
  607. in, out := &in.Items, &out.Items
  608. *out = make([]KeyToPath, len(*in))
  609. for i := range *in {
  610. (*in)[i].DeepCopyInto(&(*out)[i])
  611. }
  612. }
  613. if in.Optional != nil {
  614. in, out := &in.Optional, &out.Optional
  615. *out = new(bool)
  616. **out = **in
  617. }
  618. return
  619. }
  620. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection.
  621. func (in *ConfigMapProjection) DeepCopy() *ConfigMapProjection {
  622. if in == nil {
  623. return nil
  624. }
  625. out := new(ConfigMapProjection)
  626. in.DeepCopyInto(out)
  627. return out
  628. }
  629. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  630. func (in *ConfigMapVolumeSource) DeepCopyInto(out *ConfigMapVolumeSource) {
  631. *out = *in
  632. out.LocalObjectReference = in.LocalObjectReference
  633. if in.Items != nil {
  634. in, out := &in.Items, &out.Items
  635. *out = make([]KeyToPath, len(*in))
  636. for i := range *in {
  637. (*in)[i].DeepCopyInto(&(*out)[i])
  638. }
  639. }
  640. if in.DefaultMode != nil {
  641. in, out := &in.DefaultMode, &out.DefaultMode
  642. *out = new(int32)
  643. **out = **in
  644. }
  645. if in.Optional != nil {
  646. in, out := &in.Optional, &out.Optional
  647. *out = new(bool)
  648. **out = **in
  649. }
  650. return
  651. }
  652. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource.
  653. func (in *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource {
  654. if in == nil {
  655. return nil
  656. }
  657. out := new(ConfigMapVolumeSource)
  658. in.DeepCopyInto(out)
  659. return out
  660. }
  661. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  662. func (in *Container) DeepCopyInto(out *Container) {
  663. *out = *in
  664. if in.Command != nil {
  665. in, out := &in.Command, &out.Command
  666. *out = make([]string, len(*in))
  667. copy(*out, *in)
  668. }
  669. if in.Args != nil {
  670. in, out := &in.Args, &out.Args
  671. *out = make([]string, len(*in))
  672. copy(*out, *in)
  673. }
  674. if in.Ports != nil {
  675. in, out := &in.Ports, &out.Ports
  676. *out = make([]ContainerPort, len(*in))
  677. copy(*out, *in)
  678. }
  679. if in.EnvFrom != nil {
  680. in, out := &in.EnvFrom, &out.EnvFrom
  681. *out = make([]EnvFromSource, len(*in))
  682. for i := range *in {
  683. (*in)[i].DeepCopyInto(&(*out)[i])
  684. }
  685. }
  686. if in.Env != nil {
  687. in, out := &in.Env, &out.Env
  688. *out = make([]EnvVar, len(*in))
  689. for i := range *in {
  690. (*in)[i].DeepCopyInto(&(*out)[i])
  691. }
  692. }
  693. in.Resources.DeepCopyInto(&out.Resources)
  694. if in.VolumeMounts != nil {
  695. in, out := &in.VolumeMounts, &out.VolumeMounts
  696. *out = make([]VolumeMount, len(*in))
  697. for i := range *in {
  698. (*in)[i].DeepCopyInto(&(*out)[i])
  699. }
  700. }
  701. if in.VolumeDevices != nil {
  702. in, out := &in.VolumeDevices, &out.VolumeDevices
  703. *out = make([]VolumeDevice, len(*in))
  704. copy(*out, *in)
  705. }
  706. if in.LivenessProbe != nil {
  707. in, out := &in.LivenessProbe, &out.LivenessProbe
  708. *out = new(Probe)
  709. (*in).DeepCopyInto(*out)
  710. }
  711. if in.ReadinessProbe != nil {
  712. in, out := &in.ReadinessProbe, &out.ReadinessProbe
  713. *out = new(Probe)
  714. (*in).DeepCopyInto(*out)
  715. }
  716. if in.StartupProbe != nil {
  717. in, out := &in.StartupProbe, &out.StartupProbe
  718. *out = new(Probe)
  719. (*in).DeepCopyInto(*out)
  720. }
  721. if in.Lifecycle != nil {
  722. in, out := &in.Lifecycle, &out.Lifecycle
  723. *out = new(Lifecycle)
  724. (*in).DeepCopyInto(*out)
  725. }
  726. if in.SecurityContext != nil {
  727. in, out := &in.SecurityContext, &out.SecurityContext
  728. *out = new(SecurityContext)
  729. (*in).DeepCopyInto(*out)
  730. }
  731. return
  732. }
  733. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
  734. func (in *Container) DeepCopy() *Container {
  735. if in == nil {
  736. return nil
  737. }
  738. out := new(Container)
  739. in.DeepCopyInto(out)
  740. return out
  741. }
  742. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  743. func (in *ContainerImage) DeepCopyInto(out *ContainerImage) {
  744. *out = *in
  745. if in.Names != nil {
  746. in, out := &in.Names, &out.Names
  747. *out = make([]string, len(*in))
  748. copy(*out, *in)
  749. }
  750. return
  751. }
  752. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage.
  753. func (in *ContainerImage) DeepCopy() *ContainerImage {
  754. if in == nil {
  755. return nil
  756. }
  757. out := new(ContainerImage)
  758. in.DeepCopyInto(out)
  759. return out
  760. }
  761. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  762. func (in *ContainerPort) DeepCopyInto(out *ContainerPort) {
  763. *out = *in
  764. return
  765. }
  766. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort.
  767. func (in *ContainerPort) DeepCopy() *ContainerPort {
  768. if in == nil {
  769. return nil
  770. }
  771. out := new(ContainerPort)
  772. in.DeepCopyInto(out)
  773. return out
  774. }
  775. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  776. func (in *ContainerState) DeepCopyInto(out *ContainerState) {
  777. *out = *in
  778. if in.Waiting != nil {
  779. in, out := &in.Waiting, &out.Waiting
  780. *out = new(ContainerStateWaiting)
  781. **out = **in
  782. }
  783. if in.Running != nil {
  784. in, out := &in.Running, &out.Running
  785. *out = new(ContainerStateRunning)
  786. (*in).DeepCopyInto(*out)
  787. }
  788. if in.Terminated != nil {
  789. in, out := &in.Terminated, &out.Terminated
  790. *out = new(ContainerStateTerminated)
  791. (*in).DeepCopyInto(*out)
  792. }
  793. return
  794. }
  795. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState.
  796. func (in *ContainerState) DeepCopy() *ContainerState {
  797. if in == nil {
  798. return nil
  799. }
  800. out := new(ContainerState)
  801. in.DeepCopyInto(out)
  802. return out
  803. }
  804. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  805. func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning) {
  806. *out = *in
  807. in.StartedAt.DeepCopyInto(&out.StartedAt)
  808. return
  809. }
  810. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning.
  811. func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning {
  812. if in == nil {
  813. return nil
  814. }
  815. out := new(ContainerStateRunning)
  816. in.DeepCopyInto(out)
  817. return out
  818. }
  819. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  820. func (in *ContainerStateTerminated) DeepCopyInto(out *ContainerStateTerminated) {
  821. *out = *in
  822. in.StartedAt.DeepCopyInto(&out.StartedAt)
  823. in.FinishedAt.DeepCopyInto(&out.FinishedAt)
  824. return
  825. }
  826. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated.
  827. func (in *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated {
  828. if in == nil {
  829. return nil
  830. }
  831. out := new(ContainerStateTerminated)
  832. in.DeepCopyInto(out)
  833. return out
  834. }
  835. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  836. func (in *ContainerStateWaiting) DeepCopyInto(out *ContainerStateWaiting) {
  837. *out = *in
  838. return
  839. }
  840. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting.
  841. func (in *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting {
  842. if in == nil {
  843. return nil
  844. }
  845. out := new(ContainerStateWaiting)
  846. in.DeepCopyInto(out)
  847. return out
  848. }
  849. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  850. func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus) {
  851. *out = *in
  852. in.State.DeepCopyInto(&out.State)
  853. in.LastTerminationState.DeepCopyInto(&out.LastTerminationState)
  854. if in.Started != nil {
  855. in, out := &in.Started, &out.Started
  856. *out = new(bool)
  857. **out = **in
  858. }
  859. return
  860. }
  861. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus.
  862. func (in *ContainerStatus) DeepCopy() *ContainerStatus {
  863. if in == nil {
  864. return nil
  865. }
  866. out := new(ContainerStatus)
  867. in.DeepCopyInto(out)
  868. return out
  869. }
  870. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  871. func (in *DaemonEndpoint) DeepCopyInto(out *DaemonEndpoint) {
  872. *out = *in
  873. return
  874. }
  875. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint.
  876. func (in *DaemonEndpoint) DeepCopy() *DaemonEndpoint {
  877. if in == nil {
  878. return nil
  879. }
  880. out := new(DaemonEndpoint)
  881. in.DeepCopyInto(out)
  882. return out
  883. }
  884. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  885. func (in *DownwardAPIProjection) DeepCopyInto(out *DownwardAPIProjection) {
  886. *out = *in
  887. if in.Items != nil {
  888. in, out := &in.Items, &out.Items
  889. *out = make([]DownwardAPIVolumeFile, len(*in))
  890. for i := range *in {
  891. (*in)[i].DeepCopyInto(&(*out)[i])
  892. }
  893. }
  894. return
  895. }
  896. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection.
  897. func (in *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection {
  898. if in == nil {
  899. return nil
  900. }
  901. out := new(DownwardAPIProjection)
  902. in.DeepCopyInto(out)
  903. return out
  904. }
  905. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  906. func (in *DownwardAPIVolumeFile) DeepCopyInto(out *DownwardAPIVolumeFile) {
  907. *out = *in
  908. if in.FieldRef != nil {
  909. in, out := &in.FieldRef, &out.FieldRef
  910. *out = new(ObjectFieldSelector)
  911. **out = **in
  912. }
  913. if in.ResourceFieldRef != nil {
  914. in, out := &in.ResourceFieldRef, &out.ResourceFieldRef
  915. *out = new(ResourceFieldSelector)
  916. (*in).DeepCopyInto(*out)
  917. }
  918. if in.Mode != nil {
  919. in, out := &in.Mode, &out.Mode
  920. *out = new(int32)
  921. **out = **in
  922. }
  923. return
  924. }
  925. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeFile.
  926. func (in *DownwardAPIVolumeFile) DeepCopy() *DownwardAPIVolumeFile {
  927. if in == nil {
  928. return nil
  929. }
  930. out := new(DownwardAPIVolumeFile)
  931. in.DeepCopyInto(out)
  932. return out
  933. }
  934. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  935. func (in *DownwardAPIVolumeSource) DeepCopyInto(out *DownwardAPIVolumeSource) {
  936. *out = *in
  937. if in.Items != nil {
  938. in, out := &in.Items, &out.Items
  939. *out = make([]DownwardAPIVolumeFile, len(*in))
  940. for i := range *in {
  941. (*in)[i].DeepCopyInto(&(*out)[i])
  942. }
  943. }
  944. if in.DefaultMode != nil {
  945. in, out := &in.DefaultMode, &out.DefaultMode
  946. *out = new(int32)
  947. **out = **in
  948. }
  949. return
  950. }
  951. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeSource.
  952. func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource {
  953. if in == nil {
  954. return nil
  955. }
  956. out := new(DownwardAPIVolumeSource)
  957. in.DeepCopyInto(out)
  958. return out
  959. }
  960. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  961. func (in *EmptyDirVolumeSource) DeepCopyInto(out *EmptyDirVolumeSource) {
  962. *out = *in
  963. if in.SizeLimit != nil {
  964. in, out := &in.SizeLimit, &out.SizeLimit
  965. x := (*in).DeepCopy()
  966. *out = &x
  967. }
  968. return
  969. }
  970. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirVolumeSource.
  971. func (in *EmptyDirVolumeSource) DeepCopy() *EmptyDirVolumeSource {
  972. if in == nil {
  973. return nil
  974. }
  975. out := new(EmptyDirVolumeSource)
  976. in.DeepCopyInto(out)
  977. return out
  978. }
  979. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  980. func (in *EndpointAddress) DeepCopyInto(out *EndpointAddress) {
  981. *out = *in
  982. if in.NodeName != nil {
  983. in, out := &in.NodeName, &out.NodeName
  984. *out = new(string)
  985. **out = **in
  986. }
  987. if in.TargetRef != nil {
  988. in, out := &in.TargetRef, &out.TargetRef
  989. *out = new(ObjectReference)
  990. **out = **in
  991. }
  992. return
  993. }
  994. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAddress.
  995. func (in *EndpointAddress) DeepCopy() *EndpointAddress {
  996. if in == nil {
  997. return nil
  998. }
  999. out := new(EndpointAddress)
  1000. in.DeepCopyInto(out)
  1001. return out
  1002. }
  1003. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1004. func (in *EndpointPort) DeepCopyInto(out *EndpointPort) {
  1005. *out = *in
  1006. return
  1007. }
  1008. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort.
  1009. func (in *EndpointPort) DeepCopy() *EndpointPort {
  1010. if in == nil {
  1011. return nil
  1012. }
  1013. out := new(EndpointPort)
  1014. in.DeepCopyInto(out)
  1015. return out
  1016. }
  1017. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1018. func (in *EndpointSubset) DeepCopyInto(out *EndpointSubset) {
  1019. *out = *in
  1020. if in.Addresses != nil {
  1021. in, out := &in.Addresses, &out.Addresses
  1022. *out = make([]EndpointAddress, len(*in))
  1023. for i := range *in {
  1024. (*in)[i].DeepCopyInto(&(*out)[i])
  1025. }
  1026. }
  1027. if in.NotReadyAddresses != nil {
  1028. in, out := &in.NotReadyAddresses, &out.NotReadyAddresses
  1029. *out = make([]EndpointAddress, len(*in))
  1030. for i := range *in {
  1031. (*in)[i].DeepCopyInto(&(*out)[i])
  1032. }
  1033. }
  1034. if in.Ports != nil {
  1035. in, out := &in.Ports, &out.Ports
  1036. *out = make([]EndpointPort, len(*in))
  1037. copy(*out, *in)
  1038. }
  1039. return
  1040. }
  1041. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubset.
  1042. func (in *EndpointSubset) DeepCopy() *EndpointSubset {
  1043. if in == nil {
  1044. return nil
  1045. }
  1046. out := new(EndpointSubset)
  1047. in.DeepCopyInto(out)
  1048. return out
  1049. }
  1050. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1051. func (in *Endpoints) DeepCopyInto(out *Endpoints) {
  1052. *out = *in
  1053. out.TypeMeta = in.TypeMeta
  1054. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1055. if in.Subsets != nil {
  1056. in, out := &in.Subsets, &out.Subsets
  1057. *out = make([]EndpointSubset, len(*in))
  1058. for i := range *in {
  1059. (*in)[i].DeepCopyInto(&(*out)[i])
  1060. }
  1061. }
  1062. return
  1063. }
  1064. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints.
  1065. func (in *Endpoints) DeepCopy() *Endpoints {
  1066. if in == nil {
  1067. return nil
  1068. }
  1069. out := new(Endpoints)
  1070. in.DeepCopyInto(out)
  1071. return out
  1072. }
  1073. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1074. func (in *Endpoints) DeepCopyObject() runtime.Object {
  1075. if c := in.DeepCopy(); c != nil {
  1076. return c
  1077. }
  1078. return nil
  1079. }
  1080. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1081. func (in *EndpointsList) DeepCopyInto(out *EndpointsList) {
  1082. *out = *in
  1083. out.TypeMeta = in.TypeMeta
  1084. in.ListMeta.DeepCopyInto(&out.ListMeta)
  1085. if in.Items != nil {
  1086. in, out := &in.Items, &out.Items
  1087. *out = make([]Endpoints, len(*in))
  1088. for i := range *in {
  1089. (*in)[i].DeepCopyInto(&(*out)[i])
  1090. }
  1091. }
  1092. return
  1093. }
  1094. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList.
  1095. func (in *EndpointsList) DeepCopy() *EndpointsList {
  1096. if in == nil {
  1097. return nil
  1098. }
  1099. out := new(EndpointsList)
  1100. in.DeepCopyInto(out)
  1101. return out
  1102. }
  1103. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1104. func (in *EndpointsList) DeepCopyObject() runtime.Object {
  1105. if c := in.DeepCopy(); c != nil {
  1106. return c
  1107. }
  1108. return nil
  1109. }
  1110. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1111. func (in *EnvFromSource) DeepCopyInto(out *EnvFromSource) {
  1112. *out = *in
  1113. if in.ConfigMapRef != nil {
  1114. in, out := &in.ConfigMapRef, &out.ConfigMapRef
  1115. *out = new(ConfigMapEnvSource)
  1116. (*in).DeepCopyInto(*out)
  1117. }
  1118. if in.SecretRef != nil {
  1119. in, out := &in.SecretRef, &out.SecretRef
  1120. *out = new(SecretEnvSource)
  1121. (*in).DeepCopyInto(*out)
  1122. }
  1123. return
  1124. }
  1125. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvFromSource.
  1126. func (in *EnvFromSource) DeepCopy() *EnvFromSource {
  1127. if in == nil {
  1128. return nil
  1129. }
  1130. out := new(EnvFromSource)
  1131. in.DeepCopyInto(out)
  1132. return out
  1133. }
  1134. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1135. func (in *EnvVar) DeepCopyInto(out *EnvVar) {
  1136. *out = *in
  1137. if in.ValueFrom != nil {
  1138. in, out := &in.ValueFrom, &out.ValueFrom
  1139. *out = new(EnvVarSource)
  1140. (*in).DeepCopyInto(*out)
  1141. }
  1142. return
  1143. }
  1144. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
  1145. func (in *EnvVar) DeepCopy() *EnvVar {
  1146. if in == nil {
  1147. return nil
  1148. }
  1149. out := new(EnvVar)
  1150. in.DeepCopyInto(out)
  1151. return out
  1152. }
  1153. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1154. func (in *EnvVarSource) DeepCopyInto(out *EnvVarSource) {
  1155. *out = *in
  1156. if in.FieldRef != nil {
  1157. in, out := &in.FieldRef, &out.FieldRef
  1158. *out = new(ObjectFieldSelector)
  1159. **out = **in
  1160. }
  1161. if in.ResourceFieldRef != nil {
  1162. in, out := &in.ResourceFieldRef, &out.ResourceFieldRef
  1163. *out = new(ResourceFieldSelector)
  1164. (*in).DeepCopyInto(*out)
  1165. }
  1166. if in.ConfigMapKeyRef != nil {
  1167. in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef
  1168. *out = new(ConfigMapKeySelector)
  1169. (*in).DeepCopyInto(*out)
  1170. }
  1171. if in.SecretKeyRef != nil {
  1172. in, out := &in.SecretKeyRef, &out.SecretKeyRef
  1173. *out = new(SecretKeySelector)
  1174. (*in).DeepCopyInto(*out)
  1175. }
  1176. return
  1177. }
  1178. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarSource.
  1179. func (in *EnvVarSource) DeepCopy() *EnvVarSource {
  1180. if in == nil {
  1181. return nil
  1182. }
  1183. out := new(EnvVarSource)
  1184. in.DeepCopyInto(out)
  1185. return out
  1186. }
  1187. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1188. func (in *EphemeralContainer) DeepCopyInto(out *EphemeralContainer) {
  1189. *out = *in
  1190. in.EphemeralContainerCommon.DeepCopyInto(&out.EphemeralContainerCommon)
  1191. return
  1192. }
  1193. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralContainer.
  1194. func (in *EphemeralContainer) DeepCopy() *EphemeralContainer {
  1195. if in == nil {
  1196. return nil
  1197. }
  1198. out := new(EphemeralContainer)
  1199. in.DeepCopyInto(out)
  1200. return out
  1201. }
  1202. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1203. func (in *EphemeralContainerCommon) DeepCopyInto(out *EphemeralContainerCommon) {
  1204. *out = *in
  1205. if in.Command != nil {
  1206. in, out := &in.Command, &out.Command
  1207. *out = make([]string, len(*in))
  1208. copy(*out, *in)
  1209. }
  1210. if in.Args != nil {
  1211. in, out := &in.Args, &out.Args
  1212. *out = make([]string, len(*in))
  1213. copy(*out, *in)
  1214. }
  1215. if in.Ports != nil {
  1216. in, out := &in.Ports, &out.Ports
  1217. *out = make([]ContainerPort, len(*in))
  1218. copy(*out, *in)
  1219. }
  1220. if in.EnvFrom != nil {
  1221. in, out := &in.EnvFrom, &out.EnvFrom
  1222. *out = make([]EnvFromSource, len(*in))
  1223. for i := range *in {
  1224. (*in)[i].DeepCopyInto(&(*out)[i])
  1225. }
  1226. }
  1227. if in.Env != nil {
  1228. in, out := &in.Env, &out.Env
  1229. *out = make([]EnvVar, len(*in))
  1230. for i := range *in {
  1231. (*in)[i].DeepCopyInto(&(*out)[i])
  1232. }
  1233. }
  1234. in.Resources.DeepCopyInto(&out.Resources)
  1235. if in.VolumeMounts != nil {
  1236. in, out := &in.VolumeMounts, &out.VolumeMounts
  1237. *out = make([]VolumeMount, len(*in))
  1238. for i := range *in {
  1239. (*in)[i].DeepCopyInto(&(*out)[i])
  1240. }
  1241. }
  1242. if in.VolumeDevices != nil {
  1243. in, out := &in.VolumeDevices, &out.VolumeDevices
  1244. *out = make([]VolumeDevice, len(*in))
  1245. copy(*out, *in)
  1246. }
  1247. if in.LivenessProbe != nil {
  1248. in, out := &in.LivenessProbe, &out.LivenessProbe
  1249. *out = new(Probe)
  1250. (*in).DeepCopyInto(*out)
  1251. }
  1252. if in.ReadinessProbe != nil {
  1253. in, out := &in.ReadinessProbe, &out.ReadinessProbe
  1254. *out = new(Probe)
  1255. (*in).DeepCopyInto(*out)
  1256. }
  1257. if in.StartupProbe != nil {
  1258. in, out := &in.StartupProbe, &out.StartupProbe
  1259. *out = new(Probe)
  1260. (*in).DeepCopyInto(*out)
  1261. }
  1262. if in.Lifecycle != nil {
  1263. in, out := &in.Lifecycle, &out.Lifecycle
  1264. *out = new(Lifecycle)
  1265. (*in).DeepCopyInto(*out)
  1266. }
  1267. if in.SecurityContext != nil {
  1268. in, out := &in.SecurityContext, &out.SecurityContext
  1269. *out = new(SecurityContext)
  1270. (*in).DeepCopyInto(*out)
  1271. }
  1272. return
  1273. }
  1274. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralContainerCommon.
  1275. func (in *EphemeralContainerCommon) DeepCopy() *EphemeralContainerCommon {
  1276. if in == nil {
  1277. return nil
  1278. }
  1279. out := new(EphemeralContainerCommon)
  1280. in.DeepCopyInto(out)
  1281. return out
  1282. }
  1283. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1284. func (in *EphemeralContainers) DeepCopyInto(out *EphemeralContainers) {
  1285. *out = *in
  1286. out.TypeMeta = in.TypeMeta
  1287. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1288. if in.EphemeralContainers != nil {
  1289. in, out := &in.EphemeralContainers, &out.EphemeralContainers
  1290. *out = make([]EphemeralContainer, len(*in))
  1291. for i := range *in {
  1292. (*in)[i].DeepCopyInto(&(*out)[i])
  1293. }
  1294. }
  1295. return
  1296. }
  1297. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralContainers.
  1298. func (in *EphemeralContainers) DeepCopy() *EphemeralContainers {
  1299. if in == nil {
  1300. return nil
  1301. }
  1302. out := new(EphemeralContainers)
  1303. in.DeepCopyInto(out)
  1304. return out
  1305. }
  1306. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1307. func (in *EphemeralContainers) DeepCopyObject() runtime.Object {
  1308. if c := in.DeepCopy(); c != nil {
  1309. return c
  1310. }
  1311. return nil
  1312. }
  1313. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1314. func (in *Event) DeepCopyInto(out *Event) {
  1315. *out = *in
  1316. out.TypeMeta = in.TypeMeta
  1317. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1318. out.InvolvedObject = in.InvolvedObject
  1319. out.Source = in.Source
  1320. in.FirstTimestamp.DeepCopyInto(&out.FirstTimestamp)
  1321. in.LastTimestamp.DeepCopyInto(&out.LastTimestamp)
  1322. in.EventTime.DeepCopyInto(&out.EventTime)
  1323. if in.Series != nil {
  1324. in, out := &in.Series, &out.Series
  1325. *out = new(EventSeries)
  1326. (*in).DeepCopyInto(*out)
  1327. }
  1328. if in.Related != nil {
  1329. in, out := &in.Related, &out.Related
  1330. *out = new(ObjectReference)
  1331. **out = **in
  1332. }
  1333. return
  1334. }
  1335. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
  1336. func (in *Event) DeepCopy() *Event {
  1337. if in == nil {
  1338. return nil
  1339. }
  1340. out := new(Event)
  1341. in.DeepCopyInto(out)
  1342. return out
  1343. }
  1344. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1345. func (in *Event) DeepCopyObject() runtime.Object {
  1346. if c := in.DeepCopy(); c != nil {
  1347. return c
  1348. }
  1349. return nil
  1350. }
  1351. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1352. func (in *EventList) DeepCopyInto(out *EventList) {
  1353. *out = *in
  1354. out.TypeMeta = in.TypeMeta
  1355. in.ListMeta.DeepCopyInto(&out.ListMeta)
  1356. if in.Items != nil {
  1357. in, out := &in.Items, &out.Items
  1358. *out = make([]Event, len(*in))
  1359. for i := range *in {
  1360. (*in)[i].DeepCopyInto(&(*out)[i])
  1361. }
  1362. }
  1363. return
  1364. }
  1365. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList.
  1366. func (in *EventList) DeepCopy() *EventList {
  1367. if in == nil {
  1368. return nil
  1369. }
  1370. out := new(EventList)
  1371. in.DeepCopyInto(out)
  1372. return out
  1373. }
  1374. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1375. func (in *EventList) DeepCopyObject() runtime.Object {
  1376. if c := in.DeepCopy(); c != nil {
  1377. return c
  1378. }
  1379. return nil
  1380. }
  1381. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1382. func (in *EventSeries) DeepCopyInto(out *EventSeries) {
  1383. *out = *in
  1384. in.LastObservedTime.DeepCopyInto(&out.LastObservedTime)
  1385. return
  1386. }
  1387. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSeries.
  1388. func (in *EventSeries) DeepCopy() *EventSeries {
  1389. if in == nil {
  1390. return nil
  1391. }
  1392. out := new(EventSeries)
  1393. in.DeepCopyInto(out)
  1394. return out
  1395. }
  1396. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1397. func (in *EventSource) DeepCopyInto(out *EventSource) {
  1398. *out = *in
  1399. return
  1400. }
  1401. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSource.
  1402. func (in *EventSource) DeepCopy() *EventSource {
  1403. if in == nil {
  1404. return nil
  1405. }
  1406. out := new(EventSource)
  1407. in.DeepCopyInto(out)
  1408. return out
  1409. }
  1410. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1411. func (in *ExecAction) DeepCopyInto(out *ExecAction) {
  1412. *out = *in
  1413. if in.Command != nil {
  1414. in, out := &in.Command, &out.Command
  1415. *out = make([]string, len(*in))
  1416. copy(*out, *in)
  1417. }
  1418. return
  1419. }
  1420. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction.
  1421. func (in *ExecAction) DeepCopy() *ExecAction {
  1422. if in == nil {
  1423. return nil
  1424. }
  1425. out := new(ExecAction)
  1426. in.DeepCopyInto(out)
  1427. return out
  1428. }
  1429. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1430. func (in *FCVolumeSource) DeepCopyInto(out *FCVolumeSource) {
  1431. *out = *in
  1432. if in.TargetWWNs != nil {
  1433. in, out := &in.TargetWWNs, &out.TargetWWNs
  1434. *out = make([]string, len(*in))
  1435. copy(*out, *in)
  1436. }
  1437. if in.Lun != nil {
  1438. in, out := &in.Lun, &out.Lun
  1439. *out = new(int32)
  1440. **out = **in
  1441. }
  1442. if in.WWIDs != nil {
  1443. in, out := &in.WWIDs, &out.WWIDs
  1444. *out = make([]string, len(*in))
  1445. copy(*out, *in)
  1446. }
  1447. return
  1448. }
  1449. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FCVolumeSource.
  1450. func (in *FCVolumeSource) DeepCopy() *FCVolumeSource {
  1451. if in == nil {
  1452. return nil
  1453. }
  1454. out := new(FCVolumeSource)
  1455. in.DeepCopyInto(out)
  1456. return out
  1457. }
  1458. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1459. func (in *FlexPersistentVolumeSource) DeepCopyInto(out *FlexPersistentVolumeSource) {
  1460. *out = *in
  1461. if in.SecretRef != nil {
  1462. in, out := &in.SecretRef, &out.SecretRef
  1463. *out = new(SecretReference)
  1464. **out = **in
  1465. }
  1466. if in.Options != nil {
  1467. in, out := &in.Options, &out.Options
  1468. *out = make(map[string]string, len(*in))
  1469. for key, val := range *in {
  1470. (*out)[key] = val
  1471. }
  1472. }
  1473. return
  1474. }
  1475. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexPersistentVolumeSource.
  1476. func (in *FlexPersistentVolumeSource) DeepCopy() *FlexPersistentVolumeSource {
  1477. if in == nil {
  1478. return nil
  1479. }
  1480. out := new(FlexPersistentVolumeSource)
  1481. in.DeepCopyInto(out)
  1482. return out
  1483. }
  1484. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1485. func (in *FlexVolumeSource) DeepCopyInto(out *FlexVolumeSource) {
  1486. *out = *in
  1487. if in.SecretRef != nil {
  1488. in, out := &in.SecretRef, &out.SecretRef
  1489. *out = new(LocalObjectReference)
  1490. **out = **in
  1491. }
  1492. if in.Options != nil {
  1493. in, out := &in.Options, &out.Options
  1494. *out = make(map[string]string, len(*in))
  1495. for key, val := range *in {
  1496. (*out)[key] = val
  1497. }
  1498. }
  1499. return
  1500. }
  1501. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource.
  1502. func (in *FlexVolumeSource) DeepCopy() *FlexVolumeSource {
  1503. if in == nil {
  1504. return nil
  1505. }
  1506. out := new(FlexVolumeSource)
  1507. in.DeepCopyInto(out)
  1508. return out
  1509. }
  1510. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1511. func (in *FlockerVolumeSource) DeepCopyInto(out *FlockerVolumeSource) {
  1512. *out = *in
  1513. return
  1514. }
  1515. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlockerVolumeSource.
  1516. func (in *FlockerVolumeSource) DeepCopy() *FlockerVolumeSource {
  1517. if in == nil {
  1518. return nil
  1519. }
  1520. out := new(FlockerVolumeSource)
  1521. in.DeepCopyInto(out)
  1522. return out
  1523. }
  1524. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1525. func (in *GCEPersistentDiskVolumeSource) DeepCopyInto(out *GCEPersistentDiskVolumeSource) {
  1526. *out = *in
  1527. return
  1528. }
  1529. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCEPersistentDiskVolumeSource.
  1530. func (in *GCEPersistentDiskVolumeSource) DeepCopy() *GCEPersistentDiskVolumeSource {
  1531. if in == nil {
  1532. return nil
  1533. }
  1534. out := new(GCEPersistentDiskVolumeSource)
  1535. in.DeepCopyInto(out)
  1536. return out
  1537. }
  1538. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1539. func (in *GitRepoVolumeSource) DeepCopyInto(out *GitRepoVolumeSource) {
  1540. *out = *in
  1541. return
  1542. }
  1543. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource.
  1544. func (in *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource {
  1545. if in == nil {
  1546. return nil
  1547. }
  1548. out := new(GitRepoVolumeSource)
  1549. in.DeepCopyInto(out)
  1550. return out
  1551. }
  1552. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1553. func (in *GlusterfsPersistentVolumeSource) DeepCopyInto(out *GlusterfsPersistentVolumeSource) {
  1554. *out = *in
  1555. if in.EndpointsNamespace != nil {
  1556. in, out := &in.EndpointsNamespace, &out.EndpointsNamespace
  1557. *out = new(string)
  1558. **out = **in
  1559. }
  1560. return
  1561. }
  1562. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsPersistentVolumeSource.
  1563. func (in *GlusterfsPersistentVolumeSource) DeepCopy() *GlusterfsPersistentVolumeSource {
  1564. if in == nil {
  1565. return nil
  1566. }
  1567. out := new(GlusterfsPersistentVolumeSource)
  1568. in.DeepCopyInto(out)
  1569. return out
  1570. }
  1571. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1572. func (in *GlusterfsVolumeSource) DeepCopyInto(out *GlusterfsVolumeSource) {
  1573. *out = *in
  1574. return
  1575. }
  1576. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsVolumeSource.
  1577. func (in *GlusterfsVolumeSource) DeepCopy() *GlusterfsVolumeSource {
  1578. if in == nil {
  1579. return nil
  1580. }
  1581. out := new(GlusterfsVolumeSource)
  1582. in.DeepCopyInto(out)
  1583. return out
  1584. }
  1585. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1586. func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction) {
  1587. *out = *in
  1588. out.Port = in.Port
  1589. if in.HTTPHeaders != nil {
  1590. in, out := &in.HTTPHeaders, &out.HTTPHeaders
  1591. *out = make([]HTTPHeader, len(*in))
  1592. copy(*out, *in)
  1593. }
  1594. return
  1595. }
  1596. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPGetAction.
  1597. func (in *HTTPGetAction) DeepCopy() *HTTPGetAction {
  1598. if in == nil {
  1599. return nil
  1600. }
  1601. out := new(HTTPGetAction)
  1602. in.DeepCopyInto(out)
  1603. return out
  1604. }
  1605. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1606. func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) {
  1607. *out = *in
  1608. return
  1609. }
  1610. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader.
  1611. func (in *HTTPHeader) DeepCopy() *HTTPHeader {
  1612. if in == nil {
  1613. return nil
  1614. }
  1615. out := new(HTTPHeader)
  1616. in.DeepCopyInto(out)
  1617. return out
  1618. }
  1619. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1620. func (in *Handler) DeepCopyInto(out *Handler) {
  1621. *out = *in
  1622. if in.Exec != nil {
  1623. in, out := &in.Exec, &out.Exec
  1624. *out = new(ExecAction)
  1625. (*in).DeepCopyInto(*out)
  1626. }
  1627. if in.HTTPGet != nil {
  1628. in, out := &in.HTTPGet, &out.HTTPGet
  1629. *out = new(HTTPGetAction)
  1630. (*in).DeepCopyInto(*out)
  1631. }
  1632. if in.TCPSocket != nil {
  1633. in, out := &in.TCPSocket, &out.TCPSocket
  1634. *out = new(TCPSocketAction)
  1635. **out = **in
  1636. }
  1637. return
  1638. }
  1639. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Handler.
  1640. func (in *Handler) DeepCopy() *Handler {
  1641. if in == nil {
  1642. return nil
  1643. }
  1644. out := new(Handler)
  1645. in.DeepCopyInto(out)
  1646. return out
  1647. }
  1648. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1649. func (in *HostAlias) DeepCopyInto(out *HostAlias) {
  1650. *out = *in
  1651. if in.Hostnames != nil {
  1652. in, out := &in.Hostnames, &out.Hostnames
  1653. *out = make([]string, len(*in))
  1654. copy(*out, *in)
  1655. }
  1656. return
  1657. }
  1658. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias.
  1659. func (in *HostAlias) DeepCopy() *HostAlias {
  1660. if in == nil {
  1661. return nil
  1662. }
  1663. out := new(HostAlias)
  1664. in.DeepCopyInto(out)
  1665. return out
  1666. }
  1667. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1668. func (in *HostPathVolumeSource) DeepCopyInto(out *HostPathVolumeSource) {
  1669. *out = *in
  1670. if in.Type != nil {
  1671. in, out := &in.Type, &out.Type
  1672. *out = new(HostPathType)
  1673. **out = **in
  1674. }
  1675. return
  1676. }
  1677. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathVolumeSource.
  1678. func (in *HostPathVolumeSource) DeepCopy() *HostPathVolumeSource {
  1679. if in == nil {
  1680. return nil
  1681. }
  1682. out := new(HostPathVolumeSource)
  1683. in.DeepCopyInto(out)
  1684. return out
  1685. }
  1686. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1687. func (in *ISCSIPersistentVolumeSource) DeepCopyInto(out *ISCSIPersistentVolumeSource) {
  1688. *out = *in
  1689. if in.Portals != nil {
  1690. in, out := &in.Portals, &out.Portals
  1691. *out = make([]string, len(*in))
  1692. copy(*out, *in)
  1693. }
  1694. if in.SecretRef != nil {
  1695. in, out := &in.SecretRef, &out.SecretRef
  1696. *out = new(SecretReference)
  1697. **out = **in
  1698. }
  1699. if in.InitiatorName != nil {
  1700. in, out := &in.InitiatorName, &out.InitiatorName
  1701. *out = new(string)
  1702. **out = **in
  1703. }
  1704. return
  1705. }
  1706. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIPersistentVolumeSource.
  1707. func (in *ISCSIPersistentVolumeSource) DeepCopy() *ISCSIPersistentVolumeSource {
  1708. if in == nil {
  1709. return nil
  1710. }
  1711. out := new(ISCSIPersistentVolumeSource)
  1712. in.DeepCopyInto(out)
  1713. return out
  1714. }
  1715. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1716. func (in *ISCSIVolumeSource) DeepCopyInto(out *ISCSIVolumeSource) {
  1717. *out = *in
  1718. if in.Portals != nil {
  1719. in, out := &in.Portals, &out.Portals
  1720. *out = make([]string, len(*in))
  1721. copy(*out, *in)
  1722. }
  1723. if in.SecretRef != nil {
  1724. in, out := &in.SecretRef, &out.SecretRef
  1725. *out = new(LocalObjectReference)
  1726. **out = **in
  1727. }
  1728. if in.InitiatorName != nil {
  1729. in, out := &in.InitiatorName, &out.InitiatorName
  1730. *out = new(string)
  1731. **out = **in
  1732. }
  1733. return
  1734. }
  1735. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIVolumeSource.
  1736. func (in *ISCSIVolumeSource) DeepCopy() *ISCSIVolumeSource {
  1737. if in == nil {
  1738. return nil
  1739. }
  1740. out := new(ISCSIVolumeSource)
  1741. in.DeepCopyInto(out)
  1742. return out
  1743. }
  1744. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1745. func (in *KeyToPath) DeepCopyInto(out *KeyToPath) {
  1746. *out = *in
  1747. if in.Mode != nil {
  1748. in, out := &in.Mode, &out.Mode
  1749. *out = new(int32)
  1750. **out = **in
  1751. }
  1752. return
  1753. }
  1754. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyToPath.
  1755. func (in *KeyToPath) DeepCopy() *KeyToPath {
  1756. if in == nil {
  1757. return nil
  1758. }
  1759. out := new(KeyToPath)
  1760. in.DeepCopyInto(out)
  1761. return out
  1762. }
  1763. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1764. func (in *Lifecycle) DeepCopyInto(out *Lifecycle) {
  1765. *out = *in
  1766. if in.PostStart != nil {
  1767. in, out := &in.PostStart, &out.PostStart
  1768. *out = new(Handler)
  1769. (*in).DeepCopyInto(*out)
  1770. }
  1771. if in.PreStop != nil {
  1772. in, out := &in.PreStop, &out.PreStop
  1773. *out = new(Handler)
  1774. (*in).DeepCopyInto(*out)
  1775. }
  1776. return
  1777. }
  1778. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle.
  1779. func (in *Lifecycle) DeepCopy() *Lifecycle {
  1780. if in == nil {
  1781. return nil
  1782. }
  1783. out := new(Lifecycle)
  1784. in.DeepCopyInto(out)
  1785. return out
  1786. }
  1787. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1788. func (in *LimitRange) DeepCopyInto(out *LimitRange) {
  1789. *out = *in
  1790. out.TypeMeta = in.TypeMeta
  1791. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1792. in.Spec.DeepCopyInto(&out.Spec)
  1793. return
  1794. }
  1795. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRange.
  1796. func (in *LimitRange) DeepCopy() *LimitRange {
  1797. if in == nil {
  1798. return nil
  1799. }
  1800. out := new(LimitRange)
  1801. in.DeepCopyInto(out)
  1802. return out
  1803. }
  1804. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1805. func (in *LimitRange) DeepCopyObject() runtime.Object {
  1806. if c := in.DeepCopy(); c != nil {
  1807. return c
  1808. }
  1809. return nil
  1810. }
  1811. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1812. func (in *LimitRangeItem) DeepCopyInto(out *LimitRangeItem) {
  1813. *out = *in
  1814. if in.Max != nil {
  1815. in, out := &in.Max, &out.Max
  1816. *out = make(ResourceList, len(*in))
  1817. for key, val := range *in {
  1818. (*out)[key] = val.DeepCopy()
  1819. }
  1820. }
  1821. if in.Min != nil {
  1822. in, out := &in.Min, &out.Min
  1823. *out = make(ResourceList, len(*in))
  1824. for key, val := range *in {
  1825. (*out)[key] = val.DeepCopy()
  1826. }
  1827. }
  1828. if in.Default != nil {
  1829. in, out := &in.Default, &out.Default
  1830. *out = make(ResourceList, len(*in))
  1831. for key, val := range *in {
  1832. (*out)[key] = val.DeepCopy()
  1833. }
  1834. }
  1835. if in.DefaultRequest != nil {
  1836. in, out := &in.DefaultRequest, &out.DefaultRequest
  1837. *out = make(ResourceList, len(*in))
  1838. for key, val := range *in {
  1839. (*out)[key] = val.DeepCopy()
  1840. }
  1841. }
  1842. if in.MaxLimitRequestRatio != nil {
  1843. in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio
  1844. *out = make(ResourceList, len(*in))
  1845. for key, val := range *in {
  1846. (*out)[key] = val.DeepCopy()
  1847. }
  1848. }
  1849. return
  1850. }
  1851. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeItem.
  1852. func (in *LimitRangeItem) DeepCopy() *LimitRangeItem {
  1853. if in == nil {
  1854. return nil
  1855. }
  1856. out := new(LimitRangeItem)
  1857. in.DeepCopyInto(out)
  1858. return out
  1859. }
  1860. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1861. func (in *LimitRangeList) DeepCopyInto(out *LimitRangeList) {
  1862. *out = *in
  1863. out.TypeMeta = in.TypeMeta
  1864. in.ListMeta.DeepCopyInto(&out.ListMeta)
  1865. if in.Items != nil {
  1866. in, out := &in.Items, &out.Items
  1867. *out = make([]LimitRange, len(*in))
  1868. for i := range *in {
  1869. (*in)[i].DeepCopyInto(&(*out)[i])
  1870. }
  1871. }
  1872. return
  1873. }
  1874. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeList.
  1875. func (in *LimitRangeList) DeepCopy() *LimitRangeList {
  1876. if in == nil {
  1877. return nil
  1878. }
  1879. out := new(LimitRangeList)
  1880. in.DeepCopyInto(out)
  1881. return out
  1882. }
  1883. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1884. func (in *LimitRangeList) DeepCopyObject() runtime.Object {
  1885. if c := in.DeepCopy(); c != nil {
  1886. return c
  1887. }
  1888. return nil
  1889. }
  1890. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1891. func (in *LimitRangeSpec) DeepCopyInto(out *LimitRangeSpec) {
  1892. *out = *in
  1893. if in.Limits != nil {
  1894. in, out := &in.Limits, &out.Limits
  1895. *out = make([]LimitRangeItem, len(*in))
  1896. for i := range *in {
  1897. (*in)[i].DeepCopyInto(&(*out)[i])
  1898. }
  1899. }
  1900. return
  1901. }
  1902. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeSpec.
  1903. func (in *LimitRangeSpec) DeepCopy() *LimitRangeSpec {
  1904. if in == nil {
  1905. return nil
  1906. }
  1907. out := new(LimitRangeSpec)
  1908. in.DeepCopyInto(out)
  1909. return out
  1910. }
  1911. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1912. func (in *List) DeepCopyInto(out *List) {
  1913. *out = *in
  1914. out.TypeMeta = in.TypeMeta
  1915. in.ListMeta.DeepCopyInto(&out.ListMeta)
  1916. if in.Items != nil {
  1917. in, out := &in.Items, &out.Items
  1918. *out = make([]runtime.Object, len(*in))
  1919. for i := range *in {
  1920. if (*in)[i] != nil {
  1921. (*out)[i] = (*in)[i].DeepCopyObject()
  1922. }
  1923. }
  1924. }
  1925. return
  1926. }
  1927. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List.
  1928. func (in *List) DeepCopy() *List {
  1929. if in == nil {
  1930. return nil
  1931. }
  1932. out := new(List)
  1933. in.DeepCopyInto(out)
  1934. return out
  1935. }
  1936. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1937. func (in *List) DeepCopyObject() runtime.Object {
  1938. if c := in.DeepCopy(); c != nil {
  1939. return c
  1940. }
  1941. return nil
  1942. }
  1943. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1944. func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress) {
  1945. *out = *in
  1946. return
  1947. }
  1948. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress.
  1949. func (in *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress {
  1950. if in == nil {
  1951. return nil
  1952. }
  1953. out := new(LoadBalancerIngress)
  1954. in.DeepCopyInto(out)
  1955. return out
  1956. }
  1957. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1958. func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) {
  1959. *out = *in
  1960. if in.Ingress != nil {
  1961. in, out := &in.Ingress, &out.Ingress
  1962. *out = make([]LoadBalancerIngress, len(*in))
  1963. copy(*out, *in)
  1964. }
  1965. return
  1966. }
  1967. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus.
  1968. func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus {
  1969. if in == nil {
  1970. return nil
  1971. }
  1972. out := new(LoadBalancerStatus)
  1973. in.DeepCopyInto(out)
  1974. return out
  1975. }
  1976. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1977. func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference) {
  1978. *out = *in
  1979. return
  1980. }
  1981. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference.
  1982. func (in *LocalObjectReference) DeepCopy() *LocalObjectReference {
  1983. if in == nil {
  1984. return nil
  1985. }
  1986. out := new(LocalObjectReference)
  1987. in.DeepCopyInto(out)
  1988. return out
  1989. }
  1990. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1991. func (in *LocalVolumeSource) DeepCopyInto(out *LocalVolumeSource) {
  1992. *out = *in
  1993. if in.FSType != nil {
  1994. in, out := &in.FSType, &out.FSType
  1995. *out = new(string)
  1996. **out = **in
  1997. }
  1998. return
  1999. }
  2000. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource.
  2001. func (in *LocalVolumeSource) DeepCopy() *LocalVolumeSource {
  2002. if in == nil {
  2003. return nil
  2004. }
  2005. out := new(LocalVolumeSource)
  2006. in.DeepCopyInto(out)
  2007. return out
  2008. }
  2009. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2010. func (in *NFSVolumeSource) DeepCopyInto(out *NFSVolumeSource) {
  2011. *out = *in
  2012. return
  2013. }
  2014. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource.
  2015. func (in *NFSVolumeSource) DeepCopy() *NFSVolumeSource {
  2016. if in == nil {
  2017. return nil
  2018. }
  2019. out := new(NFSVolumeSource)
  2020. in.DeepCopyInto(out)
  2021. return out
  2022. }
  2023. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2024. func (in *Namespace) DeepCopyInto(out *Namespace) {
  2025. *out = *in
  2026. out.TypeMeta = in.TypeMeta
  2027. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  2028. in.Spec.DeepCopyInto(&out.Spec)
  2029. in.Status.DeepCopyInto(&out.Status)
  2030. return
  2031. }
  2032. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace.
  2033. func (in *Namespace) DeepCopy() *Namespace {
  2034. if in == nil {
  2035. return nil
  2036. }
  2037. out := new(Namespace)
  2038. in.DeepCopyInto(out)
  2039. return out
  2040. }
  2041. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2042. func (in *Namespace) DeepCopyObject() runtime.Object {
  2043. if c := in.DeepCopy(); c != nil {
  2044. return c
  2045. }
  2046. return nil
  2047. }
  2048. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2049. func (in *NamespaceCondition) DeepCopyInto(out *NamespaceCondition) {
  2050. *out = *in
  2051. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  2052. return
  2053. }
  2054. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceCondition.
  2055. func (in *NamespaceCondition) DeepCopy() *NamespaceCondition {
  2056. if in == nil {
  2057. return nil
  2058. }
  2059. out := new(NamespaceCondition)
  2060. in.DeepCopyInto(out)
  2061. return out
  2062. }
  2063. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2064. func (in *NamespaceList) DeepCopyInto(out *NamespaceList) {
  2065. *out = *in
  2066. out.TypeMeta = in.TypeMeta
  2067. in.ListMeta.DeepCopyInto(&out.ListMeta)
  2068. if in.Items != nil {
  2069. in, out := &in.Items, &out.Items
  2070. *out = make([]Namespace, len(*in))
  2071. for i := range *in {
  2072. (*in)[i].DeepCopyInto(&(*out)[i])
  2073. }
  2074. }
  2075. return
  2076. }
  2077. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList.
  2078. func (in *NamespaceList) DeepCopy() *NamespaceList {
  2079. if in == nil {
  2080. return nil
  2081. }
  2082. out := new(NamespaceList)
  2083. in.DeepCopyInto(out)
  2084. return out
  2085. }
  2086. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2087. func (in *NamespaceList) DeepCopyObject() runtime.Object {
  2088. if c := in.DeepCopy(); c != nil {
  2089. return c
  2090. }
  2091. return nil
  2092. }
  2093. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2094. func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) {
  2095. *out = *in
  2096. if in.Finalizers != nil {
  2097. in, out := &in.Finalizers, &out.Finalizers
  2098. *out = make([]FinalizerName, len(*in))
  2099. copy(*out, *in)
  2100. }
  2101. return
  2102. }
  2103. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec.
  2104. func (in *NamespaceSpec) DeepCopy() *NamespaceSpec {
  2105. if in == nil {
  2106. return nil
  2107. }
  2108. out := new(NamespaceSpec)
  2109. in.DeepCopyInto(out)
  2110. return out
  2111. }
  2112. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2113. func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) {
  2114. *out = *in
  2115. if in.Conditions != nil {
  2116. in, out := &in.Conditions, &out.Conditions
  2117. *out = make([]NamespaceCondition, len(*in))
  2118. for i := range *in {
  2119. (*in)[i].DeepCopyInto(&(*out)[i])
  2120. }
  2121. }
  2122. return
  2123. }
  2124. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus.
  2125. func (in *NamespaceStatus) DeepCopy() *NamespaceStatus {
  2126. if in == nil {
  2127. return nil
  2128. }
  2129. out := new(NamespaceStatus)
  2130. in.DeepCopyInto(out)
  2131. return out
  2132. }
  2133. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2134. func (in *Node) DeepCopyInto(out *Node) {
  2135. *out = *in
  2136. out.TypeMeta = in.TypeMeta
  2137. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  2138. in.Spec.DeepCopyInto(&out.Spec)
  2139. in.Status.DeepCopyInto(&out.Status)
  2140. return
  2141. }
  2142. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
  2143. func (in *Node) DeepCopy() *Node {
  2144. if in == nil {
  2145. return nil
  2146. }
  2147. out := new(Node)
  2148. in.DeepCopyInto(out)
  2149. return out
  2150. }
  2151. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2152. func (in *Node) DeepCopyObject() runtime.Object {
  2153. if c := in.DeepCopy(); c != nil {
  2154. return c
  2155. }
  2156. return nil
  2157. }
  2158. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2159. func (in *NodeAddress) DeepCopyInto(out *NodeAddress) {
  2160. *out = *in
  2161. return
  2162. }
  2163. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress.
  2164. func (in *NodeAddress) DeepCopy() *NodeAddress {
  2165. if in == nil {
  2166. return nil
  2167. }
  2168. out := new(NodeAddress)
  2169. in.DeepCopyInto(out)
  2170. return out
  2171. }
  2172. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2173. func (in *NodeAffinity) DeepCopyInto(out *NodeAffinity) {
  2174. *out = *in
  2175. if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  2176. in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
  2177. *out = new(NodeSelector)
  2178. (*in).DeepCopyInto(*out)
  2179. }
  2180. if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
  2181. in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
  2182. *out = make([]PreferredSchedulingTerm, len(*in))
  2183. for i := range *in {
  2184. (*in)[i].DeepCopyInto(&(*out)[i])
  2185. }
  2186. }
  2187. return
  2188. }
  2189. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinity.
  2190. func (in *NodeAffinity) DeepCopy() *NodeAffinity {
  2191. if in == nil {
  2192. return nil
  2193. }
  2194. out := new(NodeAffinity)
  2195. in.DeepCopyInto(out)
  2196. return out
  2197. }
  2198. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2199. func (in *NodeCondition) DeepCopyInto(out *NodeCondition) {
  2200. *out = *in
  2201. in.LastHeartbeatTime.DeepCopyInto(&out.LastHeartbeatTime)
  2202. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  2203. return
  2204. }
  2205. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition.
  2206. func (in *NodeCondition) DeepCopy() *NodeCondition {
  2207. if in == nil {
  2208. return nil
  2209. }
  2210. out := new(NodeCondition)
  2211. in.DeepCopyInto(out)
  2212. return out
  2213. }
  2214. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2215. func (in *NodeConfigSource) DeepCopyInto(out *NodeConfigSource) {
  2216. *out = *in
  2217. if in.ConfigMap != nil {
  2218. in, out := &in.ConfigMap, &out.ConfigMap
  2219. *out = new(ConfigMapNodeConfigSource)
  2220. **out = **in
  2221. }
  2222. return
  2223. }
  2224. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigSource.
  2225. func (in *NodeConfigSource) DeepCopy() *NodeConfigSource {
  2226. if in == nil {
  2227. return nil
  2228. }
  2229. out := new(NodeConfigSource)
  2230. in.DeepCopyInto(out)
  2231. return out
  2232. }
  2233. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2234. func (in *NodeConfigStatus) DeepCopyInto(out *NodeConfigStatus) {
  2235. *out = *in
  2236. if in.Assigned != nil {
  2237. in, out := &in.Assigned, &out.Assigned
  2238. *out = new(NodeConfigSource)
  2239. (*in).DeepCopyInto(*out)
  2240. }
  2241. if in.Active != nil {
  2242. in, out := &in.Active, &out.Active
  2243. *out = new(NodeConfigSource)
  2244. (*in).DeepCopyInto(*out)
  2245. }
  2246. if in.LastKnownGood != nil {
  2247. in, out := &in.LastKnownGood, &out.LastKnownGood
  2248. *out = new(NodeConfigSource)
  2249. (*in).DeepCopyInto(*out)
  2250. }
  2251. return
  2252. }
  2253. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigStatus.
  2254. func (in *NodeConfigStatus) DeepCopy() *NodeConfigStatus {
  2255. if in == nil {
  2256. return nil
  2257. }
  2258. out := new(NodeConfigStatus)
  2259. in.DeepCopyInto(out)
  2260. return out
  2261. }
  2262. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2263. func (in *NodeDaemonEndpoints) DeepCopyInto(out *NodeDaemonEndpoints) {
  2264. *out = *in
  2265. out.KubeletEndpoint = in.KubeletEndpoint
  2266. return
  2267. }
  2268. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeDaemonEndpoints.
  2269. func (in *NodeDaemonEndpoints) DeepCopy() *NodeDaemonEndpoints {
  2270. if in == nil {
  2271. return nil
  2272. }
  2273. out := new(NodeDaemonEndpoints)
  2274. in.DeepCopyInto(out)
  2275. return out
  2276. }
  2277. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2278. func (in *NodeList) DeepCopyInto(out *NodeList) {
  2279. *out = *in
  2280. out.TypeMeta = in.TypeMeta
  2281. in.ListMeta.DeepCopyInto(&out.ListMeta)
  2282. if in.Items != nil {
  2283. in, out := &in.Items, &out.Items
  2284. *out = make([]Node, len(*in))
  2285. for i := range *in {
  2286. (*in)[i].DeepCopyInto(&(*out)[i])
  2287. }
  2288. }
  2289. return
  2290. }
  2291. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.
  2292. func (in *NodeList) DeepCopy() *NodeList {
  2293. if in == nil {
  2294. return nil
  2295. }
  2296. out := new(NodeList)
  2297. in.DeepCopyInto(out)
  2298. return out
  2299. }
  2300. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2301. func (in *NodeList) DeepCopyObject() runtime.Object {
  2302. if c := in.DeepCopy(); c != nil {
  2303. return c
  2304. }
  2305. return nil
  2306. }
  2307. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2308. func (in *NodeProxyOptions) DeepCopyInto(out *NodeProxyOptions) {
  2309. *out = *in
  2310. out.TypeMeta = in.TypeMeta
  2311. return
  2312. }
  2313. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeProxyOptions.
  2314. func (in *NodeProxyOptions) DeepCopy() *NodeProxyOptions {
  2315. if in == nil {
  2316. return nil
  2317. }
  2318. out := new(NodeProxyOptions)
  2319. in.DeepCopyInto(out)
  2320. return out
  2321. }
  2322. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2323. func (in *NodeProxyOptions) DeepCopyObject() runtime.Object {
  2324. if c := in.DeepCopy(); c != nil {
  2325. return c
  2326. }
  2327. return nil
  2328. }
  2329. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2330. func (in *NodeResources) DeepCopyInto(out *NodeResources) {
  2331. *out = *in
  2332. if in.Capacity != nil {
  2333. in, out := &in.Capacity, &out.Capacity
  2334. *out = make(ResourceList, len(*in))
  2335. for key, val := range *in {
  2336. (*out)[key] = val.DeepCopy()
  2337. }
  2338. }
  2339. return
  2340. }
  2341. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResources.
  2342. func (in *NodeResources) DeepCopy() *NodeResources {
  2343. if in == nil {
  2344. return nil
  2345. }
  2346. out := new(NodeResources)
  2347. in.DeepCopyInto(out)
  2348. return out
  2349. }
  2350. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2351. func (in *NodeSelector) DeepCopyInto(out *NodeSelector) {
  2352. *out = *in
  2353. if in.NodeSelectorTerms != nil {
  2354. in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms
  2355. *out = make([]NodeSelectorTerm, len(*in))
  2356. for i := range *in {
  2357. (*in)[i].DeepCopyInto(&(*out)[i])
  2358. }
  2359. }
  2360. return
  2361. }
  2362. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector.
  2363. func (in *NodeSelector) DeepCopy() *NodeSelector {
  2364. if in == nil {
  2365. return nil
  2366. }
  2367. out := new(NodeSelector)
  2368. in.DeepCopyInto(out)
  2369. return out
  2370. }
  2371. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2372. func (in *NodeSelectorRequirement) DeepCopyInto(out *NodeSelectorRequirement) {
  2373. *out = *in
  2374. if in.Values != nil {
  2375. in, out := &in.Values, &out.Values
  2376. *out = make([]string, len(*in))
  2377. copy(*out, *in)
  2378. }
  2379. return
  2380. }
  2381. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorRequirement.
  2382. func (in *NodeSelectorRequirement) DeepCopy() *NodeSelectorRequirement {
  2383. if in == nil {
  2384. return nil
  2385. }
  2386. out := new(NodeSelectorRequirement)
  2387. in.DeepCopyInto(out)
  2388. return out
  2389. }
  2390. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2391. func (in *NodeSelectorTerm) DeepCopyInto(out *NodeSelectorTerm) {
  2392. *out = *in
  2393. if in.MatchExpressions != nil {
  2394. in, out := &in.MatchExpressions, &out.MatchExpressions
  2395. *out = make([]NodeSelectorRequirement, len(*in))
  2396. for i := range *in {
  2397. (*in)[i].DeepCopyInto(&(*out)[i])
  2398. }
  2399. }
  2400. if in.MatchFields != nil {
  2401. in, out := &in.MatchFields, &out.MatchFields
  2402. *out = make([]NodeSelectorRequirement, len(*in))
  2403. for i := range *in {
  2404. (*in)[i].DeepCopyInto(&(*out)[i])
  2405. }
  2406. }
  2407. return
  2408. }
  2409. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorTerm.
  2410. func (in *NodeSelectorTerm) DeepCopy() *NodeSelectorTerm {
  2411. if in == nil {
  2412. return nil
  2413. }
  2414. out := new(NodeSelectorTerm)
  2415. in.DeepCopyInto(out)
  2416. return out
  2417. }
  2418. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2419. func (in *NodeSpec) DeepCopyInto(out *NodeSpec) {
  2420. *out = *in
  2421. if in.PodCIDRs != nil {
  2422. in, out := &in.PodCIDRs, &out.PodCIDRs
  2423. *out = make([]string, len(*in))
  2424. copy(*out, *in)
  2425. }
  2426. if in.Taints != nil {
  2427. in, out := &in.Taints, &out.Taints
  2428. *out = make([]Taint, len(*in))
  2429. for i := range *in {
  2430. (*in)[i].DeepCopyInto(&(*out)[i])
  2431. }
  2432. }
  2433. if in.ConfigSource != nil {
  2434. in, out := &in.ConfigSource, &out.ConfigSource
  2435. *out = new(NodeConfigSource)
  2436. (*in).DeepCopyInto(*out)
  2437. }
  2438. return
  2439. }
  2440. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec.
  2441. func (in *NodeSpec) DeepCopy() *NodeSpec {
  2442. if in == nil {
  2443. return nil
  2444. }
  2445. out := new(NodeSpec)
  2446. in.DeepCopyInto(out)
  2447. return out
  2448. }
  2449. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2450. func (in *NodeStatus) DeepCopyInto(out *NodeStatus) {
  2451. *out = *in
  2452. if in.Capacity != nil {
  2453. in, out := &in.Capacity, &out.Capacity
  2454. *out = make(ResourceList, len(*in))
  2455. for key, val := range *in {
  2456. (*out)[key] = val.DeepCopy()
  2457. }
  2458. }
  2459. if in.Allocatable != nil {
  2460. in, out := &in.Allocatable, &out.Allocatable
  2461. *out = make(ResourceList, len(*in))
  2462. for key, val := range *in {
  2463. (*out)[key] = val.DeepCopy()
  2464. }
  2465. }
  2466. if in.Conditions != nil {
  2467. in, out := &in.Conditions, &out.Conditions
  2468. *out = make([]NodeCondition, len(*in))
  2469. for i := range *in {
  2470. (*in)[i].DeepCopyInto(&(*out)[i])
  2471. }
  2472. }
  2473. if in.Addresses != nil {
  2474. in, out := &in.Addresses, &out.Addresses
  2475. *out = make([]NodeAddress, len(*in))
  2476. copy(*out, *in)
  2477. }
  2478. out.DaemonEndpoints = in.DaemonEndpoints
  2479. out.NodeInfo = in.NodeInfo
  2480. if in.Images != nil {
  2481. in, out := &in.Images, &out.Images
  2482. *out = make([]ContainerImage, len(*in))
  2483. for i := range *in {
  2484. (*in)[i].DeepCopyInto(&(*out)[i])
  2485. }
  2486. }
  2487. if in.VolumesInUse != nil {
  2488. in, out := &in.VolumesInUse, &out.VolumesInUse
  2489. *out = make([]UniqueVolumeName, len(*in))
  2490. copy(*out, *in)
  2491. }
  2492. if in.VolumesAttached != nil {
  2493. in, out := &in.VolumesAttached, &out.VolumesAttached
  2494. *out = make([]AttachedVolume, len(*in))
  2495. copy(*out, *in)
  2496. }
  2497. if in.Config != nil {
  2498. in, out := &in.Config, &out.Config
  2499. *out = new(NodeConfigStatus)
  2500. (*in).DeepCopyInto(*out)
  2501. }
  2502. return
  2503. }
  2504. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
  2505. func (in *NodeStatus) DeepCopy() *NodeStatus {
  2506. if in == nil {
  2507. return nil
  2508. }
  2509. out := new(NodeStatus)
  2510. in.DeepCopyInto(out)
  2511. return out
  2512. }
  2513. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2514. func (in *NodeSystemInfo) DeepCopyInto(out *NodeSystemInfo) {
  2515. *out = *in
  2516. return
  2517. }
  2518. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSystemInfo.
  2519. func (in *NodeSystemInfo) DeepCopy() *NodeSystemInfo {
  2520. if in == nil {
  2521. return nil
  2522. }
  2523. out := new(NodeSystemInfo)
  2524. in.DeepCopyInto(out)
  2525. return out
  2526. }
  2527. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2528. func (in *ObjectFieldSelector) DeepCopyInto(out *ObjectFieldSelector) {
  2529. *out = *in
  2530. return
  2531. }
  2532. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectFieldSelector.
  2533. func (in *ObjectFieldSelector) DeepCopy() *ObjectFieldSelector {
  2534. if in == nil {
  2535. return nil
  2536. }
  2537. out := new(ObjectFieldSelector)
  2538. in.DeepCopyInto(out)
  2539. return out
  2540. }
  2541. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2542. func (in *ObjectReference) DeepCopyInto(out *ObjectReference) {
  2543. *out = *in
  2544. return
  2545. }
  2546. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
  2547. func (in *ObjectReference) DeepCopy() *ObjectReference {
  2548. if in == nil {
  2549. return nil
  2550. }
  2551. out := new(ObjectReference)
  2552. in.DeepCopyInto(out)
  2553. return out
  2554. }
  2555. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2556. func (in *ObjectReference) DeepCopyObject() runtime.Object {
  2557. if c := in.DeepCopy(); c != nil {
  2558. return c
  2559. }
  2560. return nil
  2561. }
  2562. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2563. func (in *PersistentVolume) DeepCopyInto(out *PersistentVolume) {
  2564. *out = *in
  2565. out.TypeMeta = in.TypeMeta
  2566. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  2567. in.Spec.DeepCopyInto(&out.Spec)
  2568. out.Status = in.Status
  2569. return
  2570. }
  2571. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolume.
  2572. func (in *PersistentVolume) DeepCopy() *PersistentVolume {
  2573. if in == nil {
  2574. return nil
  2575. }
  2576. out := new(PersistentVolume)
  2577. in.DeepCopyInto(out)
  2578. return out
  2579. }
  2580. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2581. func (in *PersistentVolume) DeepCopyObject() runtime.Object {
  2582. if c := in.DeepCopy(); c != nil {
  2583. return c
  2584. }
  2585. return nil
  2586. }
  2587. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2588. func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim) {
  2589. *out = *in
  2590. out.TypeMeta = in.TypeMeta
  2591. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  2592. in.Spec.DeepCopyInto(&out.Spec)
  2593. in.Status.DeepCopyInto(&out.Status)
  2594. return
  2595. }
  2596. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaim.
  2597. func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim {
  2598. if in == nil {
  2599. return nil
  2600. }
  2601. out := new(PersistentVolumeClaim)
  2602. in.DeepCopyInto(out)
  2603. return out
  2604. }
  2605. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2606. func (in *PersistentVolumeClaim) DeepCopyObject() runtime.Object {
  2607. if c := in.DeepCopy(); c != nil {
  2608. return c
  2609. }
  2610. return nil
  2611. }
  2612. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2613. func (in *PersistentVolumeClaimCondition) DeepCopyInto(out *PersistentVolumeClaimCondition) {
  2614. *out = *in
  2615. in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
  2616. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  2617. return
  2618. }
  2619. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimCondition.
  2620. func (in *PersistentVolumeClaimCondition) DeepCopy() *PersistentVolumeClaimCondition {
  2621. if in == nil {
  2622. return nil
  2623. }
  2624. out := new(PersistentVolumeClaimCondition)
  2625. in.DeepCopyInto(out)
  2626. return out
  2627. }
  2628. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2629. func (in *PersistentVolumeClaimList) DeepCopyInto(out *PersistentVolumeClaimList) {
  2630. *out = *in
  2631. out.TypeMeta = in.TypeMeta
  2632. in.ListMeta.DeepCopyInto(&out.ListMeta)
  2633. if in.Items != nil {
  2634. in, out := &in.Items, &out.Items
  2635. *out = make([]PersistentVolumeClaim, len(*in))
  2636. for i := range *in {
  2637. (*in)[i].DeepCopyInto(&(*out)[i])
  2638. }
  2639. }
  2640. return
  2641. }
  2642. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimList.
  2643. func (in *PersistentVolumeClaimList) DeepCopy() *PersistentVolumeClaimList {
  2644. if in == nil {
  2645. return nil
  2646. }
  2647. out := new(PersistentVolumeClaimList)
  2648. in.DeepCopyInto(out)
  2649. return out
  2650. }
  2651. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2652. func (in *PersistentVolumeClaimList) DeepCopyObject() runtime.Object {
  2653. if c := in.DeepCopy(); c != nil {
  2654. return c
  2655. }
  2656. return nil
  2657. }
  2658. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2659. func (in *PersistentVolumeClaimSpec) DeepCopyInto(out *PersistentVolumeClaimSpec) {
  2660. *out = *in
  2661. if in.AccessModes != nil {
  2662. in, out := &in.AccessModes, &out.AccessModes
  2663. *out = make([]PersistentVolumeAccessMode, len(*in))
  2664. copy(*out, *in)
  2665. }
  2666. if in.Selector != nil {
  2667. in, out := &in.Selector, &out.Selector
  2668. *out = new(v1.LabelSelector)
  2669. (*in).DeepCopyInto(*out)
  2670. }
  2671. in.Resources.DeepCopyInto(&out.Resources)
  2672. if in.StorageClassName != nil {
  2673. in, out := &in.StorageClassName, &out.StorageClassName
  2674. *out = new(string)
  2675. **out = **in
  2676. }
  2677. if in.VolumeMode != nil {
  2678. in, out := &in.VolumeMode, &out.VolumeMode
  2679. *out = new(PersistentVolumeMode)
  2680. **out = **in
  2681. }
  2682. if in.DataSource != nil {
  2683. in, out := &in.DataSource, &out.DataSource
  2684. *out = new(TypedLocalObjectReference)
  2685. (*in).DeepCopyInto(*out)
  2686. }
  2687. return
  2688. }
  2689. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimSpec.
  2690. func (in *PersistentVolumeClaimSpec) DeepCopy() *PersistentVolumeClaimSpec {
  2691. if in == nil {
  2692. return nil
  2693. }
  2694. out := new(PersistentVolumeClaimSpec)
  2695. in.DeepCopyInto(out)
  2696. return out
  2697. }
  2698. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2699. func (in *PersistentVolumeClaimStatus) DeepCopyInto(out *PersistentVolumeClaimStatus) {
  2700. *out = *in
  2701. if in.AccessModes != nil {
  2702. in, out := &in.AccessModes, &out.AccessModes
  2703. *out = make([]PersistentVolumeAccessMode, len(*in))
  2704. copy(*out, *in)
  2705. }
  2706. if in.Capacity != nil {
  2707. in, out := &in.Capacity, &out.Capacity
  2708. *out = make(ResourceList, len(*in))
  2709. for key, val := range *in {
  2710. (*out)[key] = val.DeepCopy()
  2711. }
  2712. }
  2713. if in.Conditions != nil {
  2714. in, out := &in.Conditions, &out.Conditions
  2715. *out = make([]PersistentVolumeClaimCondition, len(*in))
  2716. for i := range *in {
  2717. (*in)[i].DeepCopyInto(&(*out)[i])
  2718. }
  2719. }
  2720. return
  2721. }
  2722. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimStatus.
  2723. func (in *PersistentVolumeClaimStatus) DeepCopy() *PersistentVolumeClaimStatus {
  2724. if in == nil {
  2725. return nil
  2726. }
  2727. out := new(PersistentVolumeClaimStatus)
  2728. in.DeepCopyInto(out)
  2729. return out
  2730. }
  2731. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2732. func (in *PersistentVolumeClaimVolumeSource) DeepCopyInto(out *PersistentVolumeClaimVolumeSource) {
  2733. *out = *in
  2734. return
  2735. }
  2736. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimVolumeSource.
  2737. func (in *PersistentVolumeClaimVolumeSource) DeepCopy() *PersistentVolumeClaimVolumeSource {
  2738. if in == nil {
  2739. return nil
  2740. }
  2741. out := new(PersistentVolumeClaimVolumeSource)
  2742. in.DeepCopyInto(out)
  2743. return out
  2744. }
  2745. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2746. func (in *PersistentVolumeList) DeepCopyInto(out *PersistentVolumeList) {
  2747. *out = *in
  2748. out.TypeMeta = in.TypeMeta
  2749. in.ListMeta.DeepCopyInto(&out.ListMeta)
  2750. if in.Items != nil {
  2751. in, out := &in.Items, &out.Items
  2752. *out = make([]PersistentVolume, len(*in))
  2753. for i := range *in {
  2754. (*in)[i].DeepCopyInto(&(*out)[i])
  2755. }
  2756. }
  2757. return
  2758. }
  2759. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeList.
  2760. func (in *PersistentVolumeList) DeepCopy() *PersistentVolumeList {
  2761. if in == nil {
  2762. return nil
  2763. }
  2764. out := new(PersistentVolumeList)
  2765. in.DeepCopyInto(out)
  2766. return out
  2767. }
  2768. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2769. func (in *PersistentVolumeList) DeepCopyObject() runtime.Object {
  2770. if c := in.DeepCopy(); c != nil {
  2771. return c
  2772. }
  2773. return nil
  2774. }
  2775. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2776. func (in *PersistentVolumeSource) DeepCopyInto(out *PersistentVolumeSource) {
  2777. *out = *in
  2778. if in.GCEPersistentDisk != nil {
  2779. in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk
  2780. *out = new(GCEPersistentDiskVolumeSource)
  2781. **out = **in
  2782. }
  2783. if in.AWSElasticBlockStore != nil {
  2784. in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore
  2785. *out = new(AWSElasticBlockStoreVolumeSource)
  2786. **out = **in
  2787. }
  2788. if in.HostPath != nil {
  2789. in, out := &in.HostPath, &out.HostPath
  2790. *out = new(HostPathVolumeSource)
  2791. (*in).DeepCopyInto(*out)
  2792. }
  2793. if in.Glusterfs != nil {
  2794. in, out := &in.Glusterfs, &out.Glusterfs
  2795. *out = new(GlusterfsPersistentVolumeSource)
  2796. (*in).DeepCopyInto(*out)
  2797. }
  2798. if in.NFS != nil {
  2799. in, out := &in.NFS, &out.NFS
  2800. *out = new(NFSVolumeSource)
  2801. **out = **in
  2802. }
  2803. if in.RBD != nil {
  2804. in, out := &in.RBD, &out.RBD
  2805. *out = new(RBDPersistentVolumeSource)
  2806. (*in).DeepCopyInto(*out)
  2807. }
  2808. if in.Quobyte != nil {
  2809. in, out := &in.Quobyte, &out.Quobyte
  2810. *out = new(QuobyteVolumeSource)
  2811. **out = **in
  2812. }
  2813. if in.ISCSI != nil {
  2814. in, out := &in.ISCSI, &out.ISCSI
  2815. *out = new(ISCSIPersistentVolumeSource)
  2816. (*in).DeepCopyInto(*out)
  2817. }
  2818. if in.FlexVolume != nil {
  2819. in, out := &in.FlexVolume, &out.FlexVolume
  2820. *out = new(FlexPersistentVolumeSource)
  2821. (*in).DeepCopyInto(*out)
  2822. }
  2823. if in.Cinder != nil {
  2824. in, out := &in.Cinder, &out.Cinder
  2825. *out = new(CinderPersistentVolumeSource)
  2826. (*in).DeepCopyInto(*out)
  2827. }
  2828. if in.CephFS != nil {
  2829. in, out := &in.CephFS, &out.CephFS
  2830. *out = new(CephFSPersistentVolumeSource)
  2831. (*in).DeepCopyInto(*out)
  2832. }
  2833. if in.FC != nil {
  2834. in, out := &in.FC, &out.FC
  2835. *out = new(FCVolumeSource)
  2836. (*in).DeepCopyInto(*out)
  2837. }
  2838. if in.Flocker != nil {
  2839. in, out := &in.Flocker, &out.Flocker
  2840. *out = new(FlockerVolumeSource)
  2841. **out = **in
  2842. }
  2843. if in.AzureFile != nil {
  2844. in, out := &in.AzureFile, &out.AzureFile
  2845. *out = new(AzureFilePersistentVolumeSource)
  2846. (*in).DeepCopyInto(*out)
  2847. }
  2848. if in.VsphereVolume != nil {
  2849. in, out := &in.VsphereVolume, &out.VsphereVolume
  2850. *out = new(VsphereVirtualDiskVolumeSource)
  2851. **out = **in
  2852. }
  2853. if in.AzureDisk != nil {
  2854. in, out := &in.AzureDisk, &out.AzureDisk
  2855. *out = new(AzureDiskVolumeSource)
  2856. (*in).DeepCopyInto(*out)
  2857. }
  2858. if in.PhotonPersistentDisk != nil {
  2859. in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk
  2860. *out = new(PhotonPersistentDiskVolumeSource)
  2861. **out = **in
  2862. }
  2863. if in.PortworxVolume != nil {
  2864. in, out := &in.PortworxVolume, &out.PortworxVolume
  2865. *out = new(PortworxVolumeSource)
  2866. **out = **in
  2867. }
  2868. if in.ScaleIO != nil {
  2869. in, out := &in.ScaleIO, &out.ScaleIO
  2870. *out = new(ScaleIOPersistentVolumeSource)
  2871. (*in).DeepCopyInto(*out)
  2872. }
  2873. if in.Local != nil {
  2874. in, out := &in.Local, &out.Local
  2875. *out = new(LocalVolumeSource)
  2876. (*in).DeepCopyInto(*out)
  2877. }
  2878. if in.StorageOS != nil {
  2879. in, out := &in.StorageOS, &out.StorageOS
  2880. *out = new(StorageOSPersistentVolumeSource)
  2881. (*in).DeepCopyInto(*out)
  2882. }
  2883. if in.CSI != nil {
  2884. in, out := &in.CSI, &out.CSI
  2885. *out = new(CSIPersistentVolumeSource)
  2886. (*in).DeepCopyInto(*out)
  2887. }
  2888. return
  2889. }
  2890. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSource.
  2891. func (in *PersistentVolumeSource) DeepCopy() *PersistentVolumeSource {
  2892. if in == nil {
  2893. return nil
  2894. }
  2895. out := new(PersistentVolumeSource)
  2896. in.DeepCopyInto(out)
  2897. return out
  2898. }
  2899. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2900. func (in *PersistentVolumeSpec) DeepCopyInto(out *PersistentVolumeSpec) {
  2901. *out = *in
  2902. if in.Capacity != nil {
  2903. in, out := &in.Capacity, &out.Capacity
  2904. *out = make(ResourceList, len(*in))
  2905. for key, val := range *in {
  2906. (*out)[key] = val.DeepCopy()
  2907. }
  2908. }
  2909. in.PersistentVolumeSource.DeepCopyInto(&out.PersistentVolumeSource)
  2910. if in.AccessModes != nil {
  2911. in, out := &in.AccessModes, &out.AccessModes
  2912. *out = make([]PersistentVolumeAccessMode, len(*in))
  2913. copy(*out, *in)
  2914. }
  2915. if in.ClaimRef != nil {
  2916. in, out := &in.ClaimRef, &out.ClaimRef
  2917. *out = new(ObjectReference)
  2918. **out = **in
  2919. }
  2920. if in.MountOptions != nil {
  2921. in, out := &in.MountOptions, &out.MountOptions
  2922. *out = make([]string, len(*in))
  2923. copy(*out, *in)
  2924. }
  2925. if in.VolumeMode != nil {
  2926. in, out := &in.VolumeMode, &out.VolumeMode
  2927. *out = new(PersistentVolumeMode)
  2928. **out = **in
  2929. }
  2930. if in.NodeAffinity != nil {
  2931. in, out := &in.NodeAffinity, &out.NodeAffinity
  2932. *out = new(VolumeNodeAffinity)
  2933. (*in).DeepCopyInto(*out)
  2934. }
  2935. return
  2936. }
  2937. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSpec.
  2938. func (in *PersistentVolumeSpec) DeepCopy() *PersistentVolumeSpec {
  2939. if in == nil {
  2940. return nil
  2941. }
  2942. out := new(PersistentVolumeSpec)
  2943. in.DeepCopyInto(out)
  2944. return out
  2945. }
  2946. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2947. func (in *PersistentVolumeStatus) DeepCopyInto(out *PersistentVolumeStatus) {
  2948. *out = *in
  2949. return
  2950. }
  2951. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeStatus.
  2952. func (in *PersistentVolumeStatus) DeepCopy() *PersistentVolumeStatus {
  2953. if in == nil {
  2954. return nil
  2955. }
  2956. out := new(PersistentVolumeStatus)
  2957. in.DeepCopyInto(out)
  2958. return out
  2959. }
  2960. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2961. func (in *PhotonPersistentDiskVolumeSource) DeepCopyInto(out *PhotonPersistentDiskVolumeSource) {
  2962. *out = *in
  2963. return
  2964. }
  2965. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhotonPersistentDiskVolumeSource.
  2966. func (in *PhotonPersistentDiskVolumeSource) DeepCopy() *PhotonPersistentDiskVolumeSource {
  2967. if in == nil {
  2968. return nil
  2969. }
  2970. out := new(PhotonPersistentDiskVolumeSource)
  2971. in.DeepCopyInto(out)
  2972. return out
  2973. }
  2974. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  2975. func (in *Pod) DeepCopyInto(out *Pod) {
  2976. *out = *in
  2977. out.TypeMeta = in.TypeMeta
  2978. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  2979. in.Spec.DeepCopyInto(&out.Spec)
  2980. in.Status.DeepCopyInto(&out.Status)
  2981. return
  2982. }
  2983. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.
  2984. func (in *Pod) DeepCopy() *Pod {
  2985. if in == nil {
  2986. return nil
  2987. }
  2988. out := new(Pod)
  2989. in.DeepCopyInto(out)
  2990. return out
  2991. }
  2992. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  2993. func (in *Pod) DeepCopyObject() runtime.Object {
  2994. if c := in.DeepCopy(); c != nil {
  2995. return c
  2996. }
  2997. return nil
  2998. }
  2999. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3000. func (in *PodAffinity) DeepCopyInto(out *PodAffinity) {
  3001. *out = *in
  3002. if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  3003. in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
  3004. *out = make([]PodAffinityTerm, len(*in))
  3005. for i := range *in {
  3006. (*in)[i].DeepCopyInto(&(*out)[i])
  3007. }
  3008. }
  3009. if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
  3010. in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
  3011. *out = make([]WeightedPodAffinityTerm, len(*in))
  3012. for i := range *in {
  3013. (*in)[i].DeepCopyInto(&(*out)[i])
  3014. }
  3015. }
  3016. return
  3017. }
  3018. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinity.
  3019. func (in *PodAffinity) DeepCopy() *PodAffinity {
  3020. if in == nil {
  3021. return nil
  3022. }
  3023. out := new(PodAffinity)
  3024. in.DeepCopyInto(out)
  3025. return out
  3026. }
  3027. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3028. func (in *PodAffinityTerm) DeepCopyInto(out *PodAffinityTerm) {
  3029. *out = *in
  3030. if in.LabelSelector != nil {
  3031. in, out := &in.LabelSelector, &out.LabelSelector
  3032. *out = new(v1.LabelSelector)
  3033. (*in).DeepCopyInto(*out)
  3034. }
  3035. if in.Namespaces != nil {
  3036. in, out := &in.Namespaces, &out.Namespaces
  3037. *out = make([]string, len(*in))
  3038. copy(*out, *in)
  3039. }
  3040. return
  3041. }
  3042. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinityTerm.
  3043. func (in *PodAffinityTerm) DeepCopy() *PodAffinityTerm {
  3044. if in == nil {
  3045. return nil
  3046. }
  3047. out := new(PodAffinityTerm)
  3048. in.DeepCopyInto(out)
  3049. return out
  3050. }
  3051. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3052. func (in *PodAntiAffinity) DeepCopyInto(out *PodAntiAffinity) {
  3053. *out = *in
  3054. if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  3055. in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
  3056. *out = make([]PodAffinityTerm, len(*in))
  3057. for i := range *in {
  3058. (*in)[i].DeepCopyInto(&(*out)[i])
  3059. }
  3060. }
  3061. if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
  3062. in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
  3063. *out = make([]WeightedPodAffinityTerm, len(*in))
  3064. for i := range *in {
  3065. (*in)[i].DeepCopyInto(&(*out)[i])
  3066. }
  3067. }
  3068. return
  3069. }
  3070. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAntiAffinity.
  3071. func (in *PodAntiAffinity) DeepCopy() *PodAntiAffinity {
  3072. if in == nil {
  3073. return nil
  3074. }
  3075. out := new(PodAntiAffinity)
  3076. in.DeepCopyInto(out)
  3077. return out
  3078. }
  3079. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3080. func (in *PodAttachOptions) DeepCopyInto(out *PodAttachOptions) {
  3081. *out = *in
  3082. out.TypeMeta = in.TypeMeta
  3083. return
  3084. }
  3085. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAttachOptions.
  3086. func (in *PodAttachOptions) DeepCopy() *PodAttachOptions {
  3087. if in == nil {
  3088. return nil
  3089. }
  3090. out := new(PodAttachOptions)
  3091. in.DeepCopyInto(out)
  3092. return out
  3093. }
  3094. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3095. func (in *PodAttachOptions) DeepCopyObject() runtime.Object {
  3096. if c := in.DeepCopy(); c != nil {
  3097. return c
  3098. }
  3099. return nil
  3100. }
  3101. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3102. func (in *PodCondition) DeepCopyInto(out *PodCondition) {
  3103. *out = *in
  3104. in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
  3105. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  3106. return
  3107. }
  3108. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition.
  3109. func (in *PodCondition) DeepCopy() *PodCondition {
  3110. if in == nil {
  3111. return nil
  3112. }
  3113. out := new(PodCondition)
  3114. in.DeepCopyInto(out)
  3115. return out
  3116. }
  3117. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3118. func (in *PodDNSConfig) DeepCopyInto(out *PodDNSConfig) {
  3119. *out = *in
  3120. if in.Nameservers != nil {
  3121. in, out := &in.Nameservers, &out.Nameservers
  3122. *out = make([]string, len(*in))
  3123. copy(*out, *in)
  3124. }
  3125. if in.Searches != nil {
  3126. in, out := &in.Searches, &out.Searches
  3127. *out = make([]string, len(*in))
  3128. copy(*out, *in)
  3129. }
  3130. if in.Options != nil {
  3131. in, out := &in.Options, &out.Options
  3132. *out = make([]PodDNSConfigOption, len(*in))
  3133. for i := range *in {
  3134. (*in)[i].DeepCopyInto(&(*out)[i])
  3135. }
  3136. }
  3137. return
  3138. }
  3139. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDNSConfig.
  3140. func (in *PodDNSConfig) DeepCopy() *PodDNSConfig {
  3141. if in == nil {
  3142. return nil
  3143. }
  3144. out := new(PodDNSConfig)
  3145. in.DeepCopyInto(out)
  3146. return out
  3147. }
  3148. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3149. func (in *PodDNSConfigOption) DeepCopyInto(out *PodDNSConfigOption) {
  3150. *out = *in
  3151. if in.Value != nil {
  3152. in, out := &in.Value, &out.Value
  3153. *out = new(string)
  3154. **out = **in
  3155. }
  3156. return
  3157. }
  3158. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDNSConfigOption.
  3159. func (in *PodDNSConfigOption) DeepCopy() *PodDNSConfigOption {
  3160. if in == nil {
  3161. return nil
  3162. }
  3163. out := new(PodDNSConfigOption)
  3164. in.DeepCopyInto(out)
  3165. return out
  3166. }
  3167. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3168. func (in *PodExecOptions) DeepCopyInto(out *PodExecOptions) {
  3169. *out = *in
  3170. out.TypeMeta = in.TypeMeta
  3171. if in.Command != nil {
  3172. in, out := &in.Command, &out.Command
  3173. *out = make([]string, len(*in))
  3174. copy(*out, *in)
  3175. }
  3176. return
  3177. }
  3178. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodExecOptions.
  3179. func (in *PodExecOptions) DeepCopy() *PodExecOptions {
  3180. if in == nil {
  3181. return nil
  3182. }
  3183. out := new(PodExecOptions)
  3184. in.DeepCopyInto(out)
  3185. return out
  3186. }
  3187. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3188. func (in *PodExecOptions) DeepCopyObject() runtime.Object {
  3189. if c := in.DeepCopy(); c != nil {
  3190. return c
  3191. }
  3192. return nil
  3193. }
  3194. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3195. func (in *PodIP) DeepCopyInto(out *PodIP) {
  3196. *out = *in
  3197. return
  3198. }
  3199. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodIP.
  3200. func (in *PodIP) DeepCopy() *PodIP {
  3201. if in == nil {
  3202. return nil
  3203. }
  3204. out := new(PodIP)
  3205. in.DeepCopyInto(out)
  3206. return out
  3207. }
  3208. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3209. func (in *PodList) DeepCopyInto(out *PodList) {
  3210. *out = *in
  3211. out.TypeMeta = in.TypeMeta
  3212. in.ListMeta.DeepCopyInto(&out.ListMeta)
  3213. if in.Items != nil {
  3214. in, out := &in.Items, &out.Items
  3215. *out = make([]Pod, len(*in))
  3216. for i := range *in {
  3217. (*in)[i].DeepCopyInto(&(*out)[i])
  3218. }
  3219. }
  3220. return
  3221. }
  3222. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList.
  3223. func (in *PodList) DeepCopy() *PodList {
  3224. if in == nil {
  3225. return nil
  3226. }
  3227. out := new(PodList)
  3228. in.DeepCopyInto(out)
  3229. return out
  3230. }
  3231. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3232. func (in *PodList) DeepCopyObject() runtime.Object {
  3233. if c := in.DeepCopy(); c != nil {
  3234. return c
  3235. }
  3236. return nil
  3237. }
  3238. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3239. func (in *PodLogOptions) DeepCopyInto(out *PodLogOptions) {
  3240. *out = *in
  3241. out.TypeMeta = in.TypeMeta
  3242. if in.SinceSeconds != nil {
  3243. in, out := &in.SinceSeconds, &out.SinceSeconds
  3244. *out = new(int64)
  3245. **out = **in
  3246. }
  3247. if in.SinceTime != nil {
  3248. in, out := &in.SinceTime, &out.SinceTime
  3249. *out = (*in).DeepCopy()
  3250. }
  3251. if in.TailLines != nil {
  3252. in, out := &in.TailLines, &out.TailLines
  3253. *out = new(int64)
  3254. **out = **in
  3255. }
  3256. if in.LimitBytes != nil {
  3257. in, out := &in.LimitBytes, &out.LimitBytes
  3258. *out = new(int64)
  3259. **out = **in
  3260. }
  3261. return
  3262. }
  3263. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogOptions.
  3264. func (in *PodLogOptions) DeepCopy() *PodLogOptions {
  3265. if in == nil {
  3266. return nil
  3267. }
  3268. out := new(PodLogOptions)
  3269. in.DeepCopyInto(out)
  3270. return out
  3271. }
  3272. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3273. func (in *PodLogOptions) DeepCopyObject() runtime.Object {
  3274. if c := in.DeepCopy(); c != nil {
  3275. return c
  3276. }
  3277. return nil
  3278. }
  3279. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3280. func (in *PodPortForwardOptions) DeepCopyInto(out *PodPortForwardOptions) {
  3281. *out = *in
  3282. out.TypeMeta = in.TypeMeta
  3283. if in.Ports != nil {
  3284. in, out := &in.Ports, &out.Ports
  3285. *out = make([]int32, len(*in))
  3286. copy(*out, *in)
  3287. }
  3288. return
  3289. }
  3290. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPortForwardOptions.
  3291. func (in *PodPortForwardOptions) DeepCopy() *PodPortForwardOptions {
  3292. if in == nil {
  3293. return nil
  3294. }
  3295. out := new(PodPortForwardOptions)
  3296. in.DeepCopyInto(out)
  3297. return out
  3298. }
  3299. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3300. func (in *PodPortForwardOptions) DeepCopyObject() runtime.Object {
  3301. if c := in.DeepCopy(); c != nil {
  3302. return c
  3303. }
  3304. return nil
  3305. }
  3306. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3307. func (in *PodProxyOptions) DeepCopyInto(out *PodProxyOptions) {
  3308. *out = *in
  3309. out.TypeMeta = in.TypeMeta
  3310. return
  3311. }
  3312. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodProxyOptions.
  3313. func (in *PodProxyOptions) DeepCopy() *PodProxyOptions {
  3314. if in == nil {
  3315. return nil
  3316. }
  3317. out := new(PodProxyOptions)
  3318. in.DeepCopyInto(out)
  3319. return out
  3320. }
  3321. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3322. func (in *PodProxyOptions) DeepCopyObject() runtime.Object {
  3323. if c := in.DeepCopy(); c != nil {
  3324. return c
  3325. }
  3326. return nil
  3327. }
  3328. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3329. func (in *PodReadinessGate) DeepCopyInto(out *PodReadinessGate) {
  3330. *out = *in
  3331. return
  3332. }
  3333. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReadinessGate.
  3334. func (in *PodReadinessGate) DeepCopy() *PodReadinessGate {
  3335. if in == nil {
  3336. return nil
  3337. }
  3338. out := new(PodReadinessGate)
  3339. in.DeepCopyInto(out)
  3340. return out
  3341. }
  3342. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3343. func (in *PodSecurityContext) DeepCopyInto(out *PodSecurityContext) {
  3344. *out = *in
  3345. if in.ShareProcessNamespace != nil {
  3346. in, out := &in.ShareProcessNamespace, &out.ShareProcessNamespace
  3347. *out = new(bool)
  3348. **out = **in
  3349. }
  3350. if in.SELinuxOptions != nil {
  3351. in, out := &in.SELinuxOptions, &out.SELinuxOptions
  3352. *out = new(SELinuxOptions)
  3353. **out = **in
  3354. }
  3355. if in.WindowsOptions != nil {
  3356. in, out := &in.WindowsOptions, &out.WindowsOptions
  3357. *out = new(WindowsSecurityContextOptions)
  3358. (*in).DeepCopyInto(*out)
  3359. }
  3360. if in.RunAsUser != nil {
  3361. in, out := &in.RunAsUser, &out.RunAsUser
  3362. *out = new(int64)
  3363. **out = **in
  3364. }
  3365. if in.RunAsGroup != nil {
  3366. in, out := &in.RunAsGroup, &out.RunAsGroup
  3367. *out = new(int64)
  3368. **out = **in
  3369. }
  3370. if in.RunAsNonRoot != nil {
  3371. in, out := &in.RunAsNonRoot, &out.RunAsNonRoot
  3372. *out = new(bool)
  3373. **out = **in
  3374. }
  3375. if in.SupplementalGroups != nil {
  3376. in, out := &in.SupplementalGroups, &out.SupplementalGroups
  3377. *out = make([]int64, len(*in))
  3378. copy(*out, *in)
  3379. }
  3380. if in.FSGroup != nil {
  3381. in, out := &in.FSGroup, &out.FSGroup
  3382. *out = new(int64)
  3383. **out = **in
  3384. }
  3385. if in.Sysctls != nil {
  3386. in, out := &in.Sysctls, &out.Sysctls
  3387. *out = make([]Sysctl, len(*in))
  3388. copy(*out, *in)
  3389. }
  3390. return
  3391. }
  3392. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityContext.
  3393. func (in *PodSecurityContext) DeepCopy() *PodSecurityContext {
  3394. if in == nil {
  3395. return nil
  3396. }
  3397. out := new(PodSecurityContext)
  3398. in.DeepCopyInto(out)
  3399. return out
  3400. }
  3401. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3402. func (in *PodSignature) DeepCopyInto(out *PodSignature) {
  3403. *out = *in
  3404. if in.PodController != nil {
  3405. in, out := &in.PodController, &out.PodController
  3406. *out = new(v1.OwnerReference)
  3407. (*in).DeepCopyInto(*out)
  3408. }
  3409. return
  3410. }
  3411. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSignature.
  3412. func (in *PodSignature) DeepCopy() *PodSignature {
  3413. if in == nil {
  3414. return nil
  3415. }
  3416. out := new(PodSignature)
  3417. in.DeepCopyInto(out)
  3418. return out
  3419. }
  3420. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3421. func (in *PodSpec) DeepCopyInto(out *PodSpec) {
  3422. *out = *in
  3423. if in.Volumes != nil {
  3424. in, out := &in.Volumes, &out.Volumes
  3425. *out = make([]Volume, len(*in))
  3426. for i := range *in {
  3427. (*in)[i].DeepCopyInto(&(*out)[i])
  3428. }
  3429. }
  3430. if in.InitContainers != nil {
  3431. in, out := &in.InitContainers, &out.InitContainers
  3432. *out = make([]Container, len(*in))
  3433. for i := range *in {
  3434. (*in)[i].DeepCopyInto(&(*out)[i])
  3435. }
  3436. }
  3437. if in.Containers != nil {
  3438. in, out := &in.Containers, &out.Containers
  3439. *out = make([]Container, len(*in))
  3440. for i := range *in {
  3441. (*in)[i].DeepCopyInto(&(*out)[i])
  3442. }
  3443. }
  3444. if in.EphemeralContainers != nil {
  3445. in, out := &in.EphemeralContainers, &out.EphemeralContainers
  3446. *out = make([]EphemeralContainer, len(*in))
  3447. for i := range *in {
  3448. (*in)[i].DeepCopyInto(&(*out)[i])
  3449. }
  3450. }
  3451. if in.TerminationGracePeriodSeconds != nil {
  3452. in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds
  3453. *out = new(int64)
  3454. **out = **in
  3455. }
  3456. if in.ActiveDeadlineSeconds != nil {
  3457. in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
  3458. *out = new(int64)
  3459. **out = **in
  3460. }
  3461. if in.NodeSelector != nil {
  3462. in, out := &in.NodeSelector, &out.NodeSelector
  3463. *out = make(map[string]string, len(*in))
  3464. for key, val := range *in {
  3465. (*out)[key] = val
  3466. }
  3467. }
  3468. if in.AutomountServiceAccountToken != nil {
  3469. in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken
  3470. *out = new(bool)
  3471. **out = **in
  3472. }
  3473. if in.SecurityContext != nil {
  3474. in, out := &in.SecurityContext, &out.SecurityContext
  3475. *out = new(PodSecurityContext)
  3476. (*in).DeepCopyInto(*out)
  3477. }
  3478. if in.ImagePullSecrets != nil {
  3479. in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
  3480. *out = make([]LocalObjectReference, len(*in))
  3481. copy(*out, *in)
  3482. }
  3483. if in.Affinity != nil {
  3484. in, out := &in.Affinity, &out.Affinity
  3485. *out = new(Affinity)
  3486. (*in).DeepCopyInto(*out)
  3487. }
  3488. if in.Tolerations != nil {
  3489. in, out := &in.Tolerations, &out.Tolerations
  3490. *out = make([]Toleration, len(*in))
  3491. for i := range *in {
  3492. (*in)[i].DeepCopyInto(&(*out)[i])
  3493. }
  3494. }
  3495. if in.HostAliases != nil {
  3496. in, out := &in.HostAliases, &out.HostAliases
  3497. *out = make([]HostAlias, len(*in))
  3498. for i := range *in {
  3499. (*in)[i].DeepCopyInto(&(*out)[i])
  3500. }
  3501. }
  3502. if in.Priority != nil {
  3503. in, out := &in.Priority, &out.Priority
  3504. *out = new(int32)
  3505. **out = **in
  3506. }
  3507. if in.PreemptionPolicy != nil {
  3508. in, out := &in.PreemptionPolicy, &out.PreemptionPolicy
  3509. *out = new(PreemptionPolicy)
  3510. **out = **in
  3511. }
  3512. if in.DNSConfig != nil {
  3513. in, out := &in.DNSConfig, &out.DNSConfig
  3514. *out = new(PodDNSConfig)
  3515. (*in).DeepCopyInto(*out)
  3516. }
  3517. if in.ReadinessGates != nil {
  3518. in, out := &in.ReadinessGates, &out.ReadinessGates
  3519. *out = make([]PodReadinessGate, len(*in))
  3520. copy(*out, *in)
  3521. }
  3522. if in.RuntimeClassName != nil {
  3523. in, out := &in.RuntimeClassName, &out.RuntimeClassName
  3524. *out = new(string)
  3525. **out = **in
  3526. }
  3527. if in.Overhead != nil {
  3528. in, out := &in.Overhead, &out.Overhead
  3529. *out = make(ResourceList, len(*in))
  3530. for key, val := range *in {
  3531. (*out)[key] = val.DeepCopy()
  3532. }
  3533. }
  3534. if in.EnableServiceLinks != nil {
  3535. in, out := &in.EnableServiceLinks, &out.EnableServiceLinks
  3536. *out = new(bool)
  3537. **out = **in
  3538. }
  3539. if in.TopologySpreadConstraints != nil {
  3540. in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
  3541. *out = make([]TopologySpreadConstraint, len(*in))
  3542. for i := range *in {
  3543. (*in)[i].DeepCopyInto(&(*out)[i])
  3544. }
  3545. }
  3546. return
  3547. }
  3548. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.
  3549. func (in *PodSpec) DeepCopy() *PodSpec {
  3550. if in == nil {
  3551. return nil
  3552. }
  3553. out := new(PodSpec)
  3554. in.DeepCopyInto(out)
  3555. return out
  3556. }
  3557. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3558. func (in *PodStatus) DeepCopyInto(out *PodStatus) {
  3559. *out = *in
  3560. if in.Conditions != nil {
  3561. in, out := &in.Conditions, &out.Conditions
  3562. *out = make([]PodCondition, len(*in))
  3563. for i := range *in {
  3564. (*in)[i].DeepCopyInto(&(*out)[i])
  3565. }
  3566. }
  3567. if in.PodIPs != nil {
  3568. in, out := &in.PodIPs, &out.PodIPs
  3569. *out = make([]PodIP, len(*in))
  3570. copy(*out, *in)
  3571. }
  3572. if in.StartTime != nil {
  3573. in, out := &in.StartTime, &out.StartTime
  3574. *out = (*in).DeepCopy()
  3575. }
  3576. if in.InitContainerStatuses != nil {
  3577. in, out := &in.InitContainerStatuses, &out.InitContainerStatuses
  3578. *out = make([]ContainerStatus, len(*in))
  3579. for i := range *in {
  3580. (*in)[i].DeepCopyInto(&(*out)[i])
  3581. }
  3582. }
  3583. if in.ContainerStatuses != nil {
  3584. in, out := &in.ContainerStatuses, &out.ContainerStatuses
  3585. *out = make([]ContainerStatus, len(*in))
  3586. for i := range *in {
  3587. (*in)[i].DeepCopyInto(&(*out)[i])
  3588. }
  3589. }
  3590. if in.EphemeralContainerStatuses != nil {
  3591. in, out := &in.EphemeralContainerStatuses, &out.EphemeralContainerStatuses
  3592. *out = make([]ContainerStatus, len(*in))
  3593. for i := range *in {
  3594. (*in)[i].DeepCopyInto(&(*out)[i])
  3595. }
  3596. }
  3597. return
  3598. }
  3599. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus.
  3600. func (in *PodStatus) DeepCopy() *PodStatus {
  3601. if in == nil {
  3602. return nil
  3603. }
  3604. out := new(PodStatus)
  3605. in.DeepCopyInto(out)
  3606. return out
  3607. }
  3608. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3609. func (in *PodStatusResult) DeepCopyInto(out *PodStatusResult) {
  3610. *out = *in
  3611. out.TypeMeta = in.TypeMeta
  3612. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  3613. in.Status.DeepCopyInto(&out.Status)
  3614. return
  3615. }
  3616. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatusResult.
  3617. func (in *PodStatusResult) DeepCopy() *PodStatusResult {
  3618. if in == nil {
  3619. return nil
  3620. }
  3621. out := new(PodStatusResult)
  3622. in.DeepCopyInto(out)
  3623. return out
  3624. }
  3625. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3626. func (in *PodStatusResult) DeepCopyObject() runtime.Object {
  3627. if c := in.DeepCopy(); c != nil {
  3628. return c
  3629. }
  3630. return nil
  3631. }
  3632. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3633. func (in *PodTemplate) DeepCopyInto(out *PodTemplate) {
  3634. *out = *in
  3635. out.TypeMeta = in.TypeMeta
  3636. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  3637. in.Template.DeepCopyInto(&out.Template)
  3638. return
  3639. }
  3640. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplate.
  3641. func (in *PodTemplate) DeepCopy() *PodTemplate {
  3642. if in == nil {
  3643. return nil
  3644. }
  3645. out := new(PodTemplate)
  3646. in.DeepCopyInto(out)
  3647. return out
  3648. }
  3649. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3650. func (in *PodTemplate) DeepCopyObject() runtime.Object {
  3651. if c := in.DeepCopy(); c != nil {
  3652. return c
  3653. }
  3654. return nil
  3655. }
  3656. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3657. func (in *PodTemplateList) DeepCopyInto(out *PodTemplateList) {
  3658. *out = *in
  3659. out.TypeMeta = in.TypeMeta
  3660. in.ListMeta.DeepCopyInto(&out.ListMeta)
  3661. if in.Items != nil {
  3662. in, out := &in.Items, &out.Items
  3663. *out = make([]PodTemplate, len(*in))
  3664. for i := range *in {
  3665. (*in)[i].DeepCopyInto(&(*out)[i])
  3666. }
  3667. }
  3668. return
  3669. }
  3670. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateList.
  3671. func (in *PodTemplateList) DeepCopy() *PodTemplateList {
  3672. if in == nil {
  3673. return nil
  3674. }
  3675. out := new(PodTemplateList)
  3676. in.DeepCopyInto(out)
  3677. return out
  3678. }
  3679. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3680. func (in *PodTemplateList) DeepCopyObject() runtime.Object {
  3681. if c := in.DeepCopy(); c != nil {
  3682. return c
  3683. }
  3684. return nil
  3685. }
  3686. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3687. func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec) {
  3688. *out = *in
  3689. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  3690. in.Spec.DeepCopyInto(&out.Spec)
  3691. return
  3692. }
  3693. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateSpec.
  3694. func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec {
  3695. if in == nil {
  3696. return nil
  3697. }
  3698. out := new(PodTemplateSpec)
  3699. in.DeepCopyInto(out)
  3700. return out
  3701. }
  3702. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3703. func (in *PortworxVolumeSource) DeepCopyInto(out *PortworxVolumeSource) {
  3704. *out = *in
  3705. return
  3706. }
  3707. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortworxVolumeSource.
  3708. func (in *PortworxVolumeSource) DeepCopy() *PortworxVolumeSource {
  3709. if in == nil {
  3710. return nil
  3711. }
  3712. out := new(PortworxVolumeSource)
  3713. in.DeepCopyInto(out)
  3714. return out
  3715. }
  3716. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3717. func (in *Preconditions) DeepCopyInto(out *Preconditions) {
  3718. *out = *in
  3719. if in.UID != nil {
  3720. in, out := &in.UID, &out.UID
  3721. *out = new(types.UID)
  3722. **out = **in
  3723. }
  3724. return
  3725. }
  3726. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions.
  3727. func (in *Preconditions) DeepCopy() *Preconditions {
  3728. if in == nil {
  3729. return nil
  3730. }
  3731. out := new(Preconditions)
  3732. in.DeepCopyInto(out)
  3733. return out
  3734. }
  3735. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3736. func (in *PreferAvoidPodsEntry) DeepCopyInto(out *PreferAvoidPodsEntry) {
  3737. *out = *in
  3738. in.PodSignature.DeepCopyInto(&out.PodSignature)
  3739. in.EvictionTime.DeepCopyInto(&out.EvictionTime)
  3740. return
  3741. }
  3742. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferAvoidPodsEntry.
  3743. func (in *PreferAvoidPodsEntry) DeepCopy() *PreferAvoidPodsEntry {
  3744. if in == nil {
  3745. return nil
  3746. }
  3747. out := new(PreferAvoidPodsEntry)
  3748. in.DeepCopyInto(out)
  3749. return out
  3750. }
  3751. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3752. func (in *PreferredSchedulingTerm) DeepCopyInto(out *PreferredSchedulingTerm) {
  3753. *out = *in
  3754. in.Preference.DeepCopyInto(&out.Preference)
  3755. return
  3756. }
  3757. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferredSchedulingTerm.
  3758. func (in *PreferredSchedulingTerm) DeepCopy() *PreferredSchedulingTerm {
  3759. if in == nil {
  3760. return nil
  3761. }
  3762. out := new(PreferredSchedulingTerm)
  3763. in.DeepCopyInto(out)
  3764. return out
  3765. }
  3766. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3767. func (in *Probe) DeepCopyInto(out *Probe) {
  3768. *out = *in
  3769. in.Handler.DeepCopyInto(&out.Handler)
  3770. return
  3771. }
  3772. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe.
  3773. func (in *Probe) DeepCopy() *Probe {
  3774. if in == nil {
  3775. return nil
  3776. }
  3777. out := new(Probe)
  3778. in.DeepCopyInto(out)
  3779. return out
  3780. }
  3781. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3782. func (in *ProjectedVolumeSource) DeepCopyInto(out *ProjectedVolumeSource) {
  3783. *out = *in
  3784. if in.Sources != nil {
  3785. in, out := &in.Sources, &out.Sources
  3786. *out = make([]VolumeProjection, len(*in))
  3787. for i := range *in {
  3788. (*in)[i].DeepCopyInto(&(*out)[i])
  3789. }
  3790. }
  3791. if in.DefaultMode != nil {
  3792. in, out := &in.DefaultMode, &out.DefaultMode
  3793. *out = new(int32)
  3794. **out = **in
  3795. }
  3796. return
  3797. }
  3798. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectedVolumeSource.
  3799. func (in *ProjectedVolumeSource) DeepCopy() *ProjectedVolumeSource {
  3800. if in == nil {
  3801. return nil
  3802. }
  3803. out := new(ProjectedVolumeSource)
  3804. in.DeepCopyInto(out)
  3805. return out
  3806. }
  3807. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3808. func (in *QuobyteVolumeSource) DeepCopyInto(out *QuobyteVolumeSource) {
  3809. *out = *in
  3810. return
  3811. }
  3812. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuobyteVolumeSource.
  3813. func (in *QuobyteVolumeSource) DeepCopy() *QuobyteVolumeSource {
  3814. if in == nil {
  3815. return nil
  3816. }
  3817. out := new(QuobyteVolumeSource)
  3818. in.DeepCopyInto(out)
  3819. return out
  3820. }
  3821. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3822. func (in *RBDPersistentVolumeSource) DeepCopyInto(out *RBDPersistentVolumeSource) {
  3823. *out = *in
  3824. if in.CephMonitors != nil {
  3825. in, out := &in.CephMonitors, &out.CephMonitors
  3826. *out = make([]string, len(*in))
  3827. copy(*out, *in)
  3828. }
  3829. if in.SecretRef != nil {
  3830. in, out := &in.SecretRef, &out.SecretRef
  3831. *out = new(SecretReference)
  3832. **out = **in
  3833. }
  3834. return
  3835. }
  3836. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDPersistentVolumeSource.
  3837. func (in *RBDPersistentVolumeSource) DeepCopy() *RBDPersistentVolumeSource {
  3838. if in == nil {
  3839. return nil
  3840. }
  3841. out := new(RBDPersistentVolumeSource)
  3842. in.DeepCopyInto(out)
  3843. return out
  3844. }
  3845. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3846. func (in *RBDVolumeSource) DeepCopyInto(out *RBDVolumeSource) {
  3847. *out = *in
  3848. if in.CephMonitors != nil {
  3849. in, out := &in.CephMonitors, &out.CephMonitors
  3850. *out = make([]string, len(*in))
  3851. copy(*out, *in)
  3852. }
  3853. if in.SecretRef != nil {
  3854. in, out := &in.SecretRef, &out.SecretRef
  3855. *out = new(LocalObjectReference)
  3856. **out = **in
  3857. }
  3858. return
  3859. }
  3860. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDVolumeSource.
  3861. func (in *RBDVolumeSource) DeepCopy() *RBDVolumeSource {
  3862. if in == nil {
  3863. return nil
  3864. }
  3865. out := new(RBDVolumeSource)
  3866. in.DeepCopyInto(out)
  3867. return out
  3868. }
  3869. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3870. func (in *RangeAllocation) DeepCopyInto(out *RangeAllocation) {
  3871. *out = *in
  3872. out.TypeMeta = in.TypeMeta
  3873. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  3874. if in.Data != nil {
  3875. in, out := &in.Data, &out.Data
  3876. *out = make([]byte, len(*in))
  3877. copy(*out, *in)
  3878. }
  3879. return
  3880. }
  3881. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation.
  3882. func (in *RangeAllocation) DeepCopy() *RangeAllocation {
  3883. if in == nil {
  3884. return nil
  3885. }
  3886. out := new(RangeAllocation)
  3887. in.DeepCopyInto(out)
  3888. return out
  3889. }
  3890. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3891. func (in *RangeAllocation) DeepCopyObject() runtime.Object {
  3892. if c := in.DeepCopy(); c != nil {
  3893. return c
  3894. }
  3895. return nil
  3896. }
  3897. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3898. func (in *ReplicationController) DeepCopyInto(out *ReplicationController) {
  3899. *out = *in
  3900. out.TypeMeta = in.TypeMeta
  3901. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  3902. in.Spec.DeepCopyInto(&out.Spec)
  3903. in.Status.DeepCopyInto(&out.Status)
  3904. return
  3905. }
  3906. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationController.
  3907. func (in *ReplicationController) DeepCopy() *ReplicationController {
  3908. if in == nil {
  3909. return nil
  3910. }
  3911. out := new(ReplicationController)
  3912. in.DeepCopyInto(out)
  3913. return out
  3914. }
  3915. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3916. func (in *ReplicationController) DeepCopyObject() runtime.Object {
  3917. if c := in.DeepCopy(); c != nil {
  3918. return c
  3919. }
  3920. return nil
  3921. }
  3922. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3923. func (in *ReplicationControllerCondition) DeepCopyInto(out *ReplicationControllerCondition) {
  3924. *out = *in
  3925. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  3926. return
  3927. }
  3928. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerCondition.
  3929. func (in *ReplicationControllerCondition) DeepCopy() *ReplicationControllerCondition {
  3930. if in == nil {
  3931. return nil
  3932. }
  3933. out := new(ReplicationControllerCondition)
  3934. in.DeepCopyInto(out)
  3935. return out
  3936. }
  3937. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3938. func (in *ReplicationControllerList) DeepCopyInto(out *ReplicationControllerList) {
  3939. *out = *in
  3940. out.TypeMeta = in.TypeMeta
  3941. in.ListMeta.DeepCopyInto(&out.ListMeta)
  3942. if in.Items != nil {
  3943. in, out := &in.Items, &out.Items
  3944. *out = make([]ReplicationController, len(*in))
  3945. for i := range *in {
  3946. (*in)[i].DeepCopyInto(&(*out)[i])
  3947. }
  3948. }
  3949. return
  3950. }
  3951. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerList.
  3952. func (in *ReplicationControllerList) DeepCopy() *ReplicationControllerList {
  3953. if in == nil {
  3954. return nil
  3955. }
  3956. out := new(ReplicationControllerList)
  3957. in.DeepCopyInto(out)
  3958. return out
  3959. }
  3960. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  3961. func (in *ReplicationControllerList) DeepCopyObject() runtime.Object {
  3962. if c := in.DeepCopy(); c != nil {
  3963. return c
  3964. }
  3965. return nil
  3966. }
  3967. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3968. func (in *ReplicationControllerSpec) DeepCopyInto(out *ReplicationControllerSpec) {
  3969. *out = *in
  3970. if in.Selector != nil {
  3971. in, out := &in.Selector, &out.Selector
  3972. *out = make(map[string]string, len(*in))
  3973. for key, val := range *in {
  3974. (*out)[key] = val
  3975. }
  3976. }
  3977. if in.Template != nil {
  3978. in, out := &in.Template, &out.Template
  3979. *out = new(PodTemplateSpec)
  3980. (*in).DeepCopyInto(*out)
  3981. }
  3982. return
  3983. }
  3984. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerSpec.
  3985. func (in *ReplicationControllerSpec) DeepCopy() *ReplicationControllerSpec {
  3986. if in == nil {
  3987. return nil
  3988. }
  3989. out := new(ReplicationControllerSpec)
  3990. in.DeepCopyInto(out)
  3991. return out
  3992. }
  3993. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  3994. func (in *ReplicationControllerStatus) DeepCopyInto(out *ReplicationControllerStatus) {
  3995. *out = *in
  3996. if in.Conditions != nil {
  3997. in, out := &in.Conditions, &out.Conditions
  3998. *out = make([]ReplicationControllerCondition, len(*in))
  3999. for i := range *in {
  4000. (*in)[i].DeepCopyInto(&(*out)[i])
  4001. }
  4002. }
  4003. return
  4004. }
  4005. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerStatus.
  4006. func (in *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus {
  4007. if in == nil {
  4008. return nil
  4009. }
  4010. out := new(ReplicationControllerStatus)
  4011. in.DeepCopyInto(out)
  4012. return out
  4013. }
  4014. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4015. func (in *ResourceFieldSelector) DeepCopyInto(out *ResourceFieldSelector) {
  4016. *out = *in
  4017. out.Divisor = in.Divisor.DeepCopy()
  4018. return
  4019. }
  4020. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldSelector.
  4021. func (in *ResourceFieldSelector) DeepCopy() *ResourceFieldSelector {
  4022. if in == nil {
  4023. return nil
  4024. }
  4025. out := new(ResourceFieldSelector)
  4026. in.DeepCopyInto(out)
  4027. return out
  4028. }
  4029. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4030. func (in ResourceList) DeepCopyInto(out *ResourceList) {
  4031. {
  4032. in := &in
  4033. *out = make(ResourceList, len(*in))
  4034. for key, val := range *in {
  4035. (*out)[key] = val.DeepCopy()
  4036. }
  4037. return
  4038. }
  4039. }
  4040. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList.
  4041. func (in ResourceList) DeepCopy() ResourceList {
  4042. if in == nil {
  4043. return nil
  4044. }
  4045. out := new(ResourceList)
  4046. in.DeepCopyInto(out)
  4047. return *out
  4048. }
  4049. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4050. func (in *ResourceQuota) DeepCopyInto(out *ResourceQuota) {
  4051. *out = *in
  4052. out.TypeMeta = in.TypeMeta
  4053. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  4054. in.Spec.DeepCopyInto(&out.Spec)
  4055. in.Status.DeepCopyInto(&out.Status)
  4056. return
  4057. }
  4058. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuota.
  4059. func (in *ResourceQuota) DeepCopy() *ResourceQuota {
  4060. if in == nil {
  4061. return nil
  4062. }
  4063. out := new(ResourceQuota)
  4064. in.DeepCopyInto(out)
  4065. return out
  4066. }
  4067. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  4068. func (in *ResourceQuota) DeepCopyObject() runtime.Object {
  4069. if c := in.DeepCopy(); c != nil {
  4070. return c
  4071. }
  4072. return nil
  4073. }
  4074. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4075. func (in *ResourceQuotaList) DeepCopyInto(out *ResourceQuotaList) {
  4076. *out = *in
  4077. out.TypeMeta = in.TypeMeta
  4078. in.ListMeta.DeepCopyInto(&out.ListMeta)
  4079. if in.Items != nil {
  4080. in, out := &in.Items, &out.Items
  4081. *out = make([]ResourceQuota, len(*in))
  4082. for i := range *in {
  4083. (*in)[i].DeepCopyInto(&(*out)[i])
  4084. }
  4085. }
  4086. return
  4087. }
  4088. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList.
  4089. func (in *ResourceQuotaList) DeepCopy() *ResourceQuotaList {
  4090. if in == nil {
  4091. return nil
  4092. }
  4093. out := new(ResourceQuotaList)
  4094. in.DeepCopyInto(out)
  4095. return out
  4096. }
  4097. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  4098. func (in *ResourceQuotaList) DeepCopyObject() runtime.Object {
  4099. if c := in.DeepCopy(); c != nil {
  4100. return c
  4101. }
  4102. return nil
  4103. }
  4104. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4105. func (in *ResourceQuotaSpec) DeepCopyInto(out *ResourceQuotaSpec) {
  4106. *out = *in
  4107. if in.Hard != nil {
  4108. in, out := &in.Hard, &out.Hard
  4109. *out = make(ResourceList, len(*in))
  4110. for key, val := range *in {
  4111. (*out)[key] = val.DeepCopy()
  4112. }
  4113. }
  4114. if in.Scopes != nil {
  4115. in, out := &in.Scopes, &out.Scopes
  4116. *out = make([]ResourceQuotaScope, len(*in))
  4117. copy(*out, *in)
  4118. }
  4119. if in.ScopeSelector != nil {
  4120. in, out := &in.ScopeSelector, &out.ScopeSelector
  4121. *out = new(ScopeSelector)
  4122. (*in).DeepCopyInto(*out)
  4123. }
  4124. return
  4125. }
  4126. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec.
  4127. func (in *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec {
  4128. if in == nil {
  4129. return nil
  4130. }
  4131. out := new(ResourceQuotaSpec)
  4132. in.DeepCopyInto(out)
  4133. return out
  4134. }
  4135. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4136. func (in *ResourceQuotaStatus) DeepCopyInto(out *ResourceQuotaStatus) {
  4137. *out = *in
  4138. if in.Hard != nil {
  4139. in, out := &in.Hard, &out.Hard
  4140. *out = make(ResourceList, len(*in))
  4141. for key, val := range *in {
  4142. (*out)[key] = val.DeepCopy()
  4143. }
  4144. }
  4145. if in.Used != nil {
  4146. in, out := &in.Used, &out.Used
  4147. *out = make(ResourceList, len(*in))
  4148. for key, val := range *in {
  4149. (*out)[key] = val.DeepCopy()
  4150. }
  4151. }
  4152. return
  4153. }
  4154. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatus.
  4155. func (in *ResourceQuotaStatus) DeepCopy() *ResourceQuotaStatus {
  4156. if in == nil {
  4157. return nil
  4158. }
  4159. out := new(ResourceQuotaStatus)
  4160. in.DeepCopyInto(out)
  4161. return out
  4162. }
  4163. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4164. func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) {
  4165. *out = *in
  4166. if in.Limits != nil {
  4167. in, out := &in.Limits, &out.Limits
  4168. *out = make(ResourceList, len(*in))
  4169. for key, val := range *in {
  4170. (*out)[key] = val.DeepCopy()
  4171. }
  4172. }
  4173. if in.Requests != nil {
  4174. in, out := &in.Requests, &out.Requests
  4175. *out = make(ResourceList, len(*in))
  4176. for key, val := range *in {
  4177. (*out)[key] = val.DeepCopy()
  4178. }
  4179. }
  4180. return
  4181. }
  4182. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements.
  4183. func (in *ResourceRequirements) DeepCopy() *ResourceRequirements {
  4184. if in == nil {
  4185. return nil
  4186. }
  4187. out := new(ResourceRequirements)
  4188. in.DeepCopyInto(out)
  4189. return out
  4190. }
  4191. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4192. func (in *SELinuxOptions) DeepCopyInto(out *SELinuxOptions) {
  4193. *out = *in
  4194. return
  4195. }
  4196. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxOptions.
  4197. func (in *SELinuxOptions) DeepCopy() *SELinuxOptions {
  4198. if in == nil {
  4199. return nil
  4200. }
  4201. out := new(SELinuxOptions)
  4202. in.DeepCopyInto(out)
  4203. return out
  4204. }
  4205. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4206. func (in *ScaleIOPersistentVolumeSource) DeepCopyInto(out *ScaleIOPersistentVolumeSource) {
  4207. *out = *in
  4208. if in.SecretRef != nil {
  4209. in, out := &in.SecretRef, &out.SecretRef
  4210. *out = new(SecretReference)
  4211. **out = **in
  4212. }
  4213. return
  4214. }
  4215. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOPersistentVolumeSource.
  4216. func (in *ScaleIOPersistentVolumeSource) DeepCopy() *ScaleIOPersistentVolumeSource {
  4217. if in == nil {
  4218. return nil
  4219. }
  4220. out := new(ScaleIOPersistentVolumeSource)
  4221. in.DeepCopyInto(out)
  4222. return out
  4223. }
  4224. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4225. func (in *ScaleIOVolumeSource) DeepCopyInto(out *ScaleIOVolumeSource) {
  4226. *out = *in
  4227. if in.SecretRef != nil {
  4228. in, out := &in.SecretRef, &out.SecretRef
  4229. *out = new(LocalObjectReference)
  4230. **out = **in
  4231. }
  4232. return
  4233. }
  4234. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOVolumeSource.
  4235. func (in *ScaleIOVolumeSource) DeepCopy() *ScaleIOVolumeSource {
  4236. if in == nil {
  4237. return nil
  4238. }
  4239. out := new(ScaleIOVolumeSource)
  4240. in.DeepCopyInto(out)
  4241. return out
  4242. }
  4243. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4244. func (in *ScopeSelector) DeepCopyInto(out *ScopeSelector) {
  4245. *out = *in
  4246. if in.MatchExpressions != nil {
  4247. in, out := &in.MatchExpressions, &out.MatchExpressions
  4248. *out = make([]ScopedResourceSelectorRequirement, len(*in))
  4249. for i := range *in {
  4250. (*in)[i].DeepCopyInto(&(*out)[i])
  4251. }
  4252. }
  4253. return
  4254. }
  4255. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeSelector.
  4256. func (in *ScopeSelector) DeepCopy() *ScopeSelector {
  4257. if in == nil {
  4258. return nil
  4259. }
  4260. out := new(ScopeSelector)
  4261. in.DeepCopyInto(out)
  4262. return out
  4263. }
  4264. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4265. func (in *ScopedResourceSelectorRequirement) DeepCopyInto(out *ScopedResourceSelectorRequirement) {
  4266. *out = *in
  4267. if in.Values != nil {
  4268. in, out := &in.Values, &out.Values
  4269. *out = make([]string, len(*in))
  4270. copy(*out, *in)
  4271. }
  4272. return
  4273. }
  4274. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopedResourceSelectorRequirement.
  4275. func (in *ScopedResourceSelectorRequirement) DeepCopy() *ScopedResourceSelectorRequirement {
  4276. if in == nil {
  4277. return nil
  4278. }
  4279. out := new(ScopedResourceSelectorRequirement)
  4280. in.DeepCopyInto(out)
  4281. return out
  4282. }
  4283. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4284. func (in *Secret) DeepCopyInto(out *Secret) {
  4285. *out = *in
  4286. out.TypeMeta = in.TypeMeta
  4287. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  4288. if in.Immutable != nil {
  4289. in, out := &in.Immutable, &out.Immutable
  4290. *out = new(bool)
  4291. **out = **in
  4292. }
  4293. if in.Data != nil {
  4294. in, out := &in.Data, &out.Data
  4295. *out = make(map[string][]byte, len(*in))
  4296. for key, val := range *in {
  4297. var outVal []byte
  4298. if val == nil {
  4299. (*out)[key] = nil
  4300. } else {
  4301. in, out := &val, &outVal
  4302. *out = make([]byte, len(*in))
  4303. copy(*out, *in)
  4304. }
  4305. (*out)[key] = outVal
  4306. }
  4307. }
  4308. return
  4309. }
  4310. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
  4311. func (in *Secret) DeepCopy() *Secret {
  4312. if in == nil {
  4313. return nil
  4314. }
  4315. out := new(Secret)
  4316. in.DeepCopyInto(out)
  4317. return out
  4318. }
  4319. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  4320. func (in *Secret) DeepCopyObject() runtime.Object {
  4321. if c := in.DeepCopy(); c != nil {
  4322. return c
  4323. }
  4324. return nil
  4325. }
  4326. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4327. func (in *SecretEnvSource) DeepCopyInto(out *SecretEnvSource) {
  4328. *out = *in
  4329. out.LocalObjectReference = in.LocalObjectReference
  4330. if in.Optional != nil {
  4331. in, out := &in.Optional, &out.Optional
  4332. *out = new(bool)
  4333. **out = **in
  4334. }
  4335. return
  4336. }
  4337. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvSource.
  4338. func (in *SecretEnvSource) DeepCopy() *SecretEnvSource {
  4339. if in == nil {
  4340. return nil
  4341. }
  4342. out := new(SecretEnvSource)
  4343. in.DeepCopyInto(out)
  4344. return out
  4345. }
  4346. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4347. func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector) {
  4348. *out = *in
  4349. out.LocalObjectReference = in.LocalObjectReference
  4350. if in.Optional != nil {
  4351. in, out := &in.Optional, &out.Optional
  4352. *out = new(bool)
  4353. **out = **in
  4354. }
  4355. return
  4356. }
  4357. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector.
  4358. func (in *SecretKeySelector) DeepCopy() *SecretKeySelector {
  4359. if in == nil {
  4360. return nil
  4361. }
  4362. out := new(SecretKeySelector)
  4363. in.DeepCopyInto(out)
  4364. return out
  4365. }
  4366. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4367. func (in *SecretList) DeepCopyInto(out *SecretList) {
  4368. *out = *in
  4369. out.TypeMeta = in.TypeMeta
  4370. in.ListMeta.DeepCopyInto(&out.ListMeta)
  4371. if in.Items != nil {
  4372. in, out := &in.Items, &out.Items
  4373. *out = make([]Secret, len(*in))
  4374. for i := range *in {
  4375. (*in)[i].DeepCopyInto(&(*out)[i])
  4376. }
  4377. }
  4378. return
  4379. }
  4380. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList.
  4381. func (in *SecretList) DeepCopy() *SecretList {
  4382. if in == nil {
  4383. return nil
  4384. }
  4385. out := new(SecretList)
  4386. in.DeepCopyInto(out)
  4387. return out
  4388. }
  4389. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  4390. func (in *SecretList) DeepCopyObject() runtime.Object {
  4391. if c := in.DeepCopy(); c != nil {
  4392. return c
  4393. }
  4394. return nil
  4395. }
  4396. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4397. func (in *SecretProjection) DeepCopyInto(out *SecretProjection) {
  4398. *out = *in
  4399. out.LocalObjectReference = in.LocalObjectReference
  4400. if in.Items != nil {
  4401. in, out := &in.Items, &out.Items
  4402. *out = make([]KeyToPath, len(*in))
  4403. for i := range *in {
  4404. (*in)[i].DeepCopyInto(&(*out)[i])
  4405. }
  4406. }
  4407. if in.Optional != nil {
  4408. in, out := &in.Optional, &out.Optional
  4409. *out = new(bool)
  4410. **out = **in
  4411. }
  4412. return
  4413. }
  4414. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProjection.
  4415. func (in *SecretProjection) DeepCopy() *SecretProjection {
  4416. if in == nil {
  4417. return nil
  4418. }
  4419. out := new(SecretProjection)
  4420. in.DeepCopyInto(out)
  4421. return out
  4422. }
  4423. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4424. func (in *SecretReference) DeepCopyInto(out *SecretReference) {
  4425. *out = *in
  4426. return
  4427. }
  4428. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
  4429. func (in *SecretReference) DeepCopy() *SecretReference {
  4430. if in == nil {
  4431. return nil
  4432. }
  4433. out := new(SecretReference)
  4434. in.DeepCopyInto(out)
  4435. return out
  4436. }
  4437. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4438. func (in *SecretVolumeSource) DeepCopyInto(out *SecretVolumeSource) {
  4439. *out = *in
  4440. if in.Items != nil {
  4441. in, out := &in.Items, &out.Items
  4442. *out = make([]KeyToPath, len(*in))
  4443. for i := range *in {
  4444. (*in)[i].DeepCopyInto(&(*out)[i])
  4445. }
  4446. }
  4447. if in.DefaultMode != nil {
  4448. in, out := &in.DefaultMode, &out.DefaultMode
  4449. *out = new(int32)
  4450. **out = **in
  4451. }
  4452. if in.Optional != nil {
  4453. in, out := &in.Optional, &out.Optional
  4454. *out = new(bool)
  4455. **out = **in
  4456. }
  4457. return
  4458. }
  4459. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumeSource.
  4460. func (in *SecretVolumeSource) DeepCopy() *SecretVolumeSource {
  4461. if in == nil {
  4462. return nil
  4463. }
  4464. out := new(SecretVolumeSource)
  4465. in.DeepCopyInto(out)
  4466. return out
  4467. }
  4468. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4469. func (in *SecurityContext) DeepCopyInto(out *SecurityContext) {
  4470. *out = *in
  4471. if in.Capabilities != nil {
  4472. in, out := &in.Capabilities, &out.Capabilities
  4473. *out = new(Capabilities)
  4474. (*in).DeepCopyInto(*out)
  4475. }
  4476. if in.Privileged != nil {
  4477. in, out := &in.Privileged, &out.Privileged
  4478. *out = new(bool)
  4479. **out = **in
  4480. }
  4481. if in.SELinuxOptions != nil {
  4482. in, out := &in.SELinuxOptions, &out.SELinuxOptions
  4483. *out = new(SELinuxOptions)
  4484. **out = **in
  4485. }
  4486. if in.WindowsOptions != nil {
  4487. in, out := &in.WindowsOptions, &out.WindowsOptions
  4488. *out = new(WindowsSecurityContextOptions)
  4489. (*in).DeepCopyInto(*out)
  4490. }
  4491. if in.RunAsUser != nil {
  4492. in, out := &in.RunAsUser, &out.RunAsUser
  4493. *out = new(int64)
  4494. **out = **in
  4495. }
  4496. if in.RunAsGroup != nil {
  4497. in, out := &in.RunAsGroup, &out.RunAsGroup
  4498. *out = new(int64)
  4499. **out = **in
  4500. }
  4501. if in.RunAsNonRoot != nil {
  4502. in, out := &in.RunAsNonRoot, &out.RunAsNonRoot
  4503. *out = new(bool)
  4504. **out = **in
  4505. }
  4506. if in.ReadOnlyRootFilesystem != nil {
  4507. in, out := &in.ReadOnlyRootFilesystem, &out.ReadOnlyRootFilesystem
  4508. *out = new(bool)
  4509. **out = **in
  4510. }
  4511. if in.AllowPrivilegeEscalation != nil {
  4512. in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation
  4513. *out = new(bool)
  4514. **out = **in
  4515. }
  4516. if in.ProcMount != nil {
  4517. in, out := &in.ProcMount, &out.ProcMount
  4518. *out = new(ProcMountType)
  4519. **out = **in
  4520. }
  4521. return
  4522. }
  4523. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext.
  4524. func (in *SecurityContext) DeepCopy() *SecurityContext {
  4525. if in == nil {
  4526. return nil
  4527. }
  4528. out := new(SecurityContext)
  4529. in.DeepCopyInto(out)
  4530. return out
  4531. }
  4532. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4533. func (in *SerializedReference) DeepCopyInto(out *SerializedReference) {
  4534. *out = *in
  4535. out.TypeMeta = in.TypeMeta
  4536. out.Reference = in.Reference
  4537. return
  4538. }
  4539. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedReference.
  4540. func (in *SerializedReference) DeepCopy() *SerializedReference {
  4541. if in == nil {
  4542. return nil
  4543. }
  4544. out := new(SerializedReference)
  4545. in.DeepCopyInto(out)
  4546. return out
  4547. }
  4548. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  4549. func (in *SerializedReference) DeepCopyObject() runtime.Object {
  4550. if c := in.DeepCopy(); c != nil {
  4551. return c
  4552. }
  4553. return nil
  4554. }
  4555. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4556. func (in *Service) DeepCopyInto(out *Service) {
  4557. *out = *in
  4558. out.TypeMeta = in.TypeMeta
  4559. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  4560. in.Spec.DeepCopyInto(&out.Spec)
  4561. in.Status.DeepCopyInto(&out.Status)
  4562. return
  4563. }
  4564. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
  4565. func (in *Service) DeepCopy() *Service {
  4566. if in == nil {
  4567. return nil
  4568. }
  4569. out := new(Service)
  4570. in.DeepCopyInto(out)
  4571. return out
  4572. }
  4573. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  4574. func (in *Service) DeepCopyObject() runtime.Object {
  4575. if c := in.DeepCopy(); c != nil {
  4576. return c
  4577. }
  4578. return nil
  4579. }
  4580. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4581. func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount) {
  4582. *out = *in
  4583. out.TypeMeta = in.TypeMeta
  4584. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  4585. if in.Secrets != nil {
  4586. in, out := &in.Secrets, &out.Secrets
  4587. *out = make([]ObjectReference, len(*in))
  4588. copy(*out, *in)
  4589. }
  4590. if in.ImagePullSecrets != nil {
  4591. in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
  4592. *out = make([]LocalObjectReference, len(*in))
  4593. copy(*out, *in)
  4594. }
  4595. if in.AutomountServiceAccountToken != nil {
  4596. in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken
  4597. *out = new(bool)
  4598. **out = **in
  4599. }
  4600. return
  4601. }
  4602. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount.
  4603. func (in *ServiceAccount) DeepCopy() *ServiceAccount {
  4604. if in == nil {
  4605. return nil
  4606. }
  4607. out := new(ServiceAccount)
  4608. in.DeepCopyInto(out)
  4609. return out
  4610. }
  4611. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  4612. func (in *ServiceAccount) DeepCopyObject() runtime.Object {
  4613. if c := in.DeepCopy(); c != nil {
  4614. return c
  4615. }
  4616. return nil
  4617. }
  4618. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4619. func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList) {
  4620. *out = *in
  4621. out.TypeMeta = in.TypeMeta
  4622. in.ListMeta.DeepCopyInto(&out.ListMeta)
  4623. if in.Items != nil {
  4624. in, out := &in.Items, &out.Items
  4625. *out = make([]ServiceAccount, len(*in))
  4626. for i := range *in {
  4627. (*in)[i].DeepCopyInto(&(*out)[i])
  4628. }
  4629. }
  4630. return
  4631. }
  4632. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList.
  4633. func (in *ServiceAccountList) DeepCopy() *ServiceAccountList {
  4634. if in == nil {
  4635. return nil
  4636. }
  4637. out := new(ServiceAccountList)
  4638. in.DeepCopyInto(out)
  4639. return out
  4640. }
  4641. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  4642. func (in *ServiceAccountList) DeepCopyObject() runtime.Object {
  4643. if c := in.DeepCopy(); c != nil {
  4644. return c
  4645. }
  4646. return nil
  4647. }
  4648. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4649. func (in *ServiceAccountTokenProjection) DeepCopyInto(out *ServiceAccountTokenProjection) {
  4650. *out = *in
  4651. return
  4652. }
  4653. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenProjection.
  4654. func (in *ServiceAccountTokenProjection) DeepCopy() *ServiceAccountTokenProjection {
  4655. if in == nil {
  4656. return nil
  4657. }
  4658. out := new(ServiceAccountTokenProjection)
  4659. in.DeepCopyInto(out)
  4660. return out
  4661. }
  4662. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4663. func (in *ServiceList) DeepCopyInto(out *ServiceList) {
  4664. *out = *in
  4665. out.TypeMeta = in.TypeMeta
  4666. in.ListMeta.DeepCopyInto(&out.ListMeta)
  4667. if in.Items != nil {
  4668. in, out := &in.Items, &out.Items
  4669. *out = make([]Service, len(*in))
  4670. for i := range *in {
  4671. (*in)[i].DeepCopyInto(&(*out)[i])
  4672. }
  4673. }
  4674. return
  4675. }
  4676. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.
  4677. func (in *ServiceList) DeepCopy() *ServiceList {
  4678. if in == nil {
  4679. return nil
  4680. }
  4681. out := new(ServiceList)
  4682. in.DeepCopyInto(out)
  4683. return out
  4684. }
  4685. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  4686. func (in *ServiceList) DeepCopyObject() runtime.Object {
  4687. if c := in.DeepCopy(); c != nil {
  4688. return c
  4689. }
  4690. return nil
  4691. }
  4692. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4693. func (in *ServicePort) DeepCopyInto(out *ServicePort) {
  4694. *out = *in
  4695. out.TargetPort = in.TargetPort
  4696. return
  4697. }
  4698. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort.
  4699. func (in *ServicePort) DeepCopy() *ServicePort {
  4700. if in == nil {
  4701. return nil
  4702. }
  4703. out := new(ServicePort)
  4704. in.DeepCopyInto(out)
  4705. return out
  4706. }
  4707. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4708. func (in *ServiceProxyOptions) DeepCopyInto(out *ServiceProxyOptions) {
  4709. *out = *in
  4710. out.TypeMeta = in.TypeMeta
  4711. return
  4712. }
  4713. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyOptions.
  4714. func (in *ServiceProxyOptions) DeepCopy() *ServiceProxyOptions {
  4715. if in == nil {
  4716. return nil
  4717. }
  4718. out := new(ServiceProxyOptions)
  4719. in.DeepCopyInto(out)
  4720. return out
  4721. }
  4722. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  4723. func (in *ServiceProxyOptions) DeepCopyObject() runtime.Object {
  4724. if c := in.DeepCopy(); c != nil {
  4725. return c
  4726. }
  4727. return nil
  4728. }
  4729. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4730. func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) {
  4731. *out = *in
  4732. if in.Ports != nil {
  4733. in, out := &in.Ports, &out.Ports
  4734. *out = make([]ServicePort, len(*in))
  4735. copy(*out, *in)
  4736. }
  4737. if in.Selector != nil {
  4738. in, out := &in.Selector, &out.Selector
  4739. *out = make(map[string]string, len(*in))
  4740. for key, val := range *in {
  4741. (*out)[key] = val
  4742. }
  4743. }
  4744. if in.ExternalIPs != nil {
  4745. in, out := &in.ExternalIPs, &out.ExternalIPs
  4746. *out = make([]string, len(*in))
  4747. copy(*out, *in)
  4748. }
  4749. if in.SessionAffinityConfig != nil {
  4750. in, out := &in.SessionAffinityConfig, &out.SessionAffinityConfig
  4751. *out = new(SessionAffinityConfig)
  4752. (*in).DeepCopyInto(*out)
  4753. }
  4754. if in.LoadBalancerSourceRanges != nil {
  4755. in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges
  4756. *out = make([]string, len(*in))
  4757. copy(*out, *in)
  4758. }
  4759. if in.IPFamily != nil {
  4760. in, out := &in.IPFamily, &out.IPFamily
  4761. *out = new(IPFamily)
  4762. **out = **in
  4763. }
  4764. if in.TopologyKeys != nil {
  4765. in, out := &in.TopologyKeys, &out.TopologyKeys
  4766. *out = make([]string, len(*in))
  4767. copy(*out, *in)
  4768. }
  4769. return
  4770. }
  4771. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
  4772. func (in *ServiceSpec) DeepCopy() *ServiceSpec {
  4773. if in == nil {
  4774. return nil
  4775. }
  4776. out := new(ServiceSpec)
  4777. in.DeepCopyInto(out)
  4778. return out
  4779. }
  4780. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4781. func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) {
  4782. *out = *in
  4783. in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
  4784. return
  4785. }
  4786. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.
  4787. func (in *ServiceStatus) DeepCopy() *ServiceStatus {
  4788. if in == nil {
  4789. return nil
  4790. }
  4791. out := new(ServiceStatus)
  4792. in.DeepCopyInto(out)
  4793. return out
  4794. }
  4795. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4796. func (in *SessionAffinityConfig) DeepCopyInto(out *SessionAffinityConfig) {
  4797. *out = *in
  4798. if in.ClientIP != nil {
  4799. in, out := &in.ClientIP, &out.ClientIP
  4800. *out = new(ClientIPConfig)
  4801. (*in).DeepCopyInto(*out)
  4802. }
  4803. return
  4804. }
  4805. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityConfig.
  4806. func (in *SessionAffinityConfig) DeepCopy() *SessionAffinityConfig {
  4807. if in == nil {
  4808. return nil
  4809. }
  4810. out := new(SessionAffinityConfig)
  4811. in.DeepCopyInto(out)
  4812. return out
  4813. }
  4814. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4815. func (in *StorageOSPersistentVolumeSource) DeepCopyInto(out *StorageOSPersistentVolumeSource) {
  4816. *out = *in
  4817. if in.SecretRef != nil {
  4818. in, out := &in.SecretRef, &out.SecretRef
  4819. *out = new(ObjectReference)
  4820. **out = **in
  4821. }
  4822. return
  4823. }
  4824. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSPersistentVolumeSource.
  4825. func (in *StorageOSPersistentVolumeSource) DeepCopy() *StorageOSPersistentVolumeSource {
  4826. if in == nil {
  4827. return nil
  4828. }
  4829. out := new(StorageOSPersistentVolumeSource)
  4830. in.DeepCopyInto(out)
  4831. return out
  4832. }
  4833. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4834. func (in *StorageOSVolumeSource) DeepCopyInto(out *StorageOSVolumeSource) {
  4835. *out = *in
  4836. if in.SecretRef != nil {
  4837. in, out := &in.SecretRef, &out.SecretRef
  4838. *out = new(LocalObjectReference)
  4839. **out = **in
  4840. }
  4841. return
  4842. }
  4843. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSVolumeSource.
  4844. func (in *StorageOSVolumeSource) DeepCopy() *StorageOSVolumeSource {
  4845. if in == nil {
  4846. return nil
  4847. }
  4848. out := new(StorageOSVolumeSource)
  4849. in.DeepCopyInto(out)
  4850. return out
  4851. }
  4852. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4853. func (in *Sysctl) DeepCopyInto(out *Sysctl) {
  4854. *out = *in
  4855. return
  4856. }
  4857. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sysctl.
  4858. func (in *Sysctl) DeepCopy() *Sysctl {
  4859. if in == nil {
  4860. return nil
  4861. }
  4862. out := new(Sysctl)
  4863. in.DeepCopyInto(out)
  4864. return out
  4865. }
  4866. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4867. func (in *TCPSocketAction) DeepCopyInto(out *TCPSocketAction) {
  4868. *out = *in
  4869. out.Port = in.Port
  4870. return
  4871. }
  4872. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction.
  4873. func (in *TCPSocketAction) DeepCopy() *TCPSocketAction {
  4874. if in == nil {
  4875. return nil
  4876. }
  4877. out := new(TCPSocketAction)
  4878. in.DeepCopyInto(out)
  4879. return out
  4880. }
  4881. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4882. func (in *Taint) DeepCopyInto(out *Taint) {
  4883. *out = *in
  4884. if in.TimeAdded != nil {
  4885. in, out := &in.TimeAdded, &out.TimeAdded
  4886. *out = (*in).DeepCopy()
  4887. }
  4888. return
  4889. }
  4890. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint.
  4891. func (in *Taint) DeepCopy() *Taint {
  4892. if in == nil {
  4893. return nil
  4894. }
  4895. out := new(Taint)
  4896. in.DeepCopyInto(out)
  4897. return out
  4898. }
  4899. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4900. func (in *Toleration) DeepCopyInto(out *Toleration) {
  4901. *out = *in
  4902. if in.TolerationSeconds != nil {
  4903. in, out := &in.TolerationSeconds, &out.TolerationSeconds
  4904. *out = new(int64)
  4905. **out = **in
  4906. }
  4907. return
  4908. }
  4909. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Toleration.
  4910. func (in *Toleration) DeepCopy() *Toleration {
  4911. if in == nil {
  4912. return nil
  4913. }
  4914. out := new(Toleration)
  4915. in.DeepCopyInto(out)
  4916. return out
  4917. }
  4918. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4919. func (in *TopologySelectorLabelRequirement) DeepCopyInto(out *TopologySelectorLabelRequirement) {
  4920. *out = *in
  4921. if in.Values != nil {
  4922. in, out := &in.Values, &out.Values
  4923. *out = make([]string, len(*in))
  4924. copy(*out, *in)
  4925. }
  4926. return
  4927. }
  4928. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySelectorLabelRequirement.
  4929. func (in *TopologySelectorLabelRequirement) DeepCopy() *TopologySelectorLabelRequirement {
  4930. if in == nil {
  4931. return nil
  4932. }
  4933. out := new(TopologySelectorLabelRequirement)
  4934. in.DeepCopyInto(out)
  4935. return out
  4936. }
  4937. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4938. func (in *TopologySelectorTerm) DeepCopyInto(out *TopologySelectorTerm) {
  4939. *out = *in
  4940. if in.MatchLabelExpressions != nil {
  4941. in, out := &in.MatchLabelExpressions, &out.MatchLabelExpressions
  4942. *out = make([]TopologySelectorLabelRequirement, len(*in))
  4943. for i := range *in {
  4944. (*in)[i].DeepCopyInto(&(*out)[i])
  4945. }
  4946. }
  4947. return
  4948. }
  4949. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySelectorTerm.
  4950. func (in *TopologySelectorTerm) DeepCopy() *TopologySelectorTerm {
  4951. if in == nil {
  4952. return nil
  4953. }
  4954. out := new(TopologySelectorTerm)
  4955. in.DeepCopyInto(out)
  4956. return out
  4957. }
  4958. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4959. func (in *TopologySpreadConstraint) DeepCopyInto(out *TopologySpreadConstraint) {
  4960. *out = *in
  4961. if in.LabelSelector != nil {
  4962. in, out := &in.LabelSelector, &out.LabelSelector
  4963. *out = new(v1.LabelSelector)
  4964. (*in).DeepCopyInto(*out)
  4965. }
  4966. return
  4967. }
  4968. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySpreadConstraint.
  4969. func (in *TopologySpreadConstraint) DeepCopy() *TopologySpreadConstraint {
  4970. if in == nil {
  4971. return nil
  4972. }
  4973. out := new(TopologySpreadConstraint)
  4974. in.DeepCopyInto(out)
  4975. return out
  4976. }
  4977. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4978. func (in *TypedLocalObjectReference) DeepCopyInto(out *TypedLocalObjectReference) {
  4979. *out = *in
  4980. if in.APIGroup != nil {
  4981. in, out := &in.APIGroup, &out.APIGroup
  4982. *out = new(string)
  4983. **out = **in
  4984. }
  4985. return
  4986. }
  4987. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypedLocalObjectReference.
  4988. func (in *TypedLocalObjectReference) DeepCopy() *TypedLocalObjectReference {
  4989. if in == nil {
  4990. return nil
  4991. }
  4992. out := new(TypedLocalObjectReference)
  4993. in.DeepCopyInto(out)
  4994. return out
  4995. }
  4996. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  4997. func (in *Volume) DeepCopyInto(out *Volume) {
  4998. *out = *in
  4999. in.VolumeSource.DeepCopyInto(&out.VolumeSource)
  5000. return
  5001. }
  5002. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
  5003. func (in *Volume) DeepCopy() *Volume {
  5004. if in == nil {
  5005. return nil
  5006. }
  5007. out := new(Volume)
  5008. in.DeepCopyInto(out)
  5009. return out
  5010. }
  5011. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  5012. func (in *VolumeDevice) DeepCopyInto(out *VolumeDevice) {
  5013. *out = *in
  5014. return
  5015. }
  5016. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDevice.
  5017. func (in *VolumeDevice) DeepCopy() *VolumeDevice {
  5018. if in == nil {
  5019. return nil
  5020. }
  5021. out := new(VolumeDevice)
  5022. in.DeepCopyInto(out)
  5023. return out
  5024. }
  5025. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  5026. func (in *VolumeMount) DeepCopyInto(out *VolumeMount) {
  5027. *out = *in
  5028. if in.MountPropagation != nil {
  5029. in, out := &in.MountPropagation, &out.MountPropagation
  5030. *out = new(MountPropagationMode)
  5031. **out = **in
  5032. }
  5033. return
  5034. }
  5035. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount.
  5036. func (in *VolumeMount) DeepCopy() *VolumeMount {
  5037. if in == nil {
  5038. return nil
  5039. }
  5040. out := new(VolumeMount)
  5041. in.DeepCopyInto(out)
  5042. return out
  5043. }
  5044. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  5045. func (in *VolumeNodeAffinity) DeepCopyInto(out *VolumeNodeAffinity) {
  5046. *out = *in
  5047. if in.Required != nil {
  5048. in, out := &in.Required, &out.Required
  5049. *out = new(NodeSelector)
  5050. (*in).DeepCopyInto(*out)
  5051. }
  5052. return
  5053. }
  5054. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeAffinity.
  5055. func (in *VolumeNodeAffinity) DeepCopy() *VolumeNodeAffinity {
  5056. if in == nil {
  5057. return nil
  5058. }
  5059. out := new(VolumeNodeAffinity)
  5060. in.DeepCopyInto(out)
  5061. return out
  5062. }
  5063. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  5064. func (in *VolumeProjection) DeepCopyInto(out *VolumeProjection) {
  5065. *out = *in
  5066. if in.Secret != nil {
  5067. in, out := &in.Secret, &out.Secret
  5068. *out = new(SecretProjection)
  5069. (*in).DeepCopyInto(*out)
  5070. }
  5071. if in.DownwardAPI != nil {
  5072. in, out := &in.DownwardAPI, &out.DownwardAPI
  5073. *out = new(DownwardAPIProjection)
  5074. (*in).DeepCopyInto(*out)
  5075. }
  5076. if in.ConfigMap != nil {
  5077. in, out := &in.ConfigMap, &out.ConfigMap
  5078. *out = new(ConfigMapProjection)
  5079. (*in).DeepCopyInto(*out)
  5080. }
  5081. if in.ServiceAccountToken != nil {
  5082. in, out := &in.ServiceAccountToken, &out.ServiceAccountToken
  5083. *out = new(ServiceAccountTokenProjection)
  5084. **out = **in
  5085. }
  5086. return
  5087. }
  5088. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProjection.
  5089. func (in *VolumeProjection) DeepCopy() *VolumeProjection {
  5090. if in == nil {
  5091. return nil
  5092. }
  5093. out := new(VolumeProjection)
  5094. in.DeepCopyInto(out)
  5095. return out
  5096. }
  5097. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  5098. func (in *VolumeSource) DeepCopyInto(out *VolumeSource) {
  5099. *out = *in
  5100. if in.HostPath != nil {
  5101. in, out := &in.HostPath, &out.HostPath
  5102. *out = new(HostPathVolumeSource)
  5103. (*in).DeepCopyInto(*out)
  5104. }
  5105. if in.EmptyDir != nil {
  5106. in, out := &in.EmptyDir, &out.EmptyDir
  5107. *out = new(EmptyDirVolumeSource)
  5108. (*in).DeepCopyInto(*out)
  5109. }
  5110. if in.GCEPersistentDisk != nil {
  5111. in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk
  5112. *out = new(GCEPersistentDiskVolumeSource)
  5113. **out = **in
  5114. }
  5115. if in.AWSElasticBlockStore != nil {
  5116. in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore
  5117. *out = new(AWSElasticBlockStoreVolumeSource)
  5118. **out = **in
  5119. }
  5120. if in.GitRepo != nil {
  5121. in, out := &in.GitRepo, &out.GitRepo
  5122. *out = new(GitRepoVolumeSource)
  5123. **out = **in
  5124. }
  5125. if in.Secret != nil {
  5126. in, out := &in.Secret, &out.Secret
  5127. *out = new(SecretVolumeSource)
  5128. (*in).DeepCopyInto(*out)
  5129. }
  5130. if in.NFS != nil {
  5131. in, out := &in.NFS, &out.NFS
  5132. *out = new(NFSVolumeSource)
  5133. **out = **in
  5134. }
  5135. if in.ISCSI != nil {
  5136. in, out := &in.ISCSI, &out.ISCSI
  5137. *out = new(ISCSIVolumeSource)
  5138. (*in).DeepCopyInto(*out)
  5139. }
  5140. if in.Glusterfs != nil {
  5141. in, out := &in.Glusterfs, &out.Glusterfs
  5142. *out = new(GlusterfsVolumeSource)
  5143. **out = **in
  5144. }
  5145. if in.PersistentVolumeClaim != nil {
  5146. in, out := &in.PersistentVolumeClaim, &out.PersistentVolumeClaim
  5147. *out = new(PersistentVolumeClaimVolumeSource)
  5148. **out = **in
  5149. }
  5150. if in.RBD != nil {
  5151. in, out := &in.RBD, &out.RBD
  5152. *out = new(RBDVolumeSource)
  5153. (*in).DeepCopyInto(*out)
  5154. }
  5155. if in.Quobyte != nil {
  5156. in, out := &in.Quobyte, &out.Quobyte
  5157. *out = new(QuobyteVolumeSource)
  5158. **out = **in
  5159. }
  5160. if in.FlexVolume != nil {
  5161. in, out := &in.FlexVolume, &out.FlexVolume
  5162. *out = new(FlexVolumeSource)
  5163. (*in).DeepCopyInto(*out)
  5164. }
  5165. if in.Cinder != nil {
  5166. in, out := &in.Cinder, &out.Cinder
  5167. *out = new(CinderVolumeSource)
  5168. (*in).DeepCopyInto(*out)
  5169. }
  5170. if in.CephFS != nil {
  5171. in, out := &in.CephFS, &out.CephFS
  5172. *out = new(CephFSVolumeSource)
  5173. (*in).DeepCopyInto(*out)
  5174. }
  5175. if in.Flocker != nil {
  5176. in, out := &in.Flocker, &out.Flocker
  5177. *out = new(FlockerVolumeSource)
  5178. **out = **in
  5179. }
  5180. if in.DownwardAPI != nil {
  5181. in, out := &in.DownwardAPI, &out.DownwardAPI
  5182. *out = new(DownwardAPIVolumeSource)
  5183. (*in).DeepCopyInto(*out)
  5184. }
  5185. if in.FC != nil {
  5186. in, out := &in.FC, &out.FC
  5187. *out = new(FCVolumeSource)
  5188. (*in).DeepCopyInto(*out)
  5189. }
  5190. if in.AzureFile != nil {
  5191. in, out := &in.AzureFile, &out.AzureFile
  5192. *out = new(AzureFileVolumeSource)
  5193. **out = **in
  5194. }
  5195. if in.ConfigMap != nil {
  5196. in, out := &in.ConfigMap, &out.ConfigMap
  5197. *out = new(ConfigMapVolumeSource)
  5198. (*in).DeepCopyInto(*out)
  5199. }
  5200. if in.VsphereVolume != nil {
  5201. in, out := &in.VsphereVolume, &out.VsphereVolume
  5202. *out = new(VsphereVirtualDiskVolumeSource)
  5203. **out = **in
  5204. }
  5205. if in.AzureDisk != nil {
  5206. in, out := &in.AzureDisk, &out.AzureDisk
  5207. *out = new(AzureDiskVolumeSource)
  5208. (*in).DeepCopyInto(*out)
  5209. }
  5210. if in.PhotonPersistentDisk != nil {
  5211. in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk
  5212. *out = new(PhotonPersistentDiskVolumeSource)
  5213. **out = **in
  5214. }
  5215. if in.Projected != nil {
  5216. in, out := &in.Projected, &out.Projected
  5217. *out = new(ProjectedVolumeSource)
  5218. (*in).DeepCopyInto(*out)
  5219. }
  5220. if in.PortworxVolume != nil {
  5221. in, out := &in.PortworxVolume, &out.PortworxVolume
  5222. *out = new(PortworxVolumeSource)
  5223. **out = **in
  5224. }
  5225. if in.ScaleIO != nil {
  5226. in, out := &in.ScaleIO, &out.ScaleIO
  5227. *out = new(ScaleIOVolumeSource)
  5228. (*in).DeepCopyInto(*out)
  5229. }
  5230. if in.StorageOS != nil {
  5231. in, out := &in.StorageOS, &out.StorageOS
  5232. *out = new(StorageOSVolumeSource)
  5233. (*in).DeepCopyInto(*out)
  5234. }
  5235. if in.CSI != nil {
  5236. in, out := &in.CSI, &out.CSI
  5237. *out = new(CSIVolumeSource)
  5238. (*in).DeepCopyInto(*out)
  5239. }
  5240. return
  5241. }
  5242. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSource.
  5243. func (in *VolumeSource) DeepCopy() *VolumeSource {
  5244. if in == nil {
  5245. return nil
  5246. }
  5247. out := new(VolumeSource)
  5248. in.DeepCopyInto(out)
  5249. return out
  5250. }
  5251. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  5252. func (in *VsphereVirtualDiskVolumeSource) DeepCopyInto(out *VsphereVirtualDiskVolumeSource) {
  5253. *out = *in
  5254. return
  5255. }
  5256. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereVirtualDiskVolumeSource.
  5257. func (in *VsphereVirtualDiskVolumeSource) DeepCopy() *VsphereVirtualDiskVolumeSource {
  5258. if in == nil {
  5259. return nil
  5260. }
  5261. out := new(VsphereVirtualDiskVolumeSource)
  5262. in.DeepCopyInto(out)
  5263. return out
  5264. }
  5265. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  5266. func (in *WeightedPodAffinityTerm) DeepCopyInto(out *WeightedPodAffinityTerm) {
  5267. *out = *in
  5268. in.PodAffinityTerm.DeepCopyInto(&out.PodAffinityTerm)
  5269. return
  5270. }
  5271. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedPodAffinityTerm.
  5272. func (in *WeightedPodAffinityTerm) DeepCopy() *WeightedPodAffinityTerm {
  5273. if in == nil {
  5274. return nil
  5275. }
  5276. out := new(WeightedPodAffinityTerm)
  5277. in.DeepCopyInto(out)
  5278. return out
  5279. }
  5280. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  5281. func (in *WindowsSecurityContextOptions) DeepCopyInto(out *WindowsSecurityContextOptions) {
  5282. *out = *in
  5283. if in.GMSACredentialSpecName != nil {
  5284. in, out := &in.GMSACredentialSpecName, &out.GMSACredentialSpecName
  5285. *out = new(string)
  5286. **out = **in
  5287. }
  5288. if in.GMSACredentialSpec != nil {
  5289. in, out := &in.GMSACredentialSpec, &out.GMSACredentialSpec
  5290. *out = new(string)
  5291. **out = **in
  5292. }
  5293. if in.RunAsUserName != nil {
  5294. in, out := &in.RunAsUserName, &out.RunAsUserName
  5295. *out = new(string)
  5296. **out = **in
  5297. }
  5298. return
  5299. }
  5300. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowsSecurityContextOptions.
  5301. func (in *WindowsSecurityContextOptions) DeepCopy() *WindowsSecurityContextOptions {
  5302. if in == nil {
  5303. return nil
  5304. }
  5305. out := new(WindowsSecurityContextOptions)
  5306. in.DeepCopyInto(out)
  5307. return out
  5308. }