123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772 |
- // +build !ignore_autogenerated
- /*
- Copyright The Kubernetes Authors.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
- // Code generated by deepcopy-gen. DO NOT EDIT.
- package core
- import (
- v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- runtime "k8s.io/apimachinery/pkg/runtime"
- types "k8s.io/apimachinery/pkg/types"
- )
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AWSElasticBlockStoreVolumeSource) DeepCopyInto(out *AWSElasticBlockStoreVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource.
- func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource {
- if in == nil {
- return nil
- }
- out := new(AWSElasticBlockStoreVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Affinity) DeepCopyInto(out *Affinity) {
- *out = *in
- if in.NodeAffinity != nil {
- in, out := &in.NodeAffinity, &out.NodeAffinity
- *out = new(NodeAffinity)
- (*in).DeepCopyInto(*out)
- }
- if in.PodAffinity != nil {
- in, out := &in.PodAffinity, &out.PodAffinity
- *out = new(PodAffinity)
- (*in).DeepCopyInto(*out)
- }
- if in.PodAntiAffinity != nil {
- in, out := &in.PodAntiAffinity, &out.PodAntiAffinity
- *out = new(PodAntiAffinity)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Affinity.
- func (in *Affinity) DeepCopy() *Affinity {
- if in == nil {
- return nil
- }
- out := new(Affinity)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AttachedVolume) DeepCopyInto(out *AttachedVolume) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume.
- func (in *AttachedVolume) DeepCopy() *AttachedVolume {
- if in == nil {
- return nil
- }
- out := new(AttachedVolume)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AvoidPods) DeepCopyInto(out *AvoidPods) {
- *out = *in
- if in.PreferAvoidPods != nil {
- in, out := &in.PreferAvoidPods, &out.PreferAvoidPods
- *out = make([]PreferAvoidPodsEntry, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods.
- func (in *AvoidPods) DeepCopy() *AvoidPods {
- if in == nil {
- return nil
- }
- out := new(AvoidPods)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AzureDiskVolumeSource) DeepCopyInto(out *AzureDiskVolumeSource) {
- *out = *in
- if in.CachingMode != nil {
- in, out := &in.CachingMode, &out.CachingMode
- *out = new(AzureDataDiskCachingMode)
- **out = **in
- }
- if in.FSType != nil {
- in, out := &in.FSType, &out.FSType
- *out = new(string)
- **out = **in
- }
- if in.ReadOnly != nil {
- in, out := &in.ReadOnly, &out.ReadOnly
- *out = new(bool)
- **out = **in
- }
- if in.Kind != nil {
- in, out := &in.Kind, &out.Kind
- *out = new(AzureDataDiskKind)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource.
- func (in *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource {
- if in == nil {
- return nil
- }
- out := new(AzureDiskVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AzureFilePersistentVolumeSource) DeepCopyInto(out *AzureFilePersistentVolumeSource) {
- *out = *in
- if in.SecretNamespace != nil {
- in, out := &in.SecretNamespace, &out.SecretNamespace
- *out = new(string)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilePersistentVolumeSource.
- func (in *AzureFilePersistentVolumeSource) DeepCopy() *AzureFilePersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(AzureFilePersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AzureFileVolumeSource) DeepCopyInto(out *AzureFileVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource.
- func (in *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource {
- if in == nil {
- return nil
- }
- out := new(AzureFileVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Binding) DeepCopyInto(out *Binding) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- out.Target = in.Target
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding.
- func (in *Binding) DeepCopy() *Binding {
- if in == nil {
- return nil
- }
- out := new(Binding)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *Binding) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *CSIPersistentVolumeSource) DeepCopyInto(out *CSIPersistentVolumeSource) {
- *out = *in
- if in.VolumeAttributes != nil {
- in, out := &in.VolumeAttributes, &out.VolumeAttributes
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- if in.ControllerPublishSecretRef != nil {
- in, out := &in.ControllerPublishSecretRef, &out.ControllerPublishSecretRef
- *out = new(SecretReference)
- **out = **in
- }
- if in.NodeStageSecretRef != nil {
- in, out := &in.NodeStageSecretRef, &out.NodeStageSecretRef
- *out = new(SecretReference)
- **out = **in
- }
- if in.NodePublishSecretRef != nil {
- in, out := &in.NodePublishSecretRef, &out.NodePublishSecretRef
- *out = new(SecretReference)
- **out = **in
- }
- if in.ControllerExpandSecretRef != nil {
- in, out := &in.ControllerExpandSecretRef, &out.ControllerExpandSecretRef
- *out = new(SecretReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIPersistentVolumeSource.
- func (in *CSIPersistentVolumeSource) DeepCopy() *CSIPersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(CSIPersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *CSIVolumeSource) DeepCopyInto(out *CSIVolumeSource) {
- *out = *in
- if in.ReadOnly != nil {
- in, out := &in.ReadOnly, &out.ReadOnly
- *out = new(bool)
- **out = **in
- }
- if in.FSType != nil {
- in, out := &in.FSType, &out.FSType
- *out = new(string)
- **out = **in
- }
- if in.VolumeAttributes != nil {
- in, out := &in.VolumeAttributes, &out.VolumeAttributes
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- if in.NodePublishSecretRef != nil {
- in, out := &in.NodePublishSecretRef, &out.NodePublishSecretRef
- *out = new(LocalObjectReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIVolumeSource.
- func (in *CSIVolumeSource) DeepCopy() *CSIVolumeSource {
- if in == nil {
- return nil
- }
- out := new(CSIVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Capabilities) DeepCopyInto(out *Capabilities) {
- *out = *in
- if in.Add != nil {
- in, out := &in.Add, &out.Add
- *out = make([]Capability, len(*in))
- copy(*out, *in)
- }
- if in.Drop != nil {
- in, out := &in.Drop, &out.Drop
- *out = make([]Capability, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities.
- func (in *Capabilities) DeepCopy() *Capabilities {
- if in == nil {
- return nil
- }
- out := new(Capabilities)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *CephFSPersistentVolumeSource) DeepCopyInto(out *CephFSPersistentVolumeSource) {
- *out = *in
- if in.Monitors != nil {
- in, out := &in.Monitors, &out.Monitors
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(SecretReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSPersistentVolumeSource.
- func (in *CephFSPersistentVolumeSource) DeepCopy() *CephFSPersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(CephFSPersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *CephFSVolumeSource) DeepCopyInto(out *CephFSVolumeSource) {
- *out = *in
- if in.Monitors != nil {
- in, out := &in.Monitors, &out.Monitors
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(LocalObjectReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource.
- func (in *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource {
- if in == nil {
- return nil
- }
- out := new(CephFSVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *CinderPersistentVolumeSource) DeepCopyInto(out *CinderPersistentVolumeSource) {
- *out = *in
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(SecretReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderPersistentVolumeSource.
- func (in *CinderPersistentVolumeSource) DeepCopy() *CinderPersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(CinderPersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *CinderVolumeSource) DeepCopyInto(out *CinderVolumeSource) {
- *out = *in
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(LocalObjectReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource.
- func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource {
- if in == nil {
- return nil
- }
- out := new(CinderVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ClientIPConfig) DeepCopyInto(out *ClientIPConfig) {
- *out = *in
- if in.TimeoutSeconds != nil {
- in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
- *out = new(int32)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIPConfig.
- func (in *ClientIPConfig) DeepCopy() *ClientIPConfig {
- if in == nil {
- return nil
- }
- out := new(ClientIPConfig)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ComponentCondition) DeepCopyInto(out *ComponentCondition) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition.
- func (in *ComponentCondition) DeepCopy() *ComponentCondition {
- if in == nil {
- return nil
- }
- out := new(ComponentCondition)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]ComponentCondition, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
- func (in *ComponentStatus) DeepCopy() *ComponentStatus {
- if in == nil {
- return nil
- }
- out := new(ComponentStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ComponentStatus) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ComponentStatus, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList.
- func (in *ComponentStatusList) DeepCopy() *ComponentStatusList {
- if in == nil {
- return nil
- }
- out := new(ComponentStatusList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ComponentStatusList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ConfigMap) DeepCopyInto(out *ConfigMap) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- if in.Immutable != nil {
- in, out := &in.Immutable, &out.Immutable
- *out = new(bool)
- **out = **in
- }
- if in.Data != nil {
- in, out := &in.Data, &out.Data
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- if in.BinaryData != nil {
- in, out := &in.BinaryData, &out.BinaryData
- *out = make(map[string][]byte, len(*in))
- for key, val := range *in {
- var outVal []byte
- if val == nil {
- (*out)[key] = nil
- } else {
- in, out := &val, &outVal
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- (*out)[key] = outVal
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap.
- func (in *ConfigMap) DeepCopy() *ConfigMap {
- if in == nil {
- return nil
- }
- out := new(ConfigMap)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ConfigMap) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ConfigMapEnvSource) DeepCopyInto(out *ConfigMapEnvSource) {
- *out = *in
- out.LocalObjectReference = in.LocalObjectReference
- if in.Optional != nil {
- in, out := &in.Optional, &out.Optional
- *out = new(bool)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource.
- func (in *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource {
- if in == nil {
- return nil
- }
- out := new(ConfigMapEnvSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ConfigMapKeySelector) DeepCopyInto(out *ConfigMapKeySelector) {
- *out = *in
- out.LocalObjectReference = in.LocalObjectReference
- if in.Optional != nil {
- in, out := &in.Optional, &out.Optional
- *out = new(bool)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector.
- func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector {
- if in == nil {
- return nil
- }
- out := new(ConfigMapKeySelector)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ConfigMap, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList.
- func (in *ConfigMapList) DeepCopy() *ConfigMapList {
- if in == nil {
- return nil
- }
- out := new(ConfigMapList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ConfigMapList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ConfigMapNodeConfigSource) DeepCopyInto(out *ConfigMapNodeConfigSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapNodeConfigSource.
- func (in *ConfigMapNodeConfigSource) DeepCopy() *ConfigMapNodeConfigSource {
- if in == nil {
- return nil
- }
- out := new(ConfigMapNodeConfigSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ConfigMapProjection) DeepCopyInto(out *ConfigMapProjection) {
- *out = *in
- out.LocalObjectReference = in.LocalObjectReference
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]KeyToPath, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.Optional != nil {
- in, out := &in.Optional, &out.Optional
- *out = new(bool)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection.
- func (in *ConfigMapProjection) DeepCopy() *ConfigMapProjection {
- if in == nil {
- return nil
- }
- out := new(ConfigMapProjection)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ConfigMapVolumeSource) DeepCopyInto(out *ConfigMapVolumeSource) {
- *out = *in
- out.LocalObjectReference = in.LocalObjectReference
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]KeyToPath, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.DefaultMode != nil {
- in, out := &in.DefaultMode, &out.DefaultMode
- *out = new(int32)
- **out = **in
- }
- if in.Optional != nil {
- in, out := &in.Optional, &out.Optional
- *out = new(bool)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource.
- func (in *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource {
- if in == nil {
- return nil
- }
- out := new(ConfigMapVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Container) DeepCopyInto(out *Container) {
- *out = *in
- if in.Command != nil {
- in, out := &in.Command, &out.Command
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Args != nil {
- in, out := &in.Args, &out.Args
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Ports != nil {
- in, out := &in.Ports, &out.Ports
- *out = make([]ContainerPort, len(*in))
- copy(*out, *in)
- }
- if in.EnvFrom != nil {
- in, out := &in.EnvFrom, &out.EnvFrom
- *out = make([]EnvFromSource, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.Env != nil {
- in, out := &in.Env, &out.Env
- *out = make([]EnvVar, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- in.Resources.DeepCopyInto(&out.Resources)
- if in.VolumeMounts != nil {
- in, out := &in.VolumeMounts, &out.VolumeMounts
- *out = make([]VolumeMount, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.VolumeDevices != nil {
- in, out := &in.VolumeDevices, &out.VolumeDevices
- *out = make([]VolumeDevice, len(*in))
- copy(*out, *in)
- }
- if in.LivenessProbe != nil {
- in, out := &in.LivenessProbe, &out.LivenessProbe
- *out = new(Probe)
- (*in).DeepCopyInto(*out)
- }
- if in.ReadinessProbe != nil {
- in, out := &in.ReadinessProbe, &out.ReadinessProbe
- *out = new(Probe)
- (*in).DeepCopyInto(*out)
- }
- if in.StartupProbe != nil {
- in, out := &in.StartupProbe, &out.StartupProbe
- *out = new(Probe)
- (*in).DeepCopyInto(*out)
- }
- if in.Lifecycle != nil {
- in, out := &in.Lifecycle, &out.Lifecycle
- *out = new(Lifecycle)
- (*in).DeepCopyInto(*out)
- }
- if in.SecurityContext != nil {
- in, out := &in.SecurityContext, &out.SecurityContext
- *out = new(SecurityContext)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
- func (in *Container) DeepCopy() *Container {
- if in == nil {
- return nil
- }
- out := new(Container)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ContainerImage) DeepCopyInto(out *ContainerImage) {
- *out = *in
- if in.Names != nil {
- in, out := &in.Names, &out.Names
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage.
- func (in *ContainerImage) DeepCopy() *ContainerImage {
- if in == nil {
- return nil
- }
- out := new(ContainerImage)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ContainerPort) DeepCopyInto(out *ContainerPort) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort.
- func (in *ContainerPort) DeepCopy() *ContainerPort {
- if in == nil {
- return nil
- }
- out := new(ContainerPort)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ContainerState) DeepCopyInto(out *ContainerState) {
- *out = *in
- if in.Waiting != nil {
- in, out := &in.Waiting, &out.Waiting
- *out = new(ContainerStateWaiting)
- **out = **in
- }
- if in.Running != nil {
- in, out := &in.Running, &out.Running
- *out = new(ContainerStateRunning)
- (*in).DeepCopyInto(*out)
- }
- if in.Terminated != nil {
- in, out := &in.Terminated, &out.Terminated
- *out = new(ContainerStateTerminated)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState.
- func (in *ContainerState) DeepCopy() *ContainerState {
- if in == nil {
- return nil
- }
- out := new(ContainerState)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning) {
- *out = *in
- in.StartedAt.DeepCopyInto(&out.StartedAt)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning.
- func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning {
- if in == nil {
- return nil
- }
- out := new(ContainerStateRunning)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ContainerStateTerminated) DeepCopyInto(out *ContainerStateTerminated) {
- *out = *in
- in.StartedAt.DeepCopyInto(&out.StartedAt)
- in.FinishedAt.DeepCopyInto(&out.FinishedAt)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated.
- func (in *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated {
- if in == nil {
- return nil
- }
- out := new(ContainerStateTerminated)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ContainerStateWaiting) DeepCopyInto(out *ContainerStateWaiting) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting.
- func (in *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting {
- if in == nil {
- return nil
- }
- out := new(ContainerStateWaiting)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus) {
- *out = *in
- in.State.DeepCopyInto(&out.State)
- in.LastTerminationState.DeepCopyInto(&out.LastTerminationState)
- if in.Started != nil {
- in, out := &in.Started, &out.Started
- *out = new(bool)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus.
- func (in *ContainerStatus) DeepCopy() *ContainerStatus {
- if in == nil {
- return nil
- }
- out := new(ContainerStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *DaemonEndpoint) DeepCopyInto(out *DaemonEndpoint) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint.
- func (in *DaemonEndpoint) DeepCopy() *DaemonEndpoint {
- if in == nil {
- return nil
- }
- out := new(DaemonEndpoint)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *DownwardAPIProjection) DeepCopyInto(out *DownwardAPIProjection) {
- *out = *in
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]DownwardAPIVolumeFile, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection.
- func (in *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection {
- if in == nil {
- return nil
- }
- out := new(DownwardAPIProjection)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *DownwardAPIVolumeFile) DeepCopyInto(out *DownwardAPIVolumeFile) {
- *out = *in
- if in.FieldRef != nil {
- in, out := &in.FieldRef, &out.FieldRef
- *out = new(ObjectFieldSelector)
- **out = **in
- }
- if in.ResourceFieldRef != nil {
- in, out := &in.ResourceFieldRef, &out.ResourceFieldRef
- *out = new(ResourceFieldSelector)
- (*in).DeepCopyInto(*out)
- }
- if in.Mode != nil {
- in, out := &in.Mode, &out.Mode
- *out = new(int32)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeFile.
- func (in *DownwardAPIVolumeFile) DeepCopy() *DownwardAPIVolumeFile {
- if in == nil {
- return nil
- }
- out := new(DownwardAPIVolumeFile)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *DownwardAPIVolumeSource) DeepCopyInto(out *DownwardAPIVolumeSource) {
- *out = *in
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]DownwardAPIVolumeFile, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.DefaultMode != nil {
- in, out := &in.DefaultMode, &out.DefaultMode
- *out = new(int32)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeSource.
- func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource {
- if in == nil {
- return nil
- }
- out := new(DownwardAPIVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EmptyDirVolumeSource) DeepCopyInto(out *EmptyDirVolumeSource) {
- *out = *in
- if in.SizeLimit != nil {
- in, out := &in.SizeLimit, &out.SizeLimit
- x := (*in).DeepCopy()
- *out = &x
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirVolumeSource.
- func (in *EmptyDirVolumeSource) DeepCopy() *EmptyDirVolumeSource {
- if in == nil {
- return nil
- }
- out := new(EmptyDirVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EndpointAddress) DeepCopyInto(out *EndpointAddress) {
- *out = *in
- if in.NodeName != nil {
- in, out := &in.NodeName, &out.NodeName
- *out = new(string)
- **out = **in
- }
- if in.TargetRef != nil {
- in, out := &in.TargetRef, &out.TargetRef
- *out = new(ObjectReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAddress.
- func (in *EndpointAddress) DeepCopy() *EndpointAddress {
- if in == nil {
- return nil
- }
- out := new(EndpointAddress)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EndpointPort) DeepCopyInto(out *EndpointPort) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort.
- func (in *EndpointPort) DeepCopy() *EndpointPort {
- if in == nil {
- return nil
- }
- out := new(EndpointPort)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EndpointSubset) DeepCopyInto(out *EndpointSubset) {
- *out = *in
- if in.Addresses != nil {
- in, out := &in.Addresses, &out.Addresses
- *out = make([]EndpointAddress, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.NotReadyAddresses != nil {
- in, out := &in.NotReadyAddresses, &out.NotReadyAddresses
- *out = make([]EndpointAddress, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.Ports != nil {
- in, out := &in.Ports, &out.Ports
- *out = make([]EndpointPort, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubset.
- func (in *EndpointSubset) DeepCopy() *EndpointSubset {
- if in == nil {
- return nil
- }
- out := new(EndpointSubset)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Endpoints) DeepCopyInto(out *Endpoints) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- if in.Subsets != nil {
- in, out := &in.Subsets, &out.Subsets
- *out = make([]EndpointSubset, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints.
- func (in *Endpoints) DeepCopy() *Endpoints {
- if in == nil {
- return nil
- }
- out := new(Endpoints)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *Endpoints) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EndpointsList) DeepCopyInto(out *EndpointsList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Endpoints, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList.
- func (in *EndpointsList) DeepCopy() *EndpointsList {
- if in == nil {
- return nil
- }
- out := new(EndpointsList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *EndpointsList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EnvFromSource) DeepCopyInto(out *EnvFromSource) {
- *out = *in
- if in.ConfigMapRef != nil {
- in, out := &in.ConfigMapRef, &out.ConfigMapRef
- *out = new(ConfigMapEnvSource)
- (*in).DeepCopyInto(*out)
- }
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(SecretEnvSource)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvFromSource.
- func (in *EnvFromSource) DeepCopy() *EnvFromSource {
- if in == nil {
- return nil
- }
- out := new(EnvFromSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EnvVar) DeepCopyInto(out *EnvVar) {
- *out = *in
- if in.ValueFrom != nil {
- in, out := &in.ValueFrom, &out.ValueFrom
- *out = new(EnvVarSource)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
- func (in *EnvVar) DeepCopy() *EnvVar {
- if in == nil {
- return nil
- }
- out := new(EnvVar)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EnvVarSource) DeepCopyInto(out *EnvVarSource) {
- *out = *in
- if in.FieldRef != nil {
- in, out := &in.FieldRef, &out.FieldRef
- *out = new(ObjectFieldSelector)
- **out = **in
- }
- if in.ResourceFieldRef != nil {
- in, out := &in.ResourceFieldRef, &out.ResourceFieldRef
- *out = new(ResourceFieldSelector)
- (*in).DeepCopyInto(*out)
- }
- if in.ConfigMapKeyRef != nil {
- in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef
- *out = new(ConfigMapKeySelector)
- (*in).DeepCopyInto(*out)
- }
- if in.SecretKeyRef != nil {
- in, out := &in.SecretKeyRef, &out.SecretKeyRef
- *out = new(SecretKeySelector)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarSource.
- func (in *EnvVarSource) DeepCopy() *EnvVarSource {
- if in == nil {
- return nil
- }
- out := new(EnvVarSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EphemeralContainer) DeepCopyInto(out *EphemeralContainer) {
- *out = *in
- in.EphemeralContainerCommon.DeepCopyInto(&out.EphemeralContainerCommon)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralContainer.
- func (in *EphemeralContainer) DeepCopy() *EphemeralContainer {
- if in == nil {
- return nil
- }
- out := new(EphemeralContainer)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EphemeralContainerCommon) DeepCopyInto(out *EphemeralContainerCommon) {
- *out = *in
- if in.Command != nil {
- in, out := &in.Command, &out.Command
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Args != nil {
- in, out := &in.Args, &out.Args
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Ports != nil {
- in, out := &in.Ports, &out.Ports
- *out = make([]ContainerPort, len(*in))
- copy(*out, *in)
- }
- if in.EnvFrom != nil {
- in, out := &in.EnvFrom, &out.EnvFrom
- *out = make([]EnvFromSource, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.Env != nil {
- in, out := &in.Env, &out.Env
- *out = make([]EnvVar, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- in.Resources.DeepCopyInto(&out.Resources)
- if in.VolumeMounts != nil {
- in, out := &in.VolumeMounts, &out.VolumeMounts
- *out = make([]VolumeMount, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.VolumeDevices != nil {
- in, out := &in.VolumeDevices, &out.VolumeDevices
- *out = make([]VolumeDevice, len(*in))
- copy(*out, *in)
- }
- if in.LivenessProbe != nil {
- in, out := &in.LivenessProbe, &out.LivenessProbe
- *out = new(Probe)
- (*in).DeepCopyInto(*out)
- }
- if in.ReadinessProbe != nil {
- in, out := &in.ReadinessProbe, &out.ReadinessProbe
- *out = new(Probe)
- (*in).DeepCopyInto(*out)
- }
- if in.StartupProbe != nil {
- in, out := &in.StartupProbe, &out.StartupProbe
- *out = new(Probe)
- (*in).DeepCopyInto(*out)
- }
- if in.Lifecycle != nil {
- in, out := &in.Lifecycle, &out.Lifecycle
- *out = new(Lifecycle)
- (*in).DeepCopyInto(*out)
- }
- if in.SecurityContext != nil {
- in, out := &in.SecurityContext, &out.SecurityContext
- *out = new(SecurityContext)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralContainerCommon.
- func (in *EphemeralContainerCommon) DeepCopy() *EphemeralContainerCommon {
- if in == nil {
- return nil
- }
- out := new(EphemeralContainerCommon)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EphemeralContainers) DeepCopyInto(out *EphemeralContainers) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- if in.EphemeralContainers != nil {
- in, out := &in.EphemeralContainers, &out.EphemeralContainers
- *out = make([]EphemeralContainer, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralContainers.
- func (in *EphemeralContainers) DeepCopy() *EphemeralContainers {
- if in == nil {
- return nil
- }
- out := new(EphemeralContainers)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *EphemeralContainers) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Event) DeepCopyInto(out *Event) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- out.InvolvedObject = in.InvolvedObject
- out.Source = in.Source
- in.FirstTimestamp.DeepCopyInto(&out.FirstTimestamp)
- in.LastTimestamp.DeepCopyInto(&out.LastTimestamp)
- in.EventTime.DeepCopyInto(&out.EventTime)
- if in.Series != nil {
- in, out := &in.Series, &out.Series
- *out = new(EventSeries)
- (*in).DeepCopyInto(*out)
- }
- if in.Related != nil {
- in, out := &in.Related, &out.Related
- *out = new(ObjectReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
- func (in *Event) DeepCopy() *Event {
- if in == nil {
- return nil
- }
- out := new(Event)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *Event) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EventList) DeepCopyInto(out *EventList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Event, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList.
- func (in *EventList) DeepCopy() *EventList {
- if in == nil {
- return nil
- }
- out := new(EventList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *EventList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EventSeries) DeepCopyInto(out *EventSeries) {
- *out = *in
- in.LastObservedTime.DeepCopyInto(&out.LastObservedTime)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSeries.
- func (in *EventSeries) DeepCopy() *EventSeries {
- if in == nil {
- return nil
- }
- out := new(EventSeries)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *EventSource) DeepCopyInto(out *EventSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSource.
- func (in *EventSource) DeepCopy() *EventSource {
- if in == nil {
- return nil
- }
- out := new(EventSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExecAction) DeepCopyInto(out *ExecAction) {
- *out = *in
- if in.Command != nil {
- in, out := &in.Command, &out.Command
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction.
- func (in *ExecAction) DeepCopy() *ExecAction {
- if in == nil {
- return nil
- }
- out := new(ExecAction)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *FCVolumeSource) DeepCopyInto(out *FCVolumeSource) {
- *out = *in
- if in.TargetWWNs != nil {
- in, out := &in.TargetWWNs, &out.TargetWWNs
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Lun != nil {
- in, out := &in.Lun, &out.Lun
- *out = new(int32)
- **out = **in
- }
- if in.WWIDs != nil {
- in, out := &in.WWIDs, &out.WWIDs
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FCVolumeSource.
- func (in *FCVolumeSource) DeepCopy() *FCVolumeSource {
- if in == nil {
- return nil
- }
- out := new(FCVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *FlexPersistentVolumeSource) DeepCopyInto(out *FlexPersistentVolumeSource) {
- *out = *in
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(SecretReference)
- **out = **in
- }
- if in.Options != nil {
- in, out := &in.Options, &out.Options
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexPersistentVolumeSource.
- func (in *FlexPersistentVolumeSource) DeepCopy() *FlexPersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(FlexPersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *FlexVolumeSource) DeepCopyInto(out *FlexVolumeSource) {
- *out = *in
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(LocalObjectReference)
- **out = **in
- }
- if in.Options != nil {
- in, out := &in.Options, &out.Options
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource.
- func (in *FlexVolumeSource) DeepCopy() *FlexVolumeSource {
- if in == nil {
- return nil
- }
- out := new(FlexVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *FlockerVolumeSource) DeepCopyInto(out *FlockerVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlockerVolumeSource.
- func (in *FlockerVolumeSource) DeepCopy() *FlockerVolumeSource {
- if in == nil {
- return nil
- }
- out := new(FlockerVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *GCEPersistentDiskVolumeSource) DeepCopyInto(out *GCEPersistentDiskVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCEPersistentDiskVolumeSource.
- func (in *GCEPersistentDiskVolumeSource) DeepCopy() *GCEPersistentDiskVolumeSource {
- if in == nil {
- return nil
- }
- out := new(GCEPersistentDiskVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *GitRepoVolumeSource) DeepCopyInto(out *GitRepoVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource.
- func (in *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource {
- if in == nil {
- return nil
- }
- out := new(GitRepoVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *GlusterfsPersistentVolumeSource) DeepCopyInto(out *GlusterfsPersistentVolumeSource) {
- *out = *in
- if in.EndpointsNamespace != nil {
- in, out := &in.EndpointsNamespace, &out.EndpointsNamespace
- *out = new(string)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsPersistentVolumeSource.
- func (in *GlusterfsPersistentVolumeSource) DeepCopy() *GlusterfsPersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(GlusterfsPersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *GlusterfsVolumeSource) DeepCopyInto(out *GlusterfsVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsVolumeSource.
- func (in *GlusterfsVolumeSource) DeepCopy() *GlusterfsVolumeSource {
- if in == nil {
- return nil
- }
- out := new(GlusterfsVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction) {
- *out = *in
- out.Port = in.Port
- if in.HTTPHeaders != nil {
- in, out := &in.HTTPHeaders, &out.HTTPHeaders
- *out = make([]HTTPHeader, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPGetAction.
- func (in *HTTPGetAction) DeepCopy() *HTTPGetAction {
- if in == nil {
- return nil
- }
- out := new(HTTPGetAction)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader.
- func (in *HTTPHeader) DeepCopy() *HTTPHeader {
- if in == nil {
- return nil
- }
- out := new(HTTPHeader)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Handler) DeepCopyInto(out *Handler) {
- *out = *in
- if in.Exec != nil {
- in, out := &in.Exec, &out.Exec
- *out = new(ExecAction)
- (*in).DeepCopyInto(*out)
- }
- if in.HTTPGet != nil {
- in, out := &in.HTTPGet, &out.HTTPGet
- *out = new(HTTPGetAction)
- (*in).DeepCopyInto(*out)
- }
- if in.TCPSocket != nil {
- in, out := &in.TCPSocket, &out.TCPSocket
- *out = new(TCPSocketAction)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Handler.
- func (in *Handler) DeepCopy() *Handler {
- if in == nil {
- return nil
- }
- out := new(Handler)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *HostAlias) DeepCopyInto(out *HostAlias) {
- *out = *in
- if in.Hostnames != nil {
- in, out := &in.Hostnames, &out.Hostnames
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias.
- func (in *HostAlias) DeepCopy() *HostAlias {
- if in == nil {
- return nil
- }
- out := new(HostAlias)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *HostPathVolumeSource) DeepCopyInto(out *HostPathVolumeSource) {
- *out = *in
- if in.Type != nil {
- in, out := &in.Type, &out.Type
- *out = new(HostPathType)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathVolumeSource.
- func (in *HostPathVolumeSource) DeepCopy() *HostPathVolumeSource {
- if in == nil {
- return nil
- }
- out := new(HostPathVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ISCSIPersistentVolumeSource) DeepCopyInto(out *ISCSIPersistentVolumeSource) {
- *out = *in
- if in.Portals != nil {
- in, out := &in.Portals, &out.Portals
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(SecretReference)
- **out = **in
- }
- if in.InitiatorName != nil {
- in, out := &in.InitiatorName, &out.InitiatorName
- *out = new(string)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIPersistentVolumeSource.
- func (in *ISCSIPersistentVolumeSource) DeepCopy() *ISCSIPersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(ISCSIPersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ISCSIVolumeSource) DeepCopyInto(out *ISCSIVolumeSource) {
- *out = *in
- if in.Portals != nil {
- in, out := &in.Portals, &out.Portals
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(LocalObjectReference)
- **out = **in
- }
- if in.InitiatorName != nil {
- in, out := &in.InitiatorName, &out.InitiatorName
- *out = new(string)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIVolumeSource.
- func (in *ISCSIVolumeSource) DeepCopy() *ISCSIVolumeSource {
- if in == nil {
- return nil
- }
- out := new(ISCSIVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *KeyToPath) DeepCopyInto(out *KeyToPath) {
- *out = *in
- if in.Mode != nil {
- in, out := &in.Mode, &out.Mode
- *out = new(int32)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyToPath.
- func (in *KeyToPath) DeepCopy() *KeyToPath {
- if in == nil {
- return nil
- }
- out := new(KeyToPath)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Lifecycle) DeepCopyInto(out *Lifecycle) {
- *out = *in
- if in.PostStart != nil {
- in, out := &in.PostStart, &out.PostStart
- *out = new(Handler)
- (*in).DeepCopyInto(*out)
- }
- if in.PreStop != nil {
- in, out := &in.PreStop, &out.PreStop
- *out = new(Handler)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle.
- func (in *Lifecycle) DeepCopy() *Lifecycle {
- if in == nil {
- return nil
- }
- out := new(Lifecycle)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *LimitRange) DeepCopyInto(out *LimitRange) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRange.
- func (in *LimitRange) DeepCopy() *LimitRange {
- if in == nil {
- return nil
- }
- out := new(LimitRange)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *LimitRange) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *LimitRangeItem) DeepCopyInto(out *LimitRangeItem) {
- *out = *in
- if in.Max != nil {
- in, out := &in.Max, &out.Max
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.Min != nil {
- in, out := &in.Min, &out.Min
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.Default != nil {
- in, out := &in.Default, &out.Default
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.DefaultRequest != nil {
- in, out := &in.DefaultRequest, &out.DefaultRequest
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.MaxLimitRequestRatio != nil {
- in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeItem.
- func (in *LimitRangeItem) DeepCopy() *LimitRangeItem {
- if in == nil {
- return nil
- }
- out := new(LimitRangeItem)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *LimitRangeList) DeepCopyInto(out *LimitRangeList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]LimitRange, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeList.
- func (in *LimitRangeList) DeepCopy() *LimitRangeList {
- if in == nil {
- return nil
- }
- out := new(LimitRangeList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *LimitRangeList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *LimitRangeSpec) DeepCopyInto(out *LimitRangeSpec) {
- *out = *in
- if in.Limits != nil {
- in, out := &in.Limits, &out.Limits
- *out = make([]LimitRangeItem, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeSpec.
- func (in *LimitRangeSpec) DeepCopy() *LimitRangeSpec {
- if in == nil {
- return nil
- }
- out := new(LimitRangeSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *List) DeepCopyInto(out *List) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]runtime.Object, len(*in))
- for i := range *in {
- if (*in)[i] != nil {
- (*out)[i] = (*in)[i].DeepCopyObject()
- }
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List.
- func (in *List) DeepCopy() *List {
- if in == nil {
- return nil
- }
- out := new(List)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *List) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress.
- func (in *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress {
- if in == nil {
- return nil
- }
- out := new(LoadBalancerIngress)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) {
- *out = *in
- if in.Ingress != nil {
- in, out := &in.Ingress, &out.Ingress
- *out = make([]LoadBalancerIngress, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus.
- func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus {
- if in == nil {
- return nil
- }
- out := new(LoadBalancerStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference.
- func (in *LocalObjectReference) DeepCopy() *LocalObjectReference {
- if in == nil {
- return nil
- }
- out := new(LocalObjectReference)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *LocalVolumeSource) DeepCopyInto(out *LocalVolumeSource) {
- *out = *in
- if in.FSType != nil {
- in, out := &in.FSType, &out.FSType
- *out = new(string)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource.
- func (in *LocalVolumeSource) DeepCopy() *LocalVolumeSource {
- if in == nil {
- return nil
- }
- out := new(LocalVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NFSVolumeSource) DeepCopyInto(out *NFSVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource.
- func (in *NFSVolumeSource) DeepCopy() *NFSVolumeSource {
- if in == nil {
- return nil
- }
- out := new(NFSVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Namespace) DeepCopyInto(out *Namespace) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace.
- func (in *Namespace) DeepCopy() *Namespace {
- if in == nil {
- return nil
- }
- out := new(Namespace)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *Namespace) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NamespaceCondition) DeepCopyInto(out *NamespaceCondition) {
- *out = *in
- in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceCondition.
- func (in *NamespaceCondition) DeepCopy() *NamespaceCondition {
- if in == nil {
- return nil
- }
- out := new(NamespaceCondition)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NamespaceList) DeepCopyInto(out *NamespaceList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Namespace, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList.
- func (in *NamespaceList) DeepCopy() *NamespaceList {
- if in == nil {
- return nil
- }
- out := new(NamespaceList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *NamespaceList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) {
- *out = *in
- if in.Finalizers != nil {
- in, out := &in.Finalizers, &out.Finalizers
- *out = make([]FinalizerName, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec.
- func (in *NamespaceSpec) DeepCopy() *NamespaceSpec {
- if in == nil {
- return nil
- }
- out := new(NamespaceSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) {
- *out = *in
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]NamespaceCondition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus.
- func (in *NamespaceStatus) DeepCopy() *NamespaceStatus {
- if in == nil {
- return nil
- }
- out := new(NamespaceStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Node) DeepCopyInto(out *Node) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
- func (in *Node) DeepCopy() *Node {
- if in == nil {
- return nil
- }
- out := new(Node)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *Node) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeAddress) DeepCopyInto(out *NodeAddress) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress.
- func (in *NodeAddress) DeepCopy() *NodeAddress {
- if in == nil {
- return nil
- }
- out := new(NodeAddress)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeAffinity) DeepCopyInto(out *NodeAffinity) {
- *out = *in
- if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
- *out = new(NodeSelector)
- (*in).DeepCopyInto(*out)
- }
- if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
- *out = make([]PreferredSchedulingTerm, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinity.
- func (in *NodeAffinity) DeepCopy() *NodeAffinity {
- if in == nil {
- return nil
- }
- out := new(NodeAffinity)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeCondition) DeepCopyInto(out *NodeCondition) {
- *out = *in
- in.LastHeartbeatTime.DeepCopyInto(&out.LastHeartbeatTime)
- in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition.
- func (in *NodeCondition) DeepCopy() *NodeCondition {
- if in == nil {
- return nil
- }
- out := new(NodeCondition)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeConfigSource) DeepCopyInto(out *NodeConfigSource) {
- *out = *in
- if in.ConfigMap != nil {
- in, out := &in.ConfigMap, &out.ConfigMap
- *out = new(ConfigMapNodeConfigSource)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigSource.
- func (in *NodeConfigSource) DeepCopy() *NodeConfigSource {
- if in == nil {
- return nil
- }
- out := new(NodeConfigSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeConfigStatus) DeepCopyInto(out *NodeConfigStatus) {
- *out = *in
- if in.Assigned != nil {
- in, out := &in.Assigned, &out.Assigned
- *out = new(NodeConfigSource)
- (*in).DeepCopyInto(*out)
- }
- if in.Active != nil {
- in, out := &in.Active, &out.Active
- *out = new(NodeConfigSource)
- (*in).DeepCopyInto(*out)
- }
- if in.LastKnownGood != nil {
- in, out := &in.LastKnownGood, &out.LastKnownGood
- *out = new(NodeConfigSource)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigStatus.
- func (in *NodeConfigStatus) DeepCopy() *NodeConfigStatus {
- if in == nil {
- return nil
- }
- out := new(NodeConfigStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeDaemonEndpoints) DeepCopyInto(out *NodeDaemonEndpoints) {
- *out = *in
- out.KubeletEndpoint = in.KubeletEndpoint
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeDaemonEndpoints.
- func (in *NodeDaemonEndpoints) DeepCopy() *NodeDaemonEndpoints {
- if in == nil {
- return nil
- }
- out := new(NodeDaemonEndpoints)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeList) DeepCopyInto(out *NodeList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Node, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.
- func (in *NodeList) DeepCopy() *NodeList {
- if in == nil {
- return nil
- }
- out := new(NodeList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *NodeList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeProxyOptions) DeepCopyInto(out *NodeProxyOptions) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeProxyOptions.
- func (in *NodeProxyOptions) DeepCopy() *NodeProxyOptions {
- if in == nil {
- return nil
- }
- out := new(NodeProxyOptions)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *NodeProxyOptions) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeResources) DeepCopyInto(out *NodeResources) {
- *out = *in
- if in.Capacity != nil {
- in, out := &in.Capacity, &out.Capacity
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResources.
- func (in *NodeResources) DeepCopy() *NodeResources {
- if in == nil {
- return nil
- }
- out := new(NodeResources)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeSelector) DeepCopyInto(out *NodeSelector) {
- *out = *in
- if in.NodeSelectorTerms != nil {
- in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms
- *out = make([]NodeSelectorTerm, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector.
- func (in *NodeSelector) DeepCopy() *NodeSelector {
- if in == nil {
- return nil
- }
- out := new(NodeSelector)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeSelectorRequirement) DeepCopyInto(out *NodeSelectorRequirement) {
- *out = *in
- if in.Values != nil {
- in, out := &in.Values, &out.Values
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorRequirement.
- func (in *NodeSelectorRequirement) DeepCopy() *NodeSelectorRequirement {
- if in == nil {
- return nil
- }
- out := new(NodeSelectorRequirement)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeSelectorTerm) DeepCopyInto(out *NodeSelectorTerm) {
- *out = *in
- if in.MatchExpressions != nil {
- in, out := &in.MatchExpressions, &out.MatchExpressions
- *out = make([]NodeSelectorRequirement, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.MatchFields != nil {
- in, out := &in.MatchFields, &out.MatchFields
- *out = make([]NodeSelectorRequirement, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorTerm.
- func (in *NodeSelectorTerm) DeepCopy() *NodeSelectorTerm {
- if in == nil {
- return nil
- }
- out := new(NodeSelectorTerm)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeSpec) DeepCopyInto(out *NodeSpec) {
- *out = *in
- if in.PodCIDRs != nil {
- in, out := &in.PodCIDRs, &out.PodCIDRs
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Taints != nil {
- in, out := &in.Taints, &out.Taints
- *out = make([]Taint, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.ConfigSource != nil {
- in, out := &in.ConfigSource, &out.ConfigSource
- *out = new(NodeConfigSource)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec.
- func (in *NodeSpec) DeepCopy() *NodeSpec {
- if in == nil {
- return nil
- }
- out := new(NodeSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeStatus) DeepCopyInto(out *NodeStatus) {
- *out = *in
- if in.Capacity != nil {
- in, out := &in.Capacity, &out.Capacity
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.Allocatable != nil {
- in, out := &in.Allocatable, &out.Allocatable
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]NodeCondition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.Addresses != nil {
- in, out := &in.Addresses, &out.Addresses
- *out = make([]NodeAddress, len(*in))
- copy(*out, *in)
- }
- out.DaemonEndpoints = in.DaemonEndpoints
- out.NodeInfo = in.NodeInfo
- if in.Images != nil {
- in, out := &in.Images, &out.Images
- *out = make([]ContainerImage, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.VolumesInUse != nil {
- in, out := &in.VolumesInUse, &out.VolumesInUse
- *out = make([]UniqueVolumeName, len(*in))
- copy(*out, *in)
- }
- if in.VolumesAttached != nil {
- in, out := &in.VolumesAttached, &out.VolumesAttached
- *out = make([]AttachedVolume, len(*in))
- copy(*out, *in)
- }
- if in.Config != nil {
- in, out := &in.Config, &out.Config
- *out = new(NodeConfigStatus)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
- func (in *NodeStatus) DeepCopy() *NodeStatus {
- if in == nil {
- return nil
- }
- out := new(NodeStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *NodeSystemInfo) DeepCopyInto(out *NodeSystemInfo) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSystemInfo.
- func (in *NodeSystemInfo) DeepCopy() *NodeSystemInfo {
- if in == nil {
- return nil
- }
- out := new(NodeSystemInfo)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ObjectFieldSelector) DeepCopyInto(out *ObjectFieldSelector) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectFieldSelector.
- func (in *ObjectFieldSelector) DeepCopy() *ObjectFieldSelector {
- if in == nil {
- return nil
- }
- out := new(ObjectFieldSelector)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ObjectReference) DeepCopyInto(out *ObjectReference) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
- func (in *ObjectReference) DeepCopy() *ObjectReference {
- if in == nil {
- return nil
- }
- out := new(ObjectReference)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ObjectReference) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolume) DeepCopyInto(out *PersistentVolume) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- out.Status = in.Status
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolume.
- func (in *PersistentVolume) DeepCopy() *PersistentVolume {
- if in == nil {
- return nil
- }
- out := new(PersistentVolume)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PersistentVolume) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaim.
- func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim {
- if in == nil {
- return nil
- }
- out := new(PersistentVolumeClaim)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PersistentVolumeClaim) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolumeClaimCondition) DeepCopyInto(out *PersistentVolumeClaimCondition) {
- *out = *in
- in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
- in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimCondition.
- func (in *PersistentVolumeClaimCondition) DeepCopy() *PersistentVolumeClaimCondition {
- if in == nil {
- return nil
- }
- out := new(PersistentVolumeClaimCondition)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolumeClaimList) DeepCopyInto(out *PersistentVolumeClaimList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]PersistentVolumeClaim, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimList.
- func (in *PersistentVolumeClaimList) DeepCopy() *PersistentVolumeClaimList {
- if in == nil {
- return nil
- }
- out := new(PersistentVolumeClaimList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PersistentVolumeClaimList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolumeClaimSpec) DeepCopyInto(out *PersistentVolumeClaimSpec) {
- *out = *in
- if in.AccessModes != nil {
- in, out := &in.AccessModes, &out.AccessModes
- *out = make([]PersistentVolumeAccessMode, len(*in))
- copy(*out, *in)
- }
- if in.Selector != nil {
- in, out := &in.Selector, &out.Selector
- *out = new(v1.LabelSelector)
- (*in).DeepCopyInto(*out)
- }
- in.Resources.DeepCopyInto(&out.Resources)
- if in.StorageClassName != nil {
- in, out := &in.StorageClassName, &out.StorageClassName
- *out = new(string)
- **out = **in
- }
- if in.VolumeMode != nil {
- in, out := &in.VolumeMode, &out.VolumeMode
- *out = new(PersistentVolumeMode)
- **out = **in
- }
- if in.DataSource != nil {
- in, out := &in.DataSource, &out.DataSource
- *out = new(TypedLocalObjectReference)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimSpec.
- func (in *PersistentVolumeClaimSpec) DeepCopy() *PersistentVolumeClaimSpec {
- if in == nil {
- return nil
- }
- out := new(PersistentVolumeClaimSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolumeClaimStatus) DeepCopyInto(out *PersistentVolumeClaimStatus) {
- *out = *in
- if in.AccessModes != nil {
- in, out := &in.AccessModes, &out.AccessModes
- *out = make([]PersistentVolumeAccessMode, len(*in))
- copy(*out, *in)
- }
- if in.Capacity != nil {
- in, out := &in.Capacity, &out.Capacity
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]PersistentVolumeClaimCondition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimStatus.
- func (in *PersistentVolumeClaimStatus) DeepCopy() *PersistentVolumeClaimStatus {
- if in == nil {
- return nil
- }
- out := new(PersistentVolumeClaimStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolumeClaimVolumeSource) DeepCopyInto(out *PersistentVolumeClaimVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimVolumeSource.
- func (in *PersistentVolumeClaimVolumeSource) DeepCopy() *PersistentVolumeClaimVolumeSource {
- if in == nil {
- return nil
- }
- out := new(PersistentVolumeClaimVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolumeList) DeepCopyInto(out *PersistentVolumeList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]PersistentVolume, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeList.
- func (in *PersistentVolumeList) DeepCopy() *PersistentVolumeList {
- if in == nil {
- return nil
- }
- out := new(PersistentVolumeList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PersistentVolumeList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolumeSource) DeepCopyInto(out *PersistentVolumeSource) {
- *out = *in
- if in.GCEPersistentDisk != nil {
- in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk
- *out = new(GCEPersistentDiskVolumeSource)
- **out = **in
- }
- if in.AWSElasticBlockStore != nil {
- in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore
- *out = new(AWSElasticBlockStoreVolumeSource)
- **out = **in
- }
- if in.HostPath != nil {
- in, out := &in.HostPath, &out.HostPath
- *out = new(HostPathVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.Glusterfs != nil {
- in, out := &in.Glusterfs, &out.Glusterfs
- *out = new(GlusterfsPersistentVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.NFS != nil {
- in, out := &in.NFS, &out.NFS
- *out = new(NFSVolumeSource)
- **out = **in
- }
- if in.RBD != nil {
- in, out := &in.RBD, &out.RBD
- *out = new(RBDPersistentVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.Quobyte != nil {
- in, out := &in.Quobyte, &out.Quobyte
- *out = new(QuobyteVolumeSource)
- **out = **in
- }
- if in.ISCSI != nil {
- in, out := &in.ISCSI, &out.ISCSI
- *out = new(ISCSIPersistentVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.FlexVolume != nil {
- in, out := &in.FlexVolume, &out.FlexVolume
- *out = new(FlexPersistentVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.Cinder != nil {
- in, out := &in.Cinder, &out.Cinder
- *out = new(CinderPersistentVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.CephFS != nil {
- in, out := &in.CephFS, &out.CephFS
- *out = new(CephFSPersistentVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.FC != nil {
- in, out := &in.FC, &out.FC
- *out = new(FCVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.Flocker != nil {
- in, out := &in.Flocker, &out.Flocker
- *out = new(FlockerVolumeSource)
- **out = **in
- }
- if in.AzureFile != nil {
- in, out := &in.AzureFile, &out.AzureFile
- *out = new(AzureFilePersistentVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.VsphereVolume != nil {
- in, out := &in.VsphereVolume, &out.VsphereVolume
- *out = new(VsphereVirtualDiskVolumeSource)
- **out = **in
- }
- if in.AzureDisk != nil {
- in, out := &in.AzureDisk, &out.AzureDisk
- *out = new(AzureDiskVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.PhotonPersistentDisk != nil {
- in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk
- *out = new(PhotonPersistentDiskVolumeSource)
- **out = **in
- }
- if in.PortworxVolume != nil {
- in, out := &in.PortworxVolume, &out.PortworxVolume
- *out = new(PortworxVolumeSource)
- **out = **in
- }
- if in.ScaleIO != nil {
- in, out := &in.ScaleIO, &out.ScaleIO
- *out = new(ScaleIOPersistentVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.Local != nil {
- in, out := &in.Local, &out.Local
- *out = new(LocalVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.StorageOS != nil {
- in, out := &in.StorageOS, &out.StorageOS
- *out = new(StorageOSPersistentVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.CSI != nil {
- in, out := &in.CSI, &out.CSI
- *out = new(CSIPersistentVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSource.
- func (in *PersistentVolumeSource) DeepCopy() *PersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(PersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolumeSpec) DeepCopyInto(out *PersistentVolumeSpec) {
- *out = *in
- if in.Capacity != nil {
- in, out := &in.Capacity, &out.Capacity
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- in.PersistentVolumeSource.DeepCopyInto(&out.PersistentVolumeSource)
- if in.AccessModes != nil {
- in, out := &in.AccessModes, &out.AccessModes
- *out = make([]PersistentVolumeAccessMode, len(*in))
- copy(*out, *in)
- }
- if in.ClaimRef != nil {
- in, out := &in.ClaimRef, &out.ClaimRef
- *out = new(ObjectReference)
- **out = **in
- }
- if in.MountOptions != nil {
- in, out := &in.MountOptions, &out.MountOptions
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.VolumeMode != nil {
- in, out := &in.VolumeMode, &out.VolumeMode
- *out = new(PersistentVolumeMode)
- **out = **in
- }
- if in.NodeAffinity != nil {
- in, out := &in.NodeAffinity, &out.NodeAffinity
- *out = new(VolumeNodeAffinity)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSpec.
- func (in *PersistentVolumeSpec) DeepCopy() *PersistentVolumeSpec {
- if in == nil {
- return nil
- }
- out := new(PersistentVolumeSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PersistentVolumeStatus) DeepCopyInto(out *PersistentVolumeStatus) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeStatus.
- func (in *PersistentVolumeStatus) DeepCopy() *PersistentVolumeStatus {
- if in == nil {
- return nil
- }
- out := new(PersistentVolumeStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PhotonPersistentDiskVolumeSource) DeepCopyInto(out *PhotonPersistentDiskVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhotonPersistentDiskVolumeSource.
- func (in *PhotonPersistentDiskVolumeSource) DeepCopy() *PhotonPersistentDiskVolumeSource {
- if in == nil {
- return nil
- }
- out := new(PhotonPersistentDiskVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Pod) DeepCopyInto(out *Pod) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.
- func (in *Pod) DeepCopy() *Pod {
- if in == nil {
- return nil
- }
- out := new(Pod)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *Pod) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodAffinity) DeepCopyInto(out *PodAffinity) {
- *out = *in
- if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
- *out = make([]PodAffinityTerm, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
- *out = make([]WeightedPodAffinityTerm, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinity.
- func (in *PodAffinity) DeepCopy() *PodAffinity {
- if in == nil {
- return nil
- }
- out := new(PodAffinity)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodAffinityTerm) DeepCopyInto(out *PodAffinityTerm) {
- *out = *in
- if in.LabelSelector != nil {
- in, out := &in.LabelSelector, &out.LabelSelector
- *out = new(v1.LabelSelector)
- (*in).DeepCopyInto(*out)
- }
- if in.Namespaces != nil {
- in, out := &in.Namespaces, &out.Namespaces
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinityTerm.
- func (in *PodAffinityTerm) DeepCopy() *PodAffinityTerm {
- if in == nil {
- return nil
- }
- out := new(PodAffinityTerm)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodAntiAffinity) DeepCopyInto(out *PodAntiAffinity) {
- *out = *in
- if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
- *out = make([]PodAffinityTerm, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
- *out = make([]WeightedPodAffinityTerm, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAntiAffinity.
- func (in *PodAntiAffinity) DeepCopy() *PodAntiAffinity {
- if in == nil {
- return nil
- }
- out := new(PodAntiAffinity)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodAttachOptions) DeepCopyInto(out *PodAttachOptions) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAttachOptions.
- func (in *PodAttachOptions) DeepCopy() *PodAttachOptions {
- if in == nil {
- return nil
- }
- out := new(PodAttachOptions)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PodAttachOptions) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodCondition) DeepCopyInto(out *PodCondition) {
- *out = *in
- in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
- in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition.
- func (in *PodCondition) DeepCopy() *PodCondition {
- if in == nil {
- return nil
- }
- out := new(PodCondition)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodDNSConfig) DeepCopyInto(out *PodDNSConfig) {
- *out = *in
- if in.Nameservers != nil {
- in, out := &in.Nameservers, &out.Nameservers
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Searches != nil {
- in, out := &in.Searches, &out.Searches
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Options != nil {
- in, out := &in.Options, &out.Options
- *out = make([]PodDNSConfigOption, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDNSConfig.
- func (in *PodDNSConfig) DeepCopy() *PodDNSConfig {
- if in == nil {
- return nil
- }
- out := new(PodDNSConfig)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodDNSConfigOption) DeepCopyInto(out *PodDNSConfigOption) {
- *out = *in
- if in.Value != nil {
- in, out := &in.Value, &out.Value
- *out = new(string)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDNSConfigOption.
- func (in *PodDNSConfigOption) DeepCopy() *PodDNSConfigOption {
- if in == nil {
- return nil
- }
- out := new(PodDNSConfigOption)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodExecOptions) DeepCopyInto(out *PodExecOptions) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- if in.Command != nil {
- in, out := &in.Command, &out.Command
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodExecOptions.
- func (in *PodExecOptions) DeepCopy() *PodExecOptions {
- if in == nil {
- return nil
- }
- out := new(PodExecOptions)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PodExecOptions) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodIP) DeepCopyInto(out *PodIP) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodIP.
- func (in *PodIP) DeepCopy() *PodIP {
- if in == nil {
- return nil
- }
- out := new(PodIP)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodList) DeepCopyInto(out *PodList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Pod, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList.
- func (in *PodList) DeepCopy() *PodList {
- if in == nil {
- return nil
- }
- out := new(PodList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PodList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodLogOptions) DeepCopyInto(out *PodLogOptions) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- if in.SinceSeconds != nil {
- in, out := &in.SinceSeconds, &out.SinceSeconds
- *out = new(int64)
- **out = **in
- }
- if in.SinceTime != nil {
- in, out := &in.SinceTime, &out.SinceTime
- *out = (*in).DeepCopy()
- }
- if in.TailLines != nil {
- in, out := &in.TailLines, &out.TailLines
- *out = new(int64)
- **out = **in
- }
- if in.LimitBytes != nil {
- in, out := &in.LimitBytes, &out.LimitBytes
- *out = new(int64)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogOptions.
- func (in *PodLogOptions) DeepCopy() *PodLogOptions {
- if in == nil {
- return nil
- }
- out := new(PodLogOptions)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PodLogOptions) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodPortForwardOptions) DeepCopyInto(out *PodPortForwardOptions) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- if in.Ports != nil {
- in, out := &in.Ports, &out.Ports
- *out = make([]int32, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPortForwardOptions.
- func (in *PodPortForwardOptions) DeepCopy() *PodPortForwardOptions {
- if in == nil {
- return nil
- }
- out := new(PodPortForwardOptions)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PodPortForwardOptions) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodProxyOptions) DeepCopyInto(out *PodProxyOptions) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodProxyOptions.
- func (in *PodProxyOptions) DeepCopy() *PodProxyOptions {
- if in == nil {
- return nil
- }
- out := new(PodProxyOptions)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PodProxyOptions) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodReadinessGate) DeepCopyInto(out *PodReadinessGate) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReadinessGate.
- func (in *PodReadinessGate) DeepCopy() *PodReadinessGate {
- if in == nil {
- return nil
- }
- out := new(PodReadinessGate)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodSecurityContext) DeepCopyInto(out *PodSecurityContext) {
- *out = *in
- if in.ShareProcessNamespace != nil {
- in, out := &in.ShareProcessNamespace, &out.ShareProcessNamespace
- *out = new(bool)
- **out = **in
- }
- if in.SELinuxOptions != nil {
- in, out := &in.SELinuxOptions, &out.SELinuxOptions
- *out = new(SELinuxOptions)
- **out = **in
- }
- if in.WindowsOptions != nil {
- in, out := &in.WindowsOptions, &out.WindowsOptions
- *out = new(WindowsSecurityContextOptions)
- (*in).DeepCopyInto(*out)
- }
- if in.RunAsUser != nil {
- in, out := &in.RunAsUser, &out.RunAsUser
- *out = new(int64)
- **out = **in
- }
- if in.RunAsGroup != nil {
- in, out := &in.RunAsGroup, &out.RunAsGroup
- *out = new(int64)
- **out = **in
- }
- if in.RunAsNonRoot != nil {
- in, out := &in.RunAsNonRoot, &out.RunAsNonRoot
- *out = new(bool)
- **out = **in
- }
- if in.SupplementalGroups != nil {
- in, out := &in.SupplementalGroups, &out.SupplementalGroups
- *out = make([]int64, len(*in))
- copy(*out, *in)
- }
- if in.FSGroup != nil {
- in, out := &in.FSGroup, &out.FSGroup
- *out = new(int64)
- **out = **in
- }
- if in.Sysctls != nil {
- in, out := &in.Sysctls, &out.Sysctls
- *out = make([]Sysctl, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityContext.
- func (in *PodSecurityContext) DeepCopy() *PodSecurityContext {
- if in == nil {
- return nil
- }
- out := new(PodSecurityContext)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodSignature) DeepCopyInto(out *PodSignature) {
- *out = *in
- if in.PodController != nil {
- in, out := &in.PodController, &out.PodController
- *out = new(v1.OwnerReference)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSignature.
- func (in *PodSignature) DeepCopy() *PodSignature {
- if in == nil {
- return nil
- }
- out := new(PodSignature)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodSpec) DeepCopyInto(out *PodSpec) {
- *out = *in
- if in.Volumes != nil {
- in, out := &in.Volumes, &out.Volumes
- *out = make([]Volume, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.InitContainers != nil {
- in, out := &in.InitContainers, &out.InitContainers
- *out = make([]Container, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.Containers != nil {
- in, out := &in.Containers, &out.Containers
- *out = make([]Container, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.EphemeralContainers != nil {
- in, out := &in.EphemeralContainers, &out.EphemeralContainers
- *out = make([]EphemeralContainer, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.TerminationGracePeriodSeconds != nil {
- in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds
- *out = new(int64)
- **out = **in
- }
- if in.ActiveDeadlineSeconds != nil {
- in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
- *out = new(int64)
- **out = **in
- }
- if in.NodeSelector != nil {
- in, out := &in.NodeSelector, &out.NodeSelector
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- if in.AutomountServiceAccountToken != nil {
- in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken
- *out = new(bool)
- **out = **in
- }
- if in.SecurityContext != nil {
- in, out := &in.SecurityContext, &out.SecurityContext
- *out = new(PodSecurityContext)
- (*in).DeepCopyInto(*out)
- }
- if in.ImagePullSecrets != nil {
- in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
- *out = make([]LocalObjectReference, len(*in))
- copy(*out, *in)
- }
- if in.Affinity != nil {
- in, out := &in.Affinity, &out.Affinity
- *out = new(Affinity)
- (*in).DeepCopyInto(*out)
- }
- if in.Tolerations != nil {
- in, out := &in.Tolerations, &out.Tolerations
- *out = make([]Toleration, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.HostAliases != nil {
- in, out := &in.HostAliases, &out.HostAliases
- *out = make([]HostAlias, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.Priority != nil {
- in, out := &in.Priority, &out.Priority
- *out = new(int32)
- **out = **in
- }
- if in.PreemptionPolicy != nil {
- in, out := &in.PreemptionPolicy, &out.PreemptionPolicy
- *out = new(PreemptionPolicy)
- **out = **in
- }
- if in.DNSConfig != nil {
- in, out := &in.DNSConfig, &out.DNSConfig
- *out = new(PodDNSConfig)
- (*in).DeepCopyInto(*out)
- }
- if in.ReadinessGates != nil {
- in, out := &in.ReadinessGates, &out.ReadinessGates
- *out = make([]PodReadinessGate, len(*in))
- copy(*out, *in)
- }
- if in.RuntimeClassName != nil {
- in, out := &in.RuntimeClassName, &out.RuntimeClassName
- *out = new(string)
- **out = **in
- }
- if in.Overhead != nil {
- in, out := &in.Overhead, &out.Overhead
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.EnableServiceLinks != nil {
- in, out := &in.EnableServiceLinks, &out.EnableServiceLinks
- *out = new(bool)
- **out = **in
- }
- if in.TopologySpreadConstraints != nil {
- in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
- *out = make([]TopologySpreadConstraint, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.
- func (in *PodSpec) DeepCopy() *PodSpec {
- if in == nil {
- return nil
- }
- out := new(PodSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodStatus) DeepCopyInto(out *PodStatus) {
- *out = *in
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]PodCondition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.PodIPs != nil {
- in, out := &in.PodIPs, &out.PodIPs
- *out = make([]PodIP, len(*in))
- copy(*out, *in)
- }
- if in.StartTime != nil {
- in, out := &in.StartTime, &out.StartTime
- *out = (*in).DeepCopy()
- }
- if in.InitContainerStatuses != nil {
- in, out := &in.InitContainerStatuses, &out.InitContainerStatuses
- *out = make([]ContainerStatus, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.ContainerStatuses != nil {
- in, out := &in.ContainerStatuses, &out.ContainerStatuses
- *out = make([]ContainerStatus, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.EphemeralContainerStatuses != nil {
- in, out := &in.EphemeralContainerStatuses, &out.EphemeralContainerStatuses
- *out = make([]ContainerStatus, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus.
- func (in *PodStatus) DeepCopy() *PodStatus {
- if in == nil {
- return nil
- }
- out := new(PodStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodStatusResult) DeepCopyInto(out *PodStatusResult) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Status.DeepCopyInto(&out.Status)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatusResult.
- func (in *PodStatusResult) DeepCopy() *PodStatusResult {
- if in == nil {
- return nil
- }
- out := new(PodStatusResult)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PodStatusResult) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodTemplate) DeepCopyInto(out *PodTemplate) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Template.DeepCopyInto(&out.Template)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplate.
- func (in *PodTemplate) DeepCopy() *PodTemplate {
- if in == nil {
- return nil
- }
- out := new(PodTemplate)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PodTemplate) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodTemplateList) DeepCopyInto(out *PodTemplateList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]PodTemplate, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateList.
- func (in *PodTemplateList) DeepCopy() *PodTemplateList {
- if in == nil {
- return nil
- }
- out := new(PodTemplateList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PodTemplateList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec) {
- *out = *in
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateSpec.
- func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec {
- if in == nil {
- return nil
- }
- out := new(PodTemplateSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PortworxVolumeSource) DeepCopyInto(out *PortworxVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortworxVolumeSource.
- func (in *PortworxVolumeSource) DeepCopy() *PortworxVolumeSource {
- if in == nil {
- return nil
- }
- out := new(PortworxVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Preconditions) DeepCopyInto(out *Preconditions) {
- *out = *in
- if in.UID != nil {
- in, out := &in.UID, &out.UID
- *out = new(types.UID)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions.
- func (in *Preconditions) DeepCopy() *Preconditions {
- if in == nil {
- return nil
- }
- out := new(Preconditions)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PreferAvoidPodsEntry) DeepCopyInto(out *PreferAvoidPodsEntry) {
- *out = *in
- in.PodSignature.DeepCopyInto(&out.PodSignature)
- in.EvictionTime.DeepCopyInto(&out.EvictionTime)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferAvoidPodsEntry.
- func (in *PreferAvoidPodsEntry) DeepCopy() *PreferAvoidPodsEntry {
- if in == nil {
- return nil
- }
- out := new(PreferAvoidPodsEntry)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PreferredSchedulingTerm) DeepCopyInto(out *PreferredSchedulingTerm) {
- *out = *in
- in.Preference.DeepCopyInto(&out.Preference)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferredSchedulingTerm.
- func (in *PreferredSchedulingTerm) DeepCopy() *PreferredSchedulingTerm {
- if in == nil {
- return nil
- }
- out := new(PreferredSchedulingTerm)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Probe) DeepCopyInto(out *Probe) {
- *out = *in
- in.Handler.DeepCopyInto(&out.Handler)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe.
- func (in *Probe) DeepCopy() *Probe {
- if in == nil {
- return nil
- }
- out := new(Probe)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ProjectedVolumeSource) DeepCopyInto(out *ProjectedVolumeSource) {
- *out = *in
- if in.Sources != nil {
- in, out := &in.Sources, &out.Sources
- *out = make([]VolumeProjection, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.DefaultMode != nil {
- in, out := &in.DefaultMode, &out.DefaultMode
- *out = new(int32)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectedVolumeSource.
- func (in *ProjectedVolumeSource) DeepCopy() *ProjectedVolumeSource {
- if in == nil {
- return nil
- }
- out := new(ProjectedVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *QuobyteVolumeSource) DeepCopyInto(out *QuobyteVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuobyteVolumeSource.
- func (in *QuobyteVolumeSource) DeepCopy() *QuobyteVolumeSource {
- if in == nil {
- return nil
- }
- out := new(QuobyteVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *RBDPersistentVolumeSource) DeepCopyInto(out *RBDPersistentVolumeSource) {
- *out = *in
- if in.CephMonitors != nil {
- in, out := &in.CephMonitors, &out.CephMonitors
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(SecretReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDPersistentVolumeSource.
- func (in *RBDPersistentVolumeSource) DeepCopy() *RBDPersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(RBDPersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *RBDVolumeSource) DeepCopyInto(out *RBDVolumeSource) {
- *out = *in
- if in.CephMonitors != nil {
- in, out := &in.CephMonitors, &out.CephMonitors
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(LocalObjectReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDVolumeSource.
- func (in *RBDVolumeSource) DeepCopy() *RBDVolumeSource {
- if in == nil {
- return nil
- }
- out := new(RBDVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *RangeAllocation) DeepCopyInto(out *RangeAllocation) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- if in.Data != nil {
- in, out := &in.Data, &out.Data
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation.
- func (in *RangeAllocation) DeepCopy() *RangeAllocation {
- if in == nil {
- return nil
- }
- out := new(RangeAllocation)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *RangeAllocation) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ReplicationController) DeepCopyInto(out *ReplicationController) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationController.
- func (in *ReplicationController) DeepCopy() *ReplicationController {
- if in == nil {
- return nil
- }
- out := new(ReplicationController)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ReplicationController) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ReplicationControllerCondition) DeepCopyInto(out *ReplicationControllerCondition) {
- *out = *in
- in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerCondition.
- func (in *ReplicationControllerCondition) DeepCopy() *ReplicationControllerCondition {
- if in == nil {
- return nil
- }
- out := new(ReplicationControllerCondition)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ReplicationControllerList) DeepCopyInto(out *ReplicationControllerList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ReplicationController, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerList.
- func (in *ReplicationControllerList) DeepCopy() *ReplicationControllerList {
- if in == nil {
- return nil
- }
- out := new(ReplicationControllerList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ReplicationControllerList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ReplicationControllerSpec) DeepCopyInto(out *ReplicationControllerSpec) {
- *out = *in
- if in.Selector != nil {
- in, out := &in.Selector, &out.Selector
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- if in.Template != nil {
- in, out := &in.Template, &out.Template
- *out = new(PodTemplateSpec)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerSpec.
- func (in *ReplicationControllerSpec) DeepCopy() *ReplicationControllerSpec {
- if in == nil {
- return nil
- }
- out := new(ReplicationControllerSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ReplicationControllerStatus) DeepCopyInto(out *ReplicationControllerStatus) {
- *out = *in
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]ReplicationControllerCondition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerStatus.
- func (in *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus {
- if in == nil {
- return nil
- }
- out := new(ReplicationControllerStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ResourceFieldSelector) DeepCopyInto(out *ResourceFieldSelector) {
- *out = *in
- out.Divisor = in.Divisor.DeepCopy()
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldSelector.
- func (in *ResourceFieldSelector) DeepCopy() *ResourceFieldSelector {
- if in == nil {
- return nil
- }
- out := new(ResourceFieldSelector)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in ResourceList) DeepCopyInto(out *ResourceList) {
- {
- in := &in
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- return
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList.
- func (in ResourceList) DeepCopy() ResourceList {
- if in == nil {
- return nil
- }
- out := new(ResourceList)
- in.DeepCopyInto(out)
- return *out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ResourceQuota) DeepCopyInto(out *ResourceQuota) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuota.
- func (in *ResourceQuota) DeepCopy() *ResourceQuota {
- if in == nil {
- return nil
- }
- out := new(ResourceQuota)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ResourceQuota) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ResourceQuotaList) DeepCopyInto(out *ResourceQuotaList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ResourceQuota, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList.
- func (in *ResourceQuotaList) DeepCopy() *ResourceQuotaList {
- if in == nil {
- return nil
- }
- out := new(ResourceQuotaList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ResourceQuotaList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ResourceQuotaSpec) DeepCopyInto(out *ResourceQuotaSpec) {
- *out = *in
- if in.Hard != nil {
- in, out := &in.Hard, &out.Hard
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.Scopes != nil {
- in, out := &in.Scopes, &out.Scopes
- *out = make([]ResourceQuotaScope, len(*in))
- copy(*out, *in)
- }
- if in.ScopeSelector != nil {
- in, out := &in.ScopeSelector, &out.ScopeSelector
- *out = new(ScopeSelector)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec.
- func (in *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec {
- if in == nil {
- return nil
- }
- out := new(ResourceQuotaSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ResourceQuotaStatus) DeepCopyInto(out *ResourceQuotaStatus) {
- *out = *in
- if in.Hard != nil {
- in, out := &in.Hard, &out.Hard
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.Used != nil {
- in, out := &in.Used, &out.Used
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatus.
- func (in *ResourceQuotaStatus) DeepCopy() *ResourceQuotaStatus {
- if in == nil {
- return nil
- }
- out := new(ResourceQuotaStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) {
- *out = *in
- if in.Limits != nil {
- in, out := &in.Limits, &out.Limits
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- if in.Requests != nil {
- in, out := &in.Requests, &out.Requests
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements.
- func (in *ResourceRequirements) DeepCopy() *ResourceRequirements {
- if in == nil {
- return nil
- }
- out := new(ResourceRequirements)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *SELinuxOptions) DeepCopyInto(out *SELinuxOptions) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxOptions.
- func (in *SELinuxOptions) DeepCopy() *SELinuxOptions {
- if in == nil {
- return nil
- }
- out := new(SELinuxOptions)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ScaleIOPersistentVolumeSource) DeepCopyInto(out *ScaleIOPersistentVolumeSource) {
- *out = *in
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(SecretReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOPersistentVolumeSource.
- func (in *ScaleIOPersistentVolumeSource) DeepCopy() *ScaleIOPersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(ScaleIOPersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ScaleIOVolumeSource) DeepCopyInto(out *ScaleIOVolumeSource) {
- *out = *in
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(LocalObjectReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOVolumeSource.
- func (in *ScaleIOVolumeSource) DeepCopy() *ScaleIOVolumeSource {
- if in == nil {
- return nil
- }
- out := new(ScaleIOVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ScopeSelector) DeepCopyInto(out *ScopeSelector) {
- *out = *in
- if in.MatchExpressions != nil {
- in, out := &in.MatchExpressions, &out.MatchExpressions
- *out = make([]ScopedResourceSelectorRequirement, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeSelector.
- func (in *ScopeSelector) DeepCopy() *ScopeSelector {
- if in == nil {
- return nil
- }
- out := new(ScopeSelector)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ScopedResourceSelectorRequirement) DeepCopyInto(out *ScopedResourceSelectorRequirement) {
- *out = *in
- if in.Values != nil {
- in, out := &in.Values, &out.Values
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopedResourceSelectorRequirement.
- func (in *ScopedResourceSelectorRequirement) DeepCopy() *ScopedResourceSelectorRequirement {
- if in == nil {
- return nil
- }
- out := new(ScopedResourceSelectorRequirement)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Secret) DeepCopyInto(out *Secret) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- if in.Immutable != nil {
- in, out := &in.Immutable, &out.Immutable
- *out = new(bool)
- **out = **in
- }
- if in.Data != nil {
- in, out := &in.Data, &out.Data
- *out = make(map[string][]byte, len(*in))
- for key, val := range *in {
- var outVal []byte
- if val == nil {
- (*out)[key] = nil
- } else {
- in, out := &val, &outVal
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- (*out)[key] = outVal
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
- func (in *Secret) DeepCopy() *Secret {
- if in == nil {
- return nil
- }
- out := new(Secret)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *Secret) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *SecretEnvSource) DeepCopyInto(out *SecretEnvSource) {
- *out = *in
- out.LocalObjectReference = in.LocalObjectReference
- if in.Optional != nil {
- in, out := &in.Optional, &out.Optional
- *out = new(bool)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvSource.
- func (in *SecretEnvSource) DeepCopy() *SecretEnvSource {
- if in == nil {
- return nil
- }
- out := new(SecretEnvSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector) {
- *out = *in
- out.LocalObjectReference = in.LocalObjectReference
- if in.Optional != nil {
- in, out := &in.Optional, &out.Optional
- *out = new(bool)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector.
- func (in *SecretKeySelector) DeepCopy() *SecretKeySelector {
- if in == nil {
- return nil
- }
- out := new(SecretKeySelector)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *SecretList) DeepCopyInto(out *SecretList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Secret, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList.
- func (in *SecretList) DeepCopy() *SecretList {
- if in == nil {
- return nil
- }
- out := new(SecretList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *SecretList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *SecretProjection) DeepCopyInto(out *SecretProjection) {
- *out = *in
- out.LocalObjectReference = in.LocalObjectReference
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]KeyToPath, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.Optional != nil {
- in, out := &in.Optional, &out.Optional
- *out = new(bool)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProjection.
- func (in *SecretProjection) DeepCopy() *SecretProjection {
- if in == nil {
- return nil
- }
- out := new(SecretProjection)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *SecretReference) DeepCopyInto(out *SecretReference) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
- func (in *SecretReference) DeepCopy() *SecretReference {
- if in == nil {
- return nil
- }
- out := new(SecretReference)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *SecretVolumeSource) DeepCopyInto(out *SecretVolumeSource) {
- *out = *in
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]KeyToPath, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.DefaultMode != nil {
- in, out := &in.DefaultMode, &out.DefaultMode
- *out = new(int32)
- **out = **in
- }
- if in.Optional != nil {
- in, out := &in.Optional, &out.Optional
- *out = new(bool)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumeSource.
- func (in *SecretVolumeSource) DeepCopy() *SecretVolumeSource {
- if in == nil {
- return nil
- }
- out := new(SecretVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *SecurityContext) DeepCopyInto(out *SecurityContext) {
- *out = *in
- if in.Capabilities != nil {
- in, out := &in.Capabilities, &out.Capabilities
- *out = new(Capabilities)
- (*in).DeepCopyInto(*out)
- }
- if in.Privileged != nil {
- in, out := &in.Privileged, &out.Privileged
- *out = new(bool)
- **out = **in
- }
- if in.SELinuxOptions != nil {
- in, out := &in.SELinuxOptions, &out.SELinuxOptions
- *out = new(SELinuxOptions)
- **out = **in
- }
- if in.WindowsOptions != nil {
- in, out := &in.WindowsOptions, &out.WindowsOptions
- *out = new(WindowsSecurityContextOptions)
- (*in).DeepCopyInto(*out)
- }
- if in.RunAsUser != nil {
- in, out := &in.RunAsUser, &out.RunAsUser
- *out = new(int64)
- **out = **in
- }
- if in.RunAsGroup != nil {
- in, out := &in.RunAsGroup, &out.RunAsGroup
- *out = new(int64)
- **out = **in
- }
- if in.RunAsNonRoot != nil {
- in, out := &in.RunAsNonRoot, &out.RunAsNonRoot
- *out = new(bool)
- **out = **in
- }
- if in.ReadOnlyRootFilesystem != nil {
- in, out := &in.ReadOnlyRootFilesystem, &out.ReadOnlyRootFilesystem
- *out = new(bool)
- **out = **in
- }
- if in.AllowPrivilegeEscalation != nil {
- in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation
- *out = new(bool)
- **out = **in
- }
- if in.ProcMount != nil {
- in, out := &in.ProcMount, &out.ProcMount
- *out = new(ProcMountType)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext.
- func (in *SecurityContext) DeepCopy() *SecurityContext {
- if in == nil {
- return nil
- }
- out := new(SecurityContext)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *SerializedReference) DeepCopyInto(out *SerializedReference) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- out.Reference = in.Reference
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedReference.
- func (in *SerializedReference) DeepCopy() *SerializedReference {
- if in == nil {
- return nil
- }
- out := new(SerializedReference)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *SerializedReference) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Service) DeepCopyInto(out *Service) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
- func (in *Service) DeepCopy() *Service {
- if in == nil {
- return nil
- }
- out := new(Service)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *Service) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- if in.Secrets != nil {
- in, out := &in.Secrets, &out.Secrets
- *out = make([]ObjectReference, len(*in))
- copy(*out, *in)
- }
- if in.ImagePullSecrets != nil {
- in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
- *out = make([]LocalObjectReference, len(*in))
- copy(*out, *in)
- }
- if in.AutomountServiceAccountToken != nil {
- in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken
- *out = new(bool)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount.
- func (in *ServiceAccount) DeepCopy() *ServiceAccount {
- if in == nil {
- return nil
- }
- out := new(ServiceAccount)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ServiceAccount) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ServiceAccount, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList.
- func (in *ServiceAccountList) DeepCopy() *ServiceAccountList {
- if in == nil {
- return nil
- }
- out := new(ServiceAccountList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ServiceAccountList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ServiceAccountTokenProjection) DeepCopyInto(out *ServiceAccountTokenProjection) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenProjection.
- func (in *ServiceAccountTokenProjection) DeepCopy() *ServiceAccountTokenProjection {
- if in == nil {
- return nil
- }
- out := new(ServiceAccountTokenProjection)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ServiceList) DeepCopyInto(out *ServiceList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Service, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.
- func (in *ServiceList) DeepCopy() *ServiceList {
- if in == nil {
- return nil
- }
- out := new(ServiceList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ServiceList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ServicePort) DeepCopyInto(out *ServicePort) {
- *out = *in
- out.TargetPort = in.TargetPort
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort.
- func (in *ServicePort) DeepCopy() *ServicePort {
- if in == nil {
- return nil
- }
- out := new(ServicePort)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ServiceProxyOptions) DeepCopyInto(out *ServiceProxyOptions) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyOptions.
- func (in *ServiceProxyOptions) DeepCopy() *ServiceProxyOptions {
- if in == nil {
- return nil
- }
- out := new(ServiceProxyOptions)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ServiceProxyOptions) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) {
- *out = *in
- if in.Ports != nil {
- in, out := &in.Ports, &out.Ports
- *out = make([]ServicePort, len(*in))
- copy(*out, *in)
- }
- if in.Selector != nil {
- in, out := &in.Selector, &out.Selector
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- if in.ExternalIPs != nil {
- in, out := &in.ExternalIPs, &out.ExternalIPs
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.SessionAffinityConfig != nil {
- in, out := &in.SessionAffinityConfig, &out.SessionAffinityConfig
- *out = new(SessionAffinityConfig)
- (*in).DeepCopyInto(*out)
- }
- if in.LoadBalancerSourceRanges != nil {
- in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.IPFamily != nil {
- in, out := &in.IPFamily, &out.IPFamily
- *out = new(IPFamily)
- **out = **in
- }
- if in.TopologyKeys != nil {
- in, out := &in.TopologyKeys, &out.TopologyKeys
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
- func (in *ServiceSpec) DeepCopy() *ServiceSpec {
- if in == nil {
- return nil
- }
- out := new(ServiceSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) {
- *out = *in
- in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.
- func (in *ServiceStatus) DeepCopy() *ServiceStatus {
- if in == nil {
- return nil
- }
- out := new(ServiceStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *SessionAffinityConfig) DeepCopyInto(out *SessionAffinityConfig) {
- *out = *in
- if in.ClientIP != nil {
- in, out := &in.ClientIP, &out.ClientIP
- *out = new(ClientIPConfig)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityConfig.
- func (in *SessionAffinityConfig) DeepCopy() *SessionAffinityConfig {
- if in == nil {
- return nil
- }
- out := new(SessionAffinityConfig)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *StorageOSPersistentVolumeSource) DeepCopyInto(out *StorageOSPersistentVolumeSource) {
- *out = *in
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(ObjectReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSPersistentVolumeSource.
- func (in *StorageOSPersistentVolumeSource) DeepCopy() *StorageOSPersistentVolumeSource {
- if in == nil {
- return nil
- }
- out := new(StorageOSPersistentVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *StorageOSVolumeSource) DeepCopyInto(out *StorageOSVolumeSource) {
- *out = *in
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(LocalObjectReference)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSVolumeSource.
- func (in *StorageOSVolumeSource) DeepCopy() *StorageOSVolumeSource {
- if in == nil {
- return nil
- }
- out := new(StorageOSVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Sysctl) DeepCopyInto(out *Sysctl) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sysctl.
- func (in *Sysctl) DeepCopy() *Sysctl {
- if in == nil {
- return nil
- }
- out := new(Sysctl)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *TCPSocketAction) DeepCopyInto(out *TCPSocketAction) {
- *out = *in
- out.Port = in.Port
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction.
- func (in *TCPSocketAction) DeepCopy() *TCPSocketAction {
- if in == nil {
- return nil
- }
- out := new(TCPSocketAction)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Taint) DeepCopyInto(out *Taint) {
- *out = *in
- if in.TimeAdded != nil {
- in, out := &in.TimeAdded, &out.TimeAdded
- *out = (*in).DeepCopy()
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint.
- func (in *Taint) DeepCopy() *Taint {
- if in == nil {
- return nil
- }
- out := new(Taint)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Toleration) DeepCopyInto(out *Toleration) {
- *out = *in
- if in.TolerationSeconds != nil {
- in, out := &in.TolerationSeconds, &out.TolerationSeconds
- *out = new(int64)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Toleration.
- func (in *Toleration) DeepCopy() *Toleration {
- if in == nil {
- return nil
- }
- out := new(Toleration)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *TopologySelectorLabelRequirement) DeepCopyInto(out *TopologySelectorLabelRequirement) {
- *out = *in
- if in.Values != nil {
- in, out := &in.Values, &out.Values
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySelectorLabelRequirement.
- func (in *TopologySelectorLabelRequirement) DeepCopy() *TopologySelectorLabelRequirement {
- if in == nil {
- return nil
- }
- out := new(TopologySelectorLabelRequirement)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *TopologySelectorTerm) DeepCopyInto(out *TopologySelectorTerm) {
- *out = *in
- if in.MatchLabelExpressions != nil {
- in, out := &in.MatchLabelExpressions, &out.MatchLabelExpressions
- *out = make([]TopologySelectorLabelRequirement, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySelectorTerm.
- func (in *TopologySelectorTerm) DeepCopy() *TopologySelectorTerm {
- if in == nil {
- return nil
- }
- out := new(TopologySelectorTerm)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *TopologySpreadConstraint) DeepCopyInto(out *TopologySpreadConstraint) {
- *out = *in
- if in.LabelSelector != nil {
- in, out := &in.LabelSelector, &out.LabelSelector
- *out = new(v1.LabelSelector)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySpreadConstraint.
- func (in *TopologySpreadConstraint) DeepCopy() *TopologySpreadConstraint {
- if in == nil {
- return nil
- }
- out := new(TopologySpreadConstraint)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *TypedLocalObjectReference) DeepCopyInto(out *TypedLocalObjectReference) {
- *out = *in
- if in.APIGroup != nil {
- in, out := &in.APIGroup, &out.APIGroup
- *out = new(string)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypedLocalObjectReference.
- func (in *TypedLocalObjectReference) DeepCopy() *TypedLocalObjectReference {
- if in == nil {
- return nil
- }
- out := new(TypedLocalObjectReference)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Volume) DeepCopyInto(out *Volume) {
- *out = *in
- in.VolumeSource.DeepCopyInto(&out.VolumeSource)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
- func (in *Volume) DeepCopy() *Volume {
- if in == nil {
- return nil
- }
- out := new(Volume)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *VolumeDevice) DeepCopyInto(out *VolumeDevice) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDevice.
- func (in *VolumeDevice) DeepCopy() *VolumeDevice {
- if in == nil {
- return nil
- }
- out := new(VolumeDevice)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *VolumeMount) DeepCopyInto(out *VolumeMount) {
- *out = *in
- if in.MountPropagation != nil {
- in, out := &in.MountPropagation, &out.MountPropagation
- *out = new(MountPropagationMode)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount.
- func (in *VolumeMount) DeepCopy() *VolumeMount {
- if in == nil {
- return nil
- }
- out := new(VolumeMount)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *VolumeNodeAffinity) DeepCopyInto(out *VolumeNodeAffinity) {
- *out = *in
- if in.Required != nil {
- in, out := &in.Required, &out.Required
- *out = new(NodeSelector)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeAffinity.
- func (in *VolumeNodeAffinity) DeepCopy() *VolumeNodeAffinity {
- if in == nil {
- return nil
- }
- out := new(VolumeNodeAffinity)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *VolumeProjection) DeepCopyInto(out *VolumeProjection) {
- *out = *in
- if in.Secret != nil {
- in, out := &in.Secret, &out.Secret
- *out = new(SecretProjection)
- (*in).DeepCopyInto(*out)
- }
- if in.DownwardAPI != nil {
- in, out := &in.DownwardAPI, &out.DownwardAPI
- *out = new(DownwardAPIProjection)
- (*in).DeepCopyInto(*out)
- }
- if in.ConfigMap != nil {
- in, out := &in.ConfigMap, &out.ConfigMap
- *out = new(ConfigMapProjection)
- (*in).DeepCopyInto(*out)
- }
- if in.ServiceAccountToken != nil {
- in, out := &in.ServiceAccountToken, &out.ServiceAccountToken
- *out = new(ServiceAccountTokenProjection)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProjection.
- func (in *VolumeProjection) DeepCopy() *VolumeProjection {
- if in == nil {
- return nil
- }
- out := new(VolumeProjection)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *VolumeSource) DeepCopyInto(out *VolumeSource) {
- *out = *in
- if in.HostPath != nil {
- in, out := &in.HostPath, &out.HostPath
- *out = new(HostPathVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.EmptyDir != nil {
- in, out := &in.EmptyDir, &out.EmptyDir
- *out = new(EmptyDirVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.GCEPersistentDisk != nil {
- in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk
- *out = new(GCEPersistentDiskVolumeSource)
- **out = **in
- }
- if in.AWSElasticBlockStore != nil {
- in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore
- *out = new(AWSElasticBlockStoreVolumeSource)
- **out = **in
- }
- if in.GitRepo != nil {
- in, out := &in.GitRepo, &out.GitRepo
- *out = new(GitRepoVolumeSource)
- **out = **in
- }
- if in.Secret != nil {
- in, out := &in.Secret, &out.Secret
- *out = new(SecretVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.NFS != nil {
- in, out := &in.NFS, &out.NFS
- *out = new(NFSVolumeSource)
- **out = **in
- }
- if in.ISCSI != nil {
- in, out := &in.ISCSI, &out.ISCSI
- *out = new(ISCSIVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.Glusterfs != nil {
- in, out := &in.Glusterfs, &out.Glusterfs
- *out = new(GlusterfsVolumeSource)
- **out = **in
- }
- if in.PersistentVolumeClaim != nil {
- in, out := &in.PersistentVolumeClaim, &out.PersistentVolumeClaim
- *out = new(PersistentVolumeClaimVolumeSource)
- **out = **in
- }
- if in.RBD != nil {
- in, out := &in.RBD, &out.RBD
- *out = new(RBDVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.Quobyte != nil {
- in, out := &in.Quobyte, &out.Quobyte
- *out = new(QuobyteVolumeSource)
- **out = **in
- }
- if in.FlexVolume != nil {
- in, out := &in.FlexVolume, &out.FlexVolume
- *out = new(FlexVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.Cinder != nil {
- in, out := &in.Cinder, &out.Cinder
- *out = new(CinderVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.CephFS != nil {
- in, out := &in.CephFS, &out.CephFS
- *out = new(CephFSVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.Flocker != nil {
- in, out := &in.Flocker, &out.Flocker
- *out = new(FlockerVolumeSource)
- **out = **in
- }
- if in.DownwardAPI != nil {
- in, out := &in.DownwardAPI, &out.DownwardAPI
- *out = new(DownwardAPIVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.FC != nil {
- in, out := &in.FC, &out.FC
- *out = new(FCVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.AzureFile != nil {
- in, out := &in.AzureFile, &out.AzureFile
- *out = new(AzureFileVolumeSource)
- **out = **in
- }
- if in.ConfigMap != nil {
- in, out := &in.ConfigMap, &out.ConfigMap
- *out = new(ConfigMapVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.VsphereVolume != nil {
- in, out := &in.VsphereVolume, &out.VsphereVolume
- *out = new(VsphereVirtualDiskVolumeSource)
- **out = **in
- }
- if in.AzureDisk != nil {
- in, out := &in.AzureDisk, &out.AzureDisk
- *out = new(AzureDiskVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.PhotonPersistentDisk != nil {
- in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk
- *out = new(PhotonPersistentDiskVolumeSource)
- **out = **in
- }
- if in.Projected != nil {
- in, out := &in.Projected, &out.Projected
- *out = new(ProjectedVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.PortworxVolume != nil {
- in, out := &in.PortworxVolume, &out.PortworxVolume
- *out = new(PortworxVolumeSource)
- **out = **in
- }
- if in.ScaleIO != nil {
- in, out := &in.ScaleIO, &out.ScaleIO
- *out = new(ScaleIOVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.StorageOS != nil {
- in, out := &in.StorageOS, &out.StorageOS
- *out = new(StorageOSVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- if in.CSI != nil {
- in, out := &in.CSI, &out.CSI
- *out = new(CSIVolumeSource)
- (*in).DeepCopyInto(*out)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSource.
- func (in *VolumeSource) DeepCopy() *VolumeSource {
- if in == nil {
- return nil
- }
- out := new(VolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *VsphereVirtualDiskVolumeSource) DeepCopyInto(out *VsphereVirtualDiskVolumeSource) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereVirtualDiskVolumeSource.
- func (in *VsphereVirtualDiskVolumeSource) DeepCopy() *VsphereVirtualDiskVolumeSource {
- if in == nil {
- return nil
- }
- out := new(VsphereVirtualDiskVolumeSource)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *WeightedPodAffinityTerm) DeepCopyInto(out *WeightedPodAffinityTerm) {
- *out = *in
- in.PodAffinityTerm.DeepCopyInto(&out.PodAffinityTerm)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedPodAffinityTerm.
- func (in *WeightedPodAffinityTerm) DeepCopy() *WeightedPodAffinityTerm {
- if in == nil {
- return nil
- }
- out := new(WeightedPodAffinityTerm)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *WindowsSecurityContextOptions) DeepCopyInto(out *WindowsSecurityContextOptions) {
- *out = *in
- if in.GMSACredentialSpecName != nil {
- in, out := &in.GMSACredentialSpecName, &out.GMSACredentialSpecName
- *out = new(string)
- **out = **in
- }
- if in.GMSACredentialSpec != nil {
- in, out := &in.GMSACredentialSpec, &out.GMSACredentialSpec
- *out = new(string)
- **out = **in
- }
- if in.RunAsUserName != nil {
- in, out := &in.RunAsUserName, &out.RunAsUserName
- *out = new(string)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowsSecurityContextOptions.
- func (in *WindowsSecurityContextOptions) DeepCopy() *WindowsSecurityContextOptions {
- if in == nil {
- return nil
- }
- out := new(WindowsSecurityContextOptions)
- in.DeepCopyInto(out)
- return out
- }
|