generator.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. /*
  2. Copyright © The ESO 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. https://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-go. DO NOT EDIT.
  14. // versions:
  15. // protoc-gen-go v1.35.1
  16. // protoc v6.32.1
  17. // source: providers/v2/common/proto/generator/generator.proto
  18. package generator
  19. import (
  20. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  21. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  22. reflect "reflect"
  23. sync "sync"
  24. )
  25. const (
  26. // Verify that this generated code is sufficiently up-to-date.
  27. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  28. // Verify that runtime/protoimpl is sufficiently up-to-date.
  29. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  30. )
  31. // GeneratorRef references a generator custom resource.
  32. type GeneratorRef struct {
  33. state protoimpl.MessageState
  34. sizeCache protoimpl.SizeCache
  35. unknownFields protoimpl.UnknownFields
  36. // Specify the apiVersion of the generator resource
  37. ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
  38. // Specify the Kind of the generator resource
  39. Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
  40. // Specify the name of the generator resource
  41. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  42. // Namespace of the generator resource (optional for cluster-scoped generators)
  43. Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
  44. }
  45. func (x *GeneratorRef) Reset() {
  46. *x = GeneratorRef{}
  47. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[0]
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. ms.StoreMessageInfo(mi)
  50. }
  51. func (x *GeneratorRef) String() string {
  52. return protoimpl.X.MessageStringOf(x)
  53. }
  54. func (*GeneratorRef) ProtoMessage() {}
  55. func (x *GeneratorRef) ProtoReflect() protoreflect.Message {
  56. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[0]
  57. if x != nil {
  58. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  59. if ms.LoadMessageInfo() == nil {
  60. ms.StoreMessageInfo(mi)
  61. }
  62. return ms
  63. }
  64. return mi.MessageOf(x)
  65. }
  66. // Deprecated: Use GeneratorRef.ProtoReflect.Descriptor instead.
  67. func (*GeneratorRef) Descriptor() ([]byte, []int) {
  68. return file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP(), []int{0}
  69. }
  70. func (x *GeneratorRef) GetApiVersion() string {
  71. if x != nil {
  72. return x.ApiVersion
  73. }
  74. return ""
  75. }
  76. func (x *GeneratorRef) GetKind() string {
  77. if x != nil {
  78. return x.Kind
  79. }
  80. return ""
  81. }
  82. func (x *GeneratorRef) GetName() string {
  83. if x != nil {
  84. return x.Name
  85. }
  86. return ""
  87. }
  88. func (x *GeneratorRef) GetNamespace() string {
  89. if x != nil {
  90. return x.Namespace
  91. }
  92. return ""
  93. }
  94. // GenerateRequest contains the information needed to generate secrets
  95. type GenerateRequest struct {
  96. state protoimpl.MessageState
  97. sizeCache protoimpl.SizeCache
  98. unknownFields protoimpl.UnknownFields
  99. // Reference to the generator resource
  100. GeneratorRef *GeneratorRef `protobuf:"bytes,1,opt,name=generator_ref,json=generatorRef,proto3" json:"generator_ref,omitempty"`
  101. // Namespace of the ExternalSecret making the request (for validation)
  102. SourceNamespace string `protobuf:"bytes,2,opt,name=source_namespace,json=sourceNamespace,proto3" json:"source_namespace,omitempty"`
  103. }
  104. func (x *GenerateRequest) Reset() {
  105. *x = GenerateRequest{}
  106. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[1]
  107. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  108. ms.StoreMessageInfo(mi)
  109. }
  110. func (x *GenerateRequest) String() string {
  111. return protoimpl.X.MessageStringOf(x)
  112. }
  113. func (*GenerateRequest) ProtoMessage() {}
  114. func (x *GenerateRequest) ProtoReflect() protoreflect.Message {
  115. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[1]
  116. if x != nil {
  117. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  118. if ms.LoadMessageInfo() == nil {
  119. ms.StoreMessageInfo(mi)
  120. }
  121. return ms
  122. }
  123. return mi.MessageOf(x)
  124. }
  125. // Deprecated: Use GenerateRequest.ProtoReflect.Descriptor instead.
  126. func (*GenerateRequest) Descriptor() ([]byte, []int) {
  127. return file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP(), []int{1}
  128. }
  129. func (x *GenerateRequest) GetGeneratorRef() *GeneratorRef {
  130. if x != nil {
  131. return x.GeneratorRef
  132. }
  133. return nil
  134. }
  135. func (x *GenerateRequest) GetSourceNamespace() string {
  136. if x != nil {
  137. return x.SourceNamespace
  138. }
  139. return ""
  140. }
  141. // GenerateResponse contains the generated secrets and optional state
  142. type GenerateResponse struct {
  143. state protoimpl.MessageState
  144. sizeCache protoimpl.SizeCache
  145. unknownFields protoimpl.UnknownFields
  146. // Map of secret keys to their values
  147. Secrets map[string][]byte `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  148. // Optional state that can be used during cleanup
  149. // This is provider-specific and opaque to the controller
  150. State []byte `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
  151. }
  152. func (x *GenerateResponse) Reset() {
  153. *x = GenerateResponse{}
  154. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[2]
  155. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  156. ms.StoreMessageInfo(mi)
  157. }
  158. func (x *GenerateResponse) String() string {
  159. return protoimpl.X.MessageStringOf(x)
  160. }
  161. func (*GenerateResponse) ProtoMessage() {}
  162. func (x *GenerateResponse) ProtoReflect() protoreflect.Message {
  163. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[2]
  164. if x != nil {
  165. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  166. if ms.LoadMessageInfo() == nil {
  167. ms.StoreMessageInfo(mi)
  168. }
  169. return ms
  170. }
  171. return mi.MessageOf(x)
  172. }
  173. // Deprecated: Use GenerateResponse.ProtoReflect.Descriptor instead.
  174. func (*GenerateResponse) Descriptor() ([]byte, []int) {
  175. return file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP(), []int{2}
  176. }
  177. func (x *GenerateResponse) GetSecrets() map[string][]byte {
  178. if x != nil {
  179. return x.Secrets
  180. }
  181. return nil
  182. }
  183. func (x *GenerateResponse) GetState() []byte {
  184. if x != nil {
  185. return x.State
  186. }
  187. return nil
  188. }
  189. // CleanupRequest contains the information needed to cleanup resources
  190. type CleanupRequest struct {
  191. state protoimpl.MessageState
  192. sizeCache protoimpl.SizeCache
  193. unknownFields protoimpl.UnknownFields
  194. // Reference to the generator resource
  195. GeneratorRef *GeneratorRef `protobuf:"bytes,1,opt,name=generator_ref,json=generatorRef,proto3" json:"generator_ref,omitempty"`
  196. // State returned from the Generate call
  197. State []byte `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
  198. // Namespace of the ExternalSecret making the request (for validation)
  199. SourceNamespace string `protobuf:"bytes,3,opt,name=source_namespace,json=sourceNamespace,proto3" json:"source_namespace,omitempty"`
  200. }
  201. func (x *CleanupRequest) Reset() {
  202. *x = CleanupRequest{}
  203. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[3]
  204. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  205. ms.StoreMessageInfo(mi)
  206. }
  207. func (x *CleanupRequest) String() string {
  208. return protoimpl.X.MessageStringOf(x)
  209. }
  210. func (*CleanupRequest) ProtoMessage() {}
  211. func (x *CleanupRequest) ProtoReflect() protoreflect.Message {
  212. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[3]
  213. if x != nil {
  214. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  215. if ms.LoadMessageInfo() == nil {
  216. ms.StoreMessageInfo(mi)
  217. }
  218. return ms
  219. }
  220. return mi.MessageOf(x)
  221. }
  222. // Deprecated: Use CleanupRequest.ProtoReflect.Descriptor instead.
  223. func (*CleanupRequest) Descriptor() ([]byte, []int) {
  224. return file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP(), []int{3}
  225. }
  226. func (x *CleanupRequest) GetGeneratorRef() *GeneratorRef {
  227. if x != nil {
  228. return x.GeneratorRef
  229. }
  230. return nil
  231. }
  232. func (x *CleanupRequest) GetState() []byte {
  233. if x != nil {
  234. return x.State
  235. }
  236. return nil
  237. }
  238. func (x *CleanupRequest) GetSourceNamespace() string {
  239. if x != nil {
  240. return x.SourceNamespace
  241. }
  242. return ""
  243. }
  244. // CleanupResponse is the response from cleanup
  245. type CleanupResponse struct {
  246. state protoimpl.MessageState
  247. sizeCache protoimpl.SizeCache
  248. unknownFields protoimpl.UnknownFields
  249. }
  250. func (x *CleanupResponse) Reset() {
  251. *x = CleanupResponse{}
  252. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[4]
  253. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  254. ms.StoreMessageInfo(mi)
  255. }
  256. func (x *CleanupResponse) String() string {
  257. return protoimpl.X.MessageStringOf(x)
  258. }
  259. func (*CleanupResponse) ProtoMessage() {}
  260. func (x *CleanupResponse) ProtoReflect() protoreflect.Message {
  261. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[4]
  262. if x != nil {
  263. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  264. if ms.LoadMessageInfo() == nil {
  265. ms.StoreMessageInfo(mi)
  266. }
  267. return ms
  268. }
  269. return mi.MessageOf(x)
  270. }
  271. // Deprecated: Use CleanupResponse.ProtoReflect.Descriptor instead.
  272. func (*CleanupResponse) Descriptor() ([]byte, []int) {
  273. return file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP(), []int{4}
  274. }
  275. var File_providers_v2_common_proto_generator_generator_proto protoreflect.FileDescriptor
  276. var file_providers_v2_common_proto_generator_generator_proto_rawDesc = []byte{
  277. 0x0a, 0x33, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x63,
  278. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65,
  279. 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e,
  280. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
  281. 0x2e, 0x76, 0x31, 0x22, 0x75, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
  282. 0x52, 0x65, 0x66, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  283. 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72,
  284. 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01,
  285. 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  286. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09,
  287. 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  288. 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x0f, 0x47, 0x65,
  289. 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a,
  290. 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x01,
  291. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
  292. 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x66,
  293. 0x52, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x12, 0x29,
  294. 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
  295. 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  296. 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x10, 0x47, 0x65,
  297. 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45,
  298. 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  299. 0x2b, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47,
  300. 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
  301. 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x73, 0x65,
  302. 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02,
  303. 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x3a, 0x0a, 0x0c, 0x53,
  304. 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  305. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  306. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61,
  307. 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x92, 0x01, 0x0a, 0x0e, 0x43, 0x6c, 0x65, 0x61,
  308. 0x6e, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0d, 0x67, 0x65,
  309. 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28,
  310. 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31,
  311. 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x52, 0x0c, 0x67,
  312. 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x73,
  313. 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74,
  314. 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  315. 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x75,
  316. 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x11, 0x0a, 0x0f,
  317. 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32,
  318. 0xa6, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f,
  319. 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x08, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
  320. 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31,
  321. 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  322. 0x1a, 0x1e, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e,
  323. 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  324. 0x12, 0x46, 0x0a, 0x07, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x12, 0x1c, 0x2e, 0x67, 0x65,
  325. 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e,
  326. 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x65, 0x6e, 0x65,
  327. 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70,
  328. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68,
  329. 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2d,
  330. 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
  331. 0x2d, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
  332. 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x3b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
  333. 0x6f, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  334. }
  335. var (
  336. file_providers_v2_common_proto_generator_generator_proto_rawDescOnce sync.Once
  337. file_providers_v2_common_proto_generator_generator_proto_rawDescData = file_providers_v2_common_proto_generator_generator_proto_rawDesc
  338. )
  339. func file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP() []byte {
  340. file_providers_v2_common_proto_generator_generator_proto_rawDescOnce.Do(func() {
  341. file_providers_v2_common_proto_generator_generator_proto_rawDescData = protoimpl.X.CompressGZIP(file_providers_v2_common_proto_generator_generator_proto_rawDescData)
  342. })
  343. return file_providers_v2_common_proto_generator_generator_proto_rawDescData
  344. }
  345. var file_providers_v2_common_proto_generator_generator_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  346. var file_providers_v2_common_proto_generator_generator_proto_goTypes = []any{
  347. (*GeneratorRef)(nil), // 0: generator.v1.GeneratorRef
  348. (*GenerateRequest)(nil), // 1: generator.v1.GenerateRequest
  349. (*GenerateResponse)(nil), // 2: generator.v1.GenerateResponse
  350. (*CleanupRequest)(nil), // 3: generator.v1.CleanupRequest
  351. (*CleanupResponse)(nil), // 4: generator.v1.CleanupResponse
  352. nil, // 5: generator.v1.GenerateResponse.SecretsEntry
  353. }
  354. var file_providers_v2_common_proto_generator_generator_proto_depIdxs = []int32{
  355. 0, // 0: generator.v1.GenerateRequest.generator_ref:type_name -> generator.v1.GeneratorRef
  356. 5, // 1: generator.v1.GenerateResponse.secrets:type_name -> generator.v1.GenerateResponse.SecretsEntry
  357. 0, // 2: generator.v1.CleanupRequest.generator_ref:type_name -> generator.v1.GeneratorRef
  358. 1, // 3: generator.v1.GeneratorProvider.Generate:input_type -> generator.v1.GenerateRequest
  359. 3, // 4: generator.v1.GeneratorProvider.Cleanup:input_type -> generator.v1.CleanupRequest
  360. 2, // 5: generator.v1.GeneratorProvider.Generate:output_type -> generator.v1.GenerateResponse
  361. 4, // 6: generator.v1.GeneratorProvider.Cleanup:output_type -> generator.v1.CleanupResponse
  362. 5, // [5:7] is the sub-list for method output_type
  363. 3, // [3:5] is the sub-list for method input_type
  364. 3, // [3:3] is the sub-list for extension type_name
  365. 3, // [3:3] is the sub-list for extension extendee
  366. 0, // [0:3] is the sub-list for field type_name
  367. }
  368. func init() { file_providers_v2_common_proto_generator_generator_proto_init() }
  369. func file_providers_v2_common_proto_generator_generator_proto_init() {
  370. if File_providers_v2_common_proto_generator_generator_proto != nil {
  371. return
  372. }
  373. type x struct{}
  374. out := protoimpl.TypeBuilder{
  375. File: protoimpl.DescBuilder{
  376. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  377. RawDescriptor: file_providers_v2_common_proto_generator_generator_proto_rawDesc,
  378. NumEnums: 0,
  379. NumMessages: 6,
  380. NumExtensions: 0,
  381. NumServices: 1,
  382. },
  383. GoTypes: file_providers_v2_common_proto_generator_generator_proto_goTypes,
  384. DependencyIndexes: file_providers_v2_common_proto_generator_generator_proto_depIdxs,
  385. MessageInfos: file_providers_v2_common_proto_generator_generator_proto_msgTypes,
  386. }.Build()
  387. File_providers_v2_common_proto_generator_generator_proto = out.File
  388. file_providers_v2_common_proto_generator_generator_proto_rawDesc = nil
  389. file_providers_v2_common_proto_generator_generator_proto_goTypes = nil
  390. file_providers_v2_common_proto_generator_generator_proto_depIdxs = nil
  391. }