12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749 |
- // +build !ignore_autogenerated
- /*
- Copyright 2016 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.
- */
- // This file was autogenerated by deepcopy-gen. Do not edit it manually!
- package api
- import (
- unversioned "k8s.io/kubernetes/pkg/api/unversioned"
- conversion "k8s.io/kubernetes/pkg/conversion"
- fields "k8s.io/kubernetes/pkg/fields"
- labels "k8s.io/kubernetes/pkg/labels"
- runtime "k8s.io/kubernetes/pkg/runtime"
- types "k8s.io/kubernetes/pkg/types"
- reflect "reflect"
- )
- func init() {
- SchemeBuilder.Register(RegisterDeepCopies)
- }
- // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
- // to allow building arbitrary schemes.
- func RegisterDeepCopies(scheme *runtime.Scheme) error {
- return scheme.AddGeneratedDeepCopyFuncs(
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AWSElasticBlockStoreVolumeSource, InType: reflect.TypeOf(&AWSElasticBlockStoreVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Affinity, InType: reflect.TypeOf(&Affinity{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AttachedVolume, InType: reflect.TypeOf(&AttachedVolume{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AvoidPods, InType: reflect.TypeOf(&AvoidPods{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AzureDiskVolumeSource, InType: reflect.TypeOf(&AzureDiskVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AzureFileVolumeSource, InType: reflect.TypeOf(&AzureFileVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Binding, InType: reflect.TypeOf(&Binding{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Capabilities, InType: reflect.TypeOf(&Capabilities{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_CephFSVolumeSource, InType: reflect.TypeOf(&CephFSVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_CinderVolumeSource, InType: reflect.TypeOf(&CinderVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentCondition, InType: reflect.TypeOf(&ComponentCondition{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatus, InType: reflect.TypeOf(&ComponentStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatusList, InType: reflect.TypeOf(&ComponentStatusList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMap, InType: reflect.TypeOf(&ConfigMap{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapKeySelector, InType: reflect.TypeOf(&ConfigMapKeySelector{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapList, InType: reflect.TypeOf(&ConfigMapList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapVolumeSource, InType: reflect.TypeOf(&ConfigMapVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Container, InType: reflect.TypeOf(&Container{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerImage, InType: reflect.TypeOf(&ContainerImage{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerPort, InType: reflect.TypeOf(&ContainerPort{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerState, InType: reflect.TypeOf(&ContainerState{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateRunning, InType: reflect.TypeOf(&ContainerStateRunning{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateTerminated, InType: reflect.TypeOf(&ContainerStateTerminated{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateWaiting, InType: reflect.TypeOf(&ContainerStateWaiting{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStatus, InType: reflect.TypeOf(&ContainerStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConversionError, InType: reflect.TypeOf(&ConversionError{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DaemonEndpoint, InType: reflect.TypeOf(&DaemonEndpoint{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DeleteOptions, InType: reflect.TypeOf(&DeleteOptions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIVolumeFile, InType: reflect.TypeOf(&DownwardAPIVolumeFile{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIVolumeSource, InType: reflect.TypeOf(&DownwardAPIVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EmptyDirVolumeSource, InType: reflect.TypeOf(&EmptyDirVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointAddress, InType: reflect.TypeOf(&EndpointAddress{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointPort, InType: reflect.TypeOf(&EndpointPort{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointSubset, InType: reflect.TypeOf(&EndpointSubset{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Endpoints, InType: reflect.TypeOf(&Endpoints{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointsList, InType: reflect.TypeOf(&EndpointsList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVar, InType: reflect.TypeOf(&EnvVar{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVarSource, InType: reflect.TypeOf(&EnvVarSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Event, InType: reflect.TypeOf(&Event{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EventList, InType: reflect.TypeOf(&EventList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EventSource, InType: reflect.TypeOf(&EventSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ExecAction, InType: reflect.TypeOf(&ExecAction{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ExportOptions, InType: reflect.TypeOf(&ExportOptions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FCVolumeSource, InType: reflect.TypeOf(&FCVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FlexVolumeSource, InType: reflect.TypeOf(&FlexVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FlockerVolumeSource, InType: reflect.TypeOf(&FlockerVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GCEPersistentDiskVolumeSource, InType: reflect.TypeOf(&GCEPersistentDiskVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GitRepoVolumeSource, InType: reflect.TypeOf(&GitRepoVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GlusterfsVolumeSource, InType: reflect.TypeOf(&GlusterfsVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HTTPGetAction, InType: reflect.TypeOf(&HTTPGetAction{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HTTPHeader, InType: reflect.TypeOf(&HTTPHeader{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Handler, InType: reflect.TypeOf(&Handler{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HostPathVolumeSource, InType: reflect.TypeOf(&HostPathVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ISCSIVolumeSource, InType: reflect.TypeOf(&ISCSIVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_KeyToPath, InType: reflect.TypeOf(&KeyToPath{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Lifecycle, InType: reflect.TypeOf(&Lifecycle{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRange, InType: reflect.TypeOf(&LimitRange{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeItem, InType: reflect.TypeOf(&LimitRangeItem{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeList, InType: reflect.TypeOf(&LimitRangeList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeSpec, InType: reflect.TypeOf(&LimitRangeSpec{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_List, InType: reflect.TypeOf(&List{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ListOptions, InType: reflect.TypeOf(&ListOptions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LoadBalancerIngress, InType: reflect.TypeOf(&LoadBalancerIngress{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LoadBalancerStatus, InType: reflect.TypeOf(&LoadBalancerStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LocalObjectReference, InType: reflect.TypeOf(&LocalObjectReference{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NFSVolumeSource, InType: reflect.TypeOf(&NFSVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Namespace, InType: reflect.TypeOf(&Namespace{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceList, InType: reflect.TypeOf(&NamespaceList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceSpec, InType: reflect.TypeOf(&NamespaceSpec{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceStatus, InType: reflect.TypeOf(&NamespaceStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Node, InType: reflect.TypeOf(&Node{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeAddress, InType: reflect.TypeOf(&NodeAddress{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeAffinity, InType: reflect.TypeOf(&NodeAffinity{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeCondition, InType: reflect.TypeOf(&NodeCondition{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeDaemonEndpoints, InType: reflect.TypeOf(&NodeDaemonEndpoints{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeList, InType: reflect.TypeOf(&NodeList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeProxyOptions, InType: reflect.TypeOf(&NodeProxyOptions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeResources, InType: reflect.TypeOf(&NodeResources{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelector, InType: reflect.TypeOf(&NodeSelector{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelectorRequirement, InType: reflect.TypeOf(&NodeSelectorRequirement{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelectorTerm, InType: reflect.TypeOf(&NodeSelectorTerm{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSpec, InType: reflect.TypeOf(&NodeSpec{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeStatus, InType: reflect.TypeOf(&NodeStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSystemInfo, InType: reflect.TypeOf(&NodeSystemInfo{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectFieldSelector, InType: reflect.TypeOf(&ObjectFieldSelector{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectMeta, InType: reflect.TypeOf(&ObjectMeta{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectReference, InType: reflect.TypeOf(&ObjectReference{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_OwnerReference, InType: reflect.TypeOf(&OwnerReference{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolume, InType: reflect.TypeOf(&PersistentVolume{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaim, InType: reflect.TypeOf(&PersistentVolumeClaim{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimList, InType: reflect.TypeOf(&PersistentVolumeClaimList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimSpec, InType: reflect.TypeOf(&PersistentVolumeClaimSpec{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimStatus, InType: reflect.TypeOf(&PersistentVolumeClaimStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimVolumeSource, InType: reflect.TypeOf(&PersistentVolumeClaimVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeList, InType: reflect.TypeOf(&PersistentVolumeList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeSource, InType: reflect.TypeOf(&PersistentVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeSpec, InType: reflect.TypeOf(&PersistentVolumeSpec{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeStatus, InType: reflect.TypeOf(&PersistentVolumeStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Pod, InType: reflect.TypeOf(&Pod{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAffinity, InType: reflect.TypeOf(&PodAffinity{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAffinityTerm, InType: reflect.TypeOf(&PodAffinityTerm{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAntiAffinity, InType: reflect.TypeOf(&PodAntiAffinity{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAttachOptions, InType: reflect.TypeOf(&PodAttachOptions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodCondition, InType: reflect.TypeOf(&PodCondition{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodExecOptions, InType: reflect.TypeOf(&PodExecOptions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodList, InType: reflect.TypeOf(&PodList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodLogOptions, InType: reflect.TypeOf(&PodLogOptions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodProxyOptions, InType: reflect.TypeOf(&PodProxyOptions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSecurityContext, InType: reflect.TypeOf(&PodSecurityContext{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSignature, InType: reflect.TypeOf(&PodSignature{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSpec, InType: reflect.TypeOf(&PodSpec{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodStatus, InType: reflect.TypeOf(&PodStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodStatusResult, InType: reflect.TypeOf(&PodStatusResult{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplate, InType: reflect.TypeOf(&PodTemplate{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplateList, InType: reflect.TypeOf(&PodTemplateList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplateSpec, InType: reflect.TypeOf(&PodTemplateSpec{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Preconditions, InType: reflect.TypeOf(&Preconditions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PreferAvoidPodsEntry, InType: reflect.TypeOf(&PreferAvoidPodsEntry{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PreferredSchedulingTerm, InType: reflect.TypeOf(&PreferredSchedulingTerm{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Probe, InType: reflect.TypeOf(&Probe{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_QuobyteVolumeSource, InType: reflect.TypeOf(&QuobyteVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RBDVolumeSource, InType: reflect.TypeOf(&RBDVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RangeAllocation, InType: reflect.TypeOf(&RangeAllocation{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationController, InType: reflect.TypeOf(&ReplicationController{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerList, InType: reflect.TypeOf(&ReplicationControllerList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerSpec, InType: reflect.TypeOf(&ReplicationControllerSpec{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerStatus, InType: reflect.TypeOf(&ReplicationControllerStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceFieldSelector, InType: reflect.TypeOf(&ResourceFieldSelector{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuota, InType: reflect.TypeOf(&ResourceQuota{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaList, InType: reflect.TypeOf(&ResourceQuotaList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaSpec, InType: reflect.TypeOf(&ResourceQuotaSpec{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaStatus, InType: reflect.TypeOf(&ResourceQuotaStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceRequirements, InType: reflect.TypeOf(&ResourceRequirements{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SELinuxOptions, InType: reflect.TypeOf(&SELinuxOptions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Secret, InType: reflect.TypeOf(&Secret{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretKeySelector, InType: reflect.TypeOf(&SecretKeySelector{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretList, InType: reflect.TypeOf(&SecretList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretVolumeSource, InType: reflect.TypeOf(&SecretVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecurityContext, InType: reflect.TypeOf(&SecurityContext{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SerializedReference, InType: reflect.TypeOf(&SerializedReference{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Service, InType: reflect.TypeOf(&Service{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceAccount, InType: reflect.TypeOf(&ServiceAccount{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceAccountList, InType: reflect.TypeOf(&ServiceAccountList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceList, InType: reflect.TypeOf(&ServiceList{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServicePort, InType: reflect.TypeOf(&ServicePort{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceProxyOptions, InType: reflect.TypeOf(&ServiceProxyOptions{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceSpec, InType: reflect.TypeOf(&ServiceSpec{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceStatus, InType: reflect.TypeOf(&ServiceStatus{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Sysctl, InType: reflect.TypeOf(&Sysctl{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_TCPSocketAction, InType: reflect.TypeOf(&TCPSocketAction{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Taint, InType: reflect.TypeOf(&Taint{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Toleration, InType: reflect.TypeOf(&Toleration{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Volume, InType: reflect.TypeOf(&Volume{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeMount, InType: reflect.TypeOf(&VolumeMount{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeSource, InType: reflect.TypeOf(&VolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VsphereVirtualDiskVolumeSource, InType: reflect.TypeOf(&VsphereVirtualDiskVolumeSource{})},
- conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_WeightedPodAffinityTerm, InType: reflect.TypeOf(&WeightedPodAffinityTerm{})},
- )
- }
- func DeepCopy_api_AWSElasticBlockStoreVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*AWSElasticBlockStoreVolumeSource)
- out := out.(*AWSElasticBlockStoreVolumeSource)
- out.VolumeID = in.VolumeID
- out.FSType = in.FSType
- out.Partition = in.Partition
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_Affinity(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Affinity)
- out := out.(*Affinity)
- if in.NodeAffinity != nil {
- in, out := &in.NodeAffinity, &out.NodeAffinity
- *out = new(NodeAffinity)
- if err := DeepCopy_api_NodeAffinity(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.NodeAffinity = nil
- }
- if in.PodAffinity != nil {
- in, out := &in.PodAffinity, &out.PodAffinity
- *out = new(PodAffinity)
- if err := DeepCopy_api_PodAffinity(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.PodAffinity = nil
- }
- if in.PodAntiAffinity != nil {
- in, out := &in.PodAntiAffinity, &out.PodAntiAffinity
- *out = new(PodAntiAffinity)
- if err := DeepCopy_api_PodAntiAffinity(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.PodAntiAffinity = nil
- }
- return nil
- }
- }
- func DeepCopy_api_AttachedVolume(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*AttachedVolume)
- out := out.(*AttachedVolume)
- out.Name = in.Name
- out.DevicePath = in.DevicePath
- return nil
- }
- }
- func DeepCopy_api_AvoidPods(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*AvoidPods)
- out := out.(*AvoidPods)
- if in.PreferAvoidPods != nil {
- in, out := &in.PreferAvoidPods, &out.PreferAvoidPods
- *out = make([]PreferAvoidPodsEntry, len(*in))
- for i := range *in {
- if err := DeepCopy_api_PreferAvoidPodsEntry(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.PreferAvoidPods = nil
- }
- return nil
- }
- }
- func DeepCopy_api_AzureDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*AzureDiskVolumeSource)
- out := out.(*AzureDiskVolumeSource)
- out.DiskName = in.DiskName
- out.DataDiskURI = in.DataDiskURI
- if in.CachingMode != nil {
- in, out := &in.CachingMode, &out.CachingMode
- *out = new(AzureDataDiskCachingMode)
- **out = **in
- } else {
- out.CachingMode = nil
- }
- if in.FSType != nil {
- in, out := &in.FSType, &out.FSType
- *out = new(string)
- **out = **in
- } else {
- out.FSType = nil
- }
- if in.ReadOnly != nil {
- in, out := &in.ReadOnly, &out.ReadOnly
- *out = new(bool)
- **out = **in
- } else {
- out.ReadOnly = nil
- }
- return nil
- }
- }
- func DeepCopy_api_AzureFileVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*AzureFileVolumeSource)
- out := out.(*AzureFileVolumeSource)
- out.SecretName = in.SecretName
- out.ShareName = in.ShareName
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_Binding(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Binding)
- out := out.(*Binding)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- out.Target = in.Target
- return nil
- }
- }
- func DeepCopy_api_Capabilities(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Capabilities)
- out := out.(*Capabilities)
- if in.Add != nil {
- in, out := &in.Add, &out.Add
- *out = make([]Capability, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Add = nil
- }
- if in.Drop != nil {
- in, out := &in.Drop, &out.Drop
- *out = make([]Capability, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Drop = nil
- }
- return nil
- }
- }
- func DeepCopy_api_CephFSVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*CephFSVolumeSource)
- out := out.(*CephFSVolumeSource)
- if in.Monitors != nil {
- in, out := &in.Monitors, &out.Monitors
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.Monitors = nil
- }
- out.Path = in.Path
- out.User = in.User
- out.SecretFile = in.SecretFile
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(LocalObjectReference)
- **out = **in
- } else {
- out.SecretRef = nil
- }
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_CinderVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*CinderVolumeSource)
- out := out.(*CinderVolumeSource)
- out.VolumeID = in.VolumeID
- out.FSType = in.FSType
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_ComponentCondition(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ComponentCondition)
- out := out.(*ComponentCondition)
- out.Type = in.Type
- out.Status = in.Status
- out.Message = in.Message
- out.Error = in.Error
- return nil
- }
- }
- func DeepCopy_api_ComponentStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ComponentStatus)
- out := out.(*ComponentStatus)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]ComponentCondition, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Conditions = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ComponentStatusList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ComponentStatusList)
- out := out.(*ComponentStatusList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ComponentStatus, len(*in))
- for i := range *in {
- if err := DeepCopy_api_ComponentStatus(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ConfigMap(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ConfigMap)
- out := out.(*ConfigMap)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if in.Data != nil {
- in, out := &in.Data, &out.Data
- *out = make(map[string]string)
- for key, val := range *in {
- (*out)[key] = val
- }
- } else {
- out.Data = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ConfigMapKeySelector(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ConfigMapKeySelector)
- out := out.(*ConfigMapKeySelector)
- out.LocalObjectReference = in.LocalObjectReference
- out.Key = in.Key
- return nil
- }
- }
- func DeepCopy_api_ConfigMapList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ConfigMapList)
- out := out.(*ConfigMapList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ConfigMap, len(*in))
- for i := range *in {
- if err := DeepCopy_api_ConfigMap(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ConfigMapVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ConfigMapVolumeSource)
- out := out.(*ConfigMapVolumeSource)
- out.LocalObjectReference = in.LocalObjectReference
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]KeyToPath, len(*in))
- for i := range *in {
- if err := DeepCopy_api_KeyToPath(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- if in.DefaultMode != nil {
- in, out := &in.DefaultMode, &out.DefaultMode
- *out = new(int32)
- **out = **in
- } else {
- out.DefaultMode = nil
- }
- return nil
- }
- }
- func DeepCopy_api_Container(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Container)
- out := out.(*Container)
- out.Name = in.Name
- out.Image = in.Image
- if in.Command != nil {
- in, out := &in.Command, &out.Command
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.Command = nil
- }
- if in.Args != nil {
- in, out := &in.Args, &out.Args
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.Args = nil
- }
- out.WorkingDir = in.WorkingDir
- if in.Ports != nil {
- in, out := &in.Ports, &out.Ports
- *out = make([]ContainerPort, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Ports = nil
- }
- if in.Env != nil {
- in, out := &in.Env, &out.Env
- *out = make([]EnvVar, len(*in))
- for i := range *in {
- if err := DeepCopy_api_EnvVar(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Env = nil
- }
- if err := DeepCopy_api_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil {
- return err
- }
- if in.VolumeMounts != nil {
- in, out := &in.VolumeMounts, &out.VolumeMounts
- *out = make([]VolumeMount, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.VolumeMounts = nil
- }
- if in.LivenessProbe != nil {
- in, out := &in.LivenessProbe, &out.LivenessProbe
- *out = new(Probe)
- if err := DeepCopy_api_Probe(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.LivenessProbe = nil
- }
- if in.ReadinessProbe != nil {
- in, out := &in.ReadinessProbe, &out.ReadinessProbe
- *out = new(Probe)
- if err := DeepCopy_api_Probe(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.ReadinessProbe = nil
- }
- if in.Lifecycle != nil {
- in, out := &in.Lifecycle, &out.Lifecycle
- *out = new(Lifecycle)
- if err := DeepCopy_api_Lifecycle(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.Lifecycle = nil
- }
- out.TerminationMessagePath = in.TerminationMessagePath
- out.ImagePullPolicy = in.ImagePullPolicy
- if in.SecurityContext != nil {
- in, out := &in.SecurityContext, &out.SecurityContext
- *out = new(SecurityContext)
- if err := DeepCopy_api_SecurityContext(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.SecurityContext = nil
- }
- out.Stdin = in.Stdin
- out.StdinOnce = in.StdinOnce
- out.TTY = in.TTY
- return nil
- }
- }
- func DeepCopy_api_ContainerImage(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ContainerImage)
- out := out.(*ContainerImage)
- if in.Names != nil {
- in, out := &in.Names, &out.Names
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.Names = nil
- }
- out.SizeBytes = in.SizeBytes
- return nil
- }
- }
- func DeepCopy_api_ContainerPort(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ContainerPort)
- out := out.(*ContainerPort)
- out.Name = in.Name
- out.HostPort = in.HostPort
- out.ContainerPort = in.ContainerPort
- out.Protocol = in.Protocol
- out.HostIP = in.HostIP
- return nil
- }
- }
- func DeepCopy_api_ContainerState(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ContainerState)
- out := out.(*ContainerState)
- if in.Waiting != nil {
- in, out := &in.Waiting, &out.Waiting
- *out = new(ContainerStateWaiting)
- **out = **in
- } else {
- out.Waiting = nil
- }
- if in.Running != nil {
- in, out := &in.Running, &out.Running
- *out = new(ContainerStateRunning)
- if err := DeepCopy_api_ContainerStateRunning(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.Running = nil
- }
- if in.Terminated != nil {
- in, out := &in.Terminated, &out.Terminated
- *out = new(ContainerStateTerminated)
- if err := DeepCopy_api_ContainerStateTerminated(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.Terminated = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ContainerStateRunning(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ContainerStateRunning)
- out := out.(*ContainerStateRunning)
- out.StartedAt = in.StartedAt.DeepCopy()
- return nil
- }
- }
- func DeepCopy_api_ContainerStateTerminated(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ContainerStateTerminated)
- out := out.(*ContainerStateTerminated)
- out.ExitCode = in.ExitCode
- out.Signal = in.Signal
- out.Reason = in.Reason
- out.Message = in.Message
- out.StartedAt = in.StartedAt.DeepCopy()
- out.FinishedAt = in.FinishedAt.DeepCopy()
- out.ContainerID = in.ContainerID
- return nil
- }
- }
- func DeepCopy_api_ContainerStateWaiting(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ContainerStateWaiting)
- out := out.(*ContainerStateWaiting)
- out.Reason = in.Reason
- out.Message = in.Message
- return nil
- }
- }
- func DeepCopy_api_ContainerStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ContainerStatus)
- out := out.(*ContainerStatus)
- out.Name = in.Name
- if err := DeepCopy_api_ContainerState(&in.State, &out.State, c); err != nil {
- return err
- }
- if err := DeepCopy_api_ContainerState(&in.LastTerminationState, &out.LastTerminationState, c); err != nil {
- return err
- }
- out.Ready = in.Ready
- out.RestartCount = in.RestartCount
- out.Image = in.Image
- out.ImageID = in.ImageID
- out.ContainerID = in.ContainerID
- return nil
- }
- }
- func DeepCopy_api_ConversionError(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ConversionError)
- out := out.(*ConversionError)
- if in.In == nil {
- out.In = nil
- } else if newVal, err := c.DeepCopy(&in.In); err != nil {
- return err
- } else {
- out.In = *newVal.(*interface{})
- }
- if in.Out == nil {
- out.Out = nil
- } else if newVal, err := c.DeepCopy(&in.Out); err != nil {
- return err
- } else {
- out.Out = *newVal.(*interface{})
- }
- out.Message = in.Message
- return nil
- }
- }
- func DeepCopy_api_DaemonEndpoint(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*DaemonEndpoint)
- out := out.(*DaemonEndpoint)
- out.Port = in.Port
- return nil
- }
- }
- func DeepCopy_api_DeleteOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*DeleteOptions)
- out := out.(*DeleteOptions)
- out.TypeMeta = in.TypeMeta
- if in.GracePeriodSeconds != nil {
- in, out := &in.GracePeriodSeconds, &out.GracePeriodSeconds
- *out = new(int64)
- **out = **in
- } else {
- out.GracePeriodSeconds = nil
- }
- if in.Preconditions != nil {
- in, out := &in.Preconditions, &out.Preconditions
- *out = new(Preconditions)
- if err := DeepCopy_api_Preconditions(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.Preconditions = nil
- }
- if in.OrphanDependents != nil {
- in, out := &in.OrphanDependents, &out.OrphanDependents
- *out = new(bool)
- **out = **in
- } else {
- out.OrphanDependents = nil
- }
- return nil
- }
- }
- func DeepCopy_api_DownwardAPIVolumeFile(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*DownwardAPIVolumeFile)
- out := out.(*DownwardAPIVolumeFile)
- out.Path = in.Path
- if in.FieldRef != nil {
- in, out := &in.FieldRef, &out.FieldRef
- *out = new(ObjectFieldSelector)
- **out = **in
- } else {
- out.FieldRef = nil
- }
- if in.ResourceFieldRef != nil {
- in, out := &in.ResourceFieldRef, &out.ResourceFieldRef
- *out = new(ResourceFieldSelector)
- if err := DeepCopy_api_ResourceFieldSelector(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.ResourceFieldRef = nil
- }
- if in.Mode != nil {
- in, out := &in.Mode, &out.Mode
- *out = new(int32)
- **out = **in
- } else {
- out.Mode = nil
- }
- return nil
- }
- }
- func DeepCopy_api_DownwardAPIVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*DownwardAPIVolumeSource)
- out := out.(*DownwardAPIVolumeSource)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]DownwardAPIVolumeFile, len(*in))
- for i := range *in {
- if err := DeepCopy_api_DownwardAPIVolumeFile(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- if in.DefaultMode != nil {
- in, out := &in.DefaultMode, &out.DefaultMode
- *out = new(int32)
- **out = **in
- } else {
- out.DefaultMode = nil
- }
- return nil
- }
- }
- func DeepCopy_api_EmptyDirVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*EmptyDirVolumeSource)
- out := out.(*EmptyDirVolumeSource)
- out.Medium = in.Medium
- return nil
- }
- }
- func DeepCopy_api_EndpointAddress(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*EndpointAddress)
- out := out.(*EndpointAddress)
- out.IP = in.IP
- out.Hostname = in.Hostname
- if in.NodeName != nil {
- in, out := &in.NodeName, &out.NodeName
- *out = new(string)
- **out = **in
- } else {
- out.NodeName = nil
- }
- if in.TargetRef != nil {
- in, out := &in.TargetRef, &out.TargetRef
- *out = new(ObjectReference)
- **out = **in
- } else {
- out.TargetRef = nil
- }
- return nil
- }
- }
- func DeepCopy_api_EndpointPort(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*EndpointPort)
- out := out.(*EndpointPort)
- out.Name = in.Name
- out.Port = in.Port
- out.Protocol = in.Protocol
- return nil
- }
- }
- func DeepCopy_api_EndpointSubset(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*EndpointSubset)
- out := out.(*EndpointSubset)
- if in.Addresses != nil {
- in, out := &in.Addresses, &out.Addresses
- *out = make([]EndpointAddress, len(*in))
- for i := range *in {
- if err := DeepCopy_api_EndpointAddress(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Addresses = nil
- }
- if in.NotReadyAddresses != nil {
- in, out := &in.NotReadyAddresses, &out.NotReadyAddresses
- *out = make([]EndpointAddress, len(*in))
- for i := range *in {
- if err := DeepCopy_api_EndpointAddress(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.NotReadyAddresses = nil
- }
- if in.Ports != nil {
- in, out := &in.Ports, &out.Ports
- *out = make([]EndpointPort, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Ports = nil
- }
- return nil
- }
- }
- func DeepCopy_api_Endpoints(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Endpoints)
- out := out.(*Endpoints)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if in.Subsets != nil {
- in, out := &in.Subsets, &out.Subsets
- *out = make([]EndpointSubset, len(*in))
- for i := range *in {
- if err := DeepCopy_api_EndpointSubset(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Subsets = nil
- }
- return nil
- }
- }
- func DeepCopy_api_EndpointsList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*EndpointsList)
- out := out.(*EndpointsList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Endpoints, len(*in))
- for i := range *in {
- if err := DeepCopy_api_Endpoints(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_EnvVar(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*EnvVar)
- out := out.(*EnvVar)
- out.Name = in.Name
- out.Value = in.Value
- if in.ValueFrom != nil {
- in, out := &in.ValueFrom, &out.ValueFrom
- *out = new(EnvVarSource)
- if err := DeepCopy_api_EnvVarSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.ValueFrom = nil
- }
- return nil
- }
- }
- func DeepCopy_api_EnvVarSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*EnvVarSource)
- out := out.(*EnvVarSource)
- if in.FieldRef != nil {
- in, out := &in.FieldRef, &out.FieldRef
- *out = new(ObjectFieldSelector)
- **out = **in
- } else {
- out.FieldRef = nil
- }
- if in.ResourceFieldRef != nil {
- in, out := &in.ResourceFieldRef, &out.ResourceFieldRef
- *out = new(ResourceFieldSelector)
- if err := DeepCopy_api_ResourceFieldSelector(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.ResourceFieldRef = nil
- }
- if in.ConfigMapKeyRef != nil {
- in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef
- *out = new(ConfigMapKeySelector)
- **out = **in
- } else {
- out.ConfigMapKeyRef = nil
- }
- if in.SecretKeyRef != nil {
- in, out := &in.SecretKeyRef, &out.SecretKeyRef
- *out = new(SecretKeySelector)
- **out = **in
- } else {
- out.SecretKeyRef = nil
- }
- return nil
- }
- }
- func DeepCopy_api_Event(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Event)
- out := out.(*Event)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- out.InvolvedObject = in.InvolvedObject
- out.Reason = in.Reason
- out.Message = in.Message
- out.Source = in.Source
- out.FirstTimestamp = in.FirstTimestamp.DeepCopy()
- out.LastTimestamp = in.LastTimestamp.DeepCopy()
- out.Count = in.Count
- out.Type = in.Type
- return nil
- }
- }
- func DeepCopy_api_EventList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*EventList)
- out := out.(*EventList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Event, len(*in))
- for i := range *in {
- if err := DeepCopy_api_Event(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_EventSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*EventSource)
- out := out.(*EventSource)
- out.Component = in.Component
- out.Host = in.Host
- return nil
- }
- }
- func DeepCopy_api_ExecAction(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ExecAction)
- out := out.(*ExecAction)
- if in.Command != nil {
- in, out := &in.Command, &out.Command
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.Command = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ExportOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ExportOptions)
- out := out.(*ExportOptions)
- out.TypeMeta = in.TypeMeta
- out.Export = in.Export
- out.Exact = in.Exact
- return nil
- }
- }
- func DeepCopy_api_FCVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*FCVolumeSource)
- out := out.(*FCVolumeSource)
- if in.TargetWWNs != nil {
- in, out := &in.TargetWWNs, &out.TargetWWNs
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.TargetWWNs = nil
- }
- if in.Lun != nil {
- in, out := &in.Lun, &out.Lun
- *out = new(int32)
- **out = **in
- } else {
- out.Lun = nil
- }
- out.FSType = in.FSType
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_FlexVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*FlexVolumeSource)
- out := out.(*FlexVolumeSource)
- out.Driver = in.Driver
- out.FSType = in.FSType
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(LocalObjectReference)
- **out = **in
- } else {
- out.SecretRef = nil
- }
- out.ReadOnly = in.ReadOnly
- if in.Options != nil {
- in, out := &in.Options, &out.Options
- *out = make(map[string]string)
- for key, val := range *in {
- (*out)[key] = val
- }
- } else {
- out.Options = nil
- }
- return nil
- }
- }
- func DeepCopy_api_FlockerVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*FlockerVolumeSource)
- out := out.(*FlockerVolumeSource)
- out.DatasetName = in.DatasetName
- return nil
- }
- }
- func DeepCopy_api_GCEPersistentDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*GCEPersistentDiskVolumeSource)
- out := out.(*GCEPersistentDiskVolumeSource)
- out.PDName = in.PDName
- out.FSType = in.FSType
- out.Partition = in.Partition
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_GitRepoVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*GitRepoVolumeSource)
- out := out.(*GitRepoVolumeSource)
- out.Repository = in.Repository
- out.Revision = in.Revision
- out.Directory = in.Directory
- return nil
- }
- }
- func DeepCopy_api_GlusterfsVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*GlusterfsVolumeSource)
- out := out.(*GlusterfsVolumeSource)
- out.EndpointsName = in.EndpointsName
- out.Path = in.Path
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_HTTPGetAction(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*HTTPGetAction)
- out := out.(*HTTPGetAction)
- out.Path = in.Path
- out.Port = in.Port
- out.Host = in.Host
- out.Scheme = in.Scheme
- if in.HTTPHeaders != nil {
- in, out := &in.HTTPHeaders, &out.HTTPHeaders
- *out = make([]HTTPHeader, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.HTTPHeaders = nil
- }
- return nil
- }
- }
- func DeepCopy_api_HTTPHeader(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*HTTPHeader)
- out := out.(*HTTPHeader)
- out.Name = in.Name
- out.Value = in.Value
- return nil
- }
- }
- func DeepCopy_api_Handler(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Handler)
- out := out.(*Handler)
- if in.Exec != nil {
- in, out := &in.Exec, &out.Exec
- *out = new(ExecAction)
- if err := DeepCopy_api_ExecAction(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.Exec = nil
- }
- if in.HTTPGet != nil {
- in, out := &in.HTTPGet, &out.HTTPGet
- *out = new(HTTPGetAction)
- if err := DeepCopy_api_HTTPGetAction(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.HTTPGet = nil
- }
- if in.TCPSocket != nil {
- in, out := &in.TCPSocket, &out.TCPSocket
- *out = new(TCPSocketAction)
- **out = **in
- } else {
- out.TCPSocket = nil
- }
- return nil
- }
- }
- func DeepCopy_api_HostPathVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*HostPathVolumeSource)
- out := out.(*HostPathVolumeSource)
- out.Path = in.Path
- return nil
- }
- }
- func DeepCopy_api_ISCSIVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ISCSIVolumeSource)
- out := out.(*ISCSIVolumeSource)
- out.TargetPortal = in.TargetPortal
- out.IQN = in.IQN
- out.Lun = in.Lun
- out.ISCSIInterface = in.ISCSIInterface
- out.FSType = in.FSType
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_KeyToPath(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*KeyToPath)
- out := out.(*KeyToPath)
- out.Key = in.Key
- out.Path = in.Path
- if in.Mode != nil {
- in, out := &in.Mode, &out.Mode
- *out = new(int32)
- **out = **in
- } else {
- out.Mode = nil
- }
- return nil
- }
- }
- func DeepCopy_api_Lifecycle(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Lifecycle)
- out := out.(*Lifecycle)
- if in.PostStart != nil {
- in, out := &in.PostStart, &out.PostStart
- *out = new(Handler)
- if err := DeepCopy_api_Handler(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.PostStart = nil
- }
- if in.PreStop != nil {
- in, out := &in.PreStop, &out.PreStop
- *out = new(Handler)
- if err := DeepCopy_api_Handler(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.PreStop = nil
- }
- return nil
- }
- }
- func DeepCopy_api_LimitRange(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*LimitRange)
- out := out.(*LimitRange)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_LimitRangeSpec(&in.Spec, &out.Spec, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_LimitRangeItem(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*LimitRangeItem)
- out := out.(*LimitRangeItem)
- out.Type = in.Type
- if in.Max != nil {
- in, out := &in.Max, &out.Max
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Max = nil
- }
- if in.Min != nil {
- in, out := &in.Min, &out.Min
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Min = nil
- }
- if in.Default != nil {
- in, out := &in.Default, &out.Default
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Default = nil
- }
- if in.DefaultRequest != nil {
- in, out := &in.DefaultRequest, &out.DefaultRequest
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.DefaultRequest = nil
- }
- if in.MaxLimitRequestRatio != nil {
- in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.MaxLimitRequestRatio = nil
- }
- return nil
- }
- }
- func DeepCopy_api_LimitRangeList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*LimitRangeList)
- out := out.(*LimitRangeList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]LimitRange, len(*in))
- for i := range *in {
- if err := DeepCopy_api_LimitRange(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_LimitRangeSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*LimitRangeSpec)
- out := out.(*LimitRangeSpec)
- if in.Limits != nil {
- in, out := &in.Limits, &out.Limits
- *out = make([]LimitRangeItem, len(*in))
- for i := range *in {
- if err := DeepCopy_api_LimitRangeItem(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Limits = nil
- }
- return nil
- }
- }
- func DeepCopy_api_List(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*List)
- out := out.(*List)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]runtime.Object, len(*in))
- for i := range *in {
- if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
- return err
- } else {
- (*out)[i] = *newVal.(*runtime.Object)
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ListOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ListOptions)
- out := out.(*ListOptions)
- out.TypeMeta = in.TypeMeta
- if in.LabelSelector == nil {
- out.LabelSelector = nil
- } else if newVal, err := c.DeepCopy(&in.LabelSelector); err != nil {
- return err
- } else {
- out.LabelSelector = *newVal.(*labels.Selector)
- }
- if in.FieldSelector == nil {
- out.FieldSelector = nil
- } else if newVal, err := c.DeepCopy(&in.FieldSelector); err != nil {
- return err
- } else {
- out.FieldSelector = *newVal.(*fields.Selector)
- }
- out.Watch = in.Watch
- out.ResourceVersion = in.ResourceVersion
- if in.TimeoutSeconds != nil {
- in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
- *out = new(int64)
- **out = **in
- } else {
- out.TimeoutSeconds = nil
- }
- return nil
- }
- }
- func DeepCopy_api_LoadBalancerIngress(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*LoadBalancerIngress)
- out := out.(*LoadBalancerIngress)
- out.IP = in.IP
- out.Hostname = in.Hostname
- return nil
- }
- }
- func DeepCopy_api_LoadBalancerStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*LoadBalancerStatus)
- out := out.(*LoadBalancerStatus)
- if in.Ingress != nil {
- in, out := &in.Ingress, &out.Ingress
- *out = make([]LoadBalancerIngress, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Ingress = nil
- }
- return nil
- }
- }
- func DeepCopy_api_LocalObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*LocalObjectReference)
- out := out.(*LocalObjectReference)
- out.Name = in.Name
- return nil
- }
- }
- func DeepCopy_api_NFSVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NFSVolumeSource)
- out := out.(*NFSVolumeSource)
- out.Server = in.Server
- out.Path = in.Path
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_Namespace(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Namespace)
- out := out.(*Namespace)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_NamespaceSpec(&in.Spec, &out.Spec, c); err != nil {
- return err
- }
- out.Status = in.Status
- return nil
- }
- }
- func DeepCopy_api_NamespaceList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NamespaceList)
- out := out.(*NamespaceList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Namespace, len(*in))
- for i := range *in {
- if err := DeepCopy_api_Namespace(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_NamespaceSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NamespaceSpec)
- out := out.(*NamespaceSpec)
- if in.Finalizers != nil {
- in, out := &in.Finalizers, &out.Finalizers
- *out = make([]FinalizerName, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Finalizers = nil
- }
- return nil
- }
- }
- func DeepCopy_api_NamespaceStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NamespaceStatus)
- out := out.(*NamespaceStatus)
- out.Phase = in.Phase
- return nil
- }
- }
- func DeepCopy_api_Node(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Node)
- out := out.(*Node)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- out.Spec = in.Spec
- if err := DeepCopy_api_NodeStatus(&in.Status, &out.Status, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_NodeAddress(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeAddress)
- out := out.(*NodeAddress)
- out.Type = in.Type
- out.Address = in.Address
- return nil
- }
- }
- func DeepCopy_api_NodeAffinity(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeAffinity)
- out := out.(*NodeAffinity)
- if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
- *out = new(NodeSelector)
- if err := DeepCopy_api_NodeSelector(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.RequiredDuringSchedulingIgnoredDuringExecution = nil
- }
- if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
- *out = make([]PreferredSchedulingTerm, len(*in))
- for i := range *in {
- if err := DeepCopy_api_PreferredSchedulingTerm(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.PreferredDuringSchedulingIgnoredDuringExecution = nil
- }
- return nil
- }
- }
- func DeepCopy_api_NodeCondition(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeCondition)
- out := out.(*NodeCondition)
- out.Type = in.Type
- out.Status = in.Status
- out.LastHeartbeatTime = in.LastHeartbeatTime.DeepCopy()
- out.LastTransitionTime = in.LastTransitionTime.DeepCopy()
- out.Reason = in.Reason
- out.Message = in.Message
- return nil
- }
- }
- func DeepCopy_api_NodeDaemonEndpoints(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeDaemonEndpoints)
- out := out.(*NodeDaemonEndpoints)
- out.KubeletEndpoint = in.KubeletEndpoint
- return nil
- }
- }
- func DeepCopy_api_NodeList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeList)
- out := out.(*NodeList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Node, len(*in))
- for i := range *in {
- if err := DeepCopy_api_Node(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_NodeProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeProxyOptions)
- out := out.(*NodeProxyOptions)
- out.TypeMeta = in.TypeMeta
- out.Path = in.Path
- return nil
- }
- }
- func DeepCopy_api_NodeResources(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeResources)
- out := out.(*NodeResources)
- if in.Capacity != nil {
- in, out := &in.Capacity, &out.Capacity
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Capacity = nil
- }
- return nil
- }
- }
- func DeepCopy_api_NodeSelector(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeSelector)
- out := out.(*NodeSelector)
- if in.NodeSelectorTerms != nil {
- in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms
- *out = make([]NodeSelectorTerm, len(*in))
- for i := range *in {
- if err := DeepCopy_api_NodeSelectorTerm(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.NodeSelectorTerms = nil
- }
- return nil
- }
- }
- func DeepCopy_api_NodeSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeSelectorRequirement)
- out := out.(*NodeSelectorRequirement)
- out.Key = in.Key
- out.Operator = in.Operator
- if in.Values != nil {
- in, out := &in.Values, &out.Values
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.Values = nil
- }
- return nil
- }
- }
- func DeepCopy_api_NodeSelectorTerm(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeSelectorTerm)
- out := out.(*NodeSelectorTerm)
- if in.MatchExpressions != nil {
- in, out := &in.MatchExpressions, &out.MatchExpressions
- *out = make([]NodeSelectorRequirement, len(*in))
- for i := range *in {
- if err := DeepCopy_api_NodeSelectorRequirement(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.MatchExpressions = nil
- }
- return nil
- }
- }
- func DeepCopy_api_NodeSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeSpec)
- out := out.(*NodeSpec)
- out.PodCIDR = in.PodCIDR
- out.ExternalID = in.ExternalID
- out.ProviderID = in.ProviderID
- out.Unschedulable = in.Unschedulable
- return nil
- }
- }
- func DeepCopy_api_NodeStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeStatus)
- out := out.(*NodeStatus)
- if in.Capacity != nil {
- in, out := &in.Capacity, &out.Capacity
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Capacity = nil
- }
- if in.Allocatable != nil {
- in, out := &in.Allocatable, &out.Allocatable
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Allocatable = nil
- }
- out.Phase = in.Phase
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]NodeCondition, len(*in))
- for i := range *in {
- if err := DeepCopy_api_NodeCondition(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Conditions = nil
- }
- if in.Addresses != nil {
- in, out := &in.Addresses, &out.Addresses
- *out = make([]NodeAddress, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Addresses = nil
- }
- 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 {
- if err := DeepCopy_api_ContainerImage(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Images = nil
- }
- if in.VolumesInUse != nil {
- in, out := &in.VolumesInUse, &out.VolumesInUse
- *out = make([]UniqueVolumeName, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.VolumesInUse = nil
- }
- if in.VolumesAttached != nil {
- in, out := &in.VolumesAttached, &out.VolumesAttached
- *out = make([]AttachedVolume, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.VolumesAttached = nil
- }
- return nil
- }
- }
- func DeepCopy_api_NodeSystemInfo(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*NodeSystemInfo)
- out := out.(*NodeSystemInfo)
- out.MachineID = in.MachineID
- out.SystemUUID = in.SystemUUID
- out.BootID = in.BootID
- out.KernelVersion = in.KernelVersion
- out.OSImage = in.OSImage
- out.ContainerRuntimeVersion = in.ContainerRuntimeVersion
- out.KubeletVersion = in.KubeletVersion
- out.KubeProxyVersion = in.KubeProxyVersion
- out.OperatingSystem = in.OperatingSystem
- out.Architecture = in.Architecture
- return nil
- }
- }
- func DeepCopy_api_ObjectFieldSelector(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ObjectFieldSelector)
- out := out.(*ObjectFieldSelector)
- out.APIVersion = in.APIVersion
- out.FieldPath = in.FieldPath
- return nil
- }
- }
- func DeepCopy_api_ObjectMeta(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ObjectMeta)
- out := out.(*ObjectMeta)
- out.Name = in.Name
- out.GenerateName = in.GenerateName
- out.Namespace = in.Namespace
- out.SelfLink = in.SelfLink
- out.UID = in.UID
- out.ResourceVersion = in.ResourceVersion
- out.Generation = in.Generation
- out.CreationTimestamp = in.CreationTimestamp.DeepCopy()
- if in.DeletionTimestamp != nil {
- in, out := &in.DeletionTimestamp, &out.DeletionTimestamp
- *out = new(unversioned.Time)
- **out = (*in).DeepCopy()
- } else {
- out.DeletionTimestamp = nil
- }
- if in.DeletionGracePeriodSeconds != nil {
- in, out := &in.DeletionGracePeriodSeconds, &out.DeletionGracePeriodSeconds
- *out = new(int64)
- **out = **in
- } else {
- out.DeletionGracePeriodSeconds = nil
- }
- if in.Labels != nil {
- in, out := &in.Labels, &out.Labels
- *out = make(map[string]string)
- for key, val := range *in {
- (*out)[key] = val
- }
- } else {
- out.Labels = nil
- }
- if in.Annotations != nil {
- in, out := &in.Annotations, &out.Annotations
- *out = make(map[string]string)
- for key, val := range *in {
- (*out)[key] = val
- }
- } else {
- out.Annotations = nil
- }
- if in.OwnerReferences != nil {
- in, out := &in.OwnerReferences, &out.OwnerReferences
- *out = make([]OwnerReference, len(*in))
- for i := range *in {
- if err := DeepCopy_api_OwnerReference(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.OwnerReferences = nil
- }
- if in.Finalizers != nil {
- in, out := &in.Finalizers, &out.Finalizers
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.Finalizers = nil
- }
- out.ClusterName = in.ClusterName
- return nil
- }
- }
- func DeepCopy_api_ObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ObjectReference)
- out := out.(*ObjectReference)
- out.Kind = in.Kind
- out.Namespace = in.Namespace
- out.Name = in.Name
- out.UID = in.UID
- out.APIVersion = in.APIVersion
- out.ResourceVersion = in.ResourceVersion
- out.FieldPath = in.FieldPath
- return nil
- }
- }
- func DeepCopy_api_OwnerReference(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*OwnerReference)
- out := out.(*OwnerReference)
- out.APIVersion = in.APIVersion
- out.Kind = in.Kind
- out.Name = in.Name
- out.UID = in.UID
- if in.Controller != nil {
- in, out := &in.Controller, &out.Controller
- *out = new(bool)
- **out = **in
- } else {
- out.Controller = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PersistentVolume(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PersistentVolume)
- out := out.(*PersistentVolume)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_PersistentVolumeSpec(&in.Spec, &out.Spec, c); err != nil {
- return err
- }
- out.Status = in.Status
- return nil
- }
- }
- func DeepCopy_api_PersistentVolumeClaim(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PersistentVolumeClaim)
- out := out.(*PersistentVolumeClaim)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_PersistentVolumeClaimSpec(&in.Spec, &out.Spec, c); err != nil {
- return err
- }
- if err := DeepCopy_api_PersistentVolumeClaimStatus(&in.Status, &out.Status, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_PersistentVolumeClaimList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PersistentVolumeClaimList)
- out := out.(*PersistentVolumeClaimList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]PersistentVolumeClaim, len(*in))
- for i := range *in {
- if err := DeepCopy_api_PersistentVolumeClaim(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PersistentVolumeClaimSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PersistentVolumeClaimSpec)
- out := out.(*PersistentVolumeClaimSpec)
- if in.AccessModes != nil {
- in, out := &in.AccessModes, &out.AccessModes
- *out = make([]PersistentVolumeAccessMode, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.AccessModes = nil
- }
- if in.Selector != nil {
- in, out := &in.Selector, &out.Selector
- *out = new(unversioned.LabelSelector)
- if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.Selector = nil
- }
- if err := DeepCopy_api_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil {
- return err
- }
- out.VolumeName = in.VolumeName
- return nil
- }
- }
- func DeepCopy_api_PersistentVolumeClaimStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PersistentVolumeClaimStatus)
- out := out.(*PersistentVolumeClaimStatus)
- out.Phase = in.Phase
- if in.AccessModes != nil {
- in, out := &in.AccessModes, &out.AccessModes
- *out = make([]PersistentVolumeAccessMode, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.AccessModes = nil
- }
- if in.Capacity != nil {
- in, out := &in.Capacity, &out.Capacity
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Capacity = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PersistentVolumeClaimVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PersistentVolumeClaimVolumeSource)
- out := out.(*PersistentVolumeClaimVolumeSource)
- out.ClaimName = in.ClaimName
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_PersistentVolumeList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PersistentVolumeList)
- out := out.(*PersistentVolumeList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]PersistentVolume, len(*in))
- for i := range *in {
- if err := DeepCopy_api_PersistentVolume(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PersistentVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PersistentVolumeSource)
- out := out.(*PersistentVolumeSource)
- if in.GCEPersistentDisk != nil {
- in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk
- *out = new(GCEPersistentDiskVolumeSource)
- **out = **in
- } else {
- out.GCEPersistentDisk = nil
- }
- if in.AWSElasticBlockStore != nil {
- in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore
- *out = new(AWSElasticBlockStoreVolumeSource)
- **out = **in
- } else {
- out.AWSElasticBlockStore = nil
- }
- if in.HostPath != nil {
- in, out := &in.HostPath, &out.HostPath
- *out = new(HostPathVolumeSource)
- **out = **in
- } else {
- out.HostPath = nil
- }
- if in.Glusterfs != nil {
- in, out := &in.Glusterfs, &out.Glusterfs
- *out = new(GlusterfsVolumeSource)
- **out = **in
- } else {
- out.Glusterfs = nil
- }
- if in.NFS != nil {
- in, out := &in.NFS, &out.NFS
- *out = new(NFSVolumeSource)
- **out = **in
- } else {
- out.NFS = nil
- }
- if in.RBD != nil {
- in, out := &in.RBD, &out.RBD
- *out = new(RBDVolumeSource)
- if err := DeepCopy_api_RBDVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.RBD = nil
- }
- if in.Quobyte != nil {
- in, out := &in.Quobyte, &out.Quobyte
- *out = new(QuobyteVolumeSource)
- **out = **in
- } else {
- out.Quobyte = nil
- }
- if in.ISCSI != nil {
- in, out := &in.ISCSI, &out.ISCSI
- *out = new(ISCSIVolumeSource)
- **out = **in
- } else {
- out.ISCSI = nil
- }
- if in.FlexVolume != nil {
- in, out := &in.FlexVolume, &out.FlexVolume
- *out = new(FlexVolumeSource)
- if err := DeepCopy_api_FlexVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.FlexVolume = nil
- }
- if in.Cinder != nil {
- in, out := &in.Cinder, &out.Cinder
- *out = new(CinderVolumeSource)
- **out = **in
- } else {
- out.Cinder = nil
- }
- if in.CephFS != nil {
- in, out := &in.CephFS, &out.CephFS
- *out = new(CephFSVolumeSource)
- if err := DeepCopy_api_CephFSVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.CephFS = nil
- }
- if in.FC != nil {
- in, out := &in.FC, &out.FC
- *out = new(FCVolumeSource)
- if err := DeepCopy_api_FCVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.FC = nil
- }
- if in.Flocker != nil {
- in, out := &in.Flocker, &out.Flocker
- *out = new(FlockerVolumeSource)
- **out = **in
- } else {
- out.Flocker = nil
- }
- if in.AzureFile != nil {
- in, out := &in.AzureFile, &out.AzureFile
- *out = new(AzureFileVolumeSource)
- **out = **in
- } else {
- out.AzureFile = nil
- }
- if in.VsphereVolume != nil {
- in, out := &in.VsphereVolume, &out.VsphereVolume
- *out = new(VsphereVirtualDiskVolumeSource)
- **out = **in
- } else {
- out.VsphereVolume = nil
- }
- if in.AzureDisk != nil {
- in, out := &in.AzureDisk, &out.AzureDisk
- *out = new(AzureDiskVolumeSource)
- if err := DeepCopy_api_AzureDiskVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.AzureDisk = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PersistentVolumeSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PersistentVolumeSpec)
- out := out.(*PersistentVolumeSpec)
- if in.Capacity != nil {
- in, out := &in.Capacity, &out.Capacity
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Capacity = nil
- }
- if err := DeepCopy_api_PersistentVolumeSource(&in.PersistentVolumeSource, &out.PersistentVolumeSource, c); err != nil {
- return err
- }
- if in.AccessModes != nil {
- in, out := &in.AccessModes, &out.AccessModes
- *out = make([]PersistentVolumeAccessMode, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.AccessModes = nil
- }
- if in.ClaimRef != nil {
- in, out := &in.ClaimRef, &out.ClaimRef
- *out = new(ObjectReference)
- **out = **in
- } else {
- out.ClaimRef = nil
- }
- out.PersistentVolumeReclaimPolicy = in.PersistentVolumeReclaimPolicy
- return nil
- }
- }
- func DeepCopy_api_PersistentVolumeStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PersistentVolumeStatus)
- out := out.(*PersistentVolumeStatus)
- out.Phase = in.Phase
- out.Message = in.Message
- out.Reason = in.Reason
- return nil
- }
- }
- func DeepCopy_api_Pod(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Pod)
- out := out.(*Pod)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_PodSpec(&in.Spec, &out.Spec, c); err != nil {
- return err
- }
- if err := DeepCopy_api_PodStatus(&in.Status, &out.Status, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_PodAffinity(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodAffinity)
- out := out.(*PodAffinity)
- if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
- *out = make([]PodAffinityTerm, len(*in))
- for i := range *in {
- if err := DeepCopy_api_PodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.RequiredDuringSchedulingIgnoredDuringExecution = nil
- }
- if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
- *out = make([]WeightedPodAffinityTerm, len(*in))
- for i := range *in {
- if err := DeepCopy_api_WeightedPodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.PreferredDuringSchedulingIgnoredDuringExecution = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PodAffinityTerm(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodAffinityTerm)
- out := out.(*PodAffinityTerm)
- if in.LabelSelector != nil {
- in, out := &in.LabelSelector, &out.LabelSelector
- *out = new(unversioned.LabelSelector)
- if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.LabelSelector = nil
- }
- if in.Namespaces != nil {
- in, out := &in.Namespaces, &out.Namespaces
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.Namespaces = nil
- }
- out.TopologyKey = in.TopologyKey
- return nil
- }
- }
- func DeepCopy_api_PodAntiAffinity(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodAntiAffinity)
- out := out.(*PodAntiAffinity)
- if in.RequiredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution
- *out = make([]PodAffinityTerm, len(*in))
- for i := range *in {
- if err := DeepCopy_api_PodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.RequiredDuringSchedulingIgnoredDuringExecution = nil
- }
- if in.PreferredDuringSchedulingIgnoredDuringExecution != nil {
- in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution
- *out = make([]WeightedPodAffinityTerm, len(*in))
- for i := range *in {
- if err := DeepCopy_api_WeightedPodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.PreferredDuringSchedulingIgnoredDuringExecution = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PodAttachOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodAttachOptions)
- out := out.(*PodAttachOptions)
- out.TypeMeta = in.TypeMeta
- out.Stdin = in.Stdin
- out.Stdout = in.Stdout
- out.Stderr = in.Stderr
- out.TTY = in.TTY
- out.Container = in.Container
- return nil
- }
- }
- func DeepCopy_api_PodCondition(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodCondition)
- out := out.(*PodCondition)
- out.Type = in.Type
- out.Status = in.Status
- out.LastProbeTime = in.LastProbeTime.DeepCopy()
- out.LastTransitionTime = in.LastTransitionTime.DeepCopy()
- out.Reason = in.Reason
- out.Message = in.Message
- return nil
- }
- }
- func DeepCopy_api_PodExecOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodExecOptions)
- out := out.(*PodExecOptions)
- out.TypeMeta = in.TypeMeta
- out.Stdin = in.Stdin
- out.Stdout = in.Stdout
- out.Stderr = in.Stderr
- out.TTY = in.TTY
- out.Container = in.Container
- if in.Command != nil {
- in, out := &in.Command, &out.Command
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.Command = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PodList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodList)
- out := out.(*PodList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Pod, len(*in))
- for i := range *in {
- if err := DeepCopy_api_Pod(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PodLogOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodLogOptions)
- out := out.(*PodLogOptions)
- out.TypeMeta = in.TypeMeta
- out.Container = in.Container
- out.Follow = in.Follow
- out.Previous = in.Previous
- if in.SinceSeconds != nil {
- in, out := &in.SinceSeconds, &out.SinceSeconds
- *out = new(int64)
- **out = **in
- } else {
- out.SinceSeconds = nil
- }
- if in.SinceTime != nil {
- in, out := &in.SinceTime, &out.SinceTime
- *out = new(unversioned.Time)
- **out = (*in).DeepCopy()
- } else {
- out.SinceTime = nil
- }
- out.Timestamps = in.Timestamps
- if in.TailLines != nil {
- in, out := &in.TailLines, &out.TailLines
- *out = new(int64)
- **out = **in
- } else {
- out.TailLines = nil
- }
- if in.LimitBytes != nil {
- in, out := &in.LimitBytes, &out.LimitBytes
- *out = new(int64)
- **out = **in
- } else {
- out.LimitBytes = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PodProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodProxyOptions)
- out := out.(*PodProxyOptions)
- out.TypeMeta = in.TypeMeta
- out.Path = in.Path
- return nil
- }
- }
- func DeepCopy_api_PodSecurityContext(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodSecurityContext)
- out := out.(*PodSecurityContext)
- out.HostNetwork = in.HostNetwork
- out.HostPID = in.HostPID
- out.HostIPC = in.HostIPC
- if in.SELinuxOptions != nil {
- in, out := &in.SELinuxOptions, &out.SELinuxOptions
- *out = new(SELinuxOptions)
- **out = **in
- } else {
- out.SELinuxOptions = nil
- }
- if in.RunAsUser != nil {
- in, out := &in.RunAsUser, &out.RunAsUser
- *out = new(int64)
- **out = **in
- } else {
- out.RunAsUser = nil
- }
- if in.RunAsNonRoot != nil {
- in, out := &in.RunAsNonRoot, &out.RunAsNonRoot
- *out = new(bool)
- **out = **in
- } else {
- out.RunAsNonRoot = nil
- }
- if in.SupplementalGroups != nil {
- in, out := &in.SupplementalGroups, &out.SupplementalGroups
- *out = make([]int64, len(*in))
- copy(*out, *in)
- } else {
- out.SupplementalGroups = nil
- }
- if in.FSGroup != nil {
- in, out := &in.FSGroup, &out.FSGroup
- *out = new(int64)
- **out = **in
- } else {
- out.FSGroup = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PodSignature(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodSignature)
- out := out.(*PodSignature)
- if in.PodController != nil {
- in, out := &in.PodController, &out.PodController
- *out = new(OwnerReference)
- if err := DeepCopy_api_OwnerReference(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.PodController = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodSpec)
- out := out.(*PodSpec)
- if in.Volumes != nil {
- in, out := &in.Volumes, &out.Volumes
- *out = make([]Volume, len(*in))
- for i := range *in {
- if err := DeepCopy_api_Volume(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Volumes = nil
- }
- if in.InitContainers != nil {
- in, out := &in.InitContainers, &out.InitContainers
- *out = make([]Container, len(*in))
- for i := range *in {
- if err := DeepCopy_api_Container(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.InitContainers = nil
- }
- if in.Containers != nil {
- in, out := &in.Containers, &out.Containers
- *out = make([]Container, len(*in))
- for i := range *in {
- if err := DeepCopy_api_Container(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Containers = nil
- }
- out.RestartPolicy = in.RestartPolicy
- if in.TerminationGracePeriodSeconds != nil {
- in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds
- *out = new(int64)
- **out = **in
- } else {
- out.TerminationGracePeriodSeconds = nil
- }
- if in.ActiveDeadlineSeconds != nil {
- in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
- *out = new(int64)
- **out = **in
- } else {
- out.ActiveDeadlineSeconds = nil
- }
- out.DNSPolicy = in.DNSPolicy
- if in.NodeSelector != nil {
- in, out := &in.NodeSelector, &out.NodeSelector
- *out = make(map[string]string)
- for key, val := range *in {
- (*out)[key] = val
- }
- } else {
- out.NodeSelector = nil
- }
- out.ServiceAccountName = in.ServiceAccountName
- out.NodeName = in.NodeName
- if in.SecurityContext != nil {
- in, out := &in.SecurityContext, &out.SecurityContext
- *out = new(PodSecurityContext)
- if err := DeepCopy_api_PodSecurityContext(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.SecurityContext = nil
- }
- if in.ImagePullSecrets != nil {
- in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
- *out = make([]LocalObjectReference, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.ImagePullSecrets = nil
- }
- out.Hostname = in.Hostname
- out.Subdomain = in.Subdomain
- return nil
- }
- }
- func DeepCopy_api_PodStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodStatus)
- out := out.(*PodStatus)
- out.Phase = in.Phase
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]PodCondition, len(*in))
- for i := range *in {
- if err := DeepCopy_api_PodCondition(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Conditions = nil
- }
- out.Message = in.Message
- out.Reason = in.Reason
- out.HostIP = in.HostIP
- out.PodIP = in.PodIP
- if in.StartTime != nil {
- in, out := &in.StartTime, &out.StartTime
- *out = new(unversioned.Time)
- **out = (*in).DeepCopy()
- } else {
- out.StartTime = nil
- }
- if in.InitContainerStatuses != nil {
- in, out := &in.InitContainerStatuses, &out.InitContainerStatuses
- *out = make([]ContainerStatus, len(*in))
- for i := range *in {
- if err := DeepCopy_api_ContainerStatus(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.InitContainerStatuses = nil
- }
- if in.ContainerStatuses != nil {
- in, out := &in.ContainerStatuses, &out.ContainerStatuses
- *out = make([]ContainerStatus, len(*in))
- for i := range *in {
- if err := DeepCopy_api_ContainerStatus(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.ContainerStatuses = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PodStatusResult(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodStatusResult)
- out := out.(*PodStatusResult)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_PodStatus(&in.Status, &out.Status, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_PodTemplate(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodTemplate)
- out := out.(*PodTemplate)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_PodTemplateList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodTemplateList)
- out := out.(*PodTemplateList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]PodTemplate, len(*in))
- for i := range *in {
- if err := DeepCopy_api_PodTemplate(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PodTemplateSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PodTemplateSpec)
- out := out.(*PodTemplateSpec)
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_PodSpec(&in.Spec, &out.Spec, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_Preconditions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Preconditions)
- out := out.(*Preconditions)
- if in.UID != nil {
- in, out := &in.UID, &out.UID
- *out = new(types.UID)
- **out = **in
- } else {
- out.UID = nil
- }
- return nil
- }
- }
- func DeepCopy_api_PreferAvoidPodsEntry(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PreferAvoidPodsEntry)
- out := out.(*PreferAvoidPodsEntry)
- if err := DeepCopy_api_PodSignature(&in.PodSignature, &out.PodSignature, c); err != nil {
- return err
- }
- out.EvictionTime = in.EvictionTime.DeepCopy()
- out.Reason = in.Reason
- out.Message = in.Message
- return nil
- }
- }
- func DeepCopy_api_PreferredSchedulingTerm(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*PreferredSchedulingTerm)
- out := out.(*PreferredSchedulingTerm)
- out.Weight = in.Weight
- if err := DeepCopy_api_NodeSelectorTerm(&in.Preference, &out.Preference, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_Probe(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Probe)
- out := out.(*Probe)
- if err := DeepCopy_api_Handler(&in.Handler, &out.Handler, c); err != nil {
- return err
- }
- out.InitialDelaySeconds = in.InitialDelaySeconds
- out.TimeoutSeconds = in.TimeoutSeconds
- out.PeriodSeconds = in.PeriodSeconds
- out.SuccessThreshold = in.SuccessThreshold
- out.FailureThreshold = in.FailureThreshold
- return nil
- }
- }
- func DeepCopy_api_QuobyteVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*QuobyteVolumeSource)
- out := out.(*QuobyteVolumeSource)
- out.Registry = in.Registry
- out.Volume = in.Volume
- out.ReadOnly = in.ReadOnly
- out.User = in.User
- out.Group = in.Group
- return nil
- }
- }
- func DeepCopy_api_RBDVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*RBDVolumeSource)
- out := out.(*RBDVolumeSource)
- if in.CephMonitors != nil {
- in, out := &in.CephMonitors, &out.CephMonitors
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.CephMonitors = nil
- }
- out.RBDImage = in.RBDImage
- out.FSType = in.FSType
- out.RBDPool = in.RBDPool
- out.RadosUser = in.RadosUser
- out.Keyring = in.Keyring
- if in.SecretRef != nil {
- in, out := &in.SecretRef, &out.SecretRef
- *out = new(LocalObjectReference)
- **out = **in
- } else {
- out.SecretRef = nil
- }
- out.ReadOnly = in.ReadOnly
- return nil
- }
- }
- func DeepCopy_api_RangeAllocation(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*RangeAllocation)
- out := out.(*RangeAllocation)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- out.Range = in.Range
- if in.Data != nil {
- in, out := &in.Data, &out.Data
- *out = make([]byte, len(*in))
- copy(*out, *in)
- } else {
- out.Data = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ReplicationController(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ReplicationController)
- out := out.(*ReplicationController)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_ReplicationControllerSpec(&in.Spec, &out.Spec, c); err != nil {
- return err
- }
- out.Status = in.Status
- return nil
- }
- }
- func DeepCopy_api_ReplicationControllerList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ReplicationControllerList)
- out := out.(*ReplicationControllerList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ReplicationController, len(*in))
- for i := range *in {
- if err := DeepCopy_api_ReplicationController(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ReplicationControllerSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ReplicationControllerSpec)
- out := out.(*ReplicationControllerSpec)
- out.Replicas = in.Replicas
- if in.Selector != nil {
- in, out := &in.Selector, &out.Selector
- *out = make(map[string]string)
- for key, val := range *in {
- (*out)[key] = val
- }
- } else {
- out.Selector = nil
- }
- if in.Template != nil {
- in, out := &in.Template, &out.Template
- *out = new(PodTemplateSpec)
- if err := DeepCopy_api_PodTemplateSpec(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.Template = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ReplicationControllerStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ReplicationControllerStatus)
- out := out.(*ReplicationControllerStatus)
- out.Replicas = in.Replicas
- out.FullyLabeledReplicas = in.FullyLabeledReplicas
- out.ReadyReplicas = in.ReadyReplicas
- out.ObservedGeneration = in.ObservedGeneration
- return nil
- }
- }
- func DeepCopy_api_ResourceFieldSelector(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ResourceFieldSelector)
- out := out.(*ResourceFieldSelector)
- out.ContainerName = in.ContainerName
- out.Resource = in.Resource
- out.Divisor = in.Divisor.DeepCopy()
- return nil
- }
- }
- func DeepCopy_api_ResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ResourceQuota)
- out := out.(*ResourceQuota)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_ResourceQuotaSpec(&in.Spec, &out.Spec, c); err != nil {
- return err
- }
- if err := DeepCopy_api_ResourceQuotaStatus(&in.Status, &out.Status, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_ResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ResourceQuotaList)
- out := out.(*ResourceQuotaList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ResourceQuota, len(*in))
- for i := range *in {
- if err := DeepCopy_api_ResourceQuota(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ResourceQuotaSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ResourceQuotaSpec)
- out := out.(*ResourceQuotaSpec)
- if in.Hard != nil {
- in, out := &in.Hard, &out.Hard
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Hard = nil
- }
- if in.Scopes != nil {
- in, out := &in.Scopes, &out.Scopes
- *out = make([]ResourceQuotaScope, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Scopes = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ResourceQuotaStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ResourceQuotaStatus)
- out := out.(*ResourceQuotaStatus)
- if in.Hard != nil {
- in, out := &in.Hard, &out.Hard
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Hard = nil
- }
- if in.Used != nil {
- in, out := &in.Used, &out.Used
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Used = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ResourceRequirements(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ResourceRequirements)
- out := out.(*ResourceRequirements)
- if in.Limits != nil {
- in, out := &in.Limits, &out.Limits
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Limits = nil
- }
- if in.Requests != nil {
- in, out := &in.Requests, &out.Requests
- *out = make(ResourceList)
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
- } else {
- out.Requests = nil
- }
- return nil
- }
- }
- func DeepCopy_api_SELinuxOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*SELinuxOptions)
- out := out.(*SELinuxOptions)
- out.User = in.User
- out.Role = in.Role
- out.Type = in.Type
- out.Level = in.Level
- return nil
- }
- }
- func DeepCopy_api_Secret(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Secret)
- out := out.(*Secret)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if in.Data != nil {
- in, out := &in.Data, &out.Data
- *out = make(map[string][]byte)
- for key, val := range *in {
- if newVal, err := c.DeepCopy(&val); err != nil {
- return err
- } else {
- (*out)[key] = *newVal.(*[]byte)
- }
- }
- } else {
- out.Data = nil
- }
- out.Type = in.Type
- return nil
- }
- }
- func DeepCopy_api_SecretKeySelector(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*SecretKeySelector)
- out := out.(*SecretKeySelector)
- out.LocalObjectReference = in.LocalObjectReference
- out.Key = in.Key
- return nil
- }
- }
- func DeepCopy_api_SecretList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*SecretList)
- out := out.(*SecretList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Secret, len(*in))
- for i := range *in {
- if err := DeepCopy_api_Secret(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_SecretVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*SecretVolumeSource)
- out := out.(*SecretVolumeSource)
- out.SecretName = in.SecretName
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]KeyToPath, len(*in))
- for i := range *in {
- if err := DeepCopy_api_KeyToPath(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- if in.DefaultMode != nil {
- in, out := &in.DefaultMode, &out.DefaultMode
- *out = new(int32)
- **out = **in
- } else {
- out.DefaultMode = nil
- }
- return nil
- }
- }
- func DeepCopy_api_SecurityContext(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*SecurityContext)
- out := out.(*SecurityContext)
- if in.Capabilities != nil {
- in, out := &in.Capabilities, &out.Capabilities
- *out = new(Capabilities)
- if err := DeepCopy_api_Capabilities(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.Capabilities = nil
- }
- if in.Privileged != nil {
- in, out := &in.Privileged, &out.Privileged
- *out = new(bool)
- **out = **in
- } else {
- out.Privileged = nil
- }
- if in.SELinuxOptions != nil {
- in, out := &in.SELinuxOptions, &out.SELinuxOptions
- *out = new(SELinuxOptions)
- **out = **in
- } else {
- out.SELinuxOptions = nil
- }
- if in.RunAsUser != nil {
- in, out := &in.RunAsUser, &out.RunAsUser
- *out = new(int64)
- **out = **in
- } else {
- out.RunAsUser = nil
- }
- if in.RunAsNonRoot != nil {
- in, out := &in.RunAsNonRoot, &out.RunAsNonRoot
- *out = new(bool)
- **out = **in
- } else {
- out.RunAsNonRoot = nil
- }
- if in.ReadOnlyRootFilesystem != nil {
- in, out := &in.ReadOnlyRootFilesystem, &out.ReadOnlyRootFilesystem
- *out = new(bool)
- **out = **in
- } else {
- out.ReadOnlyRootFilesystem = nil
- }
- return nil
- }
- }
- func DeepCopy_api_SerializedReference(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*SerializedReference)
- out := out.(*SerializedReference)
- out.TypeMeta = in.TypeMeta
- out.Reference = in.Reference
- return nil
- }
- }
- func DeepCopy_api_Service(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Service)
- out := out.(*Service)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if err := DeepCopy_api_ServiceSpec(&in.Spec, &out.Spec, c); err != nil {
- return err
- }
- if err := DeepCopy_api_ServiceStatus(&in.Status, &out.Status, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_ServiceAccount(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ServiceAccount)
- out := out.(*ServiceAccount)
- out.TypeMeta = in.TypeMeta
- if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
- return err
- }
- if in.Secrets != nil {
- in, out := &in.Secrets, &out.Secrets
- *out = make([]ObjectReference, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Secrets = nil
- }
- if in.ImagePullSecrets != nil {
- in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
- *out = make([]LocalObjectReference, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.ImagePullSecrets = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ServiceAccountList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ServiceAccountList)
- out := out.(*ServiceAccountList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ServiceAccount, len(*in))
- for i := range *in {
- if err := DeepCopy_api_ServiceAccount(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ServiceList(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ServiceList)
- out := out.(*ServiceList)
- out.TypeMeta = in.TypeMeta
- out.ListMeta = in.ListMeta
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Service, len(*in))
- for i := range *in {
- if err := DeepCopy_api_Service(&(*in)[i], &(*out)[i], c); err != nil {
- return err
- }
- }
- } else {
- out.Items = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ServicePort(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ServicePort)
- out := out.(*ServicePort)
- out.Name = in.Name
- out.Protocol = in.Protocol
- out.Port = in.Port
- out.TargetPort = in.TargetPort
- out.NodePort = in.NodePort
- return nil
- }
- }
- func DeepCopy_api_ServiceProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ServiceProxyOptions)
- out := out.(*ServiceProxyOptions)
- out.TypeMeta = in.TypeMeta
- out.Path = in.Path
- return nil
- }
- }
- func DeepCopy_api_ServiceSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ServiceSpec)
- out := out.(*ServiceSpec)
- out.Type = in.Type
- if in.Ports != nil {
- in, out := &in.Ports, &out.Ports
- *out = make([]ServicePort, len(*in))
- for i := range *in {
- (*out)[i] = (*in)[i]
- }
- } else {
- out.Ports = nil
- }
- if in.Selector != nil {
- in, out := &in.Selector, &out.Selector
- *out = make(map[string]string)
- for key, val := range *in {
- (*out)[key] = val
- }
- } else {
- out.Selector = nil
- }
- out.ClusterIP = in.ClusterIP
- out.ExternalName = in.ExternalName
- if in.ExternalIPs != nil {
- in, out := &in.ExternalIPs, &out.ExternalIPs
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.ExternalIPs = nil
- }
- out.LoadBalancerIP = in.LoadBalancerIP
- out.SessionAffinity = in.SessionAffinity
- if in.LoadBalancerSourceRanges != nil {
- in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges
- *out = make([]string, len(*in))
- copy(*out, *in)
- } else {
- out.LoadBalancerSourceRanges = nil
- }
- return nil
- }
- }
- func DeepCopy_api_ServiceStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*ServiceStatus)
- out := out.(*ServiceStatus)
- if err := DeepCopy_api_LoadBalancerStatus(&in.LoadBalancer, &out.LoadBalancer, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_Sysctl(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Sysctl)
- out := out.(*Sysctl)
- out.Name = in.Name
- out.Value = in.Value
- return nil
- }
- }
- func DeepCopy_api_TCPSocketAction(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*TCPSocketAction)
- out := out.(*TCPSocketAction)
- out.Port = in.Port
- return nil
- }
- }
- func DeepCopy_api_Taint(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Taint)
- out := out.(*Taint)
- out.Key = in.Key
- out.Value = in.Value
- out.Effect = in.Effect
- return nil
- }
- }
- func DeepCopy_api_Toleration(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Toleration)
- out := out.(*Toleration)
- out.Key = in.Key
- out.Operator = in.Operator
- out.Value = in.Value
- out.Effect = in.Effect
- return nil
- }
- }
- func DeepCopy_api_Volume(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Volume)
- out := out.(*Volume)
- out.Name = in.Name
- if err := DeepCopy_api_VolumeSource(&in.VolumeSource, &out.VolumeSource, c); err != nil {
- return err
- }
- return nil
- }
- }
- func DeepCopy_api_VolumeMount(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*VolumeMount)
- out := out.(*VolumeMount)
- out.Name = in.Name
- out.ReadOnly = in.ReadOnly
- out.MountPath = in.MountPath
- out.SubPath = in.SubPath
- return nil
- }
- }
- func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*VolumeSource)
- out := out.(*VolumeSource)
- if in.HostPath != nil {
- in, out := &in.HostPath, &out.HostPath
- *out = new(HostPathVolumeSource)
- **out = **in
- } else {
- out.HostPath = nil
- }
- if in.EmptyDir != nil {
- in, out := &in.EmptyDir, &out.EmptyDir
- *out = new(EmptyDirVolumeSource)
- **out = **in
- } else {
- out.EmptyDir = nil
- }
- if in.GCEPersistentDisk != nil {
- in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk
- *out = new(GCEPersistentDiskVolumeSource)
- **out = **in
- } else {
- out.GCEPersistentDisk = nil
- }
- if in.AWSElasticBlockStore != nil {
- in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore
- *out = new(AWSElasticBlockStoreVolumeSource)
- **out = **in
- } else {
- out.AWSElasticBlockStore = nil
- }
- if in.GitRepo != nil {
- in, out := &in.GitRepo, &out.GitRepo
- *out = new(GitRepoVolumeSource)
- **out = **in
- } else {
- out.GitRepo = nil
- }
- if in.Secret != nil {
- in, out := &in.Secret, &out.Secret
- *out = new(SecretVolumeSource)
- if err := DeepCopy_api_SecretVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.Secret = nil
- }
- if in.NFS != nil {
- in, out := &in.NFS, &out.NFS
- *out = new(NFSVolumeSource)
- **out = **in
- } else {
- out.NFS = nil
- }
- if in.ISCSI != nil {
- in, out := &in.ISCSI, &out.ISCSI
- *out = new(ISCSIVolumeSource)
- **out = **in
- } else {
- out.ISCSI = nil
- }
- if in.Glusterfs != nil {
- in, out := &in.Glusterfs, &out.Glusterfs
- *out = new(GlusterfsVolumeSource)
- **out = **in
- } else {
- out.Glusterfs = nil
- }
- if in.PersistentVolumeClaim != nil {
- in, out := &in.PersistentVolumeClaim, &out.PersistentVolumeClaim
- *out = new(PersistentVolumeClaimVolumeSource)
- **out = **in
- } else {
- out.PersistentVolumeClaim = nil
- }
- if in.RBD != nil {
- in, out := &in.RBD, &out.RBD
- *out = new(RBDVolumeSource)
- if err := DeepCopy_api_RBDVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.RBD = nil
- }
- if in.Quobyte != nil {
- in, out := &in.Quobyte, &out.Quobyte
- *out = new(QuobyteVolumeSource)
- **out = **in
- } else {
- out.Quobyte = nil
- }
- if in.FlexVolume != nil {
- in, out := &in.FlexVolume, &out.FlexVolume
- *out = new(FlexVolumeSource)
- if err := DeepCopy_api_FlexVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.FlexVolume = nil
- }
- if in.Cinder != nil {
- in, out := &in.Cinder, &out.Cinder
- *out = new(CinderVolumeSource)
- **out = **in
- } else {
- out.Cinder = nil
- }
- if in.CephFS != nil {
- in, out := &in.CephFS, &out.CephFS
- *out = new(CephFSVolumeSource)
- if err := DeepCopy_api_CephFSVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.CephFS = nil
- }
- if in.Flocker != nil {
- in, out := &in.Flocker, &out.Flocker
- *out = new(FlockerVolumeSource)
- **out = **in
- } else {
- out.Flocker = nil
- }
- if in.DownwardAPI != nil {
- in, out := &in.DownwardAPI, &out.DownwardAPI
- *out = new(DownwardAPIVolumeSource)
- if err := DeepCopy_api_DownwardAPIVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.DownwardAPI = nil
- }
- if in.FC != nil {
- in, out := &in.FC, &out.FC
- *out = new(FCVolumeSource)
- if err := DeepCopy_api_FCVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.FC = nil
- }
- if in.AzureFile != nil {
- in, out := &in.AzureFile, &out.AzureFile
- *out = new(AzureFileVolumeSource)
- **out = **in
- } else {
- out.AzureFile = nil
- }
- if in.ConfigMap != nil {
- in, out := &in.ConfigMap, &out.ConfigMap
- *out = new(ConfigMapVolumeSource)
- if err := DeepCopy_api_ConfigMapVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.ConfigMap = nil
- }
- if in.VsphereVolume != nil {
- in, out := &in.VsphereVolume, &out.VsphereVolume
- *out = new(VsphereVirtualDiskVolumeSource)
- **out = **in
- } else {
- out.VsphereVolume = nil
- }
- if in.AzureDisk != nil {
- in, out := &in.AzureDisk, &out.AzureDisk
- *out = new(AzureDiskVolumeSource)
- if err := DeepCopy_api_AzureDiskVolumeSource(*in, *out, c); err != nil {
- return err
- }
- } else {
- out.AzureDisk = nil
- }
- return nil
- }
- }
- func DeepCopy_api_VsphereVirtualDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*VsphereVirtualDiskVolumeSource)
- out := out.(*VsphereVirtualDiskVolumeSource)
- out.VolumePath = in.VolumePath
- out.FSType = in.FSType
- return nil
- }
- }
- func DeepCopy_api_WeightedPodAffinityTerm(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*WeightedPodAffinityTerm)
- out := out.(*WeightedPodAffinityTerm)
- out.Weight = in.Weight
- if err := DeepCopy_api_PodAffinityTerm(&in.PodAffinityTerm, &out.PodAffinityTerm, c); err != nil {
- return err
- }
- return nil
- }
- }
|