generated.pb.go 113 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505
  1. /*
  2. Copyright The Kubernetes Authors.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  14. // source: k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1/generated.proto
  15. /*
  16. Package v1beta1 is a generated protocol buffer package.
  17. It is generated from these files:
  18. k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1/generated.proto
  19. It has these top-level messages:
  20. AllowedCSIDriver
  21. AllowedFlexVolume
  22. AllowedHostPath
  23. Eviction
  24. FSGroupStrategyOptions
  25. HostPortRange
  26. IDRange
  27. PodDisruptionBudget
  28. PodDisruptionBudgetList
  29. PodDisruptionBudgetSpec
  30. PodDisruptionBudgetStatus
  31. PodSecurityPolicy
  32. PodSecurityPolicyList
  33. PodSecurityPolicySpec
  34. RunAsGroupStrategyOptions
  35. RunAsUserStrategyOptions
  36. SELinuxStrategyOptions
  37. SupplementalGroupsStrategyOptions
  38. */
  39. package v1beta1
  40. import proto "github.com/gogo/protobuf/proto"
  41. import fmt "fmt"
  42. import math "math"
  43. import k8s_io_api_core_v1 "k8s.io/api/core/v1"
  44. import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  45. import k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr"
  46. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  47. import strings "strings"
  48. import reflect "reflect"
  49. import io "io"
  50. // Reference imports to suppress errors if they are not otherwise used.
  51. var _ = proto.Marshal
  52. var _ = fmt.Errorf
  53. var _ = math.Inf
  54. // This is a compile-time assertion to ensure that this generated file
  55. // is compatible with the proto package it is being compiled against.
  56. // A compilation error at this line likely means your copy of the
  57. // proto package needs to be updated.
  58. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  59. func (m *AllowedCSIDriver) Reset() { *m = AllowedCSIDriver{} }
  60. func (*AllowedCSIDriver) ProtoMessage() {}
  61. func (*AllowedCSIDriver) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
  62. func (m *AllowedFlexVolume) Reset() { *m = AllowedFlexVolume{} }
  63. func (*AllowedFlexVolume) ProtoMessage() {}
  64. func (*AllowedFlexVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  65. func (m *AllowedHostPath) Reset() { *m = AllowedHostPath{} }
  66. func (*AllowedHostPath) ProtoMessage() {}
  67. func (*AllowedHostPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  68. func (m *Eviction) Reset() { *m = Eviction{} }
  69. func (*Eviction) ProtoMessage() {}
  70. func (*Eviction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  71. func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} }
  72. func (*FSGroupStrategyOptions) ProtoMessage() {}
  73. func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  74. func (m *HostPortRange) Reset() { *m = HostPortRange{} }
  75. func (*HostPortRange) ProtoMessage() {}
  76. func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
  77. func (m *IDRange) Reset() { *m = IDRange{} }
  78. func (*IDRange) ProtoMessage() {}
  79. func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  80. func (m *PodDisruptionBudget) Reset() { *m = PodDisruptionBudget{} }
  81. func (*PodDisruptionBudget) ProtoMessage() {}
  82. func (*PodDisruptionBudget) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  83. func (m *PodDisruptionBudgetList) Reset() { *m = PodDisruptionBudgetList{} }
  84. func (*PodDisruptionBudgetList) ProtoMessage() {}
  85. func (*PodDisruptionBudgetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
  86. func (m *PodDisruptionBudgetSpec) Reset() { *m = PodDisruptionBudgetSpec{} }
  87. func (*PodDisruptionBudgetSpec) ProtoMessage() {}
  88. func (*PodDisruptionBudgetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  89. func (m *PodDisruptionBudgetStatus) Reset() { *m = PodDisruptionBudgetStatus{} }
  90. func (*PodDisruptionBudgetStatus) ProtoMessage() {}
  91. func (*PodDisruptionBudgetStatus) Descriptor() ([]byte, []int) {
  92. return fileDescriptorGenerated, []int{10}
  93. }
  94. func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} }
  95. func (*PodSecurityPolicy) ProtoMessage() {}
  96. func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
  97. func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} }
  98. func (*PodSecurityPolicyList) ProtoMessage() {}
  99. func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  100. func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} }
  101. func (*PodSecurityPolicySpec) ProtoMessage() {}
  102. func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
  103. func (m *RunAsGroupStrategyOptions) Reset() { *m = RunAsGroupStrategyOptions{} }
  104. func (*RunAsGroupStrategyOptions) ProtoMessage() {}
  105. func (*RunAsGroupStrategyOptions) Descriptor() ([]byte, []int) {
  106. return fileDescriptorGenerated, []int{14}
  107. }
  108. func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} }
  109. func (*RunAsUserStrategyOptions) ProtoMessage() {}
  110. func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) {
  111. return fileDescriptorGenerated, []int{15}
  112. }
  113. func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} }
  114. func (*SELinuxStrategyOptions) ProtoMessage() {}
  115. func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  116. func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} }
  117. func (*SupplementalGroupsStrategyOptions) ProtoMessage() {}
  118. func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) {
  119. return fileDescriptorGenerated, []int{17}
  120. }
  121. func init() {
  122. proto.RegisterType((*AllowedCSIDriver)(nil), "k8s.io.api.policy.v1beta1.AllowedCSIDriver")
  123. proto.RegisterType((*AllowedFlexVolume)(nil), "k8s.io.api.policy.v1beta1.AllowedFlexVolume")
  124. proto.RegisterType((*AllowedHostPath)(nil), "k8s.io.api.policy.v1beta1.AllowedHostPath")
  125. proto.RegisterType((*Eviction)(nil), "k8s.io.api.policy.v1beta1.Eviction")
  126. proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.api.policy.v1beta1.FSGroupStrategyOptions")
  127. proto.RegisterType((*HostPortRange)(nil), "k8s.io.api.policy.v1beta1.HostPortRange")
  128. proto.RegisterType((*IDRange)(nil), "k8s.io.api.policy.v1beta1.IDRange")
  129. proto.RegisterType((*PodDisruptionBudget)(nil), "k8s.io.api.policy.v1beta1.PodDisruptionBudget")
  130. proto.RegisterType((*PodDisruptionBudgetList)(nil), "k8s.io.api.policy.v1beta1.PodDisruptionBudgetList")
  131. proto.RegisterType((*PodDisruptionBudgetSpec)(nil), "k8s.io.api.policy.v1beta1.PodDisruptionBudgetSpec")
  132. proto.RegisterType((*PodDisruptionBudgetStatus)(nil), "k8s.io.api.policy.v1beta1.PodDisruptionBudgetStatus")
  133. proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.api.policy.v1beta1.PodSecurityPolicy")
  134. proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.api.policy.v1beta1.PodSecurityPolicyList")
  135. proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.api.policy.v1beta1.PodSecurityPolicySpec")
  136. proto.RegisterType((*RunAsGroupStrategyOptions)(nil), "k8s.io.api.policy.v1beta1.RunAsGroupStrategyOptions")
  137. proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions")
  138. proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.api.policy.v1beta1.SELinuxStrategyOptions")
  139. proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.api.policy.v1beta1.SupplementalGroupsStrategyOptions")
  140. }
  141. func (m *AllowedCSIDriver) Marshal() (dAtA []byte, err error) {
  142. size := m.Size()
  143. dAtA = make([]byte, size)
  144. n, err := m.MarshalTo(dAtA)
  145. if err != nil {
  146. return nil, err
  147. }
  148. return dAtA[:n], nil
  149. }
  150. func (m *AllowedCSIDriver) MarshalTo(dAtA []byte) (int, error) {
  151. var i int
  152. _ = i
  153. var l int
  154. _ = l
  155. dAtA[i] = 0xa
  156. i++
  157. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  158. i += copy(dAtA[i:], m.Name)
  159. return i, nil
  160. }
  161. func (m *AllowedFlexVolume) Marshal() (dAtA []byte, err error) {
  162. size := m.Size()
  163. dAtA = make([]byte, size)
  164. n, err := m.MarshalTo(dAtA)
  165. if err != nil {
  166. return nil, err
  167. }
  168. return dAtA[:n], nil
  169. }
  170. func (m *AllowedFlexVolume) MarshalTo(dAtA []byte) (int, error) {
  171. var i int
  172. _ = i
  173. var l int
  174. _ = l
  175. dAtA[i] = 0xa
  176. i++
  177. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
  178. i += copy(dAtA[i:], m.Driver)
  179. return i, nil
  180. }
  181. func (m *AllowedHostPath) Marshal() (dAtA []byte, err error) {
  182. size := m.Size()
  183. dAtA = make([]byte, size)
  184. n, err := m.MarshalTo(dAtA)
  185. if err != nil {
  186. return nil, err
  187. }
  188. return dAtA[:n], nil
  189. }
  190. func (m *AllowedHostPath) MarshalTo(dAtA []byte) (int, error) {
  191. var i int
  192. _ = i
  193. var l int
  194. _ = l
  195. dAtA[i] = 0xa
  196. i++
  197. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PathPrefix)))
  198. i += copy(dAtA[i:], m.PathPrefix)
  199. dAtA[i] = 0x10
  200. i++
  201. if m.ReadOnly {
  202. dAtA[i] = 1
  203. } else {
  204. dAtA[i] = 0
  205. }
  206. i++
  207. return i, nil
  208. }
  209. func (m *Eviction) Marshal() (dAtA []byte, err error) {
  210. size := m.Size()
  211. dAtA = make([]byte, size)
  212. n, err := m.MarshalTo(dAtA)
  213. if err != nil {
  214. return nil, err
  215. }
  216. return dAtA[:n], nil
  217. }
  218. func (m *Eviction) MarshalTo(dAtA []byte) (int, error) {
  219. var i int
  220. _ = i
  221. var l int
  222. _ = l
  223. dAtA[i] = 0xa
  224. i++
  225. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  226. n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  227. if err != nil {
  228. return 0, err
  229. }
  230. i += n1
  231. if m.DeleteOptions != nil {
  232. dAtA[i] = 0x12
  233. i++
  234. i = encodeVarintGenerated(dAtA, i, uint64(m.DeleteOptions.Size()))
  235. n2, err := m.DeleteOptions.MarshalTo(dAtA[i:])
  236. if err != nil {
  237. return 0, err
  238. }
  239. i += n2
  240. }
  241. return i, nil
  242. }
  243. func (m *FSGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
  244. size := m.Size()
  245. dAtA = make([]byte, size)
  246. n, err := m.MarshalTo(dAtA)
  247. if err != nil {
  248. return nil, err
  249. }
  250. return dAtA[:n], nil
  251. }
  252. func (m *FSGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
  253. var i int
  254. _ = i
  255. var l int
  256. _ = l
  257. dAtA[i] = 0xa
  258. i++
  259. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
  260. i += copy(dAtA[i:], m.Rule)
  261. if len(m.Ranges) > 0 {
  262. for _, msg := range m.Ranges {
  263. dAtA[i] = 0x12
  264. i++
  265. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  266. n, err := msg.MarshalTo(dAtA[i:])
  267. if err != nil {
  268. return 0, err
  269. }
  270. i += n
  271. }
  272. }
  273. return i, nil
  274. }
  275. func (m *HostPortRange) Marshal() (dAtA []byte, err error) {
  276. size := m.Size()
  277. dAtA = make([]byte, size)
  278. n, err := m.MarshalTo(dAtA)
  279. if err != nil {
  280. return nil, err
  281. }
  282. return dAtA[:n], nil
  283. }
  284. func (m *HostPortRange) MarshalTo(dAtA []byte) (int, error) {
  285. var i int
  286. _ = i
  287. var l int
  288. _ = l
  289. dAtA[i] = 0x8
  290. i++
  291. i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
  292. dAtA[i] = 0x10
  293. i++
  294. i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
  295. return i, nil
  296. }
  297. func (m *IDRange) Marshal() (dAtA []byte, err error) {
  298. size := m.Size()
  299. dAtA = make([]byte, size)
  300. n, err := m.MarshalTo(dAtA)
  301. if err != nil {
  302. return nil, err
  303. }
  304. return dAtA[:n], nil
  305. }
  306. func (m *IDRange) MarshalTo(dAtA []byte) (int, error) {
  307. var i int
  308. _ = i
  309. var l int
  310. _ = l
  311. dAtA[i] = 0x8
  312. i++
  313. i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
  314. dAtA[i] = 0x10
  315. i++
  316. i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
  317. return i, nil
  318. }
  319. func (m *PodDisruptionBudget) Marshal() (dAtA []byte, err error) {
  320. size := m.Size()
  321. dAtA = make([]byte, size)
  322. n, err := m.MarshalTo(dAtA)
  323. if err != nil {
  324. return nil, err
  325. }
  326. return dAtA[:n], nil
  327. }
  328. func (m *PodDisruptionBudget) MarshalTo(dAtA []byte) (int, error) {
  329. var i int
  330. _ = i
  331. var l int
  332. _ = l
  333. dAtA[i] = 0xa
  334. i++
  335. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  336. n3, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  337. if err != nil {
  338. return 0, err
  339. }
  340. i += n3
  341. dAtA[i] = 0x12
  342. i++
  343. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  344. n4, err := m.Spec.MarshalTo(dAtA[i:])
  345. if err != nil {
  346. return 0, err
  347. }
  348. i += n4
  349. dAtA[i] = 0x1a
  350. i++
  351. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  352. n5, err := m.Status.MarshalTo(dAtA[i:])
  353. if err != nil {
  354. return 0, err
  355. }
  356. i += n5
  357. return i, nil
  358. }
  359. func (m *PodDisruptionBudgetList) Marshal() (dAtA []byte, err error) {
  360. size := m.Size()
  361. dAtA = make([]byte, size)
  362. n, err := m.MarshalTo(dAtA)
  363. if err != nil {
  364. return nil, err
  365. }
  366. return dAtA[:n], nil
  367. }
  368. func (m *PodDisruptionBudgetList) MarshalTo(dAtA []byte) (int, error) {
  369. var i int
  370. _ = i
  371. var l int
  372. _ = l
  373. dAtA[i] = 0xa
  374. i++
  375. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  376. n6, err := m.ListMeta.MarshalTo(dAtA[i:])
  377. if err != nil {
  378. return 0, err
  379. }
  380. i += n6
  381. if len(m.Items) > 0 {
  382. for _, msg := range m.Items {
  383. dAtA[i] = 0x12
  384. i++
  385. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  386. n, err := msg.MarshalTo(dAtA[i:])
  387. if err != nil {
  388. return 0, err
  389. }
  390. i += n
  391. }
  392. }
  393. return i, nil
  394. }
  395. func (m *PodDisruptionBudgetSpec) Marshal() (dAtA []byte, err error) {
  396. size := m.Size()
  397. dAtA = make([]byte, size)
  398. n, err := m.MarshalTo(dAtA)
  399. if err != nil {
  400. return nil, err
  401. }
  402. return dAtA[:n], nil
  403. }
  404. func (m *PodDisruptionBudgetSpec) MarshalTo(dAtA []byte) (int, error) {
  405. var i int
  406. _ = i
  407. var l int
  408. _ = l
  409. if m.MinAvailable != nil {
  410. dAtA[i] = 0xa
  411. i++
  412. i = encodeVarintGenerated(dAtA, i, uint64(m.MinAvailable.Size()))
  413. n7, err := m.MinAvailable.MarshalTo(dAtA[i:])
  414. if err != nil {
  415. return 0, err
  416. }
  417. i += n7
  418. }
  419. if m.Selector != nil {
  420. dAtA[i] = 0x12
  421. i++
  422. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  423. n8, err := m.Selector.MarshalTo(dAtA[i:])
  424. if err != nil {
  425. return 0, err
  426. }
  427. i += n8
  428. }
  429. if m.MaxUnavailable != nil {
  430. dAtA[i] = 0x1a
  431. i++
  432. i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
  433. n9, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
  434. if err != nil {
  435. return 0, err
  436. }
  437. i += n9
  438. }
  439. return i, nil
  440. }
  441. func (m *PodDisruptionBudgetStatus) Marshal() (dAtA []byte, err error) {
  442. size := m.Size()
  443. dAtA = make([]byte, size)
  444. n, err := m.MarshalTo(dAtA)
  445. if err != nil {
  446. return nil, err
  447. }
  448. return dAtA[:n], nil
  449. }
  450. func (m *PodDisruptionBudgetStatus) MarshalTo(dAtA []byte) (int, error) {
  451. var i int
  452. _ = i
  453. var l int
  454. _ = l
  455. dAtA[i] = 0x8
  456. i++
  457. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  458. if len(m.DisruptedPods) > 0 {
  459. keysForDisruptedPods := make([]string, 0, len(m.DisruptedPods))
  460. for k := range m.DisruptedPods {
  461. keysForDisruptedPods = append(keysForDisruptedPods, string(k))
  462. }
  463. github_com_gogo_protobuf_sortkeys.Strings(keysForDisruptedPods)
  464. for _, k := range keysForDisruptedPods {
  465. dAtA[i] = 0x12
  466. i++
  467. v := m.DisruptedPods[string(k)]
  468. msgSize := 0
  469. if (&v) != nil {
  470. msgSize = (&v).Size()
  471. msgSize += 1 + sovGenerated(uint64(msgSize))
  472. }
  473. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  474. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  475. dAtA[i] = 0xa
  476. i++
  477. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  478. i += copy(dAtA[i:], k)
  479. dAtA[i] = 0x12
  480. i++
  481. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  482. n10, err := (&v).MarshalTo(dAtA[i:])
  483. if err != nil {
  484. return 0, err
  485. }
  486. i += n10
  487. }
  488. }
  489. dAtA[i] = 0x18
  490. i++
  491. i = encodeVarintGenerated(dAtA, i, uint64(m.PodDisruptionsAllowed))
  492. dAtA[i] = 0x20
  493. i++
  494. i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentHealthy))
  495. dAtA[i] = 0x28
  496. i++
  497. i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredHealthy))
  498. dAtA[i] = 0x30
  499. i++
  500. i = encodeVarintGenerated(dAtA, i, uint64(m.ExpectedPods))
  501. return i, nil
  502. }
  503. func (m *PodSecurityPolicy) Marshal() (dAtA []byte, err error) {
  504. size := m.Size()
  505. dAtA = make([]byte, size)
  506. n, err := m.MarshalTo(dAtA)
  507. if err != nil {
  508. return nil, err
  509. }
  510. return dAtA[:n], nil
  511. }
  512. func (m *PodSecurityPolicy) MarshalTo(dAtA []byte) (int, error) {
  513. var i int
  514. _ = i
  515. var l int
  516. _ = l
  517. dAtA[i] = 0xa
  518. i++
  519. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  520. n11, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  521. if err != nil {
  522. return 0, err
  523. }
  524. i += n11
  525. dAtA[i] = 0x12
  526. i++
  527. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  528. n12, err := m.Spec.MarshalTo(dAtA[i:])
  529. if err != nil {
  530. return 0, err
  531. }
  532. i += n12
  533. return i, nil
  534. }
  535. func (m *PodSecurityPolicyList) Marshal() (dAtA []byte, err error) {
  536. size := m.Size()
  537. dAtA = make([]byte, size)
  538. n, err := m.MarshalTo(dAtA)
  539. if err != nil {
  540. return nil, err
  541. }
  542. return dAtA[:n], nil
  543. }
  544. func (m *PodSecurityPolicyList) MarshalTo(dAtA []byte) (int, error) {
  545. var i int
  546. _ = i
  547. var l int
  548. _ = l
  549. dAtA[i] = 0xa
  550. i++
  551. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  552. n13, err := m.ListMeta.MarshalTo(dAtA[i:])
  553. if err != nil {
  554. return 0, err
  555. }
  556. i += n13
  557. if len(m.Items) > 0 {
  558. for _, msg := range m.Items {
  559. dAtA[i] = 0x12
  560. i++
  561. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  562. n, err := msg.MarshalTo(dAtA[i:])
  563. if err != nil {
  564. return 0, err
  565. }
  566. i += n
  567. }
  568. }
  569. return i, nil
  570. }
  571. func (m *PodSecurityPolicySpec) Marshal() (dAtA []byte, err error) {
  572. size := m.Size()
  573. dAtA = make([]byte, size)
  574. n, err := m.MarshalTo(dAtA)
  575. if err != nil {
  576. return nil, err
  577. }
  578. return dAtA[:n], nil
  579. }
  580. func (m *PodSecurityPolicySpec) MarshalTo(dAtA []byte) (int, error) {
  581. var i int
  582. _ = i
  583. var l int
  584. _ = l
  585. dAtA[i] = 0x8
  586. i++
  587. if m.Privileged {
  588. dAtA[i] = 1
  589. } else {
  590. dAtA[i] = 0
  591. }
  592. i++
  593. if len(m.DefaultAddCapabilities) > 0 {
  594. for _, s := range m.DefaultAddCapabilities {
  595. dAtA[i] = 0x12
  596. i++
  597. l = len(s)
  598. for l >= 1<<7 {
  599. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  600. l >>= 7
  601. i++
  602. }
  603. dAtA[i] = uint8(l)
  604. i++
  605. i += copy(dAtA[i:], s)
  606. }
  607. }
  608. if len(m.RequiredDropCapabilities) > 0 {
  609. for _, s := range m.RequiredDropCapabilities {
  610. dAtA[i] = 0x1a
  611. i++
  612. l = len(s)
  613. for l >= 1<<7 {
  614. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  615. l >>= 7
  616. i++
  617. }
  618. dAtA[i] = uint8(l)
  619. i++
  620. i += copy(dAtA[i:], s)
  621. }
  622. }
  623. if len(m.AllowedCapabilities) > 0 {
  624. for _, s := range m.AllowedCapabilities {
  625. dAtA[i] = 0x22
  626. i++
  627. l = len(s)
  628. for l >= 1<<7 {
  629. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  630. l >>= 7
  631. i++
  632. }
  633. dAtA[i] = uint8(l)
  634. i++
  635. i += copy(dAtA[i:], s)
  636. }
  637. }
  638. if len(m.Volumes) > 0 {
  639. for _, s := range m.Volumes {
  640. dAtA[i] = 0x2a
  641. i++
  642. l = len(s)
  643. for l >= 1<<7 {
  644. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  645. l >>= 7
  646. i++
  647. }
  648. dAtA[i] = uint8(l)
  649. i++
  650. i += copy(dAtA[i:], s)
  651. }
  652. }
  653. dAtA[i] = 0x30
  654. i++
  655. if m.HostNetwork {
  656. dAtA[i] = 1
  657. } else {
  658. dAtA[i] = 0
  659. }
  660. i++
  661. if len(m.HostPorts) > 0 {
  662. for _, msg := range m.HostPorts {
  663. dAtA[i] = 0x3a
  664. i++
  665. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  666. n, err := msg.MarshalTo(dAtA[i:])
  667. if err != nil {
  668. return 0, err
  669. }
  670. i += n
  671. }
  672. }
  673. dAtA[i] = 0x40
  674. i++
  675. if m.HostPID {
  676. dAtA[i] = 1
  677. } else {
  678. dAtA[i] = 0
  679. }
  680. i++
  681. dAtA[i] = 0x48
  682. i++
  683. if m.HostIPC {
  684. dAtA[i] = 1
  685. } else {
  686. dAtA[i] = 0
  687. }
  688. i++
  689. dAtA[i] = 0x52
  690. i++
  691. i = encodeVarintGenerated(dAtA, i, uint64(m.SELinux.Size()))
  692. n14, err := m.SELinux.MarshalTo(dAtA[i:])
  693. if err != nil {
  694. return 0, err
  695. }
  696. i += n14
  697. dAtA[i] = 0x5a
  698. i++
  699. i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsUser.Size()))
  700. n15, err := m.RunAsUser.MarshalTo(dAtA[i:])
  701. if err != nil {
  702. return 0, err
  703. }
  704. i += n15
  705. dAtA[i] = 0x62
  706. i++
  707. i = encodeVarintGenerated(dAtA, i, uint64(m.SupplementalGroups.Size()))
  708. n16, err := m.SupplementalGroups.MarshalTo(dAtA[i:])
  709. if err != nil {
  710. return 0, err
  711. }
  712. i += n16
  713. dAtA[i] = 0x6a
  714. i++
  715. i = encodeVarintGenerated(dAtA, i, uint64(m.FSGroup.Size()))
  716. n17, err := m.FSGroup.MarshalTo(dAtA[i:])
  717. if err != nil {
  718. return 0, err
  719. }
  720. i += n17
  721. dAtA[i] = 0x70
  722. i++
  723. if m.ReadOnlyRootFilesystem {
  724. dAtA[i] = 1
  725. } else {
  726. dAtA[i] = 0
  727. }
  728. i++
  729. if m.DefaultAllowPrivilegeEscalation != nil {
  730. dAtA[i] = 0x78
  731. i++
  732. if *m.DefaultAllowPrivilegeEscalation {
  733. dAtA[i] = 1
  734. } else {
  735. dAtA[i] = 0
  736. }
  737. i++
  738. }
  739. if m.AllowPrivilegeEscalation != nil {
  740. dAtA[i] = 0x80
  741. i++
  742. dAtA[i] = 0x1
  743. i++
  744. if *m.AllowPrivilegeEscalation {
  745. dAtA[i] = 1
  746. } else {
  747. dAtA[i] = 0
  748. }
  749. i++
  750. }
  751. if len(m.AllowedHostPaths) > 0 {
  752. for _, msg := range m.AllowedHostPaths {
  753. dAtA[i] = 0x8a
  754. i++
  755. dAtA[i] = 0x1
  756. i++
  757. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  758. n, err := msg.MarshalTo(dAtA[i:])
  759. if err != nil {
  760. return 0, err
  761. }
  762. i += n
  763. }
  764. }
  765. if len(m.AllowedFlexVolumes) > 0 {
  766. for _, msg := range m.AllowedFlexVolumes {
  767. dAtA[i] = 0x92
  768. i++
  769. dAtA[i] = 0x1
  770. i++
  771. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  772. n, err := msg.MarshalTo(dAtA[i:])
  773. if err != nil {
  774. return 0, err
  775. }
  776. i += n
  777. }
  778. }
  779. if len(m.AllowedUnsafeSysctls) > 0 {
  780. for _, s := range m.AllowedUnsafeSysctls {
  781. dAtA[i] = 0x9a
  782. i++
  783. dAtA[i] = 0x1
  784. i++
  785. l = len(s)
  786. for l >= 1<<7 {
  787. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  788. l >>= 7
  789. i++
  790. }
  791. dAtA[i] = uint8(l)
  792. i++
  793. i += copy(dAtA[i:], s)
  794. }
  795. }
  796. if len(m.ForbiddenSysctls) > 0 {
  797. for _, s := range m.ForbiddenSysctls {
  798. dAtA[i] = 0xa2
  799. i++
  800. dAtA[i] = 0x1
  801. i++
  802. l = len(s)
  803. for l >= 1<<7 {
  804. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  805. l >>= 7
  806. i++
  807. }
  808. dAtA[i] = uint8(l)
  809. i++
  810. i += copy(dAtA[i:], s)
  811. }
  812. }
  813. if len(m.AllowedProcMountTypes) > 0 {
  814. for _, s := range m.AllowedProcMountTypes {
  815. dAtA[i] = 0xaa
  816. i++
  817. dAtA[i] = 0x1
  818. i++
  819. l = len(s)
  820. for l >= 1<<7 {
  821. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  822. l >>= 7
  823. i++
  824. }
  825. dAtA[i] = uint8(l)
  826. i++
  827. i += copy(dAtA[i:], s)
  828. }
  829. }
  830. if m.RunAsGroup != nil {
  831. dAtA[i] = 0xb2
  832. i++
  833. dAtA[i] = 0x1
  834. i++
  835. i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsGroup.Size()))
  836. n18, err := m.RunAsGroup.MarshalTo(dAtA[i:])
  837. if err != nil {
  838. return 0, err
  839. }
  840. i += n18
  841. }
  842. if len(m.AllowedCSIDrivers) > 0 {
  843. for _, msg := range m.AllowedCSIDrivers {
  844. dAtA[i] = 0xba
  845. i++
  846. dAtA[i] = 0x1
  847. i++
  848. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  849. n, err := msg.MarshalTo(dAtA[i:])
  850. if err != nil {
  851. return 0, err
  852. }
  853. i += n
  854. }
  855. }
  856. return i, nil
  857. }
  858. func (m *RunAsGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
  859. size := m.Size()
  860. dAtA = make([]byte, size)
  861. n, err := m.MarshalTo(dAtA)
  862. if err != nil {
  863. return nil, err
  864. }
  865. return dAtA[:n], nil
  866. }
  867. func (m *RunAsGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
  868. var i int
  869. _ = i
  870. var l int
  871. _ = l
  872. dAtA[i] = 0xa
  873. i++
  874. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
  875. i += copy(dAtA[i:], m.Rule)
  876. if len(m.Ranges) > 0 {
  877. for _, msg := range m.Ranges {
  878. dAtA[i] = 0x12
  879. i++
  880. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  881. n, err := msg.MarshalTo(dAtA[i:])
  882. if err != nil {
  883. return 0, err
  884. }
  885. i += n
  886. }
  887. }
  888. return i, nil
  889. }
  890. func (m *RunAsUserStrategyOptions) Marshal() (dAtA []byte, err error) {
  891. size := m.Size()
  892. dAtA = make([]byte, size)
  893. n, err := m.MarshalTo(dAtA)
  894. if err != nil {
  895. return nil, err
  896. }
  897. return dAtA[:n], nil
  898. }
  899. func (m *RunAsUserStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
  900. var i int
  901. _ = i
  902. var l int
  903. _ = l
  904. dAtA[i] = 0xa
  905. i++
  906. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
  907. i += copy(dAtA[i:], m.Rule)
  908. if len(m.Ranges) > 0 {
  909. for _, msg := range m.Ranges {
  910. dAtA[i] = 0x12
  911. i++
  912. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  913. n, err := msg.MarshalTo(dAtA[i:])
  914. if err != nil {
  915. return 0, err
  916. }
  917. i += n
  918. }
  919. }
  920. return i, nil
  921. }
  922. func (m *SELinuxStrategyOptions) Marshal() (dAtA []byte, err error) {
  923. size := m.Size()
  924. dAtA = make([]byte, size)
  925. n, err := m.MarshalTo(dAtA)
  926. if err != nil {
  927. return nil, err
  928. }
  929. return dAtA[:n], nil
  930. }
  931. func (m *SELinuxStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
  932. var i int
  933. _ = i
  934. var l int
  935. _ = l
  936. dAtA[i] = 0xa
  937. i++
  938. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
  939. i += copy(dAtA[i:], m.Rule)
  940. if m.SELinuxOptions != nil {
  941. dAtA[i] = 0x12
  942. i++
  943. i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size()))
  944. n19, err := m.SELinuxOptions.MarshalTo(dAtA[i:])
  945. if err != nil {
  946. return 0, err
  947. }
  948. i += n19
  949. }
  950. return i, nil
  951. }
  952. func (m *SupplementalGroupsStrategyOptions) Marshal() (dAtA []byte, err error) {
  953. size := m.Size()
  954. dAtA = make([]byte, size)
  955. n, err := m.MarshalTo(dAtA)
  956. if err != nil {
  957. return nil, err
  958. }
  959. return dAtA[:n], nil
  960. }
  961. func (m *SupplementalGroupsStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
  962. var i int
  963. _ = i
  964. var l int
  965. _ = l
  966. dAtA[i] = 0xa
  967. i++
  968. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
  969. i += copy(dAtA[i:], m.Rule)
  970. if len(m.Ranges) > 0 {
  971. for _, msg := range m.Ranges {
  972. dAtA[i] = 0x12
  973. i++
  974. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  975. n, err := msg.MarshalTo(dAtA[i:])
  976. if err != nil {
  977. return 0, err
  978. }
  979. i += n
  980. }
  981. }
  982. return i, nil
  983. }
  984. func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
  985. for v >= 1<<7 {
  986. dAtA[offset] = uint8(v&0x7f | 0x80)
  987. v >>= 7
  988. offset++
  989. }
  990. dAtA[offset] = uint8(v)
  991. return offset + 1
  992. }
  993. func (m *AllowedCSIDriver) Size() (n int) {
  994. var l int
  995. _ = l
  996. l = len(m.Name)
  997. n += 1 + l + sovGenerated(uint64(l))
  998. return n
  999. }
  1000. func (m *AllowedFlexVolume) Size() (n int) {
  1001. var l int
  1002. _ = l
  1003. l = len(m.Driver)
  1004. n += 1 + l + sovGenerated(uint64(l))
  1005. return n
  1006. }
  1007. func (m *AllowedHostPath) Size() (n int) {
  1008. var l int
  1009. _ = l
  1010. l = len(m.PathPrefix)
  1011. n += 1 + l + sovGenerated(uint64(l))
  1012. n += 2
  1013. return n
  1014. }
  1015. func (m *Eviction) Size() (n int) {
  1016. var l int
  1017. _ = l
  1018. l = m.ObjectMeta.Size()
  1019. n += 1 + l + sovGenerated(uint64(l))
  1020. if m.DeleteOptions != nil {
  1021. l = m.DeleteOptions.Size()
  1022. n += 1 + l + sovGenerated(uint64(l))
  1023. }
  1024. return n
  1025. }
  1026. func (m *FSGroupStrategyOptions) Size() (n int) {
  1027. var l int
  1028. _ = l
  1029. l = len(m.Rule)
  1030. n += 1 + l + sovGenerated(uint64(l))
  1031. if len(m.Ranges) > 0 {
  1032. for _, e := range m.Ranges {
  1033. l = e.Size()
  1034. n += 1 + l + sovGenerated(uint64(l))
  1035. }
  1036. }
  1037. return n
  1038. }
  1039. func (m *HostPortRange) Size() (n int) {
  1040. var l int
  1041. _ = l
  1042. n += 1 + sovGenerated(uint64(m.Min))
  1043. n += 1 + sovGenerated(uint64(m.Max))
  1044. return n
  1045. }
  1046. func (m *IDRange) Size() (n int) {
  1047. var l int
  1048. _ = l
  1049. n += 1 + sovGenerated(uint64(m.Min))
  1050. n += 1 + sovGenerated(uint64(m.Max))
  1051. return n
  1052. }
  1053. func (m *PodDisruptionBudget) Size() (n int) {
  1054. var l int
  1055. _ = l
  1056. l = m.ObjectMeta.Size()
  1057. n += 1 + l + sovGenerated(uint64(l))
  1058. l = m.Spec.Size()
  1059. n += 1 + l + sovGenerated(uint64(l))
  1060. l = m.Status.Size()
  1061. n += 1 + l + sovGenerated(uint64(l))
  1062. return n
  1063. }
  1064. func (m *PodDisruptionBudgetList) Size() (n int) {
  1065. var l int
  1066. _ = l
  1067. l = m.ListMeta.Size()
  1068. n += 1 + l + sovGenerated(uint64(l))
  1069. if len(m.Items) > 0 {
  1070. for _, e := range m.Items {
  1071. l = e.Size()
  1072. n += 1 + l + sovGenerated(uint64(l))
  1073. }
  1074. }
  1075. return n
  1076. }
  1077. func (m *PodDisruptionBudgetSpec) Size() (n int) {
  1078. var l int
  1079. _ = l
  1080. if m.MinAvailable != nil {
  1081. l = m.MinAvailable.Size()
  1082. n += 1 + l + sovGenerated(uint64(l))
  1083. }
  1084. if m.Selector != nil {
  1085. l = m.Selector.Size()
  1086. n += 1 + l + sovGenerated(uint64(l))
  1087. }
  1088. if m.MaxUnavailable != nil {
  1089. l = m.MaxUnavailable.Size()
  1090. n += 1 + l + sovGenerated(uint64(l))
  1091. }
  1092. return n
  1093. }
  1094. func (m *PodDisruptionBudgetStatus) Size() (n int) {
  1095. var l int
  1096. _ = l
  1097. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  1098. if len(m.DisruptedPods) > 0 {
  1099. for k, v := range m.DisruptedPods {
  1100. _ = k
  1101. _ = v
  1102. l = v.Size()
  1103. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  1104. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  1105. }
  1106. }
  1107. n += 1 + sovGenerated(uint64(m.PodDisruptionsAllowed))
  1108. n += 1 + sovGenerated(uint64(m.CurrentHealthy))
  1109. n += 1 + sovGenerated(uint64(m.DesiredHealthy))
  1110. n += 1 + sovGenerated(uint64(m.ExpectedPods))
  1111. return n
  1112. }
  1113. func (m *PodSecurityPolicy) Size() (n int) {
  1114. var l int
  1115. _ = l
  1116. l = m.ObjectMeta.Size()
  1117. n += 1 + l + sovGenerated(uint64(l))
  1118. l = m.Spec.Size()
  1119. n += 1 + l + sovGenerated(uint64(l))
  1120. return n
  1121. }
  1122. func (m *PodSecurityPolicyList) Size() (n int) {
  1123. var l int
  1124. _ = l
  1125. l = m.ListMeta.Size()
  1126. n += 1 + l + sovGenerated(uint64(l))
  1127. if len(m.Items) > 0 {
  1128. for _, e := range m.Items {
  1129. l = e.Size()
  1130. n += 1 + l + sovGenerated(uint64(l))
  1131. }
  1132. }
  1133. return n
  1134. }
  1135. func (m *PodSecurityPolicySpec) Size() (n int) {
  1136. var l int
  1137. _ = l
  1138. n += 2
  1139. if len(m.DefaultAddCapabilities) > 0 {
  1140. for _, s := range m.DefaultAddCapabilities {
  1141. l = len(s)
  1142. n += 1 + l + sovGenerated(uint64(l))
  1143. }
  1144. }
  1145. if len(m.RequiredDropCapabilities) > 0 {
  1146. for _, s := range m.RequiredDropCapabilities {
  1147. l = len(s)
  1148. n += 1 + l + sovGenerated(uint64(l))
  1149. }
  1150. }
  1151. if len(m.AllowedCapabilities) > 0 {
  1152. for _, s := range m.AllowedCapabilities {
  1153. l = len(s)
  1154. n += 1 + l + sovGenerated(uint64(l))
  1155. }
  1156. }
  1157. if len(m.Volumes) > 0 {
  1158. for _, s := range m.Volumes {
  1159. l = len(s)
  1160. n += 1 + l + sovGenerated(uint64(l))
  1161. }
  1162. }
  1163. n += 2
  1164. if len(m.HostPorts) > 0 {
  1165. for _, e := range m.HostPorts {
  1166. l = e.Size()
  1167. n += 1 + l + sovGenerated(uint64(l))
  1168. }
  1169. }
  1170. n += 2
  1171. n += 2
  1172. l = m.SELinux.Size()
  1173. n += 1 + l + sovGenerated(uint64(l))
  1174. l = m.RunAsUser.Size()
  1175. n += 1 + l + sovGenerated(uint64(l))
  1176. l = m.SupplementalGroups.Size()
  1177. n += 1 + l + sovGenerated(uint64(l))
  1178. l = m.FSGroup.Size()
  1179. n += 1 + l + sovGenerated(uint64(l))
  1180. n += 2
  1181. if m.DefaultAllowPrivilegeEscalation != nil {
  1182. n += 2
  1183. }
  1184. if m.AllowPrivilegeEscalation != nil {
  1185. n += 3
  1186. }
  1187. if len(m.AllowedHostPaths) > 0 {
  1188. for _, e := range m.AllowedHostPaths {
  1189. l = e.Size()
  1190. n += 2 + l + sovGenerated(uint64(l))
  1191. }
  1192. }
  1193. if len(m.AllowedFlexVolumes) > 0 {
  1194. for _, e := range m.AllowedFlexVolumes {
  1195. l = e.Size()
  1196. n += 2 + l + sovGenerated(uint64(l))
  1197. }
  1198. }
  1199. if len(m.AllowedUnsafeSysctls) > 0 {
  1200. for _, s := range m.AllowedUnsafeSysctls {
  1201. l = len(s)
  1202. n += 2 + l + sovGenerated(uint64(l))
  1203. }
  1204. }
  1205. if len(m.ForbiddenSysctls) > 0 {
  1206. for _, s := range m.ForbiddenSysctls {
  1207. l = len(s)
  1208. n += 2 + l + sovGenerated(uint64(l))
  1209. }
  1210. }
  1211. if len(m.AllowedProcMountTypes) > 0 {
  1212. for _, s := range m.AllowedProcMountTypes {
  1213. l = len(s)
  1214. n += 2 + l + sovGenerated(uint64(l))
  1215. }
  1216. }
  1217. if m.RunAsGroup != nil {
  1218. l = m.RunAsGroup.Size()
  1219. n += 2 + l + sovGenerated(uint64(l))
  1220. }
  1221. if len(m.AllowedCSIDrivers) > 0 {
  1222. for _, e := range m.AllowedCSIDrivers {
  1223. l = e.Size()
  1224. n += 2 + l + sovGenerated(uint64(l))
  1225. }
  1226. }
  1227. return n
  1228. }
  1229. func (m *RunAsGroupStrategyOptions) Size() (n int) {
  1230. var l int
  1231. _ = l
  1232. l = len(m.Rule)
  1233. n += 1 + l + sovGenerated(uint64(l))
  1234. if len(m.Ranges) > 0 {
  1235. for _, e := range m.Ranges {
  1236. l = e.Size()
  1237. n += 1 + l + sovGenerated(uint64(l))
  1238. }
  1239. }
  1240. return n
  1241. }
  1242. func (m *RunAsUserStrategyOptions) Size() (n int) {
  1243. var l int
  1244. _ = l
  1245. l = len(m.Rule)
  1246. n += 1 + l + sovGenerated(uint64(l))
  1247. if len(m.Ranges) > 0 {
  1248. for _, e := range m.Ranges {
  1249. l = e.Size()
  1250. n += 1 + l + sovGenerated(uint64(l))
  1251. }
  1252. }
  1253. return n
  1254. }
  1255. func (m *SELinuxStrategyOptions) Size() (n int) {
  1256. var l int
  1257. _ = l
  1258. l = len(m.Rule)
  1259. n += 1 + l + sovGenerated(uint64(l))
  1260. if m.SELinuxOptions != nil {
  1261. l = m.SELinuxOptions.Size()
  1262. n += 1 + l + sovGenerated(uint64(l))
  1263. }
  1264. return n
  1265. }
  1266. func (m *SupplementalGroupsStrategyOptions) Size() (n int) {
  1267. var l int
  1268. _ = l
  1269. l = len(m.Rule)
  1270. n += 1 + l + sovGenerated(uint64(l))
  1271. if len(m.Ranges) > 0 {
  1272. for _, e := range m.Ranges {
  1273. l = e.Size()
  1274. n += 1 + l + sovGenerated(uint64(l))
  1275. }
  1276. }
  1277. return n
  1278. }
  1279. func sovGenerated(x uint64) (n int) {
  1280. for {
  1281. n++
  1282. x >>= 7
  1283. if x == 0 {
  1284. break
  1285. }
  1286. }
  1287. return n
  1288. }
  1289. func sozGenerated(x uint64) (n int) {
  1290. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1291. }
  1292. func (this *AllowedCSIDriver) String() string {
  1293. if this == nil {
  1294. return "nil"
  1295. }
  1296. s := strings.Join([]string{`&AllowedCSIDriver{`,
  1297. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1298. `}`,
  1299. }, "")
  1300. return s
  1301. }
  1302. func (this *AllowedFlexVolume) String() string {
  1303. if this == nil {
  1304. return "nil"
  1305. }
  1306. s := strings.Join([]string{`&AllowedFlexVolume{`,
  1307. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  1308. `}`,
  1309. }, "")
  1310. return s
  1311. }
  1312. func (this *AllowedHostPath) String() string {
  1313. if this == nil {
  1314. return "nil"
  1315. }
  1316. s := strings.Join([]string{`&AllowedHostPath{`,
  1317. `PathPrefix:` + fmt.Sprintf("%v", this.PathPrefix) + `,`,
  1318. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  1319. `}`,
  1320. }, "")
  1321. return s
  1322. }
  1323. func (this *Eviction) String() string {
  1324. if this == nil {
  1325. return "nil"
  1326. }
  1327. s := strings.Join([]string{`&Eviction{`,
  1328. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1329. `DeleteOptions:` + strings.Replace(fmt.Sprintf("%v", this.DeleteOptions), "DeleteOptions", "k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions", 1) + `,`,
  1330. `}`,
  1331. }, "")
  1332. return s
  1333. }
  1334. func (this *FSGroupStrategyOptions) String() string {
  1335. if this == nil {
  1336. return "nil"
  1337. }
  1338. s := strings.Join([]string{`&FSGroupStrategyOptions{`,
  1339. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  1340. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  1341. `}`,
  1342. }, "")
  1343. return s
  1344. }
  1345. func (this *HostPortRange) String() string {
  1346. if this == nil {
  1347. return "nil"
  1348. }
  1349. s := strings.Join([]string{`&HostPortRange{`,
  1350. `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
  1351. `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
  1352. `}`,
  1353. }, "")
  1354. return s
  1355. }
  1356. func (this *IDRange) String() string {
  1357. if this == nil {
  1358. return "nil"
  1359. }
  1360. s := strings.Join([]string{`&IDRange{`,
  1361. `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
  1362. `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
  1363. `}`,
  1364. }, "")
  1365. return s
  1366. }
  1367. func (this *PodDisruptionBudget) String() string {
  1368. if this == nil {
  1369. return "nil"
  1370. }
  1371. s := strings.Join([]string{`&PodDisruptionBudget{`,
  1372. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1373. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodDisruptionBudgetSpec", "PodDisruptionBudgetSpec", 1), `&`, ``, 1) + `,`,
  1374. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodDisruptionBudgetStatus", "PodDisruptionBudgetStatus", 1), `&`, ``, 1) + `,`,
  1375. `}`,
  1376. }, "")
  1377. return s
  1378. }
  1379. func (this *PodDisruptionBudgetList) String() string {
  1380. if this == nil {
  1381. return "nil"
  1382. }
  1383. s := strings.Join([]string{`&PodDisruptionBudgetList{`,
  1384. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1385. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodDisruptionBudget", "PodDisruptionBudget", 1), `&`, ``, 1) + `,`,
  1386. `}`,
  1387. }, "")
  1388. return s
  1389. }
  1390. func (this *PodDisruptionBudgetSpec) String() string {
  1391. if this == nil {
  1392. return "nil"
  1393. }
  1394. s := strings.Join([]string{`&PodDisruptionBudgetSpec{`,
  1395. `MinAvailable:` + strings.Replace(fmt.Sprintf("%v", this.MinAvailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  1396. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  1397. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  1398. `}`,
  1399. }, "")
  1400. return s
  1401. }
  1402. func (this *PodDisruptionBudgetStatus) String() string {
  1403. if this == nil {
  1404. return "nil"
  1405. }
  1406. keysForDisruptedPods := make([]string, 0, len(this.DisruptedPods))
  1407. for k := range this.DisruptedPods {
  1408. keysForDisruptedPods = append(keysForDisruptedPods, k)
  1409. }
  1410. github_com_gogo_protobuf_sortkeys.Strings(keysForDisruptedPods)
  1411. mapStringForDisruptedPods := "map[string]k8s_io_apimachinery_pkg_apis_meta_v1.Time{"
  1412. for _, k := range keysForDisruptedPods {
  1413. mapStringForDisruptedPods += fmt.Sprintf("%v: %v,", k, this.DisruptedPods[k])
  1414. }
  1415. mapStringForDisruptedPods += "}"
  1416. s := strings.Join([]string{`&PodDisruptionBudgetStatus{`,
  1417. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  1418. `DisruptedPods:` + mapStringForDisruptedPods + `,`,
  1419. `PodDisruptionsAllowed:` + fmt.Sprintf("%v", this.PodDisruptionsAllowed) + `,`,
  1420. `CurrentHealthy:` + fmt.Sprintf("%v", this.CurrentHealthy) + `,`,
  1421. `DesiredHealthy:` + fmt.Sprintf("%v", this.DesiredHealthy) + `,`,
  1422. `ExpectedPods:` + fmt.Sprintf("%v", this.ExpectedPods) + `,`,
  1423. `}`,
  1424. }, "")
  1425. return s
  1426. }
  1427. func (this *PodSecurityPolicy) String() string {
  1428. if this == nil {
  1429. return "nil"
  1430. }
  1431. s := strings.Join([]string{`&PodSecurityPolicy{`,
  1432. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1433. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSecurityPolicySpec", "PodSecurityPolicySpec", 1), `&`, ``, 1) + `,`,
  1434. `}`,
  1435. }, "")
  1436. return s
  1437. }
  1438. func (this *PodSecurityPolicyList) String() string {
  1439. if this == nil {
  1440. return "nil"
  1441. }
  1442. s := strings.Join([]string{`&PodSecurityPolicyList{`,
  1443. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1444. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodSecurityPolicy", "PodSecurityPolicy", 1), `&`, ``, 1) + `,`,
  1445. `}`,
  1446. }, "")
  1447. return s
  1448. }
  1449. func (this *PodSecurityPolicySpec) String() string {
  1450. if this == nil {
  1451. return "nil"
  1452. }
  1453. s := strings.Join([]string{`&PodSecurityPolicySpec{`,
  1454. `Privileged:` + fmt.Sprintf("%v", this.Privileged) + `,`,
  1455. `DefaultAddCapabilities:` + fmt.Sprintf("%v", this.DefaultAddCapabilities) + `,`,
  1456. `RequiredDropCapabilities:` + fmt.Sprintf("%v", this.RequiredDropCapabilities) + `,`,
  1457. `AllowedCapabilities:` + fmt.Sprintf("%v", this.AllowedCapabilities) + `,`,
  1458. `Volumes:` + fmt.Sprintf("%v", this.Volumes) + `,`,
  1459. `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
  1460. `HostPorts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HostPorts), "HostPortRange", "HostPortRange", 1), `&`, ``, 1) + `,`,
  1461. `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
  1462. `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
  1463. `SELinux:` + strings.Replace(strings.Replace(this.SELinux.String(), "SELinuxStrategyOptions", "SELinuxStrategyOptions", 1), `&`, ``, 1) + `,`,
  1464. `RunAsUser:` + strings.Replace(strings.Replace(this.RunAsUser.String(), "RunAsUserStrategyOptions", "RunAsUserStrategyOptions", 1), `&`, ``, 1) + `,`,
  1465. `SupplementalGroups:` + strings.Replace(strings.Replace(this.SupplementalGroups.String(), "SupplementalGroupsStrategyOptions", "SupplementalGroupsStrategyOptions", 1), `&`, ``, 1) + `,`,
  1466. `FSGroup:` + strings.Replace(strings.Replace(this.FSGroup.String(), "FSGroupStrategyOptions", "FSGroupStrategyOptions", 1), `&`, ``, 1) + `,`,
  1467. `ReadOnlyRootFilesystem:` + fmt.Sprintf("%v", this.ReadOnlyRootFilesystem) + `,`,
  1468. `DefaultAllowPrivilegeEscalation:` + valueToStringGenerated(this.DefaultAllowPrivilegeEscalation) + `,`,
  1469. `AllowPrivilegeEscalation:` + valueToStringGenerated(this.AllowPrivilegeEscalation) + `,`,
  1470. `AllowedHostPaths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedHostPaths), "AllowedHostPath", "AllowedHostPath", 1), `&`, ``, 1) + `,`,
  1471. `AllowedFlexVolumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedFlexVolumes), "AllowedFlexVolume", "AllowedFlexVolume", 1), `&`, ``, 1) + `,`,
  1472. `AllowedUnsafeSysctls:` + fmt.Sprintf("%v", this.AllowedUnsafeSysctls) + `,`,
  1473. `ForbiddenSysctls:` + fmt.Sprintf("%v", this.ForbiddenSysctls) + `,`,
  1474. `AllowedProcMountTypes:` + fmt.Sprintf("%v", this.AllowedProcMountTypes) + `,`,
  1475. `RunAsGroup:` + strings.Replace(fmt.Sprintf("%v", this.RunAsGroup), "RunAsGroupStrategyOptions", "RunAsGroupStrategyOptions", 1) + `,`,
  1476. `AllowedCSIDrivers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedCSIDrivers), "AllowedCSIDriver", "AllowedCSIDriver", 1), `&`, ``, 1) + `,`,
  1477. `}`,
  1478. }, "")
  1479. return s
  1480. }
  1481. func (this *RunAsGroupStrategyOptions) String() string {
  1482. if this == nil {
  1483. return "nil"
  1484. }
  1485. s := strings.Join([]string{`&RunAsGroupStrategyOptions{`,
  1486. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  1487. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  1488. `}`,
  1489. }, "")
  1490. return s
  1491. }
  1492. func (this *RunAsUserStrategyOptions) String() string {
  1493. if this == nil {
  1494. return "nil"
  1495. }
  1496. s := strings.Join([]string{`&RunAsUserStrategyOptions{`,
  1497. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  1498. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  1499. `}`,
  1500. }, "")
  1501. return s
  1502. }
  1503. func (this *SELinuxStrategyOptions) String() string {
  1504. if this == nil {
  1505. return "nil"
  1506. }
  1507. s := strings.Join([]string{`&SELinuxStrategyOptions{`,
  1508. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  1509. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "k8s_io_api_core_v1.SELinuxOptions", 1) + `,`,
  1510. `}`,
  1511. }, "")
  1512. return s
  1513. }
  1514. func (this *SupplementalGroupsStrategyOptions) String() string {
  1515. if this == nil {
  1516. return "nil"
  1517. }
  1518. s := strings.Join([]string{`&SupplementalGroupsStrategyOptions{`,
  1519. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  1520. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  1521. `}`,
  1522. }, "")
  1523. return s
  1524. }
  1525. func valueToStringGenerated(v interface{}) string {
  1526. rv := reflect.ValueOf(v)
  1527. if rv.IsNil() {
  1528. return "nil"
  1529. }
  1530. pv := reflect.Indirect(rv).Interface()
  1531. return fmt.Sprintf("*%v", pv)
  1532. }
  1533. func (m *AllowedCSIDriver) Unmarshal(dAtA []byte) error {
  1534. l := len(dAtA)
  1535. iNdEx := 0
  1536. for iNdEx < l {
  1537. preIndex := iNdEx
  1538. var wire uint64
  1539. for shift := uint(0); ; shift += 7 {
  1540. if shift >= 64 {
  1541. return ErrIntOverflowGenerated
  1542. }
  1543. if iNdEx >= l {
  1544. return io.ErrUnexpectedEOF
  1545. }
  1546. b := dAtA[iNdEx]
  1547. iNdEx++
  1548. wire |= (uint64(b) & 0x7F) << shift
  1549. if b < 0x80 {
  1550. break
  1551. }
  1552. }
  1553. fieldNum := int32(wire >> 3)
  1554. wireType := int(wire & 0x7)
  1555. if wireType == 4 {
  1556. return fmt.Errorf("proto: AllowedCSIDriver: wiretype end group for non-group")
  1557. }
  1558. if fieldNum <= 0 {
  1559. return fmt.Errorf("proto: AllowedCSIDriver: illegal tag %d (wire type %d)", fieldNum, wire)
  1560. }
  1561. switch fieldNum {
  1562. case 1:
  1563. if wireType != 2 {
  1564. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1565. }
  1566. var stringLen uint64
  1567. for shift := uint(0); ; shift += 7 {
  1568. if shift >= 64 {
  1569. return ErrIntOverflowGenerated
  1570. }
  1571. if iNdEx >= l {
  1572. return io.ErrUnexpectedEOF
  1573. }
  1574. b := dAtA[iNdEx]
  1575. iNdEx++
  1576. stringLen |= (uint64(b) & 0x7F) << shift
  1577. if b < 0x80 {
  1578. break
  1579. }
  1580. }
  1581. intStringLen := int(stringLen)
  1582. if intStringLen < 0 {
  1583. return ErrInvalidLengthGenerated
  1584. }
  1585. postIndex := iNdEx + intStringLen
  1586. if postIndex > l {
  1587. return io.ErrUnexpectedEOF
  1588. }
  1589. m.Name = string(dAtA[iNdEx:postIndex])
  1590. iNdEx = postIndex
  1591. default:
  1592. iNdEx = preIndex
  1593. skippy, err := skipGenerated(dAtA[iNdEx:])
  1594. if err != nil {
  1595. return err
  1596. }
  1597. if skippy < 0 {
  1598. return ErrInvalidLengthGenerated
  1599. }
  1600. if (iNdEx + skippy) > l {
  1601. return io.ErrUnexpectedEOF
  1602. }
  1603. iNdEx += skippy
  1604. }
  1605. }
  1606. if iNdEx > l {
  1607. return io.ErrUnexpectedEOF
  1608. }
  1609. return nil
  1610. }
  1611. func (m *AllowedFlexVolume) Unmarshal(dAtA []byte) error {
  1612. l := len(dAtA)
  1613. iNdEx := 0
  1614. for iNdEx < l {
  1615. preIndex := iNdEx
  1616. var wire uint64
  1617. for shift := uint(0); ; shift += 7 {
  1618. if shift >= 64 {
  1619. return ErrIntOverflowGenerated
  1620. }
  1621. if iNdEx >= l {
  1622. return io.ErrUnexpectedEOF
  1623. }
  1624. b := dAtA[iNdEx]
  1625. iNdEx++
  1626. wire |= (uint64(b) & 0x7F) << shift
  1627. if b < 0x80 {
  1628. break
  1629. }
  1630. }
  1631. fieldNum := int32(wire >> 3)
  1632. wireType := int(wire & 0x7)
  1633. if wireType == 4 {
  1634. return fmt.Errorf("proto: AllowedFlexVolume: wiretype end group for non-group")
  1635. }
  1636. if fieldNum <= 0 {
  1637. return fmt.Errorf("proto: AllowedFlexVolume: illegal tag %d (wire type %d)", fieldNum, wire)
  1638. }
  1639. switch fieldNum {
  1640. case 1:
  1641. if wireType != 2 {
  1642. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  1643. }
  1644. var stringLen uint64
  1645. for shift := uint(0); ; shift += 7 {
  1646. if shift >= 64 {
  1647. return ErrIntOverflowGenerated
  1648. }
  1649. if iNdEx >= l {
  1650. return io.ErrUnexpectedEOF
  1651. }
  1652. b := dAtA[iNdEx]
  1653. iNdEx++
  1654. stringLen |= (uint64(b) & 0x7F) << shift
  1655. if b < 0x80 {
  1656. break
  1657. }
  1658. }
  1659. intStringLen := int(stringLen)
  1660. if intStringLen < 0 {
  1661. return ErrInvalidLengthGenerated
  1662. }
  1663. postIndex := iNdEx + intStringLen
  1664. if postIndex > l {
  1665. return io.ErrUnexpectedEOF
  1666. }
  1667. m.Driver = string(dAtA[iNdEx:postIndex])
  1668. iNdEx = postIndex
  1669. default:
  1670. iNdEx = preIndex
  1671. skippy, err := skipGenerated(dAtA[iNdEx:])
  1672. if err != nil {
  1673. return err
  1674. }
  1675. if skippy < 0 {
  1676. return ErrInvalidLengthGenerated
  1677. }
  1678. if (iNdEx + skippy) > l {
  1679. return io.ErrUnexpectedEOF
  1680. }
  1681. iNdEx += skippy
  1682. }
  1683. }
  1684. if iNdEx > l {
  1685. return io.ErrUnexpectedEOF
  1686. }
  1687. return nil
  1688. }
  1689. func (m *AllowedHostPath) Unmarshal(dAtA []byte) error {
  1690. l := len(dAtA)
  1691. iNdEx := 0
  1692. for iNdEx < l {
  1693. preIndex := iNdEx
  1694. var wire uint64
  1695. for shift := uint(0); ; shift += 7 {
  1696. if shift >= 64 {
  1697. return ErrIntOverflowGenerated
  1698. }
  1699. if iNdEx >= l {
  1700. return io.ErrUnexpectedEOF
  1701. }
  1702. b := dAtA[iNdEx]
  1703. iNdEx++
  1704. wire |= (uint64(b) & 0x7F) << shift
  1705. if b < 0x80 {
  1706. break
  1707. }
  1708. }
  1709. fieldNum := int32(wire >> 3)
  1710. wireType := int(wire & 0x7)
  1711. if wireType == 4 {
  1712. return fmt.Errorf("proto: AllowedHostPath: wiretype end group for non-group")
  1713. }
  1714. if fieldNum <= 0 {
  1715. return fmt.Errorf("proto: AllowedHostPath: illegal tag %d (wire type %d)", fieldNum, wire)
  1716. }
  1717. switch fieldNum {
  1718. case 1:
  1719. if wireType != 2 {
  1720. return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType)
  1721. }
  1722. var stringLen uint64
  1723. for shift := uint(0); ; shift += 7 {
  1724. if shift >= 64 {
  1725. return ErrIntOverflowGenerated
  1726. }
  1727. if iNdEx >= l {
  1728. return io.ErrUnexpectedEOF
  1729. }
  1730. b := dAtA[iNdEx]
  1731. iNdEx++
  1732. stringLen |= (uint64(b) & 0x7F) << shift
  1733. if b < 0x80 {
  1734. break
  1735. }
  1736. }
  1737. intStringLen := int(stringLen)
  1738. if intStringLen < 0 {
  1739. return ErrInvalidLengthGenerated
  1740. }
  1741. postIndex := iNdEx + intStringLen
  1742. if postIndex > l {
  1743. return io.ErrUnexpectedEOF
  1744. }
  1745. m.PathPrefix = string(dAtA[iNdEx:postIndex])
  1746. iNdEx = postIndex
  1747. case 2:
  1748. if wireType != 0 {
  1749. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  1750. }
  1751. var v int
  1752. for shift := uint(0); ; shift += 7 {
  1753. if shift >= 64 {
  1754. return ErrIntOverflowGenerated
  1755. }
  1756. if iNdEx >= l {
  1757. return io.ErrUnexpectedEOF
  1758. }
  1759. b := dAtA[iNdEx]
  1760. iNdEx++
  1761. v |= (int(b) & 0x7F) << shift
  1762. if b < 0x80 {
  1763. break
  1764. }
  1765. }
  1766. m.ReadOnly = bool(v != 0)
  1767. default:
  1768. iNdEx = preIndex
  1769. skippy, err := skipGenerated(dAtA[iNdEx:])
  1770. if err != nil {
  1771. return err
  1772. }
  1773. if skippy < 0 {
  1774. return ErrInvalidLengthGenerated
  1775. }
  1776. if (iNdEx + skippy) > l {
  1777. return io.ErrUnexpectedEOF
  1778. }
  1779. iNdEx += skippy
  1780. }
  1781. }
  1782. if iNdEx > l {
  1783. return io.ErrUnexpectedEOF
  1784. }
  1785. return nil
  1786. }
  1787. func (m *Eviction) Unmarshal(dAtA []byte) error {
  1788. l := len(dAtA)
  1789. iNdEx := 0
  1790. for iNdEx < l {
  1791. preIndex := iNdEx
  1792. var wire uint64
  1793. for shift := uint(0); ; shift += 7 {
  1794. if shift >= 64 {
  1795. return ErrIntOverflowGenerated
  1796. }
  1797. if iNdEx >= l {
  1798. return io.ErrUnexpectedEOF
  1799. }
  1800. b := dAtA[iNdEx]
  1801. iNdEx++
  1802. wire |= (uint64(b) & 0x7F) << shift
  1803. if b < 0x80 {
  1804. break
  1805. }
  1806. }
  1807. fieldNum := int32(wire >> 3)
  1808. wireType := int(wire & 0x7)
  1809. if wireType == 4 {
  1810. return fmt.Errorf("proto: Eviction: wiretype end group for non-group")
  1811. }
  1812. if fieldNum <= 0 {
  1813. return fmt.Errorf("proto: Eviction: illegal tag %d (wire type %d)", fieldNum, wire)
  1814. }
  1815. switch fieldNum {
  1816. case 1:
  1817. if wireType != 2 {
  1818. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  1819. }
  1820. var msglen int
  1821. for shift := uint(0); ; shift += 7 {
  1822. if shift >= 64 {
  1823. return ErrIntOverflowGenerated
  1824. }
  1825. if iNdEx >= l {
  1826. return io.ErrUnexpectedEOF
  1827. }
  1828. b := dAtA[iNdEx]
  1829. iNdEx++
  1830. msglen |= (int(b) & 0x7F) << shift
  1831. if b < 0x80 {
  1832. break
  1833. }
  1834. }
  1835. if msglen < 0 {
  1836. return ErrInvalidLengthGenerated
  1837. }
  1838. postIndex := iNdEx + msglen
  1839. if postIndex > l {
  1840. return io.ErrUnexpectedEOF
  1841. }
  1842. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1843. return err
  1844. }
  1845. iNdEx = postIndex
  1846. case 2:
  1847. if wireType != 2 {
  1848. return fmt.Errorf("proto: wrong wireType = %d for field DeleteOptions", wireType)
  1849. }
  1850. var msglen int
  1851. for shift := uint(0); ; shift += 7 {
  1852. if shift >= 64 {
  1853. return ErrIntOverflowGenerated
  1854. }
  1855. if iNdEx >= l {
  1856. return io.ErrUnexpectedEOF
  1857. }
  1858. b := dAtA[iNdEx]
  1859. iNdEx++
  1860. msglen |= (int(b) & 0x7F) << shift
  1861. if b < 0x80 {
  1862. break
  1863. }
  1864. }
  1865. if msglen < 0 {
  1866. return ErrInvalidLengthGenerated
  1867. }
  1868. postIndex := iNdEx + msglen
  1869. if postIndex > l {
  1870. return io.ErrUnexpectedEOF
  1871. }
  1872. if m.DeleteOptions == nil {
  1873. m.DeleteOptions = &k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions{}
  1874. }
  1875. if err := m.DeleteOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1876. return err
  1877. }
  1878. iNdEx = postIndex
  1879. default:
  1880. iNdEx = preIndex
  1881. skippy, err := skipGenerated(dAtA[iNdEx:])
  1882. if err != nil {
  1883. return err
  1884. }
  1885. if skippy < 0 {
  1886. return ErrInvalidLengthGenerated
  1887. }
  1888. if (iNdEx + skippy) > l {
  1889. return io.ErrUnexpectedEOF
  1890. }
  1891. iNdEx += skippy
  1892. }
  1893. }
  1894. if iNdEx > l {
  1895. return io.ErrUnexpectedEOF
  1896. }
  1897. return nil
  1898. }
  1899. func (m *FSGroupStrategyOptions) Unmarshal(dAtA []byte) error {
  1900. l := len(dAtA)
  1901. iNdEx := 0
  1902. for iNdEx < l {
  1903. preIndex := iNdEx
  1904. var wire uint64
  1905. for shift := uint(0); ; shift += 7 {
  1906. if shift >= 64 {
  1907. return ErrIntOverflowGenerated
  1908. }
  1909. if iNdEx >= l {
  1910. return io.ErrUnexpectedEOF
  1911. }
  1912. b := dAtA[iNdEx]
  1913. iNdEx++
  1914. wire |= (uint64(b) & 0x7F) << shift
  1915. if b < 0x80 {
  1916. break
  1917. }
  1918. }
  1919. fieldNum := int32(wire >> 3)
  1920. wireType := int(wire & 0x7)
  1921. if wireType == 4 {
  1922. return fmt.Errorf("proto: FSGroupStrategyOptions: wiretype end group for non-group")
  1923. }
  1924. if fieldNum <= 0 {
  1925. return fmt.Errorf("proto: FSGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  1926. }
  1927. switch fieldNum {
  1928. case 1:
  1929. if wireType != 2 {
  1930. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  1931. }
  1932. var stringLen uint64
  1933. for shift := uint(0); ; shift += 7 {
  1934. if shift >= 64 {
  1935. return ErrIntOverflowGenerated
  1936. }
  1937. if iNdEx >= l {
  1938. return io.ErrUnexpectedEOF
  1939. }
  1940. b := dAtA[iNdEx]
  1941. iNdEx++
  1942. stringLen |= (uint64(b) & 0x7F) << shift
  1943. if b < 0x80 {
  1944. break
  1945. }
  1946. }
  1947. intStringLen := int(stringLen)
  1948. if intStringLen < 0 {
  1949. return ErrInvalidLengthGenerated
  1950. }
  1951. postIndex := iNdEx + intStringLen
  1952. if postIndex > l {
  1953. return io.ErrUnexpectedEOF
  1954. }
  1955. m.Rule = FSGroupStrategyType(dAtA[iNdEx:postIndex])
  1956. iNdEx = postIndex
  1957. case 2:
  1958. if wireType != 2 {
  1959. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  1960. }
  1961. var msglen int
  1962. for shift := uint(0); ; shift += 7 {
  1963. if shift >= 64 {
  1964. return ErrIntOverflowGenerated
  1965. }
  1966. if iNdEx >= l {
  1967. return io.ErrUnexpectedEOF
  1968. }
  1969. b := dAtA[iNdEx]
  1970. iNdEx++
  1971. msglen |= (int(b) & 0x7F) << shift
  1972. if b < 0x80 {
  1973. break
  1974. }
  1975. }
  1976. if msglen < 0 {
  1977. return ErrInvalidLengthGenerated
  1978. }
  1979. postIndex := iNdEx + msglen
  1980. if postIndex > l {
  1981. return io.ErrUnexpectedEOF
  1982. }
  1983. m.Ranges = append(m.Ranges, IDRange{})
  1984. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1985. return err
  1986. }
  1987. iNdEx = postIndex
  1988. default:
  1989. iNdEx = preIndex
  1990. skippy, err := skipGenerated(dAtA[iNdEx:])
  1991. if err != nil {
  1992. return err
  1993. }
  1994. if skippy < 0 {
  1995. return ErrInvalidLengthGenerated
  1996. }
  1997. if (iNdEx + skippy) > l {
  1998. return io.ErrUnexpectedEOF
  1999. }
  2000. iNdEx += skippy
  2001. }
  2002. }
  2003. if iNdEx > l {
  2004. return io.ErrUnexpectedEOF
  2005. }
  2006. return nil
  2007. }
  2008. func (m *HostPortRange) Unmarshal(dAtA []byte) error {
  2009. l := len(dAtA)
  2010. iNdEx := 0
  2011. for iNdEx < l {
  2012. preIndex := iNdEx
  2013. var wire uint64
  2014. for shift := uint(0); ; shift += 7 {
  2015. if shift >= 64 {
  2016. return ErrIntOverflowGenerated
  2017. }
  2018. if iNdEx >= l {
  2019. return io.ErrUnexpectedEOF
  2020. }
  2021. b := dAtA[iNdEx]
  2022. iNdEx++
  2023. wire |= (uint64(b) & 0x7F) << shift
  2024. if b < 0x80 {
  2025. break
  2026. }
  2027. }
  2028. fieldNum := int32(wire >> 3)
  2029. wireType := int(wire & 0x7)
  2030. if wireType == 4 {
  2031. return fmt.Errorf("proto: HostPortRange: wiretype end group for non-group")
  2032. }
  2033. if fieldNum <= 0 {
  2034. return fmt.Errorf("proto: HostPortRange: illegal tag %d (wire type %d)", fieldNum, wire)
  2035. }
  2036. switch fieldNum {
  2037. case 1:
  2038. if wireType != 0 {
  2039. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  2040. }
  2041. m.Min = 0
  2042. for shift := uint(0); ; shift += 7 {
  2043. if shift >= 64 {
  2044. return ErrIntOverflowGenerated
  2045. }
  2046. if iNdEx >= l {
  2047. return io.ErrUnexpectedEOF
  2048. }
  2049. b := dAtA[iNdEx]
  2050. iNdEx++
  2051. m.Min |= (int32(b) & 0x7F) << shift
  2052. if b < 0x80 {
  2053. break
  2054. }
  2055. }
  2056. case 2:
  2057. if wireType != 0 {
  2058. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  2059. }
  2060. m.Max = 0
  2061. for shift := uint(0); ; shift += 7 {
  2062. if shift >= 64 {
  2063. return ErrIntOverflowGenerated
  2064. }
  2065. if iNdEx >= l {
  2066. return io.ErrUnexpectedEOF
  2067. }
  2068. b := dAtA[iNdEx]
  2069. iNdEx++
  2070. m.Max |= (int32(b) & 0x7F) << shift
  2071. if b < 0x80 {
  2072. break
  2073. }
  2074. }
  2075. default:
  2076. iNdEx = preIndex
  2077. skippy, err := skipGenerated(dAtA[iNdEx:])
  2078. if err != nil {
  2079. return err
  2080. }
  2081. if skippy < 0 {
  2082. return ErrInvalidLengthGenerated
  2083. }
  2084. if (iNdEx + skippy) > l {
  2085. return io.ErrUnexpectedEOF
  2086. }
  2087. iNdEx += skippy
  2088. }
  2089. }
  2090. if iNdEx > l {
  2091. return io.ErrUnexpectedEOF
  2092. }
  2093. return nil
  2094. }
  2095. func (m *IDRange) Unmarshal(dAtA []byte) error {
  2096. l := len(dAtA)
  2097. iNdEx := 0
  2098. for iNdEx < l {
  2099. preIndex := iNdEx
  2100. var wire uint64
  2101. for shift := uint(0); ; shift += 7 {
  2102. if shift >= 64 {
  2103. return ErrIntOverflowGenerated
  2104. }
  2105. if iNdEx >= l {
  2106. return io.ErrUnexpectedEOF
  2107. }
  2108. b := dAtA[iNdEx]
  2109. iNdEx++
  2110. wire |= (uint64(b) & 0x7F) << shift
  2111. if b < 0x80 {
  2112. break
  2113. }
  2114. }
  2115. fieldNum := int32(wire >> 3)
  2116. wireType := int(wire & 0x7)
  2117. if wireType == 4 {
  2118. return fmt.Errorf("proto: IDRange: wiretype end group for non-group")
  2119. }
  2120. if fieldNum <= 0 {
  2121. return fmt.Errorf("proto: IDRange: illegal tag %d (wire type %d)", fieldNum, wire)
  2122. }
  2123. switch fieldNum {
  2124. case 1:
  2125. if wireType != 0 {
  2126. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  2127. }
  2128. m.Min = 0
  2129. for shift := uint(0); ; shift += 7 {
  2130. if shift >= 64 {
  2131. return ErrIntOverflowGenerated
  2132. }
  2133. if iNdEx >= l {
  2134. return io.ErrUnexpectedEOF
  2135. }
  2136. b := dAtA[iNdEx]
  2137. iNdEx++
  2138. m.Min |= (int64(b) & 0x7F) << shift
  2139. if b < 0x80 {
  2140. break
  2141. }
  2142. }
  2143. case 2:
  2144. if wireType != 0 {
  2145. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  2146. }
  2147. m.Max = 0
  2148. for shift := uint(0); ; shift += 7 {
  2149. if shift >= 64 {
  2150. return ErrIntOverflowGenerated
  2151. }
  2152. if iNdEx >= l {
  2153. return io.ErrUnexpectedEOF
  2154. }
  2155. b := dAtA[iNdEx]
  2156. iNdEx++
  2157. m.Max |= (int64(b) & 0x7F) << shift
  2158. if b < 0x80 {
  2159. break
  2160. }
  2161. }
  2162. default:
  2163. iNdEx = preIndex
  2164. skippy, err := skipGenerated(dAtA[iNdEx:])
  2165. if err != nil {
  2166. return err
  2167. }
  2168. if skippy < 0 {
  2169. return ErrInvalidLengthGenerated
  2170. }
  2171. if (iNdEx + skippy) > l {
  2172. return io.ErrUnexpectedEOF
  2173. }
  2174. iNdEx += skippy
  2175. }
  2176. }
  2177. if iNdEx > l {
  2178. return io.ErrUnexpectedEOF
  2179. }
  2180. return nil
  2181. }
  2182. func (m *PodDisruptionBudget) Unmarshal(dAtA []byte) error {
  2183. l := len(dAtA)
  2184. iNdEx := 0
  2185. for iNdEx < l {
  2186. preIndex := iNdEx
  2187. var wire uint64
  2188. for shift := uint(0); ; shift += 7 {
  2189. if shift >= 64 {
  2190. return ErrIntOverflowGenerated
  2191. }
  2192. if iNdEx >= l {
  2193. return io.ErrUnexpectedEOF
  2194. }
  2195. b := dAtA[iNdEx]
  2196. iNdEx++
  2197. wire |= (uint64(b) & 0x7F) << shift
  2198. if b < 0x80 {
  2199. break
  2200. }
  2201. }
  2202. fieldNum := int32(wire >> 3)
  2203. wireType := int(wire & 0x7)
  2204. if wireType == 4 {
  2205. return fmt.Errorf("proto: PodDisruptionBudget: wiretype end group for non-group")
  2206. }
  2207. if fieldNum <= 0 {
  2208. return fmt.Errorf("proto: PodDisruptionBudget: illegal tag %d (wire type %d)", fieldNum, wire)
  2209. }
  2210. switch fieldNum {
  2211. case 1:
  2212. if wireType != 2 {
  2213. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  2214. }
  2215. var msglen int
  2216. for shift := uint(0); ; shift += 7 {
  2217. if shift >= 64 {
  2218. return ErrIntOverflowGenerated
  2219. }
  2220. if iNdEx >= l {
  2221. return io.ErrUnexpectedEOF
  2222. }
  2223. b := dAtA[iNdEx]
  2224. iNdEx++
  2225. msglen |= (int(b) & 0x7F) << shift
  2226. if b < 0x80 {
  2227. break
  2228. }
  2229. }
  2230. if msglen < 0 {
  2231. return ErrInvalidLengthGenerated
  2232. }
  2233. postIndex := iNdEx + msglen
  2234. if postIndex > l {
  2235. return io.ErrUnexpectedEOF
  2236. }
  2237. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2238. return err
  2239. }
  2240. iNdEx = postIndex
  2241. case 2:
  2242. if wireType != 2 {
  2243. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  2244. }
  2245. var msglen int
  2246. for shift := uint(0); ; shift += 7 {
  2247. if shift >= 64 {
  2248. return ErrIntOverflowGenerated
  2249. }
  2250. if iNdEx >= l {
  2251. return io.ErrUnexpectedEOF
  2252. }
  2253. b := dAtA[iNdEx]
  2254. iNdEx++
  2255. msglen |= (int(b) & 0x7F) << shift
  2256. if b < 0x80 {
  2257. break
  2258. }
  2259. }
  2260. if msglen < 0 {
  2261. return ErrInvalidLengthGenerated
  2262. }
  2263. postIndex := iNdEx + msglen
  2264. if postIndex > l {
  2265. return io.ErrUnexpectedEOF
  2266. }
  2267. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2268. return err
  2269. }
  2270. iNdEx = postIndex
  2271. case 3:
  2272. if wireType != 2 {
  2273. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2274. }
  2275. var msglen int
  2276. for shift := uint(0); ; shift += 7 {
  2277. if shift >= 64 {
  2278. return ErrIntOverflowGenerated
  2279. }
  2280. if iNdEx >= l {
  2281. return io.ErrUnexpectedEOF
  2282. }
  2283. b := dAtA[iNdEx]
  2284. iNdEx++
  2285. msglen |= (int(b) & 0x7F) << shift
  2286. if b < 0x80 {
  2287. break
  2288. }
  2289. }
  2290. if msglen < 0 {
  2291. return ErrInvalidLengthGenerated
  2292. }
  2293. postIndex := iNdEx + msglen
  2294. if postIndex > l {
  2295. return io.ErrUnexpectedEOF
  2296. }
  2297. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2298. return err
  2299. }
  2300. iNdEx = postIndex
  2301. default:
  2302. iNdEx = preIndex
  2303. skippy, err := skipGenerated(dAtA[iNdEx:])
  2304. if err != nil {
  2305. return err
  2306. }
  2307. if skippy < 0 {
  2308. return ErrInvalidLengthGenerated
  2309. }
  2310. if (iNdEx + skippy) > l {
  2311. return io.ErrUnexpectedEOF
  2312. }
  2313. iNdEx += skippy
  2314. }
  2315. }
  2316. if iNdEx > l {
  2317. return io.ErrUnexpectedEOF
  2318. }
  2319. return nil
  2320. }
  2321. func (m *PodDisruptionBudgetList) Unmarshal(dAtA []byte) error {
  2322. l := len(dAtA)
  2323. iNdEx := 0
  2324. for iNdEx < l {
  2325. preIndex := iNdEx
  2326. var wire uint64
  2327. for shift := uint(0); ; shift += 7 {
  2328. if shift >= 64 {
  2329. return ErrIntOverflowGenerated
  2330. }
  2331. if iNdEx >= l {
  2332. return io.ErrUnexpectedEOF
  2333. }
  2334. b := dAtA[iNdEx]
  2335. iNdEx++
  2336. wire |= (uint64(b) & 0x7F) << shift
  2337. if b < 0x80 {
  2338. break
  2339. }
  2340. }
  2341. fieldNum := int32(wire >> 3)
  2342. wireType := int(wire & 0x7)
  2343. if wireType == 4 {
  2344. return fmt.Errorf("proto: PodDisruptionBudgetList: wiretype end group for non-group")
  2345. }
  2346. if fieldNum <= 0 {
  2347. return fmt.Errorf("proto: PodDisruptionBudgetList: illegal tag %d (wire type %d)", fieldNum, wire)
  2348. }
  2349. switch fieldNum {
  2350. case 1:
  2351. if wireType != 2 {
  2352. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  2353. }
  2354. var msglen int
  2355. for shift := uint(0); ; shift += 7 {
  2356. if shift >= 64 {
  2357. return ErrIntOverflowGenerated
  2358. }
  2359. if iNdEx >= l {
  2360. return io.ErrUnexpectedEOF
  2361. }
  2362. b := dAtA[iNdEx]
  2363. iNdEx++
  2364. msglen |= (int(b) & 0x7F) << shift
  2365. if b < 0x80 {
  2366. break
  2367. }
  2368. }
  2369. if msglen < 0 {
  2370. return ErrInvalidLengthGenerated
  2371. }
  2372. postIndex := iNdEx + msglen
  2373. if postIndex > l {
  2374. return io.ErrUnexpectedEOF
  2375. }
  2376. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2377. return err
  2378. }
  2379. iNdEx = postIndex
  2380. case 2:
  2381. if wireType != 2 {
  2382. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  2383. }
  2384. var msglen int
  2385. for shift := uint(0); ; shift += 7 {
  2386. if shift >= 64 {
  2387. return ErrIntOverflowGenerated
  2388. }
  2389. if iNdEx >= l {
  2390. return io.ErrUnexpectedEOF
  2391. }
  2392. b := dAtA[iNdEx]
  2393. iNdEx++
  2394. msglen |= (int(b) & 0x7F) << shift
  2395. if b < 0x80 {
  2396. break
  2397. }
  2398. }
  2399. if msglen < 0 {
  2400. return ErrInvalidLengthGenerated
  2401. }
  2402. postIndex := iNdEx + msglen
  2403. if postIndex > l {
  2404. return io.ErrUnexpectedEOF
  2405. }
  2406. m.Items = append(m.Items, PodDisruptionBudget{})
  2407. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2408. return err
  2409. }
  2410. iNdEx = postIndex
  2411. default:
  2412. iNdEx = preIndex
  2413. skippy, err := skipGenerated(dAtA[iNdEx:])
  2414. if err != nil {
  2415. return err
  2416. }
  2417. if skippy < 0 {
  2418. return ErrInvalidLengthGenerated
  2419. }
  2420. if (iNdEx + skippy) > l {
  2421. return io.ErrUnexpectedEOF
  2422. }
  2423. iNdEx += skippy
  2424. }
  2425. }
  2426. if iNdEx > l {
  2427. return io.ErrUnexpectedEOF
  2428. }
  2429. return nil
  2430. }
  2431. func (m *PodDisruptionBudgetSpec) Unmarshal(dAtA []byte) error {
  2432. l := len(dAtA)
  2433. iNdEx := 0
  2434. for iNdEx < l {
  2435. preIndex := iNdEx
  2436. var wire uint64
  2437. for shift := uint(0); ; shift += 7 {
  2438. if shift >= 64 {
  2439. return ErrIntOverflowGenerated
  2440. }
  2441. if iNdEx >= l {
  2442. return io.ErrUnexpectedEOF
  2443. }
  2444. b := dAtA[iNdEx]
  2445. iNdEx++
  2446. wire |= (uint64(b) & 0x7F) << shift
  2447. if b < 0x80 {
  2448. break
  2449. }
  2450. }
  2451. fieldNum := int32(wire >> 3)
  2452. wireType := int(wire & 0x7)
  2453. if wireType == 4 {
  2454. return fmt.Errorf("proto: PodDisruptionBudgetSpec: wiretype end group for non-group")
  2455. }
  2456. if fieldNum <= 0 {
  2457. return fmt.Errorf("proto: PodDisruptionBudgetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  2458. }
  2459. switch fieldNum {
  2460. case 1:
  2461. if wireType != 2 {
  2462. return fmt.Errorf("proto: wrong wireType = %d for field MinAvailable", wireType)
  2463. }
  2464. var msglen int
  2465. for shift := uint(0); ; shift += 7 {
  2466. if shift >= 64 {
  2467. return ErrIntOverflowGenerated
  2468. }
  2469. if iNdEx >= l {
  2470. return io.ErrUnexpectedEOF
  2471. }
  2472. b := dAtA[iNdEx]
  2473. iNdEx++
  2474. msglen |= (int(b) & 0x7F) << shift
  2475. if b < 0x80 {
  2476. break
  2477. }
  2478. }
  2479. if msglen < 0 {
  2480. return ErrInvalidLengthGenerated
  2481. }
  2482. postIndex := iNdEx + msglen
  2483. if postIndex > l {
  2484. return io.ErrUnexpectedEOF
  2485. }
  2486. if m.MinAvailable == nil {
  2487. m.MinAvailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  2488. }
  2489. if err := m.MinAvailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2490. return err
  2491. }
  2492. iNdEx = postIndex
  2493. case 2:
  2494. if wireType != 2 {
  2495. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  2496. }
  2497. var msglen int
  2498. for shift := uint(0); ; shift += 7 {
  2499. if shift >= 64 {
  2500. return ErrIntOverflowGenerated
  2501. }
  2502. if iNdEx >= l {
  2503. return io.ErrUnexpectedEOF
  2504. }
  2505. b := dAtA[iNdEx]
  2506. iNdEx++
  2507. msglen |= (int(b) & 0x7F) << shift
  2508. if b < 0x80 {
  2509. break
  2510. }
  2511. }
  2512. if msglen < 0 {
  2513. return ErrInvalidLengthGenerated
  2514. }
  2515. postIndex := iNdEx + msglen
  2516. if postIndex > l {
  2517. return io.ErrUnexpectedEOF
  2518. }
  2519. if m.Selector == nil {
  2520. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  2521. }
  2522. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2523. return err
  2524. }
  2525. iNdEx = postIndex
  2526. case 3:
  2527. if wireType != 2 {
  2528. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  2529. }
  2530. var msglen int
  2531. for shift := uint(0); ; shift += 7 {
  2532. if shift >= 64 {
  2533. return ErrIntOverflowGenerated
  2534. }
  2535. if iNdEx >= l {
  2536. return io.ErrUnexpectedEOF
  2537. }
  2538. b := dAtA[iNdEx]
  2539. iNdEx++
  2540. msglen |= (int(b) & 0x7F) << shift
  2541. if b < 0x80 {
  2542. break
  2543. }
  2544. }
  2545. if msglen < 0 {
  2546. return ErrInvalidLengthGenerated
  2547. }
  2548. postIndex := iNdEx + msglen
  2549. if postIndex > l {
  2550. return io.ErrUnexpectedEOF
  2551. }
  2552. if m.MaxUnavailable == nil {
  2553. m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  2554. }
  2555. if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2556. return err
  2557. }
  2558. iNdEx = postIndex
  2559. default:
  2560. iNdEx = preIndex
  2561. skippy, err := skipGenerated(dAtA[iNdEx:])
  2562. if err != nil {
  2563. return err
  2564. }
  2565. if skippy < 0 {
  2566. return ErrInvalidLengthGenerated
  2567. }
  2568. if (iNdEx + skippy) > l {
  2569. return io.ErrUnexpectedEOF
  2570. }
  2571. iNdEx += skippy
  2572. }
  2573. }
  2574. if iNdEx > l {
  2575. return io.ErrUnexpectedEOF
  2576. }
  2577. return nil
  2578. }
  2579. func (m *PodDisruptionBudgetStatus) Unmarshal(dAtA []byte) error {
  2580. l := len(dAtA)
  2581. iNdEx := 0
  2582. for iNdEx < l {
  2583. preIndex := iNdEx
  2584. var wire uint64
  2585. for shift := uint(0); ; shift += 7 {
  2586. if shift >= 64 {
  2587. return ErrIntOverflowGenerated
  2588. }
  2589. if iNdEx >= l {
  2590. return io.ErrUnexpectedEOF
  2591. }
  2592. b := dAtA[iNdEx]
  2593. iNdEx++
  2594. wire |= (uint64(b) & 0x7F) << shift
  2595. if b < 0x80 {
  2596. break
  2597. }
  2598. }
  2599. fieldNum := int32(wire >> 3)
  2600. wireType := int(wire & 0x7)
  2601. if wireType == 4 {
  2602. return fmt.Errorf("proto: PodDisruptionBudgetStatus: wiretype end group for non-group")
  2603. }
  2604. if fieldNum <= 0 {
  2605. return fmt.Errorf("proto: PodDisruptionBudgetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  2606. }
  2607. switch fieldNum {
  2608. case 1:
  2609. if wireType != 0 {
  2610. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  2611. }
  2612. m.ObservedGeneration = 0
  2613. for shift := uint(0); ; shift += 7 {
  2614. if shift >= 64 {
  2615. return ErrIntOverflowGenerated
  2616. }
  2617. if iNdEx >= l {
  2618. return io.ErrUnexpectedEOF
  2619. }
  2620. b := dAtA[iNdEx]
  2621. iNdEx++
  2622. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  2623. if b < 0x80 {
  2624. break
  2625. }
  2626. }
  2627. case 2:
  2628. if wireType != 2 {
  2629. return fmt.Errorf("proto: wrong wireType = %d for field DisruptedPods", wireType)
  2630. }
  2631. var msglen int
  2632. for shift := uint(0); ; shift += 7 {
  2633. if shift >= 64 {
  2634. return ErrIntOverflowGenerated
  2635. }
  2636. if iNdEx >= l {
  2637. return io.ErrUnexpectedEOF
  2638. }
  2639. b := dAtA[iNdEx]
  2640. iNdEx++
  2641. msglen |= (int(b) & 0x7F) << shift
  2642. if b < 0x80 {
  2643. break
  2644. }
  2645. }
  2646. if msglen < 0 {
  2647. return ErrInvalidLengthGenerated
  2648. }
  2649. postIndex := iNdEx + msglen
  2650. if postIndex > l {
  2651. return io.ErrUnexpectedEOF
  2652. }
  2653. if m.DisruptedPods == nil {
  2654. m.DisruptedPods = make(map[string]k8s_io_apimachinery_pkg_apis_meta_v1.Time)
  2655. }
  2656. var mapkey string
  2657. mapvalue := &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  2658. for iNdEx < postIndex {
  2659. entryPreIndex := iNdEx
  2660. var wire uint64
  2661. for shift := uint(0); ; shift += 7 {
  2662. if shift >= 64 {
  2663. return ErrIntOverflowGenerated
  2664. }
  2665. if iNdEx >= l {
  2666. return io.ErrUnexpectedEOF
  2667. }
  2668. b := dAtA[iNdEx]
  2669. iNdEx++
  2670. wire |= (uint64(b) & 0x7F) << shift
  2671. if b < 0x80 {
  2672. break
  2673. }
  2674. }
  2675. fieldNum := int32(wire >> 3)
  2676. if fieldNum == 1 {
  2677. var stringLenmapkey uint64
  2678. for shift := uint(0); ; shift += 7 {
  2679. if shift >= 64 {
  2680. return ErrIntOverflowGenerated
  2681. }
  2682. if iNdEx >= l {
  2683. return io.ErrUnexpectedEOF
  2684. }
  2685. b := dAtA[iNdEx]
  2686. iNdEx++
  2687. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  2688. if b < 0x80 {
  2689. break
  2690. }
  2691. }
  2692. intStringLenmapkey := int(stringLenmapkey)
  2693. if intStringLenmapkey < 0 {
  2694. return ErrInvalidLengthGenerated
  2695. }
  2696. postStringIndexmapkey := iNdEx + intStringLenmapkey
  2697. if postStringIndexmapkey > l {
  2698. return io.ErrUnexpectedEOF
  2699. }
  2700. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  2701. iNdEx = postStringIndexmapkey
  2702. } else if fieldNum == 2 {
  2703. var mapmsglen int
  2704. for shift := uint(0); ; shift += 7 {
  2705. if shift >= 64 {
  2706. return ErrIntOverflowGenerated
  2707. }
  2708. if iNdEx >= l {
  2709. return io.ErrUnexpectedEOF
  2710. }
  2711. b := dAtA[iNdEx]
  2712. iNdEx++
  2713. mapmsglen |= (int(b) & 0x7F) << shift
  2714. if b < 0x80 {
  2715. break
  2716. }
  2717. }
  2718. if mapmsglen < 0 {
  2719. return ErrInvalidLengthGenerated
  2720. }
  2721. postmsgIndex := iNdEx + mapmsglen
  2722. if mapmsglen < 0 {
  2723. return ErrInvalidLengthGenerated
  2724. }
  2725. if postmsgIndex > l {
  2726. return io.ErrUnexpectedEOF
  2727. }
  2728. mapvalue = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  2729. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  2730. return err
  2731. }
  2732. iNdEx = postmsgIndex
  2733. } else {
  2734. iNdEx = entryPreIndex
  2735. skippy, err := skipGenerated(dAtA[iNdEx:])
  2736. if err != nil {
  2737. return err
  2738. }
  2739. if skippy < 0 {
  2740. return ErrInvalidLengthGenerated
  2741. }
  2742. if (iNdEx + skippy) > postIndex {
  2743. return io.ErrUnexpectedEOF
  2744. }
  2745. iNdEx += skippy
  2746. }
  2747. }
  2748. m.DisruptedPods[mapkey] = *mapvalue
  2749. iNdEx = postIndex
  2750. case 3:
  2751. if wireType != 0 {
  2752. return fmt.Errorf("proto: wrong wireType = %d for field PodDisruptionsAllowed", wireType)
  2753. }
  2754. m.PodDisruptionsAllowed = 0
  2755. for shift := uint(0); ; shift += 7 {
  2756. if shift >= 64 {
  2757. return ErrIntOverflowGenerated
  2758. }
  2759. if iNdEx >= l {
  2760. return io.ErrUnexpectedEOF
  2761. }
  2762. b := dAtA[iNdEx]
  2763. iNdEx++
  2764. m.PodDisruptionsAllowed |= (int32(b) & 0x7F) << shift
  2765. if b < 0x80 {
  2766. break
  2767. }
  2768. }
  2769. case 4:
  2770. if wireType != 0 {
  2771. return fmt.Errorf("proto: wrong wireType = %d for field CurrentHealthy", wireType)
  2772. }
  2773. m.CurrentHealthy = 0
  2774. for shift := uint(0); ; shift += 7 {
  2775. if shift >= 64 {
  2776. return ErrIntOverflowGenerated
  2777. }
  2778. if iNdEx >= l {
  2779. return io.ErrUnexpectedEOF
  2780. }
  2781. b := dAtA[iNdEx]
  2782. iNdEx++
  2783. m.CurrentHealthy |= (int32(b) & 0x7F) << shift
  2784. if b < 0x80 {
  2785. break
  2786. }
  2787. }
  2788. case 5:
  2789. if wireType != 0 {
  2790. return fmt.Errorf("proto: wrong wireType = %d for field DesiredHealthy", wireType)
  2791. }
  2792. m.DesiredHealthy = 0
  2793. for shift := uint(0); ; shift += 7 {
  2794. if shift >= 64 {
  2795. return ErrIntOverflowGenerated
  2796. }
  2797. if iNdEx >= l {
  2798. return io.ErrUnexpectedEOF
  2799. }
  2800. b := dAtA[iNdEx]
  2801. iNdEx++
  2802. m.DesiredHealthy |= (int32(b) & 0x7F) << shift
  2803. if b < 0x80 {
  2804. break
  2805. }
  2806. }
  2807. case 6:
  2808. if wireType != 0 {
  2809. return fmt.Errorf("proto: wrong wireType = %d for field ExpectedPods", wireType)
  2810. }
  2811. m.ExpectedPods = 0
  2812. for shift := uint(0); ; shift += 7 {
  2813. if shift >= 64 {
  2814. return ErrIntOverflowGenerated
  2815. }
  2816. if iNdEx >= l {
  2817. return io.ErrUnexpectedEOF
  2818. }
  2819. b := dAtA[iNdEx]
  2820. iNdEx++
  2821. m.ExpectedPods |= (int32(b) & 0x7F) << shift
  2822. if b < 0x80 {
  2823. break
  2824. }
  2825. }
  2826. default:
  2827. iNdEx = preIndex
  2828. skippy, err := skipGenerated(dAtA[iNdEx:])
  2829. if err != nil {
  2830. return err
  2831. }
  2832. if skippy < 0 {
  2833. return ErrInvalidLengthGenerated
  2834. }
  2835. if (iNdEx + skippy) > l {
  2836. return io.ErrUnexpectedEOF
  2837. }
  2838. iNdEx += skippy
  2839. }
  2840. }
  2841. if iNdEx > l {
  2842. return io.ErrUnexpectedEOF
  2843. }
  2844. return nil
  2845. }
  2846. func (m *PodSecurityPolicy) Unmarshal(dAtA []byte) error {
  2847. l := len(dAtA)
  2848. iNdEx := 0
  2849. for iNdEx < l {
  2850. preIndex := iNdEx
  2851. var wire uint64
  2852. for shift := uint(0); ; shift += 7 {
  2853. if shift >= 64 {
  2854. return ErrIntOverflowGenerated
  2855. }
  2856. if iNdEx >= l {
  2857. return io.ErrUnexpectedEOF
  2858. }
  2859. b := dAtA[iNdEx]
  2860. iNdEx++
  2861. wire |= (uint64(b) & 0x7F) << shift
  2862. if b < 0x80 {
  2863. break
  2864. }
  2865. }
  2866. fieldNum := int32(wire >> 3)
  2867. wireType := int(wire & 0x7)
  2868. if wireType == 4 {
  2869. return fmt.Errorf("proto: PodSecurityPolicy: wiretype end group for non-group")
  2870. }
  2871. if fieldNum <= 0 {
  2872. return fmt.Errorf("proto: PodSecurityPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
  2873. }
  2874. switch fieldNum {
  2875. case 1:
  2876. if wireType != 2 {
  2877. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  2878. }
  2879. var msglen int
  2880. for shift := uint(0); ; shift += 7 {
  2881. if shift >= 64 {
  2882. return ErrIntOverflowGenerated
  2883. }
  2884. if iNdEx >= l {
  2885. return io.ErrUnexpectedEOF
  2886. }
  2887. b := dAtA[iNdEx]
  2888. iNdEx++
  2889. msglen |= (int(b) & 0x7F) << shift
  2890. if b < 0x80 {
  2891. break
  2892. }
  2893. }
  2894. if msglen < 0 {
  2895. return ErrInvalidLengthGenerated
  2896. }
  2897. postIndex := iNdEx + msglen
  2898. if postIndex > l {
  2899. return io.ErrUnexpectedEOF
  2900. }
  2901. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2902. return err
  2903. }
  2904. iNdEx = postIndex
  2905. case 2:
  2906. if wireType != 2 {
  2907. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  2908. }
  2909. var msglen int
  2910. for shift := uint(0); ; shift += 7 {
  2911. if shift >= 64 {
  2912. return ErrIntOverflowGenerated
  2913. }
  2914. if iNdEx >= l {
  2915. return io.ErrUnexpectedEOF
  2916. }
  2917. b := dAtA[iNdEx]
  2918. iNdEx++
  2919. msglen |= (int(b) & 0x7F) << shift
  2920. if b < 0x80 {
  2921. break
  2922. }
  2923. }
  2924. if msglen < 0 {
  2925. return ErrInvalidLengthGenerated
  2926. }
  2927. postIndex := iNdEx + msglen
  2928. if postIndex > l {
  2929. return io.ErrUnexpectedEOF
  2930. }
  2931. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2932. return err
  2933. }
  2934. iNdEx = postIndex
  2935. default:
  2936. iNdEx = preIndex
  2937. skippy, err := skipGenerated(dAtA[iNdEx:])
  2938. if err != nil {
  2939. return err
  2940. }
  2941. if skippy < 0 {
  2942. return ErrInvalidLengthGenerated
  2943. }
  2944. if (iNdEx + skippy) > l {
  2945. return io.ErrUnexpectedEOF
  2946. }
  2947. iNdEx += skippy
  2948. }
  2949. }
  2950. if iNdEx > l {
  2951. return io.ErrUnexpectedEOF
  2952. }
  2953. return nil
  2954. }
  2955. func (m *PodSecurityPolicyList) Unmarshal(dAtA []byte) error {
  2956. l := len(dAtA)
  2957. iNdEx := 0
  2958. for iNdEx < l {
  2959. preIndex := iNdEx
  2960. var wire uint64
  2961. for shift := uint(0); ; shift += 7 {
  2962. if shift >= 64 {
  2963. return ErrIntOverflowGenerated
  2964. }
  2965. if iNdEx >= l {
  2966. return io.ErrUnexpectedEOF
  2967. }
  2968. b := dAtA[iNdEx]
  2969. iNdEx++
  2970. wire |= (uint64(b) & 0x7F) << shift
  2971. if b < 0x80 {
  2972. break
  2973. }
  2974. }
  2975. fieldNum := int32(wire >> 3)
  2976. wireType := int(wire & 0x7)
  2977. if wireType == 4 {
  2978. return fmt.Errorf("proto: PodSecurityPolicyList: wiretype end group for non-group")
  2979. }
  2980. if fieldNum <= 0 {
  2981. return fmt.Errorf("proto: PodSecurityPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
  2982. }
  2983. switch fieldNum {
  2984. case 1:
  2985. if wireType != 2 {
  2986. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  2987. }
  2988. var msglen int
  2989. for shift := uint(0); ; shift += 7 {
  2990. if shift >= 64 {
  2991. return ErrIntOverflowGenerated
  2992. }
  2993. if iNdEx >= l {
  2994. return io.ErrUnexpectedEOF
  2995. }
  2996. b := dAtA[iNdEx]
  2997. iNdEx++
  2998. msglen |= (int(b) & 0x7F) << shift
  2999. if b < 0x80 {
  3000. break
  3001. }
  3002. }
  3003. if msglen < 0 {
  3004. return ErrInvalidLengthGenerated
  3005. }
  3006. postIndex := iNdEx + msglen
  3007. if postIndex > l {
  3008. return io.ErrUnexpectedEOF
  3009. }
  3010. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3011. return err
  3012. }
  3013. iNdEx = postIndex
  3014. case 2:
  3015. if wireType != 2 {
  3016. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  3017. }
  3018. var msglen int
  3019. for shift := uint(0); ; shift += 7 {
  3020. if shift >= 64 {
  3021. return ErrIntOverflowGenerated
  3022. }
  3023. if iNdEx >= l {
  3024. return io.ErrUnexpectedEOF
  3025. }
  3026. b := dAtA[iNdEx]
  3027. iNdEx++
  3028. msglen |= (int(b) & 0x7F) << shift
  3029. if b < 0x80 {
  3030. break
  3031. }
  3032. }
  3033. if msglen < 0 {
  3034. return ErrInvalidLengthGenerated
  3035. }
  3036. postIndex := iNdEx + msglen
  3037. if postIndex > l {
  3038. return io.ErrUnexpectedEOF
  3039. }
  3040. m.Items = append(m.Items, PodSecurityPolicy{})
  3041. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3042. return err
  3043. }
  3044. iNdEx = postIndex
  3045. default:
  3046. iNdEx = preIndex
  3047. skippy, err := skipGenerated(dAtA[iNdEx:])
  3048. if err != nil {
  3049. return err
  3050. }
  3051. if skippy < 0 {
  3052. return ErrInvalidLengthGenerated
  3053. }
  3054. if (iNdEx + skippy) > l {
  3055. return io.ErrUnexpectedEOF
  3056. }
  3057. iNdEx += skippy
  3058. }
  3059. }
  3060. if iNdEx > l {
  3061. return io.ErrUnexpectedEOF
  3062. }
  3063. return nil
  3064. }
  3065. func (m *PodSecurityPolicySpec) Unmarshal(dAtA []byte) error {
  3066. l := len(dAtA)
  3067. iNdEx := 0
  3068. for iNdEx < l {
  3069. preIndex := iNdEx
  3070. var wire uint64
  3071. for shift := uint(0); ; shift += 7 {
  3072. if shift >= 64 {
  3073. return ErrIntOverflowGenerated
  3074. }
  3075. if iNdEx >= l {
  3076. return io.ErrUnexpectedEOF
  3077. }
  3078. b := dAtA[iNdEx]
  3079. iNdEx++
  3080. wire |= (uint64(b) & 0x7F) << shift
  3081. if b < 0x80 {
  3082. break
  3083. }
  3084. }
  3085. fieldNum := int32(wire >> 3)
  3086. wireType := int(wire & 0x7)
  3087. if wireType == 4 {
  3088. return fmt.Errorf("proto: PodSecurityPolicySpec: wiretype end group for non-group")
  3089. }
  3090. if fieldNum <= 0 {
  3091. return fmt.Errorf("proto: PodSecurityPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
  3092. }
  3093. switch fieldNum {
  3094. case 1:
  3095. if wireType != 0 {
  3096. return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
  3097. }
  3098. var v int
  3099. for shift := uint(0); ; shift += 7 {
  3100. if shift >= 64 {
  3101. return ErrIntOverflowGenerated
  3102. }
  3103. if iNdEx >= l {
  3104. return io.ErrUnexpectedEOF
  3105. }
  3106. b := dAtA[iNdEx]
  3107. iNdEx++
  3108. v |= (int(b) & 0x7F) << shift
  3109. if b < 0x80 {
  3110. break
  3111. }
  3112. }
  3113. m.Privileged = bool(v != 0)
  3114. case 2:
  3115. if wireType != 2 {
  3116. return fmt.Errorf("proto: wrong wireType = %d for field DefaultAddCapabilities", wireType)
  3117. }
  3118. var stringLen uint64
  3119. for shift := uint(0); ; shift += 7 {
  3120. if shift >= 64 {
  3121. return ErrIntOverflowGenerated
  3122. }
  3123. if iNdEx >= l {
  3124. return io.ErrUnexpectedEOF
  3125. }
  3126. b := dAtA[iNdEx]
  3127. iNdEx++
  3128. stringLen |= (uint64(b) & 0x7F) << shift
  3129. if b < 0x80 {
  3130. break
  3131. }
  3132. }
  3133. intStringLen := int(stringLen)
  3134. if intStringLen < 0 {
  3135. return ErrInvalidLengthGenerated
  3136. }
  3137. postIndex := iNdEx + intStringLen
  3138. if postIndex > l {
  3139. return io.ErrUnexpectedEOF
  3140. }
  3141. m.DefaultAddCapabilities = append(m.DefaultAddCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
  3142. iNdEx = postIndex
  3143. case 3:
  3144. if wireType != 2 {
  3145. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDropCapabilities", wireType)
  3146. }
  3147. var stringLen uint64
  3148. for shift := uint(0); ; shift += 7 {
  3149. if shift >= 64 {
  3150. return ErrIntOverflowGenerated
  3151. }
  3152. if iNdEx >= l {
  3153. return io.ErrUnexpectedEOF
  3154. }
  3155. b := dAtA[iNdEx]
  3156. iNdEx++
  3157. stringLen |= (uint64(b) & 0x7F) << shift
  3158. if b < 0x80 {
  3159. break
  3160. }
  3161. }
  3162. intStringLen := int(stringLen)
  3163. if intStringLen < 0 {
  3164. return ErrInvalidLengthGenerated
  3165. }
  3166. postIndex := iNdEx + intStringLen
  3167. if postIndex > l {
  3168. return io.ErrUnexpectedEOF
  3169. }
  3170. m.RequiredDropCapabilities = append(m.RequiredDropCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
  3171. iNdEx = postIndex
  3172. case 4:
  3173. if wireType != 2 {
  3174. return fmt.Errorf("proto: wrong wireType = %d for field AllowedCapabilities", wireType)
  3175. }
  3176. var stringLen uint64
  3177. for shift := uint(0); ; shift += 7 {
  3178. if shift >= 64 {
  3179. return ErrIntOverflowGenerated
  3180. }
  3181. if iNdEx >= l {
  3182. return io.ErrUnexpectedEOF
  3183. }
  3184. b := dAtA[iNdEx]
  3185. iNdEx++
  3186. stringLen |= (uint64(b) & 0x7F) << shift
  3187. if b < 0x80 {
  3188. break
  3189. }
  3190. }
  3191. intStringLen := int(stringLen)
  3192. if intStringLen < 0 {
  3193. return ErrInvalidLengthGenerated
  3194. }
  3195. postIndex := iNdEx + intStringLen
  3196. if postIndex > l {
  3197. return io.ErrUnexpectedEOF
  3198. }
  3199. m.AllowedCapabilities = append(m.AllowedCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
  3200. iNdEx = postIndex
  3201. case 5:
  3202. if wireType != 2 {
  3203. return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
  3204. }
  3205. var stringLen uint64
  3206. for shift := uint(0); ; shift += 7 {
  3207. if shift >= 64 {
  3208. return ErrIntOverflowGenerated
  3209. }
  3210. if iNdEx >= l {
  3211. return io.ErrUnexpectedEOF
  3212. }
  3213. b := dAtA[iNdEx]
  3214. iNdEx++
  3215. stringLen |= (uint64(b) & 0x7F) << shift
  3216. if b < 0x80 {
  3217. break
  3218. }
  3219. }
  3220. intStringLen := int(stringLen)
  3221. if intStringLen < 0 {
  3222. return ErrInvalidLengthGenerated
  3223. }
  3224. postIndex := iNdEx + intStringLen
  3225. if postIndex > l {
  3226. return io.ErrUnexpectedEOF
  3227. }
  3228. m.Volumes = append(m.Volumes, FSType(dAtA[iNdEx:postIndex]))
  3229. iNdEx = postIndex
  3230. case 6:
  3231. if wireType != 0 {
  3232. return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
  3233. }
  3234. var v int
  3235. for shift := uint(0); ; shift += 7 {
  3236. if shift >= 64 {
  3237. return ErrIntOverflowGenerated
  3238. }
  3239. if iNdEx >= l {
  3240. return io.ErrUnexpectedEOF
  3241. }
  3242. b := dAtA[iNdEx]
  3243. iNdEx++
  3244. v |= (int(b) & 0x7F) << shift
  3245. if b < 0x80 {
  3246. break
  3247. }
  3248. }
  3249. m.HostNetwork = bool(v != 0)
  3250. case 7:
  3251. if wireType != 2 {
  3252. return fmt.Errorf("proto: wrong wireType = %d for field HostPorts", wireType)
  3253. }
  3254. var msglen int
  3255. for shift := uint(0); ; shift += 7 {
  3256. if shift >= 64 {
  3257. return ErrIntOverflowGenerated
  3258. }
  3259. if iNdEx >= l {
  3260. return io.ErrUnexpectedEOF
  3261. }
  3262. b := dAtA[iNdEx]
  3263. iNdEx++
  3264. msglen |= (int(b) & 0x7F) << shift
  3265. if b < 0x80 {
  3266. break
  3267. }
  3268. }
  3269. if msglen < 0 {
  3270. return ErrInvalidLengthGenerated
  3271. }
  3272. postIndex := iNdEx + msglen
  3273. if postIndex > l {
  3274. return io.ErrUnexpectedEOF
  3275. }
  3276. m.HostPorts = append(m.HostPorts, HostPortRange{})
  3277. if err := m.HostPorts[len(m.HostPorts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3278. return err
  3279. }
  3280. iNdEx = postIndex
  3281. case 8:
  3282. if wireType != 0 {
  3283. return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
  3284. }
  3285. var v int
  3286. for shift := uint(0); ; shift += 7 {
  3287. if shift >= 64 {
  3288. return ErrIntOverflowGenerated
  3289. }
  3290. if iNdEx >= l {
  3291. return io.ErrUnexpectedEOF
  3292. }
  3293. b := dAtA[iNdEx]
  3294. iNdEx++
  3295. v |= (int(b) & 0x7F) << shift
  3296. if b < 0x80 {
  3297. break
  3298. }
  3299. }
  3300. m.HostPID = bool(v != 0)
  3301. case 9:
  3302. if wireType != 0 {
  3303. return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
  3304. }
  3305. var v int
  3306. for shift := uint(0); ; shift += 7 {
  3307. if shift >= 64 {
  3308. return ErrIntOverflowGenerated
  3309. }
  3310. if iNdEx >= l {
  3311. return io.ErrUnexpectedEOF
  3312. }
  3313. b := dAtA[iNdEx]
  3314. iNdEx++
  3315. v |= (int(b) & 0x7F) << shift
  3316. if b < 0x80 {
  3317. break
  3318. }
  3319. }
  3320. m.HostIPC = bool(v != 0)
  3321. case 10:
  3322. if wireType != 2 {
  3323. return fmt.Errorf("proto: wrong wireType = %d for field SELinux", wireType)
  3324. }
  3325. var msglen int
  3326. for shift := uint(0); ; shift += 7 {
  3327. if shift >= 64 {
  3328. return ErrIntOverflowGenerated
  3329. }
  3330. if iNdEx >= l {
  3331. return io.ErrUnexpectedEOF
  3332. }
  3333. b := dAtA[iNdEx]
  3334. iNdEx++
  3335. msglen |= (int(b) & 0x7F) << shift
  3336. if b < 0x80 {
  3337. break
  3338. }
  3339. }
  3340. if msglen < 0 {
  3341. return ErrInvalidLengthGenerated
  3342. }
  3343. postIndex := iNdEx + msglen
  3344. if postIndex > l {
  3345. return io.ErrUnexpectedEOF
  3346. }
  3347. if err := m.SELinux.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3348. return err
  3349. }
  3350. iNdEx = postIndex
  3351. case 11:
  3352. if wireType != 2 {
  3353. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  3354. }
  3355. var msglen int
  3356. for shift := uint(0); ; shift += 7 {
  3357. if shift >= 64 {
  3358. return ErrIntOverflowGenerated
  3359. }
  3360. if iNdEx >= l {
  3361. return io.ErrUnexpectedEOF
  3362. }
  3363. b := dAtA[iNdEx]
  3364. iNdEx++
  3365. msglen |= (int(b) & 0x7F) << shift
  3366. if b < 0x80 {
  3367. break
  3368. }
  3369. }
  3370. if msglen < 0 {
  3371. return ErrInvalidLengthGenerated
  3372. }
  3373. postIndex := iNdEx + msglen
  3374. if postIndex > l {
  3375. return io.ErrUnexpectedEOF
  3376. }
  3377. if err := m.RunAsUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3378. return err
  3379. }
  3380. iNdEx = postIndex
  3381. case 12:
  3382. if wireType != 2 {
  3383. return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
  3384. }
  3385. var msglen int
  3386. for shift := uint(0); ; shift += 7 {
  3387. if shift >= 64 {
  3388. return ErrIntOverflowGenerated
  3389. }
  3390. if iNdEx >= l {
  3391. return io.ErrUnexpectedEOF
  3392. }
  3393. b := dAtA[iNdEx]
  3394. iNdEx++
  3395. msglen |= (int(b) & 0x7F) << shift
  3396. if b < 0x80 {
  3397. break
  3398. }
  3399. }
  3400. if msglen < 0 {
  3401. return ErrInvalidLengthGenerated
  3402. }
  3403. postIndex := iNdEx + msglen
  3404. if postIndex > l {
  3405. return io.ErrUnexpectedEOF
  3406. }
  3407. if err := m.SupplementalGroups.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3408. return err
  3409. }
  3410. iNdEx = postIndex
  3411. case 13:
  3412. if wireType != 2 {
  3413. return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
  3414. }
  3415. var msglen int
  3416. for shift := uint(0); ; shift += 7 {
  3417. if shift >= 64 {
  3418. return ErrIntOverflowGenerated
  3419. }
  3420. if iNdEx >= l {
  3421. return io.ErrUnexpectedEOF
  3422. }
  3423. b := dAtA[iNdEx]
  3424. iNdEx++
  3425. msglen |= (int(b) & 0x7F) << shift
  3426. if b < 0x80 {
  3427. break
  3428. }
  3429. }
  3430. if msglen < 0 {
  3431. return ErrInvalidLengthGenerated
  3432. }
  3433. postIndex := iNdEx + msglen
  3434. if postIndex > l {
  3435. return io.ErrUnexpectedEOF
  3436. }
  3437. if err := m.FSGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3438. return err
  3439. }
  3440. iNdEx = postIndex
  3441. case 14:
  3442. if wireType != 0 {
  3443. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
  3444. }
  3445. var v int
  3446. for shift := uint(0); ; shift += 7 {
  3447. if shift >= 64 {
  3448. return ErrIntOverflowGenerated
  3449. }
  3450. if iNdEx >= l {
  3451. return io.ErrUnexpectedEOF
  3452. }
  3453. b := dAtA[iNdEx]
  3454. iNdEx++
  3455. v |= (int(b) & 0x7F) << shift
  3456. if b < 0x80 {
  3457. break
  3458. }
  3459. }
  3460. m.ReadOnlyRootFilesystem = bool(v != 0)
  3461. case 15:
  3462. if wireType != 0 {
  3463. return fmt.Errorf("proto: wrong wireType = %d for field DefaultAllowPrivilegeEscalation", wireType)
  3464. }
  3465. var v int
  3466. for shift := uint(0); ; shift += 7 {
  3467. if shift >= 64 {
  3468. return ErrIntOverflowGenerated
  3469. }
  3470. if iNdEx >= l {
  3471. return io.ErrUnexpectedEOF
  3472. }
  3473. b := dAtA[iNdEx]
  3474. iNdEx++
  3475. v |= (int(b) & 0x7F) << shift
  3476. if b < 0x80 {
  3477. break
  3478. }
  3479. }
  3480. b := bool(v != 0)
  3481. m.DefaultAllowPrivilegeEscalation = &b
  3482. case 16:
  3483. if wireType != 0 {
  3484. return fmt.Errorf("proto: wrong wireType = %d for field AllowPrivilegeEscalation", wireType)
  3485. }
  3486. var v int
  3487. for shift := uint(0); ; shift += 7 {
  3488. if shift >= 64 {
  3489. return ErrIntOverflowGenerated
  3490. }
  3491. if iNdEx >= l {
  3492. return io.ErrUnexpectedEOF
  3493. }
  3494. b := dAtA[iNdEx]
  3495. iNdEx++
  3496. v |= (int(b) & 0x7F) << shift
  3497. if b < 0x80 {
  3498. break
  3499. }
  3500. }
  3501. b := bool(v != 0)
  3502. m.AllowPrivilegeEscalation = &b
  3503. case 17:
  3504. if wireType != 2 {
  3505. return fmt.Errorf("proto: wrong wireType = %d for field AllowedHostPaths", wireType)
  3506. }
  3507. var msglen int
  3508. for shift := uint(0); ; shift += 7 {
  3509. if shift >= 64 {
  3510. return ErrIntOverflowGenerated
  3511. }
  3512. if iNdEx >= l {
  3513. return io.ErrUnexpectedEOF
  3514. }
  3515. b := dAtA[iNdEx]
  3516. iNdEx++
  3517. msglen |= (int(b) & 0x7F) << shift
  3518. if b < 0x80 {
  3519. break
  3520. }
  3521. }
  3522. if msglen < 0 {
  3523. return ErrInvalidLengthGenerated
  3524. }
  3525. postIndex := iNdEx + msglen
  3526. if postIndex > l {
  3527. return io.ErrUnexpectedEOF
  3528. }
  3529. m.AllowedHostPaths = append(m.AllowedHostPaths, AllowedHostPath{})
  3530. if err := m.AllowedHostPaths[len(m.AllowedHostPaths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3531. return err
  3532. }
  3533. iNdEx = postIndex
  3534. case 18:
  3535. if wireType != 2 {
  3536. return fmt.Errorf("proto: wrong wireType = %d for field AllowedFlexVolumes", wireType)
  3537. }
  3538. var msglen int
  3539. for shift := uint(0); ; shift += 7 {
  3540. if shift >= 64 {
  3541. return ErrIntOverflowGenerated
  3542. }
  3543. if iNdEx >= l {
  3544. return io.ErrUnexpectedEOF
  3545. }
  3546. b := dAtA[iNdEx]
  3547. iNdEx++
  3548. msglen |= (int(b) & 0x7F) << shift
  3549. if b < 0x80 {
  3550. break
  3551. }
  3552. }
  3553. if msglen < 0 {
  3554. return ErrInvalidLengthGenerated
  3555. }
  3556. postIndex := iNdEx + msglen
  3557. if postIndex > l {
  3558. return io.ErrUnexpectedEOF
  3559. }
  3560. m.AllowedFlexVolumes = append(m.AllowedFlexVolumes, AllowedFlexVolume{})
  3561. if err := m.AllowedFlexVolumes[len(m.AllowedFlexVolumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3562. return err
  3563. }
  3564. iNdEx = postIndex
  3565. case 19:
  3566. if wireType != 2 {
  3567. return fmt.Errorf("proto: wrong wireType = %d for field AllowedUnsafeSysctls", wireType)
  3568. }
  3569. var stringLen uint64
  3570. for shift := uint(0); ; shift += 7 {
  3571. if shift >= 64 {
  3572. return ErrIntOverflowGenerated
  3573. }
  3574. if iNdEx >= l {
  3575. return io.ErrUnexpectedEOF
  3576. }
  3577. b := dAtA[iNdEx]
  3578. iNdEx++
  3579. stringLen |= (uint64(b) & 0x7F) << shift
  3580. if b < 0x80 {
  3581. break
  3582. }
  3583. }
  3584. intStringLen := int(stringLen)
  3585. if intStringLen < 0 {
  3586. return ErrInvalidLengthGenerated
  3587. }
  3588. postIndex := iNdEx + intStringLen
  3589. if postIndex > l {
  3590. return io.ErrUnexpectedEOF
  3591. }
  3592. m.AllowedUnsafeSysctls = append(m.AllowedUnsafeSysctls, string(dAtA[iNdEx:postIndex]))
  3593. iNdEx = postIndex
  3594. case 20:
  3595. if wireType != 2 {
  3596. return fmt.Errorf("proto: wrong wireType = %d for field ForbiddenSysctls", wireType)
  3597. }
  3598. var stringLen uint64
  3599. for shift := uint(0); ; shift += 7 {
  3600. if shift >= 64 {
  3601. return ErrIntOverflowGenerated
  3602. }
  3603. if iNdEx >= l {
  3604. return io.ErrUnexpectedEOF
  3605. }
  3606. b := dAtA[iNdEx]
  3607. iNdEx++
  3608. stringLen |= (uint64(b) & 0x7F) << shift
  3609. if b < 0x80 {
  3610. break
  3611. }
  3612. }
  3613. intStringLen := int(stringLen)
  3614. if intStringLen < 0 {
  3615. return ErrInvalidLengthGenerated
  3616. }
  3617. postIndex := iNdEx + intStringLen
  3618. if postIndex > l {
  3619. return io.ErrUnexpectedEOF
  3620. }
  3621. m.ForbiddenSysctls = append(m.ForbiddenSysctls, string(dAtA[iNdEx:postIndex]))
  3622. iNdEx = postIndex
  3623. case 21:
  3624. if wireType != 2 {
  3625. return fmt.Errorf("proto: wrong wireType = %d for field AllowedProcMountTypes", wireType)
  3626. }
  3627. var stringLen uint64
  3628. for shift := uint(0); ; shift += 7 {
  3629. if shift >= 64 {
  3630. return ErrIntOverflowGenerated
  3631. }
  3632. if iNdEx >= l {
  3633. return io.ErrUnexpectedEOF
  3634. }
  3635. b := dAtA[iNdEx]
  3636. iNdEx++
  3637. stringLen |= (uint64(b) & 0x7F) << shift
  3638. if b < 0x80 {
  3639. break
  3640. }
  3641. }
  3642. intStringLen := int(stringLen)
  3643. if intStringLen < 0 {
  3644. return ErrInvalidLengthGenerated
  3645. }
  3646. postIndex := iNdEx + intStringLen
  3647. if postIndex > l {
  3648. return io.ErrUnexpectedEOF
  3649. }
  3650. m.AllowedProcMountTypes = append(m.AllowedProcMountTypes, k8s_io_api_core_v1.ProcMountType(dAtA[iNdEx:postIndex]))
  3651. iNdEx = postIndex
  3652. case 22:
  3653. if wireType != 2 {
  3654. return fmt.Errorf("proto: wrong wireType = %d for field RunAsGroup", wireType)
  3655. }
  3656. var msglen int
  3657. for shift := uint(0); ; shift += 7 {
  3658. if shift >= 64 {
  3659. return ErrIntOverflowGenerated
  3660. }
  3661. if iNdEx >= l {
  3662. return io.ErrUnexpectedEOF
  3663. }
  3664. b := dAtA[iNdEx]
  3665. iNdEx++
  3666. msglen |= (int(b) & 0x7F) << shift
  3667. if b < 0x80 {
  3668. break
  3669. }
  3670. }
  3671. if msglen < 0 {
  3672. return ErrInvalidLengthGenerated
  3673. }
  3674. postIndex := iNdEx + msglen
  3675. if postIndex > l {
  3676. return io.ErrUnexpectedEOF
  3677. }
  3678. if m.RunAsGroup == nil {
  3679. m.RunAsGroup = &RunAsGroupStrategyOptions{}
  3680. }
  3681. if err := m.RunAsGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3682. return err
  3683. }
  3684. iNdEx = postIndex
  3685. case 23:
  3686. if wireType != 2 {
  3687. return fmt.Errorf("proto: wrong wireType = %d for field AllowedCSIDrivers", wireType)
  3688. }
  3689. var msglen int
  3690. for shift := uint(0); ; shift += 7 {
  3691. if shift >= 64 {
  3692. return ErrIntOverflowGenerated
  3693. }
  3694. if iNdEx >= l {
  3695. return io.ErrUnexpectedEOF
  3696. }
  3697. b := dAtA[iNdEx]
  3698. iNdEx++
  3699. msglen |= (int(b) & 0x7F) << shift
  3700. if b < 0x80 {
  3701. break
  3702. }
  3703. }
  3704. if msglen < 0 {
  3705. return ErrInvalidLengthGenerated
  3706. }
  3707. postIndex := iNdEx + msglen
  3708. if postIndex > l {
  3709. return io.ErrUnexpectedEOF
  3710. }
  3711. m.AllowedCSIDrivers = append(m.AllowedCSIDrivers, AllowedCSIDriver{})
  3712. if err := m.AllowedCSIDrivers[len(m.AllowedCSIDrivers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3713. return err
  3714. }
  3715. iNdEx = postIndex
  3716. default:
  3717. iNdEx = preIndex
  3718. skippy, err := skipGenerated(dAtA[iNdEx:])
  3719. if err != nil {
  3720. return err
  3721. }
  3722. if skippy < 0 {
  3723. return ErrInvalidLengthGenerated
  3724. }
  3725. if (iNdEx + skippy) > l {
  3726. return io.ErrUnexpectedEOF
  3727. }
  3728. iNdEx += skippy
  3729. }
  3730. }
  3731. if iNdEx > l {
  3732. return io.ErrUnexpectedEOF
  3733. }
  3734. return nil
  3735. }
  3736. func (m *RunAsGroupStrategyOptions) Unmarshal(dAtA []byte) error {
  3737. l := len(dAtA)
  3738. iNdEx := 0
  3739. for iNdEx < l {
  3740. preIndex := iNdEx
  3741. var wire uint64
  3742. for shift := uint(0); ; shift += 7 {
  3743. if shift >= 64 {
  3744. return ErrIntOverflowGenerated
  3745. }
  3746. if iNdEx >= l {
  3747. return io.ErrUnexpectedEOF
  3748. }
  3749. b := dAtA[iNdEx]
  3750. iNdEx++
  3751. wire |= (uint64(b) & 0x7F) << shift
  3752. if b < 0x80 {
  3753. break
  3754. }
  3755. }
  3756. fieldNum := int32(wire >> 3)
  3757. wireType := int(wire & 0x7)
  3758. if wireType == 4 {
  3759. return fmt.Errorf("proto: RunAsGroupStrategyOptions: wiretype end group for non-group")
  3760. }
  3761. if fieldNum <= 0 {
  3762. return fmt.Errorf("proto: RunAsGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  3763. }
  3764. switch fieldNum {
  3765. case 1:
  3766. if wireType != 2 {
  3767. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  3768. }
  3769. var stringLen uint64
  3770. for shift := uint(0); ; shift += 7 {
  3771. if shift >= 64 {
  3772. return ErrIntOverflowGenerated
  3773. }
  3774. if iNdEx >= l {
  3775. return io.ErrUnexpectedEOF
  3776. }
  3777. b := dAtA[iNdEx]
  3778. iNdEx++
  3779. stringLen |= (uint64(b) & 0x7F) << shift
  3780. if b < 0x80 {
  3781. break
  3782. }
  3783. }
  3784. intStringLen := int(stringLen)
  3785. if intStringLen < 0 {
  3786. return ErrInvalidLengthGenerated
  3787. }
  3788. postIndex := iNdEx + intStringLen
  3789. if postIndex > l {
  3790. return io.ErrUnexpectedEOF
  3791. }
  3792. m.Rule = RunAsGroupStrategy(dAtA[iNdEx:postIndex])
  3793. iNdEx = postIndex
  3794. case 2:
  3795. if wireType != 2 {
  3796. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  3797. }
  3798. var msglen int
  3799. for shift := uint(0); ; shift += 7 {
  3800. if shift >= 64 {
  3801. return ErrIntOverflowGenerated
  3802. }
  3803. if iNdEx >= l {
  3804. return io.ErrUnexpectedEOF
  3805. }
  3806. b := dAtA[iNdEx]
  3807. iNdEx++
  3808. msglen |= (int(b) & 0x7F) << shift
  3809. if b < 0x80 {
  3810. break
  3811. }
  3812. }
  3813. if msglen < 0 {
  3814. return ErrInvalidLengthGenerated
  3815. }
  3816. postIndex := iNdEx + msglen
  3817. if postIndex > l {
  3818. return io.ErrUnexpectedEOF
  3819. }
  3820. m.Ranges = append(m.Ranges, IDRange{})
  3821. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3822. return err
  3823. }
  3824. iNdEx = postIndex
  3825. default:
  3826. iNdEx = preIndex
  3827. skippy, err := skipGenerated(dAtA[iNdEx:])
  3828. if err != nil {
  3829. return err
  3830. }
  3831. if skippy < 0 {
  3832. return ErrInvalidLengthGenerated
  3833. }
  3834. if (iNdEx + skippy) > l {
  3835. return io.ErrUnexpectedEOF
  3836. }
  3837. iNdEx += skippy
  3838. }
  3839. }
  3840. if iNdEx > l {
  3841. return io.ErrUnexpectedEOF
  3842. }
  3843. return nil
  3844. }
  3845. func (m *RunAsUserStrategyOptions) Unmarshal(dAtA []byte) error {
  3846. l := len(dAtA)
  3847. iNdEx := 0
  3848. for iNdEx < l {
  3849. preIndex := iNdEx
  3850. var wire uint64
  3851. for shift := uint(0); ; shift += 7 {
  3852. if shift >= 64 {
  3853. return ErrIntOverflowGenerated
  3854. }
  3855. if iNdEx >= l {
  3856. return io.ErrUnexpectedEOF
  3857. }
  3858. b := dAtA[iNdEx]
  3859. iNdEx++
  3860. wire |= (uint64(b) & 0x7F) << shift
  3861. if b < 0x80 {
  3862. break
  3863. }
  3864. }
  3865. fieldNum := int32(wire >> 3)
  3866. wireType := int(wire & 0x7)
  3867. if wireType == 4 {
  3868. return fmt.Errorf("proto: RunAsUserStrategyOptions: wiretype end group for non-group")
  3869. }
  3870. if fieldNum <= 0 {
  3871. return fmt.Errorf("proto: RunAsUserStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  3872. }
  3873. switch fieldNum {
  3874. case 1:
  3875. if wireType != 2 {
  3876. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  3877. }
  3878. var stringLen uint64
  3879. for shift := uint(0); ; shift += 7 {
  3880. if shift >= 64 {
  3881. return ErrIntOverflowGenerated
  3882. }
  3883. if iNdEx >= l {
  3884. return io.ErrUnexpectedEOF
  3885. }
  3886. b := dAtA[iNdEx]
  3887. iNdEx++
  3888. stringLen |= (uint64(b) & 0x7F) << shift
  3889. if b < 0x80 {
  3890. break
  3891. }
  3892. }
  3893. intStringLen := int(stringLen)
  3894. if intStringLen < 0 {
  3895. return ErrInvalidLengthGenerated
  3896. }
  3897. postIndex := iNdEx + intStringLen
  3898. if postIndex > l {
  3899. return io.ErrUnexpectedEOF
  3900. }
  3901. m.Rule = RunAsUserStrategy(dAtA[iNdEx:postIndex])
  3902. iNdEx = postIndex
  3903. case 2:
  3904. if wireType != 2 {
  3905. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  3906. }
  3907. var msglen int
  3908. for shift := uint(0); ; shift += 7 {
  3909. if shift >= 64 {
  3910. return ErrIntOverflowGenerated
  3911. }
  3912. if iNdEx >= l {
  3913. return io.ErrUnexpectedEOF
  3914. }
  3915. b := dAtA[iNdEx]
  3916. iNdEx++
  3917. msglen |= (int(b) & 0x7F) << shift
  3918. if b < 0x80 {
  3919. break
  3920. }
  3921. }
  3922. if msglen < 0 {
  3923. return ErrInvalidLengthGenerated
  3924. }
  3925. postIndex := iNdEx + msglen
  3926. if postIndex > l {
  3927. return io.ErrUnexpectedEOF
  3928. }
  3929. m.Ranges = append(m.Ranges, IDRange{})
  3930. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3931. return err
  3932. }
  3933. iNdEx = postIndex
  3934. default:
  3935. iNdEx = preIndex
  3936. skippy, err := skipGenerated(dAtA[iNdEx:])
  3937. if err != nil {
  3938. return err
  3939. }
  3940. if skippy < 0 {
  3941. return ErrInvalidLengthGenerated
  3942. }
  3943. if (iNdEx + skippy) > l {
  3944. return io.ErrUnexpectedEOF
  3945. }
  3946. iNdEx += skippy
  3947. }
  3948. }
  3949. if iNdEx > l {
  3950. return io.ErrUnexpectedEOF
  3951. }
  3952. return nil
  3953. }
  3954. func (m *SELinuxStrategyOptions) Unmarshal(dAtA []byte) error {
  3955. l := len(dAtA)
  3956. iNdEx := 0
  3957. for iNdEx < l {
  3958. preIndex := iNdEx
  3959. var wire uint64
  3960. for shift := uint(0); ; shift += 7 {
  3961. if shift >= 64 {
  3962. return ErrIntOverflowGenerated
  3963. }
  3964. if iNdEx >= l {
  3965. return io.ErrUnexpectedEOF
  3966. }
  3967. b := dAtA[iNdEx]
  3968. iNdEx++
  3969. wire |= (uint64(b) & 0x7F) << shift
  3970. if b < 0x80 {
  3971. break
  3972. }
  3973. }
  3974. fieldNum := int32(wire >> 3)
  3975. wireType := int(wire & 0x7)
  3976. if wireType == 4 {
  3977. return fmt.Errorf("proto: SELinuxStrategyOptions: wiretype end group for non-group")
  3978. }
  3979. if fieldNum <= 0 {
  3980. return fmt.Errorf("proto: SELinuxStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  3981. }
  3982. switch fieldNum {
  3983. case 1:
  3984. if wireType != 2 {
  3985. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  3986. }
  3987. var stringLen uint64
  3988. for shift := uint(0); ; shift += 7 {
  3989. if shift >= 64 {
  3990. return ErrIntOverflowGenerated
  3991. }
  3992. if iNdEx >= l {
  3993. return io.ErrUnexpectedEOF
  3994. }
  3995. b := dAtA[iNdEx]
  3996. iNdEx++
  3997. stringLen |= (uint64(b) & 0x7F) << shift
  3998. if b < 0x80 {
  3999. break
  4000. }
  4001. }
  4002. intStringLen := int(stringLen)
  4003. if intStringLen < 0 {
  4004. return ErrInvalidLengthGenerated
  4005. }
  4006. postIndex := iNdEx + intStringLen
  4007. if postIndex > l {
  4008. return io.ErrUnexpectedEOF
  4009. }
  4010. m.Rule = SELinuxStrategy(dAtA[iNdEx:postIndex])
  4011. iNdEx = postIndex
  4012. case 2:
  4013. if wireType != 2 {
  4014. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  4015. }
  4016. var msglen int
  4017. for shift := uint(0); ; shift += 7 {
  4018. if shift >= 64 {
  4019. return ErrIntOverflowGenerated
  4020. }
  4021. if iNdEx >= l {
  4022. return io.ErrUnexpectedEOF
  4023. }
  4024. b := dAtA[iNdEx]
  4025. iNdEx++
  4026. msglen |= (int(b) & 0x7F) << shift
  4027. if b < 0x80 {
  4028. break
  4029. }
  4030. }
  4031. if msglen < 0 {
  4032. return ErrInvalidLengthGenerated
  4033. }
  4034. postIndex := iNdEx + msglen
  4035. if postIndex > l {
  4036. return io.ErrUnexpectedEOF
  4037. }
  4038. if m.SELinuxOptions == nil {
  4039. m.SELinuxOptions = &k8s_io_api_core_v1.SELinuxOptions{}
  4040. }
  4041. if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4042. return err
  4043. }
  4044. iNdEx = postIndex
  4045. default:
  4046. iNdEx = preIndex
  4047. skippy, err := skipGenerated(dAtA[iNdEx:])
  4048. if err != nil {
  4049. return err
  4050. }
  4051. if skippy < 0 {
  4052. return ErrInvalidLengthGenerated
  4053. }
  4054. if (iNdEx + skippy) > l {
  4055. return io.ErrUnexpectedEOF
  4056. }
  4057. iNdEx += skippy
  4058. }
  4059. }
  4060. if iNdEx > l {
  4061. return io.ErrUnexpectedEOF
  4062. }
  4063. return nil
  4064. }
  4065. func (m *SupplementalGroupsStrategyOptions) Unmarshal(dAtA []byte) error {
  4066. l := len(dAtA)
  4067. iNdEx := 0
  4068. for iNdEx < l {
  4069. preIndex := iNdEx
  4070. var wire uint64
  4071. for shift := uint(0); ; shift += 7 {
  4072. if shift >= 64 {
  4073. return ErrIntOverflowGenerated
  4074. }
  4075. if iNdEx >= l {
  4076. return io.ErrUnexpectedEOF
  4077. }
  4078. b := dAtA[iNdEx]
  4079. iNdEx++
  4080. wire |= (uint64(b) & 0x7F) << shift
  4081. if b < 0x80 {
  4082. break
  4083. }
  4084. }
  4085. fieldNum := int32(wire >> 3)
  4086. wireType := int(wire & 0x7)
  4087. if wireType == 4 {
  4088. return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: wiretype end group for non-group")
  4089. }
  4090. if fieldNum <= 0 {
  4091. return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  4092. }
  4093. switch fieldNum {
  4094. case 1:
  4095. if wireType != 2 {
  4096. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  4097. }
  4098. var stringLen uint64
  4099. for shift := uint(0); ; shift += 7 {
  4100. if shift >= 64 {
  4101. return ErrIntOverflowGenerated
  4102. }
  4103. if iNdEx >= l {
  4104. return io.ErrUnexpectedEOF
  4105. }
  4106. b := dAtA[iNdEx]
  4107. iNdEx++
  4108. stringLen |= (uint64(b) & 0x7F) << shift
  4109. if b < 0x80 {
  4110. break
  4111. }
  4112. }
  4113. intStringLen := int(stringLen)
  4114. if intStringLen < 0 {
  4115. return ErrInvalidLengthGenerated
  4116. }
  4117. postIndex := iNdEx + intStringLen
  4118. if postIndex > l {
  4119. return io.ErrUnexpectedEOF
  4120. }
  4121. m.Rule = SupplementalGroupsStrategyType(dAtA[iNdEx:postIndex])
  4122. iNdEx = postIndex
  4123. case 2:
  4124. if wireType != 2 {
  4125. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  4126. }
  4127. var msglen int
  4128. for shift := uint(0); ; shift += 7 {
  4129. if shift >= 64 {
  4130. return ErrIntOverflowGenerated
  4131. }
  4132. if iNdEx >= l {
  4133. return io.ErrUnexpectedEOF
  4134. }
  4135. b := dAtA[iNdEx]
  4136. iNdEx++
  4137. msglen |= (int(b) & 0x7F) << shift
  4138. if b < 0x80 {
  4139. break
  4140. }
  4141. }
  4142. if msglen < 0 {
  4143. return ErrInvalidLengthGenerated
  4144. }
  4145. postIndex := iNdEx + msglen
  4146. if postIndex > l {
  4147. return io.ErrUnexpectedEOF
  4148. }
  4149. m.Ranges = append(m.Ranges, IDRange{})
  4150. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4151. return err
  4152. }
  4153. iNdEx = postIndex
  4154. default:
  4155. iNdEx = preIndex
  4156. skippy, err := skipGenerated(dAtA[iNdEx:])
  4157. if err != nil {
  4158. return err
  4159. }
  4160. if skippy < 0 {
  4161. return ErrInvalidLengthGenerated
  4162. }
  4163. if (iNdEx + skippy) > l {
  4164. return io.ErrUnexpectedEOF
  4165. }
  4166. iNdEx += skippy
  4167. }
  4168. }
  4169. if iNdEx > l {
  4170. return io.ErrUnexpectedEOF
  4171. }
  4172. return nil
  4173. }
  4174. func skipGenerated(dAtA []byte) (n int, err error) {
  4175. l := len(dAtA)
  4176. iNdEx := 0
  4177. for iNdEx < l {
  4178. var wire uint64
  4179. for shift := uint(0); ; shift += 7 {
  4180. if shift >= 64 {
  4181. return 0, ErrIntOverflowGenerated
  4182. }
  4183. if iNdEx >= l {
  4184. return 0, io.ErrUnexpectedEOF
  4185. }
  4186. b := dAtA[iNdEx]
  4187. iNdEx++
  4188. wire |= (uint64(b) & 0x7F) << shift
  4189. if b < 0x80 {
  4190. break
  4191. }
  4192. }
  4193. wireType := int(wire & 0x7)
  4194. switch wireType {
  4195. case 0:
  4196. for shift := uint(0); ; shift += 7 {
  4197. if shift >= 64 {
  4198. return 0, ErrIntOverflowGenerated
  4199. }
  4200. if iNdEx >= l {
  4201. return 0, io.ErrUnexpectedEOF
  4202. }
  4203. iNdEx++
  4204. if dAtA[iNdEx-1] < 0x80 {
  4205. break
  4206. }
  4207. }
  4208. return iNdEx, nil
  4209. case 1:
  4210. iNdEx += 8
  4211. return iNdEx, nil
  4212. case 2:
  4213. var length int
  4214. for shift := uint(0); ; shift += 7 {
  4215. if shift >= 64 {
  4216. return 0, ErrIntOverflowGenerated
  4217. }
  4218. if iNdEx >= l {
  4219. return 0, io.ErrUnexpectedEOF
  4220. }
  4221. b := dAtA[iNdEx]
  4222. iNdEx++
  4223. length |= (int(b) & 0x7F) << shift
  4224. if b < 0x80 {
  4225. break
  4226. }
  4227. }
  4228. iNdEx += length
  4229. if length < 0 {
  4230. return 0, ErrInvalidLengthGenerated
  4231. }
  4232. return iNdEx, nil
  4233. case 3:
  4234. for {
  4235. var innerWire uint64
  4236. var start int = iNdEx
  4237. for shift := uint(0); ; shift += 7 {
  4238. if shift >= 64 {
  4239. return 0, ErrIntOverflowGenerated
  4240. }
  4241. if iNdEx >= l {
  4242. return 0, io.ErrUnexpectedEOF
  4243. }
  4244. b := dAtA[iNdEx]
  4245. iNdEx++
  4246. innerWire |= (uint64(b) & 0x7F) << shift
  4247. if b < 0x80 {
  4248. break
  4249. }
  4250. }
  4251. innerWireType := int(innerWire & 0x7)
  4252. if innerWireType == 4 {
  4253. break
  4254. }
  4255. next, err := skipGenerated(dAtA[start:])
  4256. if err != nil {
  4257. return 0, err
  4258. }
  4259. iNdEx = start + next
  4260. }
  4261. return iNdEx, nil
  4262. case 4:
  4263. return iNdEx, nil
  4264. case 5:
  4265. iNdEx += 4
  4266. return iNdEx, nil
  4267. default:
  4268. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  4269. }
  4270. }
  4271. panic("unreachable")
  4272. }
  4273. var (
  4274. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  4275. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  4276. )
  4277. func init() {
  4278. proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1/generated.proto", fileDescriptorGenerated)
  4279. }
  4280. var fileDescriptorGenerated = []byte{
  4281. // 1809 bytes of a gzipped FileDescriptorProto
  4282. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdd, 0x8e, 0xdb, 0xc6,
  4283. 0x15, 0x5e, 0x7a, 0xff, 0xb4, 0xb3, 0x3f, 0xd6, 0xce, 0xfe, 0x84, 0x5e, 0xd4, 0xa2, 0xc3, 0x00,
  4284. 0x85, 0x9b, 0x26, 0x54, 0xbc, 0x76, 0x52, 0xa3, 0x69, 0x8b, 0x2c, 0x57, 0xbb, 0xf6, 0x06, 0xde,
  4285. 0xac, 0x3a, 0xb2, 0x83, 0xb6, 0x70, 0x8b, 0x8e, 0xc4, 0x59, 0xed, 0x64, 0x29, 0x92, 0x9d, 0x19,
  4286. 0x2a, 0xab, 0xbb, 0x5e, 0xf4, 0xa2, 0x97, 0x7d, 0x81, 0xa0, 0x0f, 0x50, 0xf4, 0xaa, 0x2f, 0xe1,
  4287. 0x02, 0x45, 0x91, 0xcb, 0xa0, 0x05, 0x84, 0x5a, 0x45, 0x5f, 0xc2, 0x57, 0x05, 0x47, 0x43, 0x4a,
  4288. 0xfc, 0x91, 0x64, 0x1b, 0xb0, 0xef, 0xc8, 0x39, 0xdf, 0xf7, 0x9d, 0xc3, 0x33, 0x67, 0xce, 0x0c,
  4289. 0x07, 0xd8, 0x97, 0xf7, 0xb9, 0x45, 0xfd, 0xea, 0x65, 0xd8, 0x24, 0xcc, 0x23, 0x82, 0xf0, 0x6a,
  4290. 0x97, 0x78, 0x8e, 0xcf, 0xaa, 0xca, 0x80, 0x03, 0x5a, 0x0d, 0x7c, 0x97, 0xb6, 0x7a, 0xd5, 0xee,
  4291. 0x9d, 0x26, 0x11, 0xf8, 0x4e, 0xb5, 0x4d, 0x3c, 0xc2, 0xb0, 0x20, 0x8e, 0x15, 0x30, 0x5f, 0xf8,
  4292. 0xf0, 0xc6, 0x10, 0x6a, 0xe1, 0x80, 0x5a, 0x43, 0xa8, 0xa5, 0xa0, 0x7b, 0x1f, 0xb6, 0xa9, 0xb8,
  4293. 0x08, 0x9b, 0x56, 0xcb, 0xef, 0x54, 0xdb, 0x7e, 0xdb, 0xaf, 0x4a, 0x46, 0x33, 0x3c, 0x97, 0x6f,
  4294. 0xf2, 0x45, 0x3e, 0x0d, 0x95, 0xf6, 0xcc, 0x31, 0xa7, 0x2d, 0x9f, 0x91, 0x6a, 0x37, 0xe7, 0x6d,
  4295. 0xef, 0xde, 0x08, 0xd3, 0xc1, 0xad, 0x0b, 0xea, 0x11, 0xd6, 0xab, 0x06, 0x97, 0xed, 0x68, 0x80,
  4296. 0x57, 0x3b, 0x44, 0xe0, 0x22, 0x56, 0x75, 0x12, 0x8b, 0x85, 0x9e, 0xa0, 0x1d, 0x92, 0x23, 0x7c,
  4297. 0x32, 0x8b, 0xc0, 0x5b, 0x17, 0xa4, 0x83, 0x73, 0xbc, 0xbb, 0x93, 0x78, 0xa1, 0xa0, 0x6e, 0x95,
  4298. 0x7a, 0x82, 0x0b, 0x96, 0x25, 0x99, 0xf7, 0x40, 0xf9, 0xc0, 0x75, 0xfd, 0xaf, 0x89, 0x73, 0xd8,
  4299. 0x38, 0xa9, 0x31, 0xda, 0x25, 0x0c, 0xde, 0x02, 0x0b, 0x1e, 0xee, 0x10, 0x5d, 0xbb, 0xa5, 0xdd,
  4300. 0x5e, 0xb1, 0xd7, 0x9e, 0xf5, 0x8d, 0xb9, 0x41, 0xdf, 0x58, 0xf8, 0x02, 0x77, 0x08, 0x92, 0x16,
  4301. 0xf3, 0x53, 0xb0, 0xa9, 0x58, 0xc7, 0x2e, 0xb9, 0xfa, 0xd2, 0x77, 0xc3, 0x0e, 0x81, 0xdf, 0x07,
  4302. 0x4b, 0x8e, 0x14, 0x50, 0xc4, 0x0d, 0x45, 0x5c, 0x1a, 0xca, 0x22, 0x65, 0x35, 0x39, 0xb8, 0xae,
  4303. 0xc8, 0x0f, 0x7d, 0x2e, 0xea, 0x58, 0x5c, 0xc0, 0x7d, 0x00, 0x02, 0x2c, 0x2e, 0xea, 0x8c, 0x9c,
  4304. 0xd3, 0x2b, 0x45, 0x87, 0x8a, 0x0e, 0xea, 0x89, 0x05, 0x8d, 0xa1, 0xe0, 0x07, 0xa0, 0xc4, 0x08,
  4305. 0x76, 0xce, 0x3c, 0xb7, 0xa7, 0x5f, 0xbb, 0xa5, 0xdd, 0x2e, 0xd9, 0x65, 0xc5, 0x28, 0x21, 0x35,
  4306. 0x8e, 0x12, 0x84, 0xf9, 0x2f, 0x0d, 0x94, 0x8e, 0xba, 0xb4, 0x25, 0xa8, 0xef, 0xc1, 0xdf, 0x82,
  4307. 0x52, 0x34, 0x5b, 0x0e, 0x16, 0x58, 0x3a, 0x5b, 0xdd, 0xff, 0xc8, 0x1a, 0x55, 0x52, 0x92, 0x3c,
  4308. 0x2b, 0xb8, 0x6c, 0x47, 0x03, 0xdc, 0x8a, 0xd0, 0x56, 0xf7, 0x8e, 0x75, 0xd6, 0xfc, 0x8a, 0xb4,
  4309. 0xc4, 0x29, 0x11, 0x78, 0x14, 0xde, 0x68, 0x0c, 0x25, 0xaa, 0xd0, 0x05, 0xeb, 0x0e, 0x71, 0x89,
  4310. 0x20, 0x67, 0x41, 0xe4, 0x91, 0xcb, 0x08, 0x57, 0xf7, 0xef, 0xbe, 0x9c, 0x9b, 0xda, 0x38, 0xd5,
  4311. 0xde, 0x1c, 0xf4, 0x8d, 0xf5, 0xd4, 0x10, 0x4a, 0x8b, 0x9b, 0xdf, 0x68, 0x60, 0xf7, 0xb8, 0xf1,
  4312. 0x80, 0xf9, 0x61, 0xd0, 0x10, 0xd1, 0xec, 0xb6, 0x7b, 0xca, 0x04, 0x7f, 0x04, 0x16, 0x58, 0xe8,
  4313. 0xc6, 0x73, 0xf9, 0x5e, 0x3c, 0x97, 0x28, 0x74, 0xc9, 0x8b, 0xbe, 0xb1, 0x95, 0x61, 0x3d, 0xee,
  4314. 0x05, 0x04, 0x49, 0x02, 0xfc, 0x1c, 0x2c, 0x31, 0xec, 0xb5, 0x49, 0x14, 0xfa, 0xfc, 0xed, 0xd5,
  4315. 0x7d, 0xd3, 0x9a, 0xb8, 0xd6, 0xac, 0x93, 0x1a, 0x8a, 0xa0, 0xa3, 0x19, 0x97, 0xaf, 0x1c, 0x29,
  4316. 0x05, 0xf3, 0x14, 0xac, 0xcb, 0xa9, 0xf6, 0x99, 0x90, 0x16, 0x78, 0x13, 0xcc, 0x77, 0xa8, 0x27,
  4317. 0x83, 0x5a, 0xb4, 0x57, 0x15, 0x6b, 0xfe, 0x94, 0x7a, 0x28, 0x1a, 0x97, 0x66, 0x7c, 0x25, 0x73,
  4318. 0x36, 0x6e, 0xc6, 0x57, 0x28, 0x1a, 0x37, 0x1f, 0x80, 0x65, 0xe5, 0x71, 0x5c, 0x68, 0x7e, 0xba,
  4319. 0xd0, 0x7c, 0x81, 0xd0, 0x5f, 0xae, 0x81, 0xad, 0xba, 0xef, 0xd4, 0x28, 0x67, 0xa1, 0xcc, 0x97,
  4320. 0x1d, 0x3a, 0x6d, 0x22, 0xde, 0x42, 0x7d, 0x3c, 0x06, 0x0b, 0x3c, 0x20, 0x2d, 0x55, 0x16, 0xfb,
  4321. 0x53, 0x72, 0x5b, 0x10, 0x5f, 0x23, 0x20, 0xad, 0xd1, 0xb2, 0x8c, 0xde, 0x90, 0x54, 0x83, 0x4f,
  4322. 0xc1, 0x12, 0x17, 0x58, 0x84, 0x5c, 0x9f, 0x97, 0xba, 0xf7, 0x5e, 0x51, 0x57, 0x72, 0x47, 0xb3,
  4323. 0x38, 0x7c, 0x47, 0x4a, 0xd3, 0xfc, 0x87, 0x06, 0xde, 0x29, 0x60, 0x3d, 0xa2, 0x5c, 0xc0, 0xa7,
  4324. 0xb9, 0x8c, 0x59, 0x2f, 0x97, 0xb1, 0x88, 0x2d, 0xf3, 0x95, 0x2c, 0xde, 0x78, 0x64, 0x2c, 0x5b,
  4325. 0x0d, 0xb0, 0x48, 0x05, 0xe9, 0xc4, 0xa5, 0x68, 0xbd, 0xda, 0x67, 0xd9, 0xeb, 0x4a, 0x7a, 0xf1,
  4326. 0x24, 0x12, 0x41, 0x43, 0x2d, 0xf3, 0x9f, 0xd7, 0x0a, 0x3f, 0x27, 0x4a, 0x27, 0x3c, 0x07, 0x6b,
  4327. 0x1d, 0xea, 0x1d, 0x74, 0x31, 0x75, 0x71, 0x53, 0xad, 0x9e, 0x69, 0x45, 0x10, 0x75, 0x58, 0x6b,
  4328. 0xd8, 0x61, 0xad, 0x13, 0x4f, 0x9c, 0xb1, 0x86, 0x60, 0xd4, 0x6b, 0xdb, 0xe5, 0x41, 0xdf, 0x58,
  4329. 0x3b, 0x1d, 0x53, 0x42, 0x29, 0x5d, 0xf8, 0x6b, 0x50, 0xe2, 0xc4, 0x25, 0x2d, 0xe1, 0xb3, 0x57,
  4330. 0xeb, 0x10, 0x8f, 0x70, 0x93, 0xb8, 0x0d, 0x45, 0xb5, 0xd7, 0xa2, 0xbc, 0xc5, 0x6f, 0x28, 0x91,
  4331. 0x84, 0x2e, 0xd8, 0xe8, 0xe0, 0xab, 0x27, 0x1e, 0x4e, 0x3e, 0x64, 0xfe, 0x35, 0x3f, 0x04, 0x0e,
  4332. 0xfa, 0xc6, 0xc6, 0x69, 0x4a, 0x0b, 0x65, 0xb4, 0xcd, 0xff, 0x2d, 0x80, 0x1b, 0x13, 0xab, 0x0a,
  4333. 0x7e, 0x0e, 0xa0, 0xdf, 0xe4, 0x84, 0x75, 0x89, 0xf3, 0x60, 0xb8, 0x07, 0x51, 0x3f, 0x5e, 0xb8,
  4334. 0x7b, 0x6a, 0x82, 0xe0, 0x59, 0x0e, 0x81, 0x0a, 0x58, 0xf0, 0x0f, 0x1a, 0x58, 0x77, 0x86, 0x6e,
  4335. 0x88, 0x53, 0xf7, 0x9d, 0xb8, 0x30, 0x1e, 0xbc, 0x4e, 0xbd, 0x5b, 0xb5, 0x71, 0xa5, 0x23, 0x4f,
  4336. 0xb0, 0x9e, 0xbd, 0xa3, 0x02, 0x5a, 0x4f, 0xd9, 0x50, 0xda, 0x29, 0x3c, 0x05, 0xd0, 0x49, 0x24,
  4337. 0xb9, 0xda, 0xd3, 0x64, 0x8a, 0x17, 0xed, 0x9b, 0x4a, 0x61, 0x27, 0xe5, 0x37, 0x06, 0xa1, 0x02,
  4338. 0x22, 0xfc, 0x19, 0xd8, 0x68, 0x85, 0x8c, 0x11, 0x4f, 0x3c, 0x24, 0xd8, 0x15, 0x17, 0x3d, 0x7d,
  4339. 0x41, 0x4a, 0xed, 0x2a, 0xa9, 0x8d, 0xc3, 0x94, 0x15, 0x65, 0xd0, 0x11, 0xdf, 0x21, 0x9c, 0x32,
  4340. 0xe2, 0xc4, 0xfc, 0xc5, 0x34, 0xbf, 0x96, 0xb2, 0xa2, 0x0c, 0x1a, 0xde, 0x07, 0x6b, 0xe4, 0x2a,
  4341. 0x20, 0xad, 0x38, 0xa7, 0x4b, 0x92, 0xbd, 0xad, 0xd8, 0x6b, 0x47, 0x63, 0x36, 0x94, 0x42, 0xee,
  4342. 0xb9, 0x00, 0xe6, 0x93, 0x08, 0xcb, 0x60, 0xfe, 0x92, 0xf4, 0x86, 0x3b, 0x0f, 0x8a, 0x1e, 0xe1,
  4343. 0x67, 0x60, 0xb1, 0x8b, 0xdd, 0x90, 0xa8, 0x5a, 0x7f, 0xff, 0xe5, 0x6a, 0xfd, 0x31, 0xed, 0x10,
  4344. 0x34, 0x24, 0xfe, 0xf8, 0xda, 0x7d, 0xcd, 0xfc, 0xbb, 0x06, 0x36, 0xeb, 0xbe, 0xd3, 0x20, 0xad,
  4345. 0x90, 0x51, 0xd1, 0xab, 0xcb, 0x79, 0x7e, 0x0b, 0x3d, 0x1b, 0xa5, 0x7a, 0xf6, 0x47, 0xd3, 0x6b,
  4346. 0x2d, 0x1d, 0xdd, 0xa4, 0x8e, 0x6d, 0x3e, 0xd3, 0xc0, 0x4e, 0x0e, 0xfd, 0x16, 0x3a, 0xea, 0xcf,
  4347. 0xd3, 0x1d, 0xf5, 0x83, 0x57, 0xf9, 0x98, 0x09, 0xfd, 0xf4, 0xdf, 0xe5, 0x82, 0x4f, 0x91, 0xdd,
  4348. 0x34, 0x3a, 0xdd, 0x31, 0xda, 0xa5, 0x2e, 0x69, 0x13, 0x47, 0x7e, 0x4c, 0x69, 0xec, 0x74, 0x97,
  4349. 0x58, 0xd0, 0x18, 0x0a, 0x72, 0xb0, 0xeb, 0x90, 0x73, 0x1c, 0xba, 0xe2, 0xc0, 0x71, 0x0e, 0x71,
  4350. 0x80, 0x9b, 0xd4, 0xa5, 0x82, 0xaa, 0xe3, 0xc8, 0x8a, 0xfd, 0xe9, 0xa0, 0x6f, 0xec, 0xd6, 0x0a,
  4351. 0x11, 0x2f, 0xfa, 0xc6, 0xcd, 0xfc, 0x69, 0xde, 0x4a, 0x20, 0x3d, 0x34, 0x41, 0x1a, 0xf6, 0x80,
  4352. 0xce, 0xc8, 0xef, 0xc2, 0x68, 0x51, 0xd4, 0x98, 0x1f, 0xa4, 0xdc, 0xce, 0x4b, 0xb7, 0x3f, 0x1d,
  4353. 0xf4, 0x0d, 0x1d, 0x4d, 0xc0, 0xcc, 0x76, 0x3c, 0x51, 0x1e, 0x7e, 0x05, 0xb6, 0xb0, 0x3a, 0x87,
  4354. 0x8f, 0x7b, 0x5d, 0x90, 0x5e, 0xef, 0x0f, 0xfa, 0xc6, 0xd6, 0x41, 0xde, 0x3c, 0xdb, 0x61, 0x91,
  4355. 0x28, 0xac, 0x82, 0xe5, 0xae, 0x3c, 0xb2, 0x73, 0x7d, 0x51, 0xea, 0xef, 0x0c, 0xfa, 0xc6, 0xf2,
  4356. 0xf0, 0x14, 0x1f, 0x69, 0x2e, 0x1d, 0x37, 0xe4, 0x41, 0x30, 0x46, 0xc1, 0x8f, 0xc1, 0xea, 0x85,
  4357. 0xcf, 0xc5, 0x17, 0x44, 0x7c, 0xed, 0xb3, 0x4b, 0xd9, 0x18, 0x4a, 0xf6, 0x96, 0x9a, 0xc1, 0xd5,
  4358. 0x87, 0x23, 0x13, 0x1a, 0xc7, 0xc1, 0x5f, 0x82, 0x95, 0x0b, 0x75, 0xec, 0xe3, 0xfa, 0xb2, 0x2c,
  4359. 0xb4, 0xdb, 0x53, 0x0a, 0x2d, 0x75, 0x44, 0xb4, 0x37, 0x95, 0xfc, 0x4a, 0x3c, 0xcc, 0xd1, 0x48,
  4360. 0x0d, 0xfe, 0x00, 0x2c, 0xcb, 0x97, 0x93, 0x9a, 0x5e, 0x92, 0xd1, 0x5c, 0x57, 0xf0, 0xe5, 0x87,
  4361. 0xc3, 0x61, 0x14, 0xdb, 0x63, 0xe8, 0x49, 0xfd, 0x50, 0x5f, 0xc9, 0x43, 0x4f, 0xea, 0x87, 0x28,
  4362. 0xb6, 0xc3, 0xa7, 0x60, 0x99, 0x93, 0x47, 0xd4, 0x0b, 0xaf, 0x74, 0x20, 0x97, 0xdc, 0x9d, 0x29,
  4363. 0xe1, 0x36, 0x8e, 0x24, 0x32, 0x73, 0xe0, 0x1e, 0xa9, 0x2b, 0x3b, 0x8a, 0x25, 0xa1, 0x03, 0x56,
  4364. 0x58, 0xe8, 0x1d, 0xf0, 0x27, 0x9c, 0x30, 0x7d, 0x35, 0xb7, 0xdb, 0x67, 0xf5, 0x51, 0x8c, 0xcd,
  4365. 0x7a, 0x48, 0x32, 0x93, 0x20, 0xd0, 0x48, 0x18, 0xfe, 0x51, 0x03, 0x90, 0x87, 0x41, 0xe0, 0x92,
  4366. 0x0e, 0xf1, 0x04, 0x76, 0xe5, 0xf9, 0x9e, 0xeb, 0x6b, 0xd2, 0xdf, 0x4f, 0xa6, 0x7d, 0x4f, 0x8e,
  4367. 0x94, 0x75, 0x9c, 0x6c, 0xd3, 0x79, 0x28, 0x2a, 0xf0, 0x19, 0xa5, 0xf3, 0x9c, 0xcb, 0x67, 0x7d,
  4368. 0x7d, 0x66, 0x3a, 0x8b, 0xff, 0x5f, 0x46, 0xe9, 0x54, 0x76, 0x14, 0x4b, 0xc2, 0x2f, 0xc1, 0x6e,
  4369. 0xfc, 0x77, 0x87, 0x7c, 0x5f, 0x1c, 0x53, 0x97, 0xf0, 0x1e, 0x17, 0xa4, 0xa3, 0x6f, 0xc8, 0x69,
  4370. 0xae, 0x28, 0xe6, 0x2e, 0x2a, 0x44, 0xa1, 0x09, 0x6c, 0xd8, 0x01, 0x46, 0xdc, 0x1e, 0xa2, 0xb5,
  4371. 0x93, 0xf4, 0xa7, 0x23, 0xde, 0xc2, 0xee, 0xf0, 0xd4, 0x72, 0x5d, 0x3a, 0x78, 0x6f, 0xd0, 0x37,
  4372. 0x8c, 0xda, 0x74, 0x28, 0x9a, 0xa5, 0x05, 0x7f, 0x01, 0x74, 0x3c, 0xc9, 0x4f, 0x59, 0xfa, 0xf9,
  4373. 0x5e, 0xd4, 0x73, 0x26, 0x3a, 0x98, 0xc8, 0x86, 0x01, 0x28, 0xe3, 0xf4, 0x7f, 0x36, 0xd7, 0x37,
  4374. 0xe5, 0x2a, 0x7c, 0x7f, 0xca, 0x3c, 0x64, 0x7e, 0xcd, 0x6d, 0x5d, 0xa5, 0xb1, 0x9c, 0x31, 0x70,
  4375. 0x94, 0x53, 0x87, 0x57, 0x00, 0xe2, 0xec, 0xb5, 0x00, 0xd7, 0xe1, 0xcc, 0x2d, 0x26, 0x77, 0x97,
  4376. 0x30, 0x2a, 0xb5, 0x9c, 0x89, 0xa3, 0x02, 0x1f, 0xf0, 0x11, 0xd8, 0x56, 0xa3, 0x4f, 0x3c, 0x8e,
  4377. 0xcf, 0x49, 0xa3, 0xc7, 0x5b, 0xc2, 0xe5, 0xfa, 0x96, 0xec, 0x6f, 0xfa, 0xa0, 0x6f, 0x6c, 0x1f,
  4378. 0x14, 0xd8, 0x51, 0x21, 0x0b, 0x7e, 0x06, 0xca, 0xe7, 0x3e, 0x6b, 0x52, 0xc7, 0x21, 0x5e, 0xac,
  4379. 0xb4, 0x2d, 0x95, 0xb6, 0xa3, 0x4c, 0x1c, 0x67, 0x6c, 0x28, 0x87, 0x86, 0x1c, 0xec, 0x28, 0xe5,
  4380. 0x3a, 0xf3, 0x5b, 0xa7, 0x7e, 0xe8, 0x89, 0xa8, 0xa5, 0x72, 0x7d, 0x27, 0xd9, 0x46, 0x76, 0x0e,
  4381. 0x8a, 0x00, 0x2f, 0xfa, 0xc6, 0xad, 0x82, 0x96, 0x9e, 0x02, 0xa1, 0x62, 0x6d, 0xe8, 0x00, 0x20,
  4382. 0xfb, 0xc0, 0x70, 0xc9, 0xed, 0xce, 0xfc, 0x05, 0x44, 0x09, 0x38, 0xbb, 0xea, 0x36, 0xa2, 0x9d,
  4383. 0x79, 0x64, 0x46, 0x63, 0xba, 0x50, 0x80, 0x4d, 0x9c, 0xb9, 0x31, 0xe2, 0xfa, 0x3b, 0x72, 0x8e,
  4384. 0x7f, 0x38, 0x7b, 0x8e, 0x13, 0x8e, 0x7d, 0x43, 0x4d, 0xf1, 0x66, 0xd6, 0xc2, 0x51, 0xde, 0x81,
  4385. 0xf9, 0x67, 0x0d, 0xdc, 0x98, 0x18, 0x2f, 0xfc, 0x24, 0x75, 0xcb, 0x61, 0x66, 0x6e, 0x39, 0x60,
  4386. 0x9e, 0xf8, 0x06, 0x2e, 0x39, 0xbe, 0xd1, 0x80, 0x3e, 0xa9, 0x67, 0xc3, 0x8f, 0x53, 0x01, 0xbe,
  4387. 0x9b, 0x09, 0x70, 0x33, 0xc7, 0x7b, 0x03, 0xf1, 0xfd, 0x55, 0x03, 0xbb, 0xc5, 0x7b, 0x16, 0xbc,
  4388. 0x9b, 0x8a, 0xce, 0xc8, 0x44, 0x77, 0x3d, 0xc3, 0x52, 0xb1, 0xfd, 0x06, 0x6c, 0xa8, 0x9d, 0x2d,
  4389. 0x7d, 0xc7, 0x95, 0x8a, 0x31, 0xaa, 0xdf, 0xe8, 0x50, 0xaa, 0x24, 0xe2, 0xfa, 0x92, 0xbf, 0x93,
  4390. 0xe9, 0x31, 0x94, 0x51, 0x33, 0xff, 0xa6, 0x81, 0x77, 0x67, 0xee, 0x49, 0xd0, 0x4e, 0x85, 0x6e,
  4391. 0x65, 0x42, 0xaf, 0x4c, 0x16, 0x78, 0x33, 0x57, 0x5d, 0xf6, 0x87, 0xcf, 0x9e, 0x57, 0xe6, 0xbe,
  4392. 0x7d, 0x5e, 0x99, 0xfb, 0xee, 0x79, 0x65, 0xee, 0xf7, 0x83, 0x8a, 0xf6, 0x6c, 0x50, 0xd1, 0xbe,
  4393. 0x1d, 0x54, 0xb4, 0xef, 0x06, 0x15, 0xed, 0x3f, 0x83, 0x8a, 0xf6, 0xa7, 0xff, 0x56, 0xe6, 0x7e,
  4394. 0xb5, 0xac, 0xe4, 0xfe, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x6f, 0xf9, 0x85, 0x0c, 0x05, 0x17, 0x00,
  4395. 0x00,
  4396. }