provisioners.pb.go 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.15.8
  5. // source: linkedca/provisioners.proto
  6. package linkedca
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Provisioner_Type int32
  20. const (
  21. Provisioner_NOOP Provisioner_Type = 0
  22. Provisioner_JWK Provisioner_Type = 1
  23. Provisioner_OIDC Provisioner_Type = 2
  24. Provisioner_GCP Provisioner_Type = 3
  25. Provisioner_AWS Provisioner_Type = 4
  26. Provisioner_AZURE Provisioner_Type = 5
  27. Provisioner_ACME Provisioner_Type = 6
  28. Provisioner_X5C Provisioner_Type = 7
  29. Provisioner_K8SSA Provisioner_Type = 8
  30. Provisioner_SSHPOP Provisioner_Type = 9
  31. Provisioner_SCEP Provisioner_Type = 10
  32. )
  33. // Enum value maps for Provisioner_Type.
  34. var (
  35. Provisioner_Type_name = map[int32]string{
  36. 0: "NOOP",
  37. 1: "JWK",
  38. 2: "OIDC",
  39. 3: "GCP",
  40. 4: "AWS",
  41. 5: "AZURE",
  42. 6: "ACME",
  43. 7: "X5C",
  44. 8: "K8SSA",
  45. 9: "SSHPOP",
  46. 10: "SCEP",
  47. }
  48. Provisioner_Type_value = map[string]int32{
  49. "NOOP": 0,
  50. "JWK": 1,
  51. "OIDC": 2,
  52. "GCP": 3,
  53. "AWS": 4,
  54. "AZURE": 5,
  55. "ACME": 6,
  56. "X5C": 7,
  57. "K8SSA": 8,
  58. "SSHPOP": 9,
  59. "SCEP": 10,
  60. }
  61. )
  62. func (x Provisioner_Type) Enum() *Provisioner_Type {
  63. p := new(Provisioner_Type)
  64. *p = x
  65. return p
  66. }
  67. func (x Provisioner_Type) String() string {
  68. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  69. }
  70. func (Provisioner_Type) Descriptor() protoreflect.EnumDescriptor {
  71. return file_linkedca_provisioners_proto_enumTypes[0].Descriptor()
  72. }
  73. func (Provisioner_Type) Type() protoreflect.EnumType {
  74. return &file_linkedca_provisioners_proto_enumTypes[0]
  75. }
  76. func (x Provisioner_Type) Number() protoreflect.EnumNumber {
  77. return protoreflect.EnumNumber(x)
  78. }
  79. // Deprecated: Use Provisioner_Type.Descriptor instead.
  80. func (Provisioner_Type) EnumDescriptor() ([]byte, []int) {
  81. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{0, 0}
  82. }
  83. type Provisioner struct {
  84. state protoimpl.MessageState
  85. sizeCache protoimpl.SizeCache
  86. unknownFields protoimpl.UnknownFields
  87. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  88. AuthorityId string `protobuf:"bytes,2,opt,name=authority_id,json=authorityId,proto3" json:"authority_id,omitempty"`
  89. Type Provisioner_Type `protobuf:"varint,3,opt,name=type,proto3,enum=linkedca.Provisioner_Type" json:"type,omitempty"`
  90. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  91. Details *ProvisionerDetails `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
  92. Claims *Claims `protobuf:"bytes,6,opt,name=claims,proto3" json:"claims,omitempty"`
  93. X509Template []byte `protobuf:"bytes,7,opt,name=x509_template,json=x509Template,proto3" json:"x509_template,omitempty"`
  94. X509TemplateData []byte `protobuf:"bytes,8,opt,name=x509_template_data,json=x509TemplateData,proto3" json:"x509_template_data,omitempty"`
  95. SshTemplate []byte `protobuf:"bytes,9,opt,name=ssh_template,json=sshTemplate,proto3" json:"ssh_template,omitempty"`
  96. SshTemplateData []byte `protobuf:"bytes,10,opt,name=ssh_template_data,json=sshTemplateData,proto3" json:"ssh_template_data,omitempty"`
  97. }
  98. func (x *Provisioner) Reset() {
  99. *x = Provisioner{}
  100. if protoimpl.UnsafeEnabled {
  101. mi := &file_linkedca_provisioners_proto_msgTypes[0]
  102. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  103. ms.StoreMessageInfo(mi)
  104. }
  105. }
  106. func (x *Provisioner) String() string {
  107. return protoimpl.X.MessageStringOf(x)
  108. }
  109. func (*Provisioner) ProtoMessage() {}
  110. func (x *Provisioner) ProtoReflect() protoreflect.Message {
  111. mi := &file_linkedca_provisioners_proto_msgTypes[0]
  112. if protoimpl.UnsafeEnabled && x != nil {
  113. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  114. if ms.LoadMessageInfo() == nil {
  115. ms.StoreMessageInfo(mi)
  116. }
  117. return ms
  118. }
  119. return mi.MessageOf(x)
  120. }
  121. // Deprecated: Use Provisioner.ProtoReflect.Descriptor instead.
  122. func (*Provisioner) Descriptor() ([]byte, []int) {
  123. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{0}
  124. }
  125. func (x *Provisioner) GetId() string {
  126. if x != nil {
  127. return x.Id
  128. }
  129. return ""
  130. }
  131. func (x *Provisioner) GetAuthorityId() string {
  132. if x != nil {
  133. return x.AuthorityId
  134. }
  135. return ""
  136. }
  137. func (x *Provisioner) GetType() Provisioner_Type {
  138. if x != nil {
  139. return x.Type
  140. }
  141. return Provisioner_NOOP
  142. }
  143. func (x *Provisioner) GetName() string {
  144. if x != nil {
  145. return x.Name
  146. }
  147. return ""
  148. }
  149. func (x *Provisioner) GetDetails() *ProvisionerDetails {
  150. if x != nil {
  151. return x.Details
  152. }
  153. return nil
  154. }
  155. func (x *Provisioner) GetClaims() *Claims {
  156. if x != nil {
  157. return x.Claims
  158. }
  159. return nil
  160. }
  161. func (x *Provisioner) GetX509Template() []byte {
  162. if x != nil {
  163. return x.X509Template
  164. }
  165. return nil
  166. }
  167. func (x *Provisioner) GetX509TemplateData() []byte {
  168. if x != nil {
  169. return x.X509TemplateData
  170. }
  171. return nil
  172. }
  173. func (x *Provisioner) GetSshTemplate() []byte {
  174. if x != nil {
  175. return x.SshTemplate
  176. }
  177. return nil
  178. }
  179. func (x *Provisioner) GetSshTemplateData() []byte {
  180. if x != nil {
  181. return x.SshTemplateData
  182. }
  183. return nil
  184. }
  185. type ProvisionerDetails struct {
  186. state protoimpl.MessageState
  187. sizeCache protoimpl.SizeCache
  188. unknownFields protoimpl.UnknownFields
  189. // Types that are assignable to Data:
  190. // *ProvisionerDetails_JWK
  191. // *ProvisionerDetails_OIDC
  192. // *ProvisionerDetails_GCP
  193. // *ProvisionerDetails_AWS
  194. // *ProvisionerDetails_Azure
  195. // *ProvisionerDetails_ACME
  196. // *ProvisionerDetails_X5C
  197. // *ProvisionerDetails_K8SSA
  198. // *ProvisionerDetails_SSHPOP
  199. // *ProvisionerDetails_SCEP
  200. Data isProvisionerDetails_Data `protobuf_oneof:"data"`
  201. }
  202. func (x *ProvisionerDetails) Reset() {
  203. *x = ProvisionerDetails{}
  204. if protoimpl.UnsafeEnabled {
  205. mi := &file_linkedca_provisioners_proto_msgTypes[1]
  206. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  207. ms.StoreMessageInfo(mi)
  208. }
  209. }
  210. func (x *ProvisionerDetails) String() string {
  211. return protoimpl.X.MessageStringOf(x)
  212. }
  213. func (*ProvisionerDetails) ProtoMessage() {}
  214. func (x *ProvisionerDetails) ProtoReflect() protoreflect.Message {
  215. mi := &file_linkedca_provisioners_proto_msgTypes[1]
  216. if protoimpl.UnsafeEnabled && x != nil {
  217. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  218. if ms.LoadMessageInfo() == nil {
  219. ms.StoreMessageInfo(mi)
  220. }
  221. return ms
  222. }
  223. return mi.MessageOf(x)
  224. }
  225. // Deprecated: Use ProvisionerDetails.ProtoReflect.Descriptor instead.
  226. func (*ProvisionerDetails) Descriptor() ([]byte, []int) {
  227. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{1}
  228. }
  229. func (m *ProvisionerDetails) GetData() isProvisionerDetails_Data {
  230. if m != nil {
  231. return m.Data
  232. }
  233. return nil
  234. }
  235. func (x *ProvisionerDetails) GetJWK() *JWKProvisioner {
  236. if x, ok := x.GetData().(*ProvisionerDetails_JWK); ok {
  237. return x.JWK
  238. }
  239. return nil
  240. }
  241. func (x *ProvisionerDetails) GetOIDC() *OIDCProvisioner {
  242. if x, ok := x.GetData().(*ProvisionerDetails_OIDC); ok {
  243. return x.OIDC
  244. }
  245. return nil
  246. }
  247. func (x *ProvisionerDetails) GetGCP() *GCPProvisioner {
  248. if x, ok := x.GetData().(*ProvisionerDetails_GCP); ok {
  249. return x.GCP
  250. }
  251. return nil
  252. }
  253. func (x *ProvisionerDetails) GetAWS() *AWSProvisioner {
  254. if x, ok := x.GetData().(*ProvisionerDetails_AWS); ok {
  255. return x.AWS
  256. }
  257. return nil
  258. }
  259. func (x *ProvisionerDetails) GetAzure() *AzureProvisioner {
  260. if x, ok := x.GetData().(*ProvisionerDetails_Azure); ok {
  261. return x.Azure
  262. }
  263. return nil
  264. }
  265. func (x *ProvisionerDetails) GetACME() *ACMEProvisioner {
  266. if x, ok := x.GetData().(*ProvisionerDetails_ACME); ok {
  267. return x.ACME
  268. }
  269. return nil
  270. }
  271. func (x *ProvisionerDetails) GetX5C() *X5CProvisioner {
  272. if x, ok := x.GetData().(*ProvisionerDetails_X5C); ok {
  273. return x.X5C
  274. }
  275. return nil
  276. }
  277. func (x *ProvisionerDetails) GetK8SSA() *K8SSAProvisioner {
  278. if x, ok := x.GetData().(*ProvisionerDetails_K8SSA); ok {
  279. return x.K8SSA
  280. }
  281. return nil
  282. }
  283. func (x *ProvisionerDetails) GetSSHPOP() *SSHPOPProvisioner {
  284. if x, ok := x.GetData().(*ProvisionerDetails_SSHPOP); ok {
  285. return x.SSHPOP
  286. }
  287. return nil
  288. }
  289. func (x *ProvisionerDetails) GetSCEP() *SCEPProvisioner {
  290. if x, ok := x.GetData().(*ProvisionerDetails_SCEP); ok {
  291. return x.SCEP
  292. }
  293. return nil
  294. }
  295. type isProvisionerDetails_Data interface {
  296. isProvisionerDetails_Data()
  297. }
  298. type ProvisionerDetails_JWK struct {
  299. JWK *JWKProvisioner `protobuf:"bytes,20,opt,name=JWK,proto3,oneof"`
  300. }
  301. type ProvisionerDetails_OIDC struct {
  302. OIDC *OIDCProvisioner `protobuf:"bytes,21,opt,name=OIDC,proto3,oneof"`
  303. }
  304. type ProvisionerDetails_GCP struct {
  305. GCP *GCPProvisioner `protobuf:"bytes,22,opt,name=GCP,proto3,oneof"`
  306. }
  307. type ProvisionerDetails_AWS struct {
  308. AWS *AWSProvisioner `protobuf:"bytes,23,opt,name=AWS,proto3,oneof"`
  309. }
  310. type ProvisionerDetails_Azure struct {
  311. Azure *AzureProvisioner `protobuf:"bytes,24,opt,name=Azure,proto3,oneof"`
  312. }
  313. type ProvisionerDetails_ACME struct {
  314. ACME *ACMEProvisioner `protobuf:"bytes,25,opt,name=ACME,proto3,oneof"`
  315. }
  316. type ProvisionerDetails_X5C struct {
  317. X5C *X5CProvisioner `protobuf:"bytes,26,opt,name=X5C,proto3,oneof"`
  318. }
  319. type ProvisionerDetails_K8SSA struct {
  320. K8SSA *K8SSAProvisioner `protobuf:"bytes,27,opt,name=K8sSA,proto3,oneof"`
  321. }
  322. type ProvisionerDetails_SSHPOP struct {
  323. SSHPOP *SSHPOPProvisioner `protobuf:"bytes,28,opt,name=SSHPOP,proto3,oneof"`
  324. }
  325. type ProvisionerDetails_SCEP struct {
  326. SCEP *SCEPProvisioner `protobuf:"bytes,29,opt,name=SCEP,proto3,oneof"`
  327. }
  328. func (*ProvisionerDetails_JWK) isProvisionerDetails_Data() {}
  329. func (*ProvisionerDetails_OIDC) isProvisionerDetails_Data() {}
  330. func (*ProvisionerDetails_GCP) isProvisionerDetails_Data() {}
  331. func (*ProvisionerDetails_AWS) isProvisionerDetails_Data() {}
  332. func (*ProvisionerDetails_Azure) isProvisionerDetails_Data() {}
  333. func (*ProvisionerDetails_ACME) isProvisionerDetails_Data() {}
  334. func (*ProvisionerDetails_X5C) isProvisionerDetails_Data() {}
  335. func (*ProvisionerDetails_K8SSA) isProvisionerDetails_Data() {}
  336. func (*ProvisionerDetails_SSHPOP) isProvisionerDetails_Data() {}
  337. func (*ProvisionerDetails_SCEP) isProvisionerDetails_Data() {}
  338. type ProvisionerList struct {
  339. state protoimpl.MessageState
  340. sizeCache protoimpl.SizeCache
  341. unknownFields protoimpl.UnknownFields
  342. Provisioners []*Provisioner `protobuf:"bytes,1,rep,name=provisioners,proto3" json:"provisioners,omitempty"`
  343. }
  344. func (x *ProvisionerList) Reset() {
  345. *x = ProvisionerList{}
  346. if protoimpl.UnsafeEnabled {
  347. mi := &file_linkedca_provisioners_proto_msgTypes[2]
  348. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  349. ms.StoreMessageInfo(mi)
  350. }
  351. }
  352. func (x *ProvisionerList) String() string {
  353. return protoimpl.X.MessageStringOf(x)
  354. }
  355. func (*ProvisionerList) ProtoMessage() {}
  356. func (x *ProvisionerList) ProtoReflect() protoreflect.Message {
  357. mi := &file_linkedca_provisioners_proto_msgTypes[2]
  358. if protoimpl.UnsafeEnabled && x != nil {
  359. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  360. if ms.LoadMessageInfo() == nil {
  361. ms.StoreMessageInfo(mi)
  362. }
  363. return ms
  364. }
  365. return mi.MessageOf(x)
  366. }
  367. // Deprecated: Use ProvisionerList.ProtoReflect.Descriptor instead.
  368. func (*ProvisionerList) Descriptor() ([]byte, []int) {
  369. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{2}
  370. }
  371. func (x *ProvisionerList) GetProvisioners() []*Provisioner {
  372. if x != nil {
  373. return x.Provisioners
  374. }
  375. return nil
  376. }
  377. type Claims struct {
  378. state protoimpl.MessageState
  379. sizeCache protoimpl.SizeCache
  380. unknownFields protoimpl.UnknownFields
  381. X509 *X509Claims `protobuf:"bytes,1,opt,name=x509,proto3" json:"x509,omitempty"`
  382. Ssh *SSHClaims `protobuf:"bytes,2,opt,name=ssh,proto3" json:"ssh,omitempty"`
  383. DisableRenewal bool `protobuf:"varint,3,opt,name=disable_renewal,json=disableRenewal,proto3" json:"disable_renewal,omitempty"`
  384. }
  385. func (x *Claims) Reset() {
  386. *x = Claims{}
  387. if protoimpl.UnsafeEnabled {
  388. mi := &file_linkedca_provisioners_proto_msgTypes[3]
  389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  390. ms.StoreMessageInfo(mi)
  391. }
  392. }
  393. func (x *Claims) String() string {
  394. return protoimpl.X.MessageStringOf(x)
  395. }
  396. func (*Claims) ProtoMessage() {}
  397. func (x *Claims) ProtoReflect() protoreflect.Message {
  398. mi := &file_linkedca_provisioners_proto_msgTypes[3]
  399. if protoimpl.UnsafeEnabled && x != nil {
  400. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  401. if ms.LoadMessageInfo() == nil {
  402. ms.StoreMessageInfo(mi)
  403. }
  404. return ms
  405. }
  406. return mi.MessageOf(x)
  407. }
  408. // Deprecated: Use Claims.ProtoReflect.Descriptor instead.
  409. func (*Claims) Descriptor() ([]byte, []int) {
  410. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{3}
  411. }
  412. func (x *Claims) GetX509() *X509Claims {
  413. if x != nil {
  414. return x.X509
  415. }
  416. return nil
  417. }
  418. func (x *Claims) GetSsh() *SSHClaims {
  419. if x != nil {
  420. return x.Ssh
  421. }
  422. return nil
  423. }
  424. func (x *Claims) GetDisableRenewal() bool {
  425. if x != nil {
  426. return x.DisableRenewal
  427. }
  428. return false
  429. }
  430. type X509Claims struct {
  431. state protoimpl.MessageState
  432. sizeCache protoimpl.SizeCache
  433. unknownFields protoimpl.UnknownFields
  434. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  435. Durations *Durations `protobuf:"bytes,2,opt,name=durations,proto3" json:"durations,omitempty"`
  436. }
  437. func (x *X509Claims) Reset() {
  438. *x = X509Claims{}
  439. if protoimpl.UnsafeEnabled {
  440. mi := &file_linkedca_provisioners_proto_msgTypes[4]
  441. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  442. ms.StoreMessageInfo(mi)
  443. }
  444. }
  445. func (x *X509Claims) String() string {
  446. return protoimpl.X.MessageStringOf(x)
  447. }
  448. func (*X509Claims) ProtoMessage() {}
  449. func (x *X509Claims) ProtoReflect() protoreflect.Message {
  450. mi := &file_linkedca_provisioners_proto_msgTypes[4]
  451. if protoimpl.UnsafeEnabled && x != nil {
  452. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  453. if ms.LoadMessageInfo() == nil {
  454. ms.StoreMessageInfo(mi)
  455. }
  456. return ms
  457. }
  458. return mi.MessageOf(x)
  459. }
  460. // Deprecated: Use X509Claims.ProtoReflect.Descriptor instead.
  461. func (*X509Claims) Descriptor() ([]byte, []int) {
  462. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{4}
  463. }
  464. func (x *X509Claims) GetEnabled() bool {
  465. if x != nil {
  466. return x.Enabled
  467. }
  468. return false
  469. }
  470. func (x *X509Claims) GetDurations() *Durations {
  471. if x != nil {
  472. return x.Durations
  473. }
  474. return nil
  475. }
  476. type SSHClaims struct {
  477. state protoimpl.MessageState
  478. sizeCache protoimpl.SizeCache
  479. unknownFields protoimpl.UnknownFields
  480. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  481. UserDurations *Durations `protobuf:"bytes,2,opt,name=user_durations,json=userDurations,proto3" json:"user_durations,omitempty"`
  482. HostDurations *Durations `protobuf:"bytes,3,opt,name=host_durations,json=hostDurations,proto3" json:"host_durations,omitempty"`
  483. }
  484. func (x *SSHClaims) Reset() {
  485. *x = SSHClaims{}
  486. if protoimpl.UnsafeEnabled {
  487. mi := &file_linkedca_provisioners_proto_msgTypes[5]
  488. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  489. ms.StoreMessageInfo(mi)
  490. }
  491. }
  492. func (x *SSHClaims) String() string {
  493. return protoimpl.X.MessageStringOf(x)
  494. }
  495. func (*SSHClaims) ProtoMessage() {}
  496. func (x *SSHClaims) ProtoReflect() protoreflect.Message {
  497. mi := &file_linkedca_provisioners_proto_msgTypes[5]
  498. if protoimpl.UnsafeEnabled && x != nil {
  499. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  500. if ms.LoadMessageInfo() == nil {
  501. ms.StoreMessageInfo(mi)
  502. }
  503. return ms
  504. }
  505. return mi.MessageOf(x)
  506. }
  507. // Deprecated: Use SSHClaims.ProtoReflect.Descriptor instead.
  508. func (*SSHClaims) Descriptor() ([]byte, []int) {
  509. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{5}
  510. }
  511. func (x *SSHClaims) GetEnabled() bool {
  512. if x != nil {
  513. return x.Enabled
  514. }
  515. return false
  516. }
  517. func (x *SSHClaims) GetUserDurations() *Durations {
  518. if x != nil {
  519. return x.UserDurations
  520. }
  521. return nil
  522. }
  523. func (x *SSHClaims) GetHostDurations() *Durations {
  524. if x != nil {
  525. return x.HostDurations
  526. }
  527. return nil
  528. }
  529. type Durations struct {
  530. state protoimpl.MessageState
  531. sizeCache protoimpl.SizeCache
  532. unknownFields protoimpl.UnknownFields
  533. Default string `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
  534. Min string `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"`
  535. Max string `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"`
  536. }
  537. func (x *Durations) Reset() {
  538. *x = Durations{}
  539. if protoimpl.UnsafeEnabled {
  540. mi := &file_linkedca_provisioners_proto_msgTypes[6]
  541. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  542. ms.StoreMessageInfo(mi)
  543. }
  544. }
  545. func (x *Durations) String() string {
  546. return protoimpl.X.MessageStringOf(x)
  547. }
  548. func (*Durations) ProtoMessage() {}
  549. func (x *Durations) ProtoReflect() protoreflect.Message {
  550. mi := &file_linkedca_provisioners_proto_msgTypes[6]
  551. if protoimpl.UnsafeEnabled && x != nil {
  552. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  553. if ms.LoadMessageInfo() == nil {
  554. ms.StoreMessageInfo(mi)
  555. }
  556. return ms
  557. }
  558. return mi.MessageOf(x)
  559. }
  560. // Deprecated: Use Durations.ProtoReflect.Descriptor instead.
  561. func (*Durations) Descriptor() ([]byte, []int) {
  562. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{6}
  563. }
  564. func (x *Durations) GetDefault() string {
  565. if x != nil {
  566. return x.Default
  567. }
  568. return ""
  569. }
  570. func (x *Durations) GetMin() string {
  571. if x != nil {
  572. return x.Min
  573. }
  574. return ""
  575. }
  576. func (x *Durations) GetMax() string {
  577. if x != nil {
  578. return x.Max
  579. }
  580. return ""
  581. }
  582. type JWKProvisioner struct {
  583. state protoimpl.MessageState
  584. sizeCache protoimpl.SizeCache
  585. unknownFields protoimpl.UnknownFields
  586. PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
  587. EncryptedPrivateKey []byte `protobuf:"bytes,2,opt,name=encrypted_private_key,json=encryptedPrivateKey,proto3" json:"encrypted_private_key,omitempty"`
  588. }
  589. func (x *JWKProvisioner) Reset() {
  590. *x = JWKProvisioner{}
  591. if protoimpl.UnsafeEnabled {
  592. mi := &file_linkedca_provisioners_proto_msgTypes[7]
  593. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  594. ms.StoreMessageInfo(mi)
  595. }
  596. }
  597. func (x *JWKProvisioner) String() string {
  598. return protoimpl.X.MessageStringOf(x)
  599. }
  600. func (*JWKProvisioner) ProtoMessage() {}
  601. func (x *JWKProvisioner) ProtoReflect() protoreflect.Message {
  602. mi := &file_linkedca_provisioners_proto_msgTypes[7]
  603. if protoimpl.UnsafeEnabled && x != nil {
  604. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  605. if ms.LoadMessageInfo() == nil {
  606. ms.StoreMessageInfo(mi)
  607. }
  608. return ms
  609. }
  610. return mi.MessageOf(x)
  611. }
  612. // Deprecated: Use JWKProvisioner.ProtoReflect.Descriptor instead.
  613. func (*JWKProvisioner) Descriptor() ([]byte, []int) {
  614. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{7}
  615. }
  616. func (x *JWKProvisioner) GetPublicKey() []byte {
  617. if x != nil {
  618. return x.PublicKey
  619. }
  620. return nil
  621. }
  622. func (x *JWKProvisioner) GetEncryptedPrivateKey() []byte {
  623. if x != nil {
  624. return x.EncryptedPrivateKey
  625. }
  626. return nil
  627. }
  628. type OIDCProvisioner struct {
  629. state protoimpl.MessageState
  630. sizeCache protoimpl.SizeCache
  631. unknownFields protoimpl.UnknownFields
  632. ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
  633. ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
  634. ConfigurationEndpoint string `protobuf:"bytes,3,opt,name=configuration_endpoint,json=configurationEndpoint,proto3" json:"configuration_endpoint,omitempty"`
  635. Admins []string `protobuf:"bytes,4,rep,name=admins,proto3" json:"admins,omitempty"`
  636. Domains []string `protobuf:"bytes,5,rep,name=domains,proto3" json:"domains,omitempty"`
  637. Groups []string `protobuf:"bytes,6,rep,name=groups,proto3" json:"groups,omitempty"`
  638. ListenAddress string `protobuf:"bytes,7,opt,name=listen_address,json=listenAddress,proto3" json:"listen_address,omitempty"`
  639. TenantId string `protobuf:"bytes,8,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
  640. }
  641. func (x *OIDCProvisioner) Reset() {
  642. *x = OIDCProvisioner{}
  643. if protoimpl.UnsafeEnabled {
  644. mi := &file_linkedca_provisioners_proto_msgTypes[8]
  645. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  646. ms.StoreMessageInfo(mi)
  647. }
  648. }
  649. func (x *OIDCProvisioner) String() string {
  650. return protoimpl.X.MessageStringOf(x)
  651. }
  652. func (*OIDCProvisioner) ProtoMessage() {}
  653. func (x *OIDCProvisioner) ProtoReflect() protoreflect.Message {
  654. mi := &file_linkedca_provisioners_proto_msgTypes[8]
  655. if protoimpl.UnsafeEnabled && x != nil {
  656. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  657. if ms.LoadMessageInfo() == nil {
  658. ms.StoreMessageInfo(mi)
  659. }
  660. return ms
  661. }
  662. return mi.MessageOf(x)
  663. }
  664. // Deprecated: Use OIDCProvisioner.ProtoReflect.Descriptor instead.
  665. func (*OIDCProvisioner) Descriptor() ([]byte, []int) {
  666. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{8}
  667. }
  668. func (x *OIDCProvisioner) GetClientId() string {
  669. if x != nil {
  670. return x.ClientId
  671. }
  672. return ""
  673. }
  674. func (x *OIDCProvisioner) GetClientSecret() string {
  675. if x != nil {
  676. return x.ClientSecret
  677. }
  678. return ""
  679. }
  680. func (x *OIDCProvisioner) GetConfigurationEndpoint() string {
  681. if x != nil {
  682. return x.ConfigurationEndpoint
  683. }
  684. return ""
  685. }
  686. func (x *OIDCProvisioner) GetAdmins() []string {
  687. if x != nil {
  688. return x.Admins
  689. }
  690. return nil
  691. }
  692. func (x *OIDCProvisioner) GetDomains() []string {
  693. if x != nil {
  694. return x.Domains
  695. }
  696. return nil
  697. }
  698. func (x *OIDCProvisioner) GetGroups() []string {
  699. if x != nil {
  700. return x.Groups
  701. }
  702. return nil
  703. }
  704. func (x *OIDCProvisioner) GetListenAddress() string {
  705. if x != nil {
  706. return x.ListenAddress
  707. }
  708. return ""
  709. }
  710. func (x *OIDCProvisioner) GetTenantId() string {
  711. if x != nil {
  712. return x.TenantId
  713. }
  714. return ""
  715. }
  716. type GCPProvisioner struct {
  717. state protoimpl.MessageState
  718. sizeCache protoimpl.SizeCache
  719. unknownFields protoimpl.UnknownFields
  720. ServiceAccounts []string `protobuf:"bytes,1,rep,name=service_accounts,json=serviceAccounts,proto3" json:"service_accounts,omitempty"`
  721. ProjectIds []string `protobuf:"bytes,2,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"`
  722. DisableCustomSans bool `protobuf:"varint,3,opt,name=disable_custom_sans,json=disableCustomSans,proto3" json:"disable_custom_sans,omitempty"`
  723. DisableTrustOnFirstUse bool `protobuf:"varint,4,opt,name=disable_trust_on_first_use,json=disableTrustOnFirstUse,proto3" json:"disable_trust_on_first_use,omitempty"`
  724. InstanceAge string `protobuf:"bytes,5,opt,name=instance_age,json=instanceAge,proto3" json:"instance_age,omitempty"`
  725. }
  726. func (x *GCPProvisioner) Reset() {
  727. *x = GCPProvisioner{}
  728. if protoimpl.UnsafeEnabled {
  729. mi := &file_linkedca_provisioners_proto_msgTypes[9]
  730. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  731. ms.StoreMessageInfo(mi)
  732. }
  733. }
  734. func (x *GCPProvisioner) String() string {
  735. return protoimpl.X.MessageStringOf(x)
  736. }
  737. func (*GCPProvisioner) ProtoMessage() {}
  738. func (x *GCPProvisioner) ProtoReflect() protoreflect.Message {
  739. mi := &file_linkedca_provisioners_proto_msgTypes[9]
  740. if protoimpl.UnsafeEnabled && x != nil {
  741. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  742. if ms.LoadMessageInfo() == nil {
  743. ms.StoreMessageInfo(mi)
  744. }
  745. return ms
  746. }
  747. return mi.MessageOf(x)
  748. }
  749. // Deprecated: Use GCPProvisioner.ProtoReflect.Descriptor instead.
  750. func (*GCPProvisioner) Descriptor() ([]byte, []int) {
  751. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{9}
  752. }
  753. func (x *GCPProvisioner) GetServiceAccounts() []string {
  754. if x != nil {
  755. return x.ServiceAccounts
  756. }
  757. return nil
  758. }
  759. func (x *GCPProvisioner) GetProjectIds() []string {
  760. if x != nil {
  761. return x.ProjectIds
  762. }
  763. return nil
  764. }
  765. func (x *GCPProvisioner) GetDisableCustomSans() bool {
  766. if x != nil {
  767. return x.DisableCustomSans
  768. }
  769. return false
  770. }
  771. func (x *GCPProvisioner) GetDisableTrustOnFirstUse() bool {
  772. if x != nil {
  773. return x.DisableTrustOnFirstUse
  774. }
  775. return false
  776. }
  777. func (x *GCPProvisioner) GetInstanceAge() string {
  778. if x != nil {
  779. return x.InstanceAge
  780. }
  781. return ""
  782. }
  783. type AWSProvisioner struct {
  784. state protoimpl.MessageState
  785. sizeCache protoimpl.SizeCache
  786. unknownFields protoimpl.UnknownFields
  787. Accounts []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
  788. DisableCustomSans bool `protobuf:"varint,2,opt,name=disable_custom_sans,json=disableCustomSans,proto3" json:"disable_custom_sans,omitempty"`
  789. DisableTrustOnFirstUse bool `protobuf:"varint,3,opt,name=disable_trust_on_first_use,json=disableTrustOnFirstUse,proto3" json:"disable_trust_on_first_use,omitempty"`
  790. InstanceAge string `protobuf:"bytes,4,opt,name=instance_age,json=instanceAge,proto3" json:"instance_age,omitempty"`
  791. }
  792. func (x *AWSProvisioner) Reset() {
  793. *x = AWSProvisioner{}
  794. if protoimpl.UnsafeEnabled {
  795. mi := &file_linkedca_provisioners_proto_msgTypes[10]
  796. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  797. ms.StoreMessageInfo(mi)
  798. }
  799. }
  800. func (x *AWSProvisioner) String() string {
  801. return protoimpl.X.MessageStringOf(x)
  802. }
  803. func (*AWSProvisioner) ProtoMessage() {}
  804. func (x *AWSProvisioner) ProtoReflect() protoreflect.Message {
  805. mi := &file_linkedca_provisioners_proto_msgTypes[10]
  806. if protoimpl.UnsafeEnabled && x != nil {
  807. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  808. if ms.LoadMessageInfo() == nil {
  809. ms.StoreMessageInfo(mi)
  810. }
  811. return ms
  812. }
  813. return mi.MessageOf(x)
  814. }
  815. // Deprecated: Use AWSProvisioner.ProtoReflect.Descriptor instead.
  816. func (*AWSProvisioner) Descriptor() ([]byte, []int) {
  817. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{10}
  818. }
  819. func (x *AWSProvisioner) GetAccounts() []string {
  820. if x != nil {
  821. return x.Accounts
  822. }
  823. return nil
  824. }
  825. func (x *AWSProvisioner) GetDisableCustomSans() bool {
  826. if x != nil {
  827. return x.DisableCustomSans
  828. }
  829. return false
  830. }
  831. func (x *AWSProvisioner) GetDisableTrustOnFirstUse() bool {
  832. if x != nil {
  833. return x.DisableTrustOnFirstUse
  834. }
  835. return false
  836. }
  837. func (x *AWSProvisioner) GetInstanceAge() string {
  838. if x != nil {
  839. return x.InstanceAge
  840. }
  841. return ""
  842. }
  843. type AzureProvisioner struct {
  844. state protoimpl.MessageState
  845. sizeCache protoimpl.SizeCache
  846. unknownFields protoimpl.UnknownFields
  847. TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
  848. ResourceGroups []string `protobuf:"bytes,2,rep,name=resource_groups,json=resourceGroups,proto3" json:"resource_groups,omitempty"`
  849. Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
  850. DisableCustomSans bool `protobuf:"varint,4,opt,name=disable_custom_sans,json=disableCustomSans,proto3" json:"disable_custom_sans,omitempty"`
  851. DisableTrustOnFirstUse bool `protobuf:"varint,5,opt,name=disable_trust_on_first_use,json=disableTrustOnFirstUse,proto3" json:"disable_trust_on_first_use,omitempty"`
  852. }
  853. func (x *AzureProvisioner) Reset() {
  854. *x = AzureProvisioner{}
  855. if protoimpl.UnsafeEnabled {
  856. mi := &file_linkedca_provisioners_proto_msgTypes[11]
  857. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  858. ms.StoreMessageInfo(mi)
  859. }
  860. }
  861. func (x *AzureProvisioner) String() string {
  862. return protoimpl.X.MessageStringOf(x)
  863. }
  864. func (*AzureProvisioner) ProtoMessage() {}
  865. func (x *AzureProvisioner) ProtoReflect() protoreflect.Message {
  866. mi := &file_linkedca_provisioners_proto_msgTypes[11]
  867. if protoimpl.UnsafeEnabled && x != nil {
  868. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  869. if ms.LoadMessageInfo() == nil {
  870. ms.StoreMessageInfo(mi)
  871. }
  872. return ms
  873. }
  874. return mi.MessageOf(x)
  875. }
  876. // Deprecated: Use AzureProvisioner.ProtoReflect.Descriptor instead.
  877. func (*AzureProvisioner) Descriptor() ([]byte, []int) {
  878. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{11}
  879. }
  880. func (x *AzureProvisioner) GetTenantId() string {
  881. if x != nil {
  882. return x.TenantId
  883. }
  884. return ""
  885. }
  886. func (x *AzureProvisioner) GetResourceGroups() []string {
  887. if x != nil {
  888. return x.ResourceGroups
  889. }
  890. return nil
  891. }
  892. func (x *AzureProvisioner) GetAudience() string {
  893. if x != nil {
  894. return x.Audience
  895. }
  896. return ""
  897. }
  898. func (x *AzureProvisioner) GetDisableCustomSans() bool {
  899. if x != nil {
  900. return x.DisableCustomSans
  901. }
  902. return false
  903. }
  904. func (x *AzureProvisioner) GetDisableTrustOnFirstUse() bool {
  905. if x != nil {
  906. return x.DisableTrustOnFirstUse
  907. }
  908. return false
  909. }
  910. type ACMEProvisioner struct {
  911. state protoimpl.MessageState
  912. sizeCache protoimpl.SizeCache
  913. unknownFields protoimpl.UnknownFields
  914. ForceCn bool `protobuf:"varint,1,opt,name=force_cn,json=forceCn,proto3" json:"force_cn,omitempty"`
  915. }
  916. func (x *ACMEProvisioner) Reset() {
  917. *x = ACMEProvisioner{}
  918. if protoimpl.UnsafeEnabled {
  919. mi := &file_linkedca_provisioners_proto_msgTypes[12]
  920. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  921. ms.StoreMessageInfo(mi)
  922. }
  923. }
  924. func (x *ACMEProvisioner) String() string {
  925. return protoimpl.X.MessageStringOf(x)
  926. }
  927. func (*ACMEProvisioner) ProtoMessage() {}
  928. func (x *ACMEProvisioner) ProtoReflect() protoreflect.Message {
  929. mi := &file_linkedca_provisioners_proto_msgTypes[12]
  930. if protoimpl.UnsafeEnabled && x != nil {
  931. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  932. if ms.LoadMessageInfo() == nil {
  933. ms.StoreMessageInfo(mi)
  934. }
  935. return ms
  936. }
  937. return mi.MessageOf(x)
  938. }
  939. // Deprecated: Use ACMEProvisioner.ProtoReflect.Descriptor instead.
  940. func (*ACMEProvisioner) Descriptor() ([]byte, []int) {
  941. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{12}
  942. }
  943. func (x *ACMEProvisioner) GetForceCn() bool {
  944. if x != nil {
  945. return x.ForceCn
  946. }
  947. return false
  948. }
  949. type X5CProvisioner struct {
  950. state protoimpl.MessageState
  951. sizeCache protoimpl.SizeCache
  952. unknownFields protoimpl.UnknownFields
  953. Roots [][]byte `protobuf:"bytes,1,rep,name=roots,proto3" json:"roots,omitempty"`
  954. }
  955. func (x *X5CProvisioner) Reset() {
  956. *x = X5CProvisioner{}
  957. if protoimpl.UnsafeEnabled {
  958. mi := &file_linkedca_provisioners_proto_msgTypes[13]
  959. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  960. ms.StoreMessageInfo(mi)
  961. }
  962. }
  963. func (x *X5CProvisioner) String() string {
  964. return protoimpl.X.MessageStringOf(x)
  965. }
  966. func (*X5CProvisioner) ProtoMessage() {}
  967. func (x *X5CProvisioner) ProtoReflect() protoreflect.Message {
  968. mi := &file_linkedca_provisioners_proto_msgTypes[13]
  969. if protoimpl.UnsafeEnabled && x != nil {
  970. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  971. if ms.LoadMessageInfo() == nil {
  972. ms.StoreMessageInfo(mi)
  973. }
  974. return ms
  975. }
  976. return mi.MessageOf(x)
  977. }
  978. // Deprecated: Use X5CProvisioner.ProtoReflect.Descriptor instead.
  979. func (*X5CProvisioner) Descriptor() ([]byte, []int) {
  980. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{13}
  981. }
  982. func (x *X5CProvisioner) GetRoots() [][]byte {
  983. if x != nil {
  984. return x.Roots
  985. }
  986. return nil
  987. }
  988. type K8SSAProvisioner struct {
  989. state protoimpl.MessageState
  990. sizeCache protoimpl.SizeCache
  991. unknownFields protoimpl.UnknownFields
  992. PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
  993. }
  994. func (x *K8SSAProvisioner) Reset() {
  995. *x = K8SSAProvisioner{}
  996. if protoimpl.UnsafeEnabled {
  997. mi := &file_linkedca_provisioners_proto_msgTypes[14]
  998. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  999. ms.StoreMessageInfo(mi)
  1000. }
  1001. }
  1002. func (x *K8SSAProvisioner) String() string {
  1003. return protoimpl.X.MessageStringOf(x)
  1004. }
  1005. func (*K8SSAProvisioner) ProtoMessage() {}
  1006. func (x *K8SSAProvisioner) ProtoReflect() protoreflect.Message {
  1007. mi := &file_linkedca_provisioners_proto_msgTypes[14]
  1008. if protoimpl.UnsafeEnabled && x != nil {
  1009. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1010. if ms.LoadMessageInfo() == nil {
  1011. ms.StoreMessageInfo(mi)
  1012. }
  1013. return ms
  1014. }
  1015. return mi.MessageOf(x)
  1016. }
  1017. // Deprecated: Use K8SSAProvisioner.ProtoReflect.Descriptor instead.
  1018. func (*K8SSAProvisioner) Descriptor() ([]byte, []int) {
  1019. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{14}
  1020. }
  1021. func (x *K8SSAProvisioner) GetPublicKeys() [][]byte {
  1022. if x != nil {
  1023. return x.PublicKeys
  1024. }
  1025. return nil
  1026. }
  1027. type SSHPOPProvisioner struct {
  1028. state protoimpl.MessageState
  1029. sizeCache protoimpl.SizeCache
  1030. unknownFields protoimpl.UnknownFields
  1031. }
  1032. func (x *SSHPOPProvisioner) Reset() {
  1033. *x = SSHPOPProvisioner{}
  1034. if protoimpl.UnsafeEnabled {
  1035. mi := &file_linkedca_provisioners_proto_msgTypes[15]
  1036. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1037. ms.StoreMessageInfo(mi)
  1038. }
  1039. }
  1040. func (x *SSHPOPProvisioner) String() string {
  1041. return protoimpl.X.MessageStringOf(x)
  1042. }
  1043. func (*SSHPOPProvisioner) ProtoMessage() {}
  1044. func (x *SSHPOPProvisioner) ProtoReflect() protoreflect.Message {
  1045. mi := &file_linkedca_provisioners_proto_msgTypes[15]
  1046. if protoimpl.UnsafeEnabled && x != nil {
  1047. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1048. if ms.LoadMessageInfo() == nil {
  1049. ms.StoreMessageInfo(mi)
  1050. }
  1051. return ms
  1052. }
  1053. return mi.MessageOf(x)
  1054. }
  1055. // Deprecated: Use SSHPOPProvisioner.ProtoReflect.Descriptor instead.
  1056. func (*SSHPOPProvisioner) Descriptor() ([]byte, []int) {
  1057. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{15}
  1058. }
  1059. type SCEPProvisioner struct {
  1060. state protoimpl.MessageState
  1061. sizeCache protoimpl.SizeCache
  1062. unknownFields protoimpl.UnknownFields
  1063. ForceCn bool `protobuf:"varint,1,opt,name=force_cn,json=forceCn,proto3" json:"force_cn,omitempty"`
  1064. Challenge string `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge,omitempty"`
  1065. Capabilities []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
  1066. MinimumPublicKeyLength int32 `protobuf:"varint,4,opt,name=minimum_public_key_length,json=minimumPublicKeyLength,proto3" json:"minimum_public_key_length,omitempty"`
  1067. }
  1068. func (x *SCEPProvisioner) Reset() {
  1069. *x = SCEPProvisioner{}
  1070. if protoimpl.UnsafeEnabled {
  1071. mi := &file_linkedca_provisioners_proto_msgTypes[16]
  1072. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1073. ms.StoreMessageInfo(mi)
  1074. }
  1075. }
  1076. func (x *SCEPProvisioner) String() string {
  1077. return protoimpl.X.MessageStringOf(x)
  1078. }
  1079. func (*SCEPProvisioner) ProtoMessage() {}
  1080. func (x *SCEPProvisioner) ProtoReflect() protoreflect.Message {
  1081. mi := &file_linkedca_provisioners_proto_msgTypes[16]
  1082. if protoimpl.UnsafeEnabled && x != nil {
  1083. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1084. if ms.LoadMessageInfo() == nil {
  1085. ms.StoreMessageInfo(mi)
  1086. }
  1087. return ms
  1088. }
  1089. return mi.MessageOf(x)
  1090. }
  1091. // Deprecated: Use SCEPProvisioner.ProtoReflect.Descriptor instead.
  1092. func (*SCEPProvisioner) Descriptor() ([]byte, []int) {
  1093. return file_linkedca_provisioners_proto_rawDescGZIP(), []int{16}
  1094. }
  1095. func (x *SCEPProvisioner) GetForceCn() bool {
  1096. if x != nil {
  1097. return x.ForceCn
  1098. }
  1099. return false
  1100. }
  1101. func (x *SCEPProvisioner) GetChallenge() string {
  1102. if x != nil {
  1103. return x.Challenge
  1104. }
  1105. return ""
  1106. }
  1107. func (x *SCEPProvisioner) GetCapabilities() []string {
  1108. if x != nil {
  1109. return x.Capabilities
  1110. }
  1111. return nil
  1112. }
  1113. func (x *SCEPProvisioner) GetMinimumPublicKeyLength() int32 {
  1114. if x != nil {
  1115. return x.MinimumPublicKeyLength
  1116. }
  1117. return 0
  1118. }
  1119. var File_linkedca_provisioners_proto protoreflect.FileDescriptor
  1120. var file_linkedca_provisioners_proto_rawDesc = []byte{
  1121. 0x0a, 0x1b, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69,
  1122. 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x6c,
  1123. 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x22, 0xfe, 0x03, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x76,
  1124. 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  1125. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x6f,
  1126. 0x72, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61,
  1127. 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79,
  1128. 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65,
  1129. 0x64, 0x63, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e,
  1130. 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  1131. 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36,
  1132. 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1133. 0x1c, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69,
  1134. 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64,
  1135. 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x28, 0x0a, 0x06, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x73,
  1136. 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63,
  1137. 0x61, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x52, 0x06, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x73,
  1138. 0x12, 0x23, 0x0a, 0x0d, 0x78, 0x35, 0x30, 0x39, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
  1139. 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x78, 0x35, 0x30, 0x39, 0x54, 0x65, 0x6d,
  1140. 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x78, 0x35, 0x30, 0x39, 0x5f, 0x74, 0x65,
  1141. 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28,
  1142. 0x0c, 0x52, 0x10, 0x78, 0x35, 0x30, 0x39, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x44,
  1143. 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x73, 0x68, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c,
  1144. 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x73, 0x68, 0x54, 0x65,
  1145. 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x73, 0x68, 0x5f, 0x74, 0x65,
  1146. 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28,
  1147. 0x0c, 0x52, 0x0f, 0x73, 0x73, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x61,
  1148. 0x74, 0x61, 0x22, 0x74, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f,
  1149. 0x4f, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4a, 0x57, 0x4b, 0x10, 0x01, 0x12, 0x08, 0x0a,
  1150. 0x04, 0x4f, 0x49, 0x44, 0x43, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x43, 0x50, 0x10, 0x03,
  1151. 0x12, 0x07, 0x0a, 0x03, 0x41, 0x57, 0x53, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x5a, 0x55,
  1152. 0x52, 0x45, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x43, 0x4d, 0x45, 0x10, 0x06, 0x12, 0x07,
  1153. 0x0a, 0x03, 0x58, 0x35, 0x43, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x4b, 0x38, 0x53, 0x53, 0x41,
  1154. 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x53, 0x48, 0x50, 0x4f, 0x50, 0x10, 0x09, 0x12, 0x08,
  1155. 0x0a, 0x04, 0x53, 0x43, 0x45, 0x50, 0x10, 0x0a, 0x22, 0x86, 0x04, 0x0a, 0x12, 0x50, 0x72, 0x6f,
  1156. 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12,
  1157. 0x2c, 0x0a, 0x03, 0x4a, 0x57, 0x4b, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c,
  1158. 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x4a, 0x57, 0x4b, 0x50, 0x72, 0x6f, 0x76, 0x69,
  1159. 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x48, 0x00, 0x52, 0x03, 0x4a, 0x57, 0x4b, 0x12, 0x2f, 0x0a,
  1160. 0x04, 0x4f, 0x49, 0x44, 0x43, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x69,
  1161. 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69,
  1162. 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x4f, 0x49, 0x44, 0x43, 0x12, 0x2c,
  1163. 0x0a, 0x03, 0x47, 0x43, 0x50, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69,
  1164. 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x47, 0x43, 0x50, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73,
  1165. 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x48, 0x00, 0x52, 0x03, 0x47, 0x43, 0x50, 0x12, 0x2c, 0x0a, 0x03,
  1166. 0x41, 0x57, 0x53, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x6e, 0x6b,
  1167. 0x65, 0x64, 0x63, 0x61, 0x2e, 0x41, 0x57, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
  1168. 0x6e, 0x65, 0x72, 0x48, 0x00, 0x52, 0x03, 0x41, 0x57, 0x53, 0x12, 0x32, 0x0a, 0x05, 0x41, 0x7a,
  1169. 0x75, 0x72, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x6e, 0x6b,
  1170. 0x65, 0x64, 0x63, 0x61, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73,
  1171. 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x48, 0x00, 0x52, 0x05, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2f,
  1172. 0x0a, 0x04, 0x41, 0x43, 0x4d, 0x45, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c,
  1173. 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x41, 0x43, 0x4d, 0x45, 0x50, 0x72, 0x6f, 0x76,
  1174. 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x41, 0x43, 0x4d, 0x45, 0x12,
  1175. 0x2c, 0x0a, 0x03, 0x58, 0x35, 0x43, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c,
  1176. 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x58, 0x35, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69,
  1177. 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x48, 0x00, 0x52, 0x03, 0x58, 0x35, 0x43, 0x12, 0x32, 0x0a,
  1178. 0x05, 0x4b, 0x38, 0x73, 0x53, 0x41, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c,
  1179. 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x4b, 0x38, 0x73, 0x53, 0x41, 0x50, 0x72, 0x6f,
  1180. 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x48, 0x00, 0x52, 0x05, 0x4b, 0x38, 0x73, 0x53,
  1181. 0x41, 0x12, 0x35, 0x0a, 0x06, 0x53, 0x53, 0x48, 0x50, 0x4f, 0x50, 0x18, 0x1c, 0x20, 0x01, 0x28,
  1182. 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x53, 0x53, 0x48,
  1183. 0x50, 0x4f, 0x50, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x48, 0x00,
  1184. 0x52, 0x06, 0x53, 0x53, 0x48, 0x50, 0x4f, 0x50, 0x12, 0x2f, 0x0a, 0x04, 0x53, 0x43, 0x45, 0x50,
  1185. 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63,
  1186. 0x61, 0x2e, 0x53, 0x43, 0x45, 0x50, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65,
  1187. 0x72, 0x48, 0x00, 0x52, 0x04, 0x53, 0x43, 0x45, 0x50, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74,
  1188. 0x61, 0x22, 0x4c, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72,
  1189. 0x4c, 0x69, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
  1190. 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x6e,
  1191. 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65,
  1192. 0x72, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x73, 0x22,
  1193. 0x82, 0x01, 0x0a, 0x06, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x12, 0x28, 0x0a, 0x04, 0x78, 0x35,
  1194. 0x30, 0x39, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65,
  1195. 0x64, 0x63, 0x61, 0x2e, 0x58, 0x35, 0x30, 0x39, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x52, 0x04,
  1196. 0x78, 0x35, 0x30, 0x39, 0x12, 0x25, 0x0a, 0x03, 0x73, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
  1197. 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x53, 0x53, 0x48,
  1198. 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x52, 0x03, 0x73, 0x73, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x64,
  1199. 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x18, 0x03,
  1200. 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x6e,
  1201. 0x65, 0x77, 0x61, 0x6c, 0x22, 0x59, 0x0a, 0x0a, 0x58, 0x35, 0x30, 0x39, 0x43, 0x6c, 0x61, 0x69,
  1202. 0x6d, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20,
  1203. 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x31, 0x0a, 0x09,
  1204. 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1205. 0x13, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74,
  1206. 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x09, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
  1207. 0x9d, 0x01, 0x0a, 0x09, 0x53, 0x53, 0x48, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x12, 0x18, 0x0a,
  1208. 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
  1209. 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x5f,
  1210. 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1211. 0x13, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74,
  1212. 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x72, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
  1213. 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x0e, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61,
  1214. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69,
  1215. 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  1216. 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
  1217. 0x49, 0x0a, 0x09, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07,
  1218. 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64,
  1219. 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x02, 0x20,
  1220. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18,
  1221. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x61, 0x78, 0x22, 0x63, 0x0a, 0x0e, 0x4a, 0x57,
  1222. 0x4b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a,
  1223. 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
  1224. 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x15, 0x65,
  1225. 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
  1226. 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x65, 0x6e, 0x63, 0x72,
  1227. 0x79, 0x70, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x22,
  1228. 0x98, 0x02, 0x0a, 0x0f, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
  1229. 0x6e, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
  1230. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64,
  1231. 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65,
  1232. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53,
  1233. 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x35, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
  1234. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18,
  1235. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
  1236. 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06,
  1237. 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x61, 0x64,
  1238. 0x6d, 0x69, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18,
  1239. 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x16,
  1240. 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06,
  1241. 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e,
  1242. 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
  1243. 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a,
  1244. 0x09, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
  1245. 0x52, 0x08, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xeb, 0x01, 0x0a, 0x0e, 0x47,
  1246. 0x43, 0x50, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x29, 0x0a,
  1247. 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  1248. 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  1249. 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x6a,
  1250. 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70,
  1251. 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73,
  1252. 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x73, 0x61, 0x6e, 0x73,
  1253. 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43,
  1254. 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x61, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x1a, 0x64, 0x69, 0x73,
  1255. 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x5f, 0x66, 0x69,
  1256. 0x72, 0x73, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x64,
  1257. 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x4f, 0x6e, 0x46, 0x69, 0x72,
  1258. 0x73, 0x74, 0x55, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
  1259. 0x65, 0x5f, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x73,
  1260. 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x67, 0x65, 0x22, 0xbb, 0x01, 0x0a, 0x0e, 0x41, 0x57, 0x53,
  1261. 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x61,
  1262. 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x61,
  1263. 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62,
  1264. 0x6c, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x73, 0x61, 0x6e, 0x73, 0x18, 0x02,
  1265. 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x75, 0x73,
  1266. 0x74, 0x6f, 0x6d, 0x53, 0x61, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x1a, 0x64, 0x69, 0x73, 0x61, 0x62,
  1267. 0x6c, 0x65, 0x5f, 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x72, 0x73,
  1268. 0x74, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x64, 0x69, 0x73,
  1269. 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x4f, 0x6e, 0x46, 0x69, 0x72, 0x73, 0x74,
  1270. 0x55, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f,
  1271. 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61,
  1272. 0x6e, 0x63, 0x65, 0x41, 0x67, 0x65, 0x22, 0xe0, 0x01, 0x0a, 0x10, 0x41, 0x7a, 0x75, 0x72, 0x65,
  1273. 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74,
  1274. 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  1275. 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f,
  1276. 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
  1277. 0x09, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
  1278. 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20,
  1279. 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x2e, 0x0a,
  1280. 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f,
  1281. 0x73, 0x61, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61,
  1282. 0x62, 0x6c, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x61, 0x6e, 0x73, 0x12, 0x3a, 0x0a,
  1283. 0x1a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x6f,
  1284. 0x6e, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
  1285. 0x08, 0x52, 0x16, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x4f,
  1286. 0x6e, 0x46, 0x69, 0x72, 0x73, 0x74, 0x55, 0x73, 0x65, 0x22, 0x2c, 0x0a, 0x0f, 0x41, 0x43, 0x4d,
  1287. 0x45, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08,
  1288. 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
  1289. 0x66, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x6e, 0x22, 0x26, 0x0a, 0x0e, 0x58, 0x35, 0x43, 0x50, 0x72,
  1290. 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6f,
  1291. 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x6f, 0x6f, 0x74, 0x73, 0x22,
  1292. 0x33, 0x0a, 0x10, 0x4b, 0x38, 0x73, 0x53, 0x41, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
  1293. 0x6e, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65,
  1294. 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
  1295. 0x4b, 0x65, 0x79, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x53, 0x48, 0x50, 0x4f, 0x50, 0x50, 0x72,
  1296. 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x22, 0xa9, 0x01, 0x0a, 0x0f, 0x53, 0x43,
  1297. 0x45, 0x50, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x19, 0x0a,
  1298. 0x08, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
  1299. 0x07, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6c,
  1300. 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61,
  1301. 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69,
  1302. 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x61,
  1303. 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x6d, 0x69,
  1304. 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79,
  1305. 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, 0x6d,
  1306. 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x4c,
  1307. 0x65, 0x6e, 0x67, 0x74, 0x68, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  1308. 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x73, 0x74, 0x65, 0x70, 0x2f, 0x63, 0x65,
  1309. 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x65,
  1310. 0x64, 0x63, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1311. }
  1312. var (
  1313. file_linkedca_provisioners_proto_rawDescOnce sync.Once
  1314. file_linkedca_provisioners_proto_rawDescData = file_linkedca_provisioners_proto_rawDesc
  1315. )
  1316. func file_linkedca_provisioners_proto_rawDescGZIP() []byte {
  1317. file_linkedca_provisioners_proto_rawDescOnce.Do(func() {
  1318. file_linkedca_provisioners_proto_rawDescData = protoimpl.X.CompressGZIP(file_linkedca_provisioners_proto_rawDescData)
  1319. })
  1320. return file_linkedca_provisioners_proto_rawDescData
  1321. }
  1322. var file_linkedca_provisioners_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1323. var file_linkedca_provisioners_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
  1324. var file_linkedca_provisioners_proto_goTypes = []interface{}{
  1325. (Provisioner_Type)(0), // 0: linkedca.Provisioner.Type
  1326. (*Provisioner)(nil), // 1: linkedca.Provisioner
  1327. (*ProvisionerDetails)(nil), // 2: linkedca.ProvisionerDetails
  1328. (*ProvisionerList)(nil), // 3: linkedca.ProvisionerList
  1329. (*Claims)(nil), // 4: linkedca.Claims
  1330. (*X509Claims)(nil), // 5: linkedca.X509Claims
  1331. (*SSHClaims)(nil), // 6: linkedca.SSHClaims
  1332. (*Durations)(nil), // 7: linkedca.Durations
  1333. (*JWKProvisioner)(nil), // 8: linkedca.JWKProvisioner
  1334. (*OIDCProvisioner)(nil), // 9: linkedca.OIDCProvisioner
  1335. (*GCPProvisioner)(nil), // 10: linkedca.GCPProvisioner
  1336. (*AWSProvisioner)(nil), // 11: linkedca.AWSProvisioner
  1337. (*AzureProvisioner)(nil), // 12: linkedca.AzureProvisioner
  1338. (*ACMEProvisioner)(nil), // 13: linkedca.ACMEProvisioner
  1339. (*X5CProvisioner)(nil), // 14: linkedca.X5CProvisioner
  1340. (*K8SSAProvisioner)(nil), // 15: linkedca.K8sSAProvisioner
  1341. (*SSHPOPProvisioner)(nil), // 16: linkedca.SSHPOPProvisioner
  1342. (*SCEPProvisioner)(nil), // 17: linkedca.SCEPProvisioner
  1343. }
  1344. var file_linkedca_provisioners_proto_depIdxs = []int32{
  1345. 0, // 0: linkedca.Provisioner.type:type_name -> linkedca.Provisioner.Type
  1346. 2, // 1: linkedca.Provisioner.details:type_name -> linkedca.ProvisionerDetails
  1347. 4, // 2: linkedca.Provisioner.claims:type_name -> linkedca.Claims
  1348. 8, // 3: linkedca.ProvisionerDetails.JWK:type_name -> linkedca.JWKProvisioner
  1349. 9, // 4: linkedca.ProvisionerDetails.OIDC:type_name -> linkedca.OIDCProvisioner
  1350. 10, // 5: linkedca.ProvisionerDetails.GCP:type_name -> linkedca.GCPProvisioner
  1351. 11, // 6: linkedca.ProvisionerDetails.AWS:type_name -> linkedca.AWSProvisioner
  1352. 12, // 7: linkedca.ProvisionerDetails.Azure:type_name -> linkedca.AzureProvisioner
  1353. 13, // 8: linkedca.ProvisionerDetails.ACME:type_name -> linkedca.ACMEProvisioner
  1354. 14, // 9: linkedca.ProvisionerDetails.X5C:type_name -> linkedca.X5CProvisioner
  1355. 15, // 10: linkedca.ProvisionerDetails.K8sSA:type_name -> linkedca.K8sSAProvisioner
  1356. 16, // 11: linkedca.ProvisionerDetails.SSHPOP:type_name -> linkedca.SSHPOPProvisioner
  1357. 17, // 12: linkedca.ProvisionerDetails.SCEP:type_name -> linkedca.SCEPProvisioner
  1358. 1, // 13: linkedca.ProvisionerList.provisioners:type_name -> linkedca.Provisioner
  1359. 5, // 14: linkedca.Claims.x509:type_name -> linkedca.X509Claims
  1360. 6, // 15: linkedca.Claims.ssh:type_name -> linkedca.SSHClaims
  1361. 7, // 16: linkedca.X509Claims.durations:type_name -> linkedca.Durations
  1362. 7, // 17: linkedca.SSHClaims.user_durations:type_name -> linkedca.Durations
  1363. 7, // 18: linkedca.SSHClaims.host_durations:type_name -> linkedca.Durations
  1364. 19, // [19:19] is the sub-list for method output_type
  1365. 19, // [19:19] is the sub-list for method input_type
  1366. 19, // [19:19] is the sub-list for extension type_name
  1367. 19, // [19:19] is the sub-list for extension extendee
  1368. 0, // [0:19] is the sub-list for field type_name
  1369. }
  1370. func init() { file_linkedca_provisioners_proto_init() }
  1371. func file_linkedca_provisioners_proto_init() {
  1372. if File_linkedca_provisioners_proto != nil {
  1373. return
  1374. }
  1375. if !protoimpl.UnsafeEnabled {
  1376. file_linkedca_provisioners_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1377. switch v := v.(*Provisioner); i {
  1378. case 0:
  1379. return &v.state
  1380. case 1:
  1381. return &v.sizeCache
  1382. case 2:
  1383. return &v.unknownFields
  1384. default:
  1385. return nil
  1386. }
  1387. }
  1388. file_linkedca_provisioners_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1389. switch v := v.(*ProvisionerDetails); i {
  1390. case 0:
  1391. return &v.state
  1392. case 1:
  1393. return &v.sizeCache
  1394. case 2:
  1395. return &v.unknownFields
  1396. default:
  1397. return nil
  1398. }
  1399. }
  1400. file_linkedca_provisioners_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1401. switch v := v.(*ProvisionerList); i {
  1402. case 0:
  1403. return &v.state
  1404. case 1:
  1405. return &v.sizeCache
  1406. case 2:
  1407. return &v.unknownFields
  1408. default:
  1409. return nil
  1410. }
  1411. }
  1412. file_linkedca_provisioners_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1413. switch v := v.(*Claims); i {
  1414. case 0:
  1415. return &v.state
  1416. case 1:
  1417. return &v.sizeCache
  1418. case 2:
  1419. return &v.unknownFields
  1420. default:
  1421. return nil
  1422. }
  1423. }
  1424. file_linkedca_provisioners_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1425. switch v := v.(*X509Claims); i {
  1426. case 0:
  1427. return &v.state
  1428. case 1:
  1429. return &v.sizeCache
  1430. case 2:
  1431. return &v.unknownFields
  1432. default:
  1433. return nil
  1434. }
  1435. }
  1436. file_linkedca_provisioners_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1437. switch v := v.(*SSHClaims); i {
  1438. case 0:
  1439. return &v.state
  1440. case 1:
  1441. return &v.sizeCache
  1442. case 2:
  1443. return &v.unknownFields
  1444. default:
  1445. return nil
  1446. }
  1447. }
  1448. file_linkedca_provisioners_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1449. switch v := v.(*Durations); i {
  1450. case 0:
  1451. return &v.state
  1452. case 1:
  1453. return &v.sizeCache
  1454. case 2:
  1455. return &v.unknownFields
  1456. default:
  1457. return nil
  1458. }
  1459. }
  1460. file_linkedca_provisioners_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1461. switch v := v.(*JWKProvisioner); i {
  1462. case 0:
  1463. return &v.state
  1464. case 1:
  1465. return &v.sizeCache
  1466. case 2:
  1467. return &v.unknownFields
  1468. default:
  1469. return nil
  1470. }
  1471. }
  1472. file_linkedca_provisioners_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1473. switch v := v.(*OIDCProvisioner); i {
  1474. case 0:
  1475. return &v.state
  1476. case 1:
  1477. return &v.sizeCache
  1478. case 2:
  1479. return &v.unknownFields
  1480. default:
  1481. return nil
  1482. }
  1483. }
  1484. file_linkedca_provisioners_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1485. switch v := v.(*GCPProvisioner); i {
  1486. case 0:
  1487. return &v.state
  1488. case 1:
  1489. return &v.sizeCache
  1490. case 2:
  1491. return &v.unknownFields
  1492. default:
  1493. return nil
  1494. }
  1495. }
  1496. file_linkedca_provisioners_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1497. switch v := v.(*AWSProvisioner); i {
  1498. case 0:
  1499. return &v.state
  1500. case 1:
  1501. return &v.sizeCache
  1502. case 2:
  1503. return &v.unknownFields
  1504. default:
  1505. return nil
  1506. }
  1507. }
  1508. file_linkedca_provisioners_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1509. switch v := v.(*AzureProvisioner); i {
  1510. case 0:
  1511. return &v.state
  1512. case 1:
  1513. return &v.sizeCache
  1514. case 2:
  1515. return &v.unknownFields
  1516. default:
  1517. return nil
  1518. }
  1519. }
  1520. file_linkedca_provisioners_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1521. switch v := v.(*ACMEProvisioner); i {
  1522. case 0:
  1523. return &v.state
  1524. case 1:
  1525. return &v.sizeCache
  1526. case 2:
  1527. return &v.unknownFields
  1528. default:
  1529. return nil
  1530. }
  1531. }
  1532. file_linkedca_provisioners_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1533. switch v := v.(*X5CProvisioner); i {
  1534. case 0:
  1535. return &v.state
  1536. case 1:
  1537. return &v.sizeCache
  1538. case 2:
  1539. return &v.unknownFields
  1540. default:
  1541. return nil
  1542. }
  1543. }
  1544. file_linkedca_provisioners_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1545. switch v := v.(*K8SSAProvisioner); i {
  1546. case 0:
  1547. return &v.state
  1548. case 1:
  1549. return &v.sizeCache
  1550. case 2:
  1551. return &v.unknownFields
  1552. default:
  1553. return nil
  1554. }
  1555. }
  1556. file_linkedca_provisioners_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1557. switch v := v.(*SSHPOPProvisioner); i {
  1558. case 0:
  1559. return &v.state
  1560. case 1:
  1561. return &v.sizeCache
  1562. case 2:
  1563. return &v.unknownFields
  1564. default:
  1565. return nil
  1566. }
  1567. }
  1568. file_linkedca_provisioners_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1569. switch v := v.(*SCEPProvisioner); i {
  1570. case 0:
  1571. return &v.state
  1572. case 1:
  1573. return &v.sizeCache
  1574. case 2:
  1575. return &v.unknownFields
  1576. default:
  1577. return nil
  1578. }
  1579. }
  1580. }
  1581. file_linkedca_provisioners_proto_msgTypes[1].OneofWrappers = []interface{}{
  1582. (*ProvisionerDetails_JWK)(nil),
  1583. (*ProvisionerDetails_OIDC)(nil),
  1584. (*ProvisionerDetails_GCP)(nil),
  1585. (*ProvisionerDetails_AWS)(nil),
  1586. (*ProvisionerDetails_Azure)(nil),
  1587. (*ProvisionerDetails_ACME)(nil),
  1588. (*ProvisionerDetails_X5C)(nil),
  1589. (*ProvisionerDetails_K8SSA)(nil),
  1590. (*ProvisionerDetails_SSHPOP)(nil),
  1591. (*ProvisionerDetails_SCEP)(nil),
  1592. }
  1593. type x struct{}
  1594. out := protoimpl.TypeBuilder{
  1595. File: protoimpl.DescBuilder{
  1596. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1597. RawDescriptor: file_linkedca_provisioners_proto_rawDesc,
  1598. NumEnums: 1,
  1599. NumMessages: 17,
  1600. NumExtensions: 0,
  1601. NumServices: 0,
  1602. },
  1603. GoTypes: file_linkedca_provisioners_proto_goTypes,
  1604. DependencyIndexes: file_linkedca_provisioners_proto_depIdxs,
  1605. EnumInfos: file_linkedca_provisioners_proto_enumTypes,
  1606. MessageInfos: file_linkedca_provisioners_proto_msgTypes,
  1607. }.Build()
  1608. File_linkedca_provisioners_proto = out.File
  1609. file_linkedca_provisioners_proto_rawDesc = nil
  1610. file_linkedca_provisioners_proto_goTypes = nil
  1611. file_linkedca_provisioners_proto_depIdxs = nil
  1612. }